Question
Question: Evaluate : \[\int {{{\tan }^2}x} dx\]...
Evaluate : ∫tan2xdx
Solution
Hint : We have to integrate the given trigonometric function tan2x with respect to ‘x’. We solve this using integration by using the various formulas of trigonometric functions . First we change the terms of the integration by using the formula of tan2x in terms of secx and then by integrating the terms after substituting the terms we get the solution of the given integral .
Complete step-by-step answer :
Given : ∫tan2xdx
Let I=∫tan2xdx
Now , We have to integrate I with respect to ‘x’
As , we know that
tan2x+1=sec2x
tan2x=sec2x−1
Substituting value of tan2x in I , we get
I=∫(sec2x−1)dx
Splitting the integration terms into two integrals
I=∫sec2xdx−∫1dx
Let I=I1−I2
Such that ,
I1=∫sec2xdx and I2=∫1dx
Now , using ∫sec2x=tanx and ∫xndx=n+1xn+1 , we get
I1=tanx+a1
I2=x+a2
Now , I=I1−I2
I=tanx−x+a1+a2
I=tanx−x+a
(Where a=a1+a2)
Where ‘a1’ , ‘a2’ , ‘a’ are integration constant
Thus , ∫tan2xdx=tanx−x+a .
So, the correct answer is “∫tan2xdx=tanx−x+a”.
Note : As the question was of indefinite integral that’s why we added an integral constant ‘a’ to the integration . If the question would have been of definite integral then we don’t have added the integral constant to the final answer .
The formula of integration for various trigonometric terms are given as :
∫1dx=x+c
∫adx=ax+c
∫xndx=n+1xn+1 ; n=1
∫sinxdx=−cosx+c
∫cosxdx=sinx+c
∫sec2xdx=tanx+c