Solveeit Logo

Question

Question: Integrate \(\int {\sqrt {\tan x} dx} \) with respect to \(x\)....

Integrate tanxdx\int {\sqrt {\tan x} dx} with respect to xx.

Explanation

Solution

In this question, we have been asked to integrate tanxdx\int {\sqrt {\tan x} dx} . At first, assume tanx=t2\tan x = {t^2}. Then, differentiate the equation and find the value of dx. Put them in the given equation. Then, divide the question into parts by adding and subtracting 1 in the numerator. Both the parts have the same steps. Solve each part individually. First, divide the numerator and the denominator with t2{t^2}. Then, manipulate the denominator in such a way that the denominator has a value which can be substituted for a letter, whose differentiated value is in the numerator only. After you have changed the denominator, put it equal to a letter and differentiate it. You will find its value in the numerator. Substitute it and apply the relevant formula. Repeat the same process with the other part. Add both the parts together. You will have your answer.

Complete step-by-step solution:
We have been asked to integrate tanxdx\int {\sqrt {\tan x} dx} with respect to xx. The solution to this question is a little lengthy and you should be aware about certain trigonometric identities to find the answer. Let us see how it is done.
Firstly, we will try to remove the square root. For this purpose, we will assume a certain value of tanx\tan x.
Let tanx=t2\tan x = {t^2}. (We will assume it is equal to the square so when it comes under root, it will be simplified.)
tanx=t2\Rightarrow \tan x = {t^2}
Differentiating both the sides with respect to xx
sec2xdx=2tdt\Rightarrow {\sec ^2}xdx = 2tdt
Now, we have to find the value of dx in terms of t. So, we will put sec2x=1+tan2x{\sec ^2}x = 1 + {\tan ^2}x. Now, we know that tanx=t2\tan x = {t^2}
Putting this in sec2x=1+tan2x{\sec ^2}x = 1 + {\tan ^2}x, we get
sec2x=1+t4\Rightarrow {\sec ^2}x = 1 + {\operatorname{t} ^4}
Now we have the following value of dx –
dx=2tdt1+t4\Rightarrow dx = \dfrac{{2tdt}}{{1 + {t^4}}}
Putting this in the given equation,
2t2dt1+t4\Rightarrow \int {\dfrac{{2{t^2}dt}}{{1 + {t^4}}}}
Now, we will separate the numerator and add and subtract 1 in the numerator.
t2+1+t21dt1+t4\Rightarrow \int {\dfrac{{{t^2} + 1 + {t^2} - 1dt}}{{1 + {t^4}}}}
Now, we will separate the entire question into 2 parts.
1+t21+t4dt+t211+t4dt\Rightarrow \int {\dfrac{{1 + {t^2}}}{{1 + {t^4}}}dt + \int {\dfrac{{{t^2} - 1}}{{1 + {t^4}}}dt} } …. (1)
Let 1+t21+t4dt=I1\int {\dfrac{{1 + {t^2}}}{{1 + {t^4}}}dt = {I_1}} and t211+t4dt=I2\int {\dfrac{{{t^2} - 1}}{{1 + {t^4}}}dt = {I_2}} .
Now, we will solve both the parts individually. Starting with part 1,
I1=1+t21+t4dt\Rightarrow {I_1} = \int {\dfrac{{1 + {t^2}}}{{1 + {t^4}}}dt}
Dividing numerator and denominator by t2{t^2},
I1=1t2+11t2+t2dt\Rightarrow {I_1} = \int {\dfrac{{\dfrac{1}{{{t^2}}} + 1}}{{\dfrac{1}{{{t^2}}} + {t^2}}}dt}
Now, we will manipulate the denominator in such a way that we get something which can be substituted for a letter and we get their differentiation in numerator.
We know that (t1t)2=t2+1t22{\left( {t - \dfrac{1}{t}} \right)^2} = {t^2} + \dfrac{1}{{{t^2}}} - 2. We can write it as - (t1t)2+2=t2+1t2{\left( {t - \dfrac{1}{t}} \right)^2} + 2 = {t^2} + \dfrac{1}{{{t^2}}}. Substituting this in the equation,
I1=1t2+1(t1t)2+2dt\Rightarrow {I_1} = \int {\dfrac{{\dfrac{1}{{{t^2}}} + 1}}{{{{\left( {t - \dfrac{1}{t}} \right)}^2} + 2}}dt} …. (2)
Now, we will assume t1t=ut - \dfrac{1}{t} = u and we will differentiate both the sides with respect to t.
(1+1t2)dt=du\Rightarrow \left( {1 + \dfrac{1}{{{t^2}}}} \right)dt = du
Putting this in equation (2),
I1=du(u)2+(2)2\Rightarrow {I_1} = \int {\dfrac{{du}}{{{{\left( u \right)}^2} + {{\left( {\sqrt 2 } \right)}^2}}}}
Using the formula - dxa2+x2=1atan1xa+C\int {} \dfrac{{dx}}{{{a^2} + {x^2}}} = \dfrac{1}{a}{\tan ^{ - 1}}\dfrac{x}{a} + C,
I1=12tan1u2+C1\Rightarrow {I_1} = \dfrac{1}{{\sqrt 2 }}{\tan ^{ - 1}}\dfrac{u}{{\sqrt 2 }} + {C_1}
Substituting the value of uu
I1=12tan1(t212t)+C1\Rightarrow {I_1} = \dfrac{1}{{\sqrt 2 }}{\tan ^{ - 1}}\left( {\dfrac{{{t^2} - 1}}{{\sqrt 2 t}}} \right) + {C_1}
Substituting tanx=t2\tan x = {t^2}
I1=12tan1(tanx12tanx)+C1\Rightarrow {I_1} = \dfrac{1}{{\sqrt 2 }}{\tan ^{ - 1}}\left( {\dfrac{{\tan x - 1}}{{\sqrt {2\tan x} }}} \right) + {C_1}
Now, we will move towards second part.
I2=t211+t4dt\Rightarrow {I_2} = \int {\dfrac{{{t^2} - 1}}{{1 + {t^4}}}dt}
In this part also, we will follow the same steps as followed above.
Dividing numerator and denominator by t2{t^2}
I2=11t21t2+t2dt\Rightarrow {I_2} = \int {\dfrac{{1 - \dfrac{1}{{{t^2}}}}}{{\dfrac{1}{{{t^2}}} + {t^2}}}dt}
We know that (t+1t)2=t2+1t2+2{\left( {t + \dfrac{1}{t}} \right)^2} = {t^2} + \dfrac{1}{{{t^2}}} + 2
We can write it as - (t+1t)22=t2+1t2{\left( {t + \dfrac{1}{t}} \right)^2} - 2 = {t^2} + \dfrac{1}{{{t^2}}}
Substituting this in the equation,
I2=11t2(t+1t)22dt\Rightarrow {I_2} = \int {\dfrac{{1 - \dfrac{1}{{{t^2}}}}}{{{{\left( {t + \dfrac{1}{t}} \right)}^2} - 2}}dt} …. (3)
Now, we will assume t+1t=vt + \dfrac{1}{t} = v and we will differentiate both the sides with respect to t.
(11t2)dt=dv\Rightarrow \left( {1 - \dfrac{1}{{{t^2}}}} \right)dt = dv
Putting this in equation (3),
I2=dv(v)2(2)2\Rightarrow {I_2} = \int {\dfrac{{dv}}{{{{\left( v \right)}^2} - {{\left( {\sqrt 2 } \right)}^2}}}}
Using the formula - dxa2x2=12alogxax+a\int {\dfrac{{dx}}{{{a^2} - {x^2}}} = \dfrac{1}{{2a}}\log \left| {\dfrac{{x - a}}{{x + a}}} \right|} ,
I2=122logv2v+2+C2\Rightarrow {I_2} = \dfrac{1}{{2\sqrt 2 }}\log \left| {\dfrac{{v - \sqrt 2 }}{{v + \sqrt 2 }}} \right| + {C_2}
Now, put the value of vv
I2=122logt2+1t2t2+1t+2+C2\Rightarrow {I_2} = \dfrac{1}{{2\sqrt 2 }}\log \left| {\dfrac{{\dfrac{{{t^2} + 1}}{t} - \sqrt 2 }}{{\dfrac{{{t^2} + 1}}{t} + \sqrt 2 }}} \right| + {C_2}
Simplifying,
I2=122logt2+12tt2+1+2t+C2\Rightarrow {I_2} = \dfrac{1}{{2\sqrt 2 }}\log \left| {\dfrac{{{t^2} + 1 - \sqrt 2 t}}{{{t^2} + 1 + \sqrt 2 t}}} \right| + {C_2}
Substituting tanx=t2\tan x = {t^2}
I2=122logtanx+12tanxtanx+1+2tanx+C2\Rightarrow {I_2} = \dfrac{1}{{2\sqrt 2 }}\log \left| {\dfrac{{\tan x + 1 - \sqrt {2\tan x} }}{{\tan x + 1 + \sqrt {2\tan x} }}} \right| + {C_2}
Now, for the final answer, we will add I1{I_1} and I2{I_2}
I=I1+I2\Rightarrow I = {I_1} + {I_2}
I=12tan1(tanx12tanx)+122logtanx+12tanxtanx+1+2tanx+C\Rightarrow I = \dfrac{1}{{\sqrt 2 }}{\tan ^{ - 1}}\left( {\dfrac{{\tan x - 1}}{{\sqrt {2\tan x} }}} \right) + \dfrac{1}{{2\sqrt 2 }}\log \left| {\dfrac{{\tan x + 1 - \sqrt {2\tan x} }}{{\tan x + 1 + \sqrt {2\tan x} }}} \right| + C
Hence, this is our final answer.

Note: We have to remember that, in mathematics, an integral assigns numbers to functions in a way that can describe displacement, area, volume, and other concepts that arise by combining infinitesimal data. Integration is one of the two main operations of calculus. Its inverse operation of differentiation, is the other. The operation of integration, up to an additive constant, is the inverse of the operation of differentiation.