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

$\int \sec x \tan^3 x \, dx = $

If $\int {\frac{{dx}}{{{x^3}{{\left( {1 + {x^6}} \right)}^{2/3}}}} = xf\left( x \right){{\left( {1 + {x^6}} \right)}^{\frac{1}{3}}} + C} $ where $C$ is a constant of integration,then the function $f(x)$ is equal to

If $\int \frac{4e^x + 6e^{-x}}{9e^x - 4e^{-x}} dx = Ax + B \log |9e^{2x} - 4| + C$,then $A, B$ and $C$ are

If $\int e^x \cos x \, dx = \frac{e^x}{2}(\cos x + \sin x)$ and $\int \frac{\cos \left(\log \left(\frac{2x+3}{3-2x}\right)\right)}{(3-2x)^2} \, dx = \frac{f(x)}{24}[\cos (g(x)) + \sin (g(x))] + c$,then $g(1) =$

$\int \frac{1+\sqrt{3} \cot x}{1-\sqrt{3} \cot x} d x=$

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