Integrate the function: $\frac{1}{\cos (x+a) \cos (x+b)}$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
To integrate $I = \int \frac{1}{\cos (x+a) \cos (x+b)} dx$,we multiply and divide by $\sin (a-b)$:
$I = \frac{1}{\sin (a-b)} \int \frac{\sin (a-b)}{\cos (x+a) \cos (x+b)} dx$
We can rewrite the numerator as $\sin [(x+a) - (x+b)] = \sin (a-b)$:
$I = \frac{1}{\sin (a-b)} \int \frac{\sin [(x+a) - (x+b)]}{\cos (x+a) \cos (x+b)} dx$
Using the identity $\sin (A-B) = \sin A \cos B - \cos A \sin B$:
$I = \frac{1}{\sin (a-b)} \int \left[ \frac{\sin (x+a) \cos (x+b) - \cos (x+a) \sin (x+b)}{\cos (x+a) \cos (x+b)} \right] dx$
$I = \frac{1}{\sin (a-b)} \int [\tan (x+a) - \tan (x+b)] dx$
Integrating $\tan \theta$ gives $\ln |\sec \theta|$ or $-\ln |\cos \theta|$:
$I = \frac{1}{\sin (a-b)} [-\ln |\cos (x+a)| + \ln |\cos (x+b)|] + C$
Using the property $\ln m - \ln n = \ln (m/n)$:
$I = \frac{1}{\sin (a-b)} \ln \left| \frac{\cos (x+b)}{\cos (x+a)} \right| + C$

Explore More

Similar Questions

If $\int \frac{x^2-x+2}{x^2+x+2} d x=x-\log (f(x))+\frac{2}{\sqrt{7}} \operatorname{Tan}^{-1}(g(x))+c$,then $f(-1)+\sqrt{7} g(-1)=$

Integrate the function $\frac{1}{1+\cot x}$.

If $\int \frac{1}{x^4+8 x^2+9} d x = \frac{1}{k} \left[ \frac{1}{\sqrt{14}} \tan^{-1}(f(x)) - \frac{1}{\sqrt{2}} \tan^{-1}(g(x)) \right] + c$, then $\sqrt{\frac{k}{2} + f(\sqrt{3}) + g(1)} =$

$\int e^{\tan \theta} (\sec \theta - \sin \theta) d\theta$ equals:

If $\int \frac{5 \tan x}{\tan x-2} d x=x+a \log |\sin x-2 \cos x|+c$,then find the value of $a$ (where $c$ is the constant of integration).

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo