Integrate the function $\frac{1}{1-\tan x}$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Let $I = \int \frac{1}{1-\tan x} dx$.
$= \int \frac{1}{1-\frac{\sin x}{\cos x}} dx = \int \frac{\cos x}{\cos x-\sin x} dx$.
Multiply and divide by $2$:
$= \frac{1}{2} \int \frac{2 \cos x}{\cos x-\sin x} dx$.
Rewrite the numerator:
$= \frac{1}{2} \int \frac{(\cos x-\sin x)+(\cos x+\sin x)}{\cos x-\sin x} dx$.
$= \frac{1}{2} \int 1 dx + \frac{1}{2} \int \frac{\cos x+\sin x}{\cos x-\sin x} dx$.
$= \frac{x}{2} + \frac{1}{2} \int \frac{\cos x+\sin x}{\cos x-\sin x} dx$.
Let $t = \cos x - \sin x$,then $dt = -(\sin x + \cos x) dx$,so $(\cos x + \sin x) dx = -dt$.
$= \frac{x}{2} - \frac{1}{2} \int \frac{1}{t} dt$.
$= \frac{x}{2} - \frac{1}{2} \ln |\cos x - \sin x| + C$,where $C$ is the constant of integration.

Explore More

Similar Questions

Observe the following statements :
$A: \int \left(\frac{x^2-1}{x^2}\right) e^{\frac{x^2+1}{x}} d x = e^{\frac{x^2+1}{x}} + c$
$R: \int f^{\prime}(x) e^{f(x)} d x = f(x) + c$
Then which of the following is true?

$\int \frac{x+1}{\sqrt{x^2+x+1}} d x=$

If $\int \frac{1+\cos 8 x}{\tan 2 x-\cot 2 x} d x=f(x) \cdot \cos (g(x))+c$, then $f\left(\frac{1}{4}\right)+g\left(\frac{1}{4}\right)=$

$\int \sin ^{-1}\left(\sqrt{\frac{x-a}{x}}\right) d x=$

If $\int \frac{1}{(\sin x + 4)(\sin x - 1)} dx = A \frac{1}{\tan \frac{x}{2} - 1} + B \tan^{-1}(f(x)) + C$,then

Difficult
View Solution

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