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

If $y=\sin \left[2 \tan ^{-1}\left(\sqrt{\frac{1-x}{1+x}}\right)\right]$ then find $\frac{d y}{d x}$.
If function $f(x)=\frac{\sqrt{x}-\sqrt{a}}{x-a}$, is continuous at $x=a$, then find value of $f(a)$.
Evaluate $\int _ { - 1 } ^ { 2 } \left| x ^ { 3 } - x \right| d x$.
Examine the continuity and differentiability of function $f(x)=|x|+|x-1|$ in interval $(-1,2)$.
Show that the family of curves for which the slope of the tangent at any point $( x , y )$ on it is $\frac{x^2+y^2}{2 x y}$, is given by $x ^2- y ^2= cx 4$
By using the properties of definite integrals, evaluate the integral $\int_{0}^{\frac{\pi}{4}} \log (1+\tan x) d x$
A company manufactures two types of novelty souvenirs made of plywood. Souvenirs of type A require 5 minutes each for cutting and 10 minutes each for assembling. Souvenirs of type B require 8 minutes each for cutting and 8 minutes each for assembling. There are 3 hours 20 minutes available for cutting and 4 hours for assembling. The profit is Rs. 5 each for type A and Rs. 6 each for type B souvenirs. How many souvenirs of each type should be manufactured for maximum profit.
Solve the differential equation $\left(1-x^2\right) \frac{d y}{d x}+2 x y=x \sqrt{1-x^2}$
Solve the following linear programming problem using graphical method. Maximize $Z=60 x+40 y$, Under the constraints
$x+2 y \leq 12$
$2 x+y \leq 12$
$x+\frac{5}{4} y \geq 5 ; x \geq 0, y \geq 0$
Solve the following linear programming problem by graphical method.Under the constraints, maximise $Z=60 x+40 y$.
$
\begin{aligned}
x+2 y & \leq 12 \\
2 x+y & \leq 12 \\
x+\frac{5}{4} y & \geq 5 ; x \geq 0, y \geq 0
\end{aligned}
$