Question
Question: Solve: \( \int {\sqrt {\cot x} dx} \)...
Solve:
∫cotxdx
Solution
Hint : If we try to replace cotx with simpler terms like sinx and cosx , then we will end up complicating it. It is better to solve it using cotx itself and by using the required formulas to solve the integral.
Complete step-by-step answer :
Let us consider cotx=t, then cotx=t2
On differentiating both sides of cotx=t2 with respect to x , we get,
\-cosec2x.dx=2t.dt ⇒−cosec2x=2tdxdt ⇒cosec2x=−2tdxdt
Using the formula, 1+cot2x=cosec2x , in the above equation we get,
1+cot2x=−2t.dxdt
Since, cotx=t2 , on substituting in the above equation, we get,
1+t4=−2t.dxdt
On rearranging the terms, the equation would be,
dx=1+t4−2tdt
Substituting the values of cotx and dx in ∫cotxdx , we get,
I=∫t.1+t4−2tdt ⇒I=∫1+t4−2t2dt
We can take the negative sign out of the integral,
I=−∫1+t42t2dt
To solve this integral, we add and subtract the numerator with 1 :
Now, we split the integral into two different integrals and solve them separately.
The two integrals are:
I1=∫t4+1t2+1dt and I2=∫t4+1t2−1dt
On dividing the numerator and the denominator of the first integral with t2 ,
I1=∫t2+t211+t21dt
The denominator can be written as t2+t21=(t−t1)2+2
On replacing this value in the denominator, we get,
I1=∫(t−t1)2+21+t21dt
Let us take t−t1=u
Differentiating the above equation with respect to t , we get,
(1+t21)dt=du
On substituting these values in I1 we get,
I1=∫u2+2du
Applying the formula, ∫a2+x2dx=a1tan−1(ax) in I1 :
I1=21tan−1(2u)
Now we replace u with the value of t as we know u=t−t1
I1=21tan−12t−t1 ⇒I1=21tan−1(2tt2−1)
Now we replace t as we know t=cotx
I1=21tan−1(2cotxcotx−1)
Now, we shall solve I2
I2=∫t4+1t2−1dt
On dividing the numerator and the denominator of the second integral with t2 ,
I2=∫t2+t211−t21dt
The denominator can be written as t2+t21=(t+t1)2−2
I2=∫(t+t1)2−21−t21dt
Let us take v=t+t1
Differentiating the above equation with respect to t , we get,
dv=(1−t21)dt
On substituting these values in I2 we get,
I2=∫v2−2dv
Applying the formula, ∫x2−a2dx=2a1ln(x+ax−a) in I2 :
I2=221ln(v+2v−2)
Now we replace v with the value of t as we know v=t+t1
Now we replace t as we know that t2=cotx
I2=221ln(cotx+1+2cotxcotx+1−2cotx)
Now we have to combine both the integrals, I=−(I1+I2)
I=−[21tan−1(2cotxcotx−1)+221ln(cotx+1+2cotxcotx+1−2cotx)]+C
Therefore, ∫cotxdx=−21tan−1(2cotxcotx−1)−221ln(cotx+1+2cotxcotx+1−2cotx)+C
Where C represents the constant of integration.
So, the correct answer is “ −21tan−1(2cotxcotx−1)−221ln(cotx+1+2cotxcotx+1−2cotx)+C ”.
Note : Integrals are widely used in a variety of fields. Integrals, for example, are used in probability theory to calculate the probability of a random variable falling within a given range. In the substitution method in the final answer do not forget to put the original function back.