Question
Question: How do you integrate \({\left( {\tan x} \right)^4}\)?...
How do you integrate (tanx)4?
Solution
In order to evaluate the integral of the given function, first of all, we will reduce it to the standard form by a proper substitution. After completing the substitution part, we will integrate the functions using the standard formulas of integrals mentioned below.
Formula used:
⇒ ∫xndx=n+1xn+1+C,n=−1
⇒ ∫sec2xdx=tanx+C
Complete step-by-step answer:
First of all, let us take
⇒ I=∫tan4xdx
Now, we will be substituting tan4x=tan2xtan2x , then the integral becomes
⇒ =∫tan2x.tan2xdx
Again, we will be using the trigonometric identity, which is tan2x=sec2x−1 ,
Using the trigonometric identity, the integral becomes
⇒ =∫tan2x(sec2x−1)dx
Simplifying the brackets inside the integral, we get
⇒ =∫(tan2xsec2x−tan2x)dx
Now, we separate the two integrals, in order to solve them separately, then the integrals are
⇒ =∫tan2xsec2xdx−∫tan2xdx
⇒ =∫(tanx)2sec2xdx−∫(sec2x−1)dx
Now, we consider the first integral as I1 in order to solve this by substitution method,
⇒ =I1−∫sec2xdx+∫dx - - - - - - - - - - - (1.)
Now,
⇒ I1=∫(tanx)2sec2xdx ,
We write it like this because it will be easier to solve and use the substitution method. Also, we know that the differentiation of tanx is the rest of the function. This way the substitution methods are used.
Let us take u=tanx
We differentiate on both sides, then it becomes
⇒ dxdu=sec2x
⇒du=sec2xdx
Now we substitute these values in the integral I1 , then this becomes as
⇒ I1=∫u2du
We solve this integral by using the formula, mentioned above.
⇒ =2+1u2+1+C1
⇒ =3u3+C1 .
Now by substituting u=tanx , the value of I1becomes as
⇒ I1=3tan3x+C1
Now, we put the value of I1 in (1.),
⇒ I=3tan3x+C1−∫sec2xdx+∫dx
Here again, we will be using the formula of integrals mentioned above, we get
⇒ =3tan3x−tanx+x+C ,
where C is all constants including C1
∴I=3tan3x−tanx+x+C
Note:
The integral I1 should be simplified separately, in order to use the substitution method properly. After obtaining the value of I1, substitute it back in I and evaluate the final solution of I. Here, C is an arbitrary constant known as the constant of integration.