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

$\int_{\frac{1}{\sqrt[5]{31}}}^{\frac{1}{\sqrt[5]{242}}} \frac{1}{\sqrt[5]{x^{30}+x^{25}}} d x=$

$\begin{aligned} & \text{If } 5(f(x))^2 = x f(x) + 30 \text{ and } \\ & \int \frac{3 x^3 + (1 - 30 x^2) f(x)}{(10 f(x) - x)(x^3 - f(x))^2} dx \\ & = \frac{A}{B x^3 + D f(x)} + C, \text{ then } A + B + D = \end{aligned}$

$\int_0^{\pi /2} {\left( {\frac{\theta }{{\sin \theta }}} \right)^2 d\theta = } $

For real numbers $\alpha, \beta, \gamma$ and $\delta,$ if $\int \frac{\left(x^{2}-1\right)+\tan ^{-1}\left(\frac{x^{2}+1}{x}\right)}{\left(x^{4}+3 x^{2}+1\right) \tan ^{-1}\left(\frac{x^{2}+1}{x}\right)} d x =\alpha \log _{e}\left(\tan ^{-1}\left(\frac{x^{2}+1}{x}\right)\right) +\beta \tan ^{-1}\left(\frac{\gamma\left(x^{2}-1\right)}{x}\right)+\delta \tan ^{-1}\left(\frac{x^{2}+1}{x}\right)+C$ where $C$ is an arbitrary constant,then the value of $10(\alpha+\beta \gamma+\delta)$ is equal to ....... .

If $\int \frac{1}{x} \sqrt{\frac{1-x}{1+x}} dx = g(x) + c$ and $g(1) = 0$,then $g\left(\frac{1}{2}\right)$ 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