Question
Question: Integrate the expression \(\int{\left( \sqrt{\cot x}+\sqrt{\tan x} \right)dx}\)...
Integrate the expression ∫(cotx+tanx)dx
Solution
To solve this question, we will make use of transformations and use substitution method. We will first transform the given expression into sin x and cos x form. We know that tan x = cosxsinx and cot x = sinxcosx. Then we will perform cross multiplication to make the denominators common. Then we will make alterations in the denominator and use substitution to simplify the expression and reduce it to a known integral.
Complete step by step answer:
The integral given to us is ∫(cotx+tanx)dx.
We will write cot x as sinxcosx and tan x as cosxsinx.
The integral will change as ∫(sinxcosx+cosxsinx)dx
We will now perform cross multiplication to make the denominator same.
The integral will now become ∫(sinxcosxcosx+sinx)dx
Now, we will multiple and divide the integral by 2. It will be multiplied in to the denominator and go under the square root.
Thus, the integral will become 2∫(2sinxcosxcosx+sinx)dx
Now, we will add 1 and subtract 1 in the denominator under the root.
The integral will become 2∫(1−1+2sinxcosxcosx+sinx)dx
We will take the negative sign as common in the denominator.
⇒2∫(1−(1−2sinxcosx)cosx+sinx)dx
From the trigonometric identities, we know that sin2x+cos2x=1. Thus, we will write 1 in the denominator as sin2x+cos2x.
The integral will change as 2∫1−(sin2x+cos2x−2sinxcosx)cosx+sinxdx
Now, we know that a2+b2−2ab=(a−b)2. We will apply this property in the denominator.
Thus, the integral now is 2∫1−(sinx−cosx)2cosx+sinxdx
Now we take sinx−cosx as variable u.
⇒sinx−cosx=u
We know that the derivative of sin x is cos x and derivative of cos x is ─sin x.
⇒d(sinx−cosx)=du⇒(cosx+sinx)dx=du
After substitution the integral changes as follow:
⇒2∫1−u2du
We know that ∫1−x21dx=sin−1x
Thus, now we carry out the integration.
⇒2sin−1(u)+C
Where C is a constant.
But we know that sinx−cosx=u.
Therefore, ∫(cotx+tanx)dx=2sin−1(sinx+cosx)+C
Note: It is always a good practice to simplify the trigonometric ratios of tan, cot, sec and cosec into sin and cos. It simplifies the operations which are needed. Moreover, students should always simplify the given expression before they perform the actual integration.