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 f(x) \sin x \cos x \, dx = \frac{1}{2(b^2 - a^2)} \log f(x) + c$,where $c$ is the constant of integration,then $f(x)$ is

If $\int \frac{\cos 4x + 1}{\cot x - \tan x} dx = k \cos 4x + c$,then $k$ is equal to

$\int \frac{d x}{4 \sin x+3 \cos x}=$

If $\int(1+x-x^{-1}) e^{x+x^{-1}} dx = f(x)+c$, then $f(1)-f(-1)=$

If $\int \frac{x-\sin x}{1+\cos x} dx = x \tan \left(\frac{x}{2}\right) + p \log \left|\sec \left(\frac{x}{2}\right)\right| + C$,then $p$ is equal to

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