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

Answer

Let $I = \int {\frac{1}{{1 - \tan x}}} dx$

$= \int {\frac{1}{{1 - \frac{{\sin x}}{{\cos x}}}}} dx$

$= \int {\frac{1}{{\left( {\frac{{\cos x - \sin x}}{{\cos x}}} \right)}}} dx$

$= \int {\frac{{\cos x}}{{\cos x - \sin x}}} dx$

$= \frac{1}{2}\int {\frac{{2\cos x}}{{\cos x - \sin x}}} dx$

$= \frac{1}{2}\int {\frac{{\cos x + \cos x}}{{\cos x - \sin x}}} dx$

Adding and subtracting sin x in the numerator,

$= \frac{1}{2}\int {\frac{{\cos x - \sin x + \sin x + \cos x}}{{\cos x - \sin x}}} dx$

$= \frac{1}{2}\int {\frac{{\left( {\cos x - \sin x} \right) + \left( {\sin x + \cos x} \right)}}{{\cos x - \sin x}}} dx$

$= \frac{1}{2}\int {\frac{{\cos x - \sin x}}{{\cos x - \sin x}}} + \frac{{\sin x + \cos x}}{{\cos x - \sin x}}dx$

$= \frac{1}{2}\int {\left( {1 + \frac{{\sin x + \cos x}}{{\cos x - \sin x}}} \right)} dx$

$= \frac{1}{2}\left[ {\int {1dx-\int {\frac{{ - \sin x - \cos x}}{{\cos x - \sin x}}} } } \right]dx$

$= \frac{1}{2}\left[ {x - \log \left| {\cos x - \sin x} \right|} \right] + c$ $[\because \int \frac{f'(x)}{f(x)} dx=log|f(x)|+c]$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}=\cos\text{x}$
An item is manufactured by three machines A, B and C. Out of the total number of items manufactured during a specified period, 50% are manufactured on A, 30% on B and 20% on C. 2% of the items produced on A and 2% of items produced on B are defective, and 3% of these produced on C are defective. All the items are stored at one godown. One item is drawn at random and is found to be defective. What is the probability that it was manufactured on machine A?
 $\text{If }\overrightarrow{\text{a}}=\hat{\text{i}}-\hat{\text{j}}+\hat{\text{7k}};\text{ and }\overrightarrow{b}=\hat{\text{5i}}-\hat{\text{j}}+\lambda\hat{\text{k}},$ then find the value of $\lambda,$ so that $\overrightarrow{a}+\overrightarrow{b}$ and $\overrightarrow{a}-\overrightarrow{b}$ are perpendicular vectors.
By computing the shortest distance determine whether the following pairs of lines intersect or not:3
$\frac{\text{x}-5}{4}=\frac{\text{y}-7}{-5}=\frac{\text{z}+3}{-5}$ and $\frac{\text{x}-8}{7}=\frac{\text{y}-7}{1}=\frac{\text{z}-5}{3}$
$\text{Evaluate:} \int\limits_0^\frac{\pi}{2} (2\log \sin \text{x} - \log \sin 2\text{x}) \text{dx}$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\sin^4\text{x}+\cos^4\text{x}\text{ on }\Big[0,\frac{\pi}{2}\Big]$
If $\vec a,\vec b,\vec c$ are unit vectors such that $\vec a + \vec b + \vec c = 0$ find the value of $\vec a.\vec b + \vec b.\vec c + \vec c.\vec a$.
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(2\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}\big)+\lambda\big(2\hat{\text{i}}-5\hat{\text{j}}+2\hat{\text{k}}\big)$ and, $\vec{\text{r}}=\big(\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}\big)+\mu\big(\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big)$
Find the equation of a curve passing through the origin given that the slope of the tangent to the curve at any point (x, y) is equal to the sum of the coordinates of the point.
Solve the following differential equations:
$(\text{x}^2-\text{y}^2)\text{dx}-2\text{xy dy}=0$