Solveeit Logo

Question

Question: Integrate \[\dfrac{1}{{1 + \cot x}}\] using the substitution method....

Integrate 11+cotx\dfrac{1}{{1 + \cot x}} using the substitution method.

Explanation

Solution

Here we have indefinite integral, before applying integration we need to simplify the integrand using the definition of cotangent that is cotx=cosxsinx\cot x = \dfrac{{\cos x}}{{\sin x}}. After we simplify by taking LCM in the denominator of the integrand and we split the terms. Then we can apply the substitution method and we need to make sure that the final answer should be in terms of ‘x’ only.

Complete step by step answer:
Consider
I=(11+cotx)dxI = \int {\left( {\dfrac{1}{{1 + \cot x}}} \right)dx}
Now using the definition of cotangent we have cotx=cosxsinx\cot x = \dfrac{{\cos x}}{{\sin x}}, then above becomes
I=(11+(cosxsinx))dxI = \int {\left( {\dfrac{1}{{1 + \left( {\dfrac{{\cos x}}{{\sin x}}} \right)}}} \right)dx}
Taking LCM and simplifying we have,
I=(1(sinx+cosxsinx))dxI = \int {\left( {\dfrac{1}{{\left( {\dfrac{{\sin x + \cos x}}{{\sin x}}} \right)}}} \right)dx}
I=(sinxsinx+cosx)dx\Rightarrow I = \int {\left( {\dfrac{{\sin x}}{{\sin x + \cos x}}} \right)dx}
Now to simplify further multiply and divide by 2 in the integrand,
I=12(2sinxsinx+cosx)dxI = \int {\dfrac{1}{2}\left( {\dfrac{{2\sin x}}{{\sin x + \cos x}}} \right)dx}
I=12(2sinxsinx+cosx)dx\Rightarrow I = \dfrac{1}{2}\int {\left( {\dfrac{{2\sin x}}{{\sin x + \cos x}}} \right)dx}

We can write 2sinx=sinx+sinx2\sin x = \sin x + \sin x
I=12(sinx+sinxsinx+cosx)dxI = \dfrac{1}{2}\int {\left( {\dfrac{{\sin x + \sin x}}{{\sin x + \cos x}}} \right)dx}
Now add and subtract cosx\cos x on the numerator of the integrand,
I=12(sinx++cosx+sinxcosxsinx+cosx)dxI = \dfrac{1}{2}\int {\left( {\dfrac{{\sin x + + \cos x + \sin x - \cos x}}{{\sin x + \cos x}}} \right)dx}
Grouping we have,
I=12((sinx+cosx)+(sinxcosx)sinx+cosx)dxI = \dfrac{1}{2}\int {\left( {\dfrac{{\left( {\sin x + \cos x} \right) + \left( {\sin x - \cos x} \right)}}{{\sin x + \cos x}}} \right)dx}
Now splitting,
I=12(sinx+cosxsinx+cosx)dx+12(sinxcosxsinx+cosx)dxI = \dfrac{1}{2}\int {\left( {\dfrac{{\sin x + \cos x}}{{\sin x + \cos x}}} \right)dx} + \dfrac{1}{2}\int {\left( {\dfrac{{\sin x - \cos x}}{{\sin x + \cos x}}} \right)dx}

Cancelling we have
I=12dx+12(sinxcosxsinx+cosx)dxI = \dfrac{1}{2}\int {dx} + \dfrac{1}{2}\int {\left( {\dfrac{{\sin x - \cos x}}{{\sin x + \cos x}}} \right)dx}
Now for the second integral we use the substitution method. That is we substitute
sinx+cosx=t\sin x + \cos x = t
Now differentiating with respect to x
(cosxsinx)dx=dt\left( {\cos x - \sin x} \right)dx = dt. Then above integration becomes
I=12dx+121tdt\Rightarrow I = \dfrac{1}{2}\int {dx} + \dfrac{1}{2}\int {\dfrac{1}{t}dt}
I=12x+12logt+C\Rightarrow I = \dfrac{1}{2}x + \dfrac{1}{2}\log |t| + C
Where C is the integration constant.
But in the end we need answers in terms of x only. We substituted t=sinx+cosxt = \sin x + \cos x
I=12x+12logsinx+cosx+C\therefore I = \dfrac{1}{2}x + \dfrac{1}{2}\log |\sin x + \cos x| + C

Hence integration of 11+cotx\dfrac{1}{{1 + \cot x}} is 12x+12logsinx+cosx+C\dfrac{1}{2}x + \dfrac{1}{2}\log |\sin x + \cos x| + C.

Note: In definite integral we will not have integration constant C due to the presence of upper and lower limits. Also integration can be used to find the area between the curves, volumes, central points and many useful. We also know the derivative of a constant is zero but not for integration.