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

If $\int \frac{\sin x}{\sin (x-\alpha)} dx = px - q \log |\sin (x-\alpha)| + c$,then $pq =$ . . . . . . .

$\int\left(1+x-x^{-1}\right) e^{x+x^{-1}} d x$ is equal to :

If $\int {\frac{{{x^4} + 1}}{{x{{\left( {{x^2} + 1} \right)}^2}}}} dx = A \ln |x| + \frac{B}{{1 + {x^2}}} + c$,where $c$ is the constant of integration,then:

Given that $\frac{d}{d x}\left(\tan ^{-1} x\right)=\frac{1}{1+x^2}$ and $\frac{d}{d x}\left(\sin h^{-1} x\right)=\frac{1}{\sqrt{1+x^2}}$. Then $\int \frac{3 x^6-2 x^4+x^2-2}{x^2+1} d x=$

If $\int \frac{dx}{\sin^3 x + \cos^3 x} = A \log \left|\frac{\sqrt{2}+t}{\sqrt{2}-t}\right| + B \tan^{-1}(t) + c$,then $\left(\frac{B}{A}, t\right) =$

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