Question
Integrate the function: $\frac{1}{1+\cot x}$

Answer

Let $I=\int \frac{1}{1+\cot x} d x$
$=\int \frac{1}{1+\frac{\cos x}{\sin x}} d x$ 
$=\int \frac{\sin x}{\sin x+\cos x} d x$ 
$= \frac{1}{2} \int \frac{(\sin x+\cos x)+(\sin x-\cos x)}{\sin x+\cos x} d x$ 
$=\frac{1}{2} \int 1 . d x+\frac{1}{2} \int \frac{(\sin x-\cos x)}{\sin x+\cos x} d x$ 
$= \frac{1}{2} x+\frac{1}{2} \int \frac{(\sin x-\cos x)}{\sin x+\cos x} d x$ 
Let sinx + cosx = t
$\Rightarrow \cos x-\sin x=\frac{d t}{d x}$
$\Rightarrow$ (cosx-sinx)dx = dt
$\Rightarrow -(\sin x-\cos x) dx = -dt$
Therefore, $I=\frac{x}{2}+\frac{1}{2} \int \frac{-d t}{t}$
$= \frac{x}{2}-\frac{1}{2} \log |t|+C$ 
$\Rightarrow I=\frac{x}{2}-\frac{1}{2} \log |\sin x+\cos 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

Find the equation of the plane that contains the point (1, -1, 2) and is perpendicular to each of the planes 2x + 3y - 2z = 5 and x + 2y - 3z = 8.
A card from a pack of $52$ cards is lost. From the remaining cards of the pack, two cards are drawn and are found to be both diamonds. Find the probability of the lost card being a diamond.
Find the differential equation of all the parabolas with latus rectum '4a' and whose axes are parallel to x-axis.
Find the angle of intersection of the curves $y^2 = 4ax$ and $x^2 = 4$ by.
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{4}}_{-\frac{\pi}{4}}\frac{\cos^{2}\text{x}}{1+\text{e}^{\text{x}}}\text{ dx}$
Using properties of determinants, prove the following: $ \begin{bmatrix} \text{ x}&\text{x + y }&\text{x} + 2\text{y}\\ \text{x} + 2\text{y} & \text{x}& \text{x + y }\\\text{x + y}&\text{x} + 2\text{y}& \text{x} \end{bmatrix} = 9\text{y}^{2}(\text{x} + \text{y}). $
Show that the vectors $2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $-4\hat{\text{i}}+6\hat{\text{j}}-8\hat{\text{k}}$ are collinear.
A rectangle is inscribed in a semi-circle of radius $r$ with one of its sides on diameter of semi-circle. Find the dimension of the rectangle so that its area is maximum. Find also the area.
Evaluate the following integrals:
$\int\limits^{\pi}_0\sin^3\text{x}(1+2\cos\text{x})(1+\cos\text{x})^2\text{ dx}$
Using properties of determinants show that $\begin{vmatrix} 1 & 1 & \text{1 + x} \\ 1 & \text{1 + y} & 1 \\ \text{1 + z} & 1 & 1 \end{vmatrix} = \text{xyz + yz + zx + xy}.$