Solveeit Logo

Question

Question: Evaluate : \[\int {{{\tan }^2}x} dx\]...

Evaluate : tan2xdx\int {{{\tan }^2}x} dx

Explanation

Solution

Hint : We have to integrate the given trigonometric function tan2x{\tan ^2}x with respect to ‘xx’. 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{\tan ^2}x in terms of secx\sec x 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\int {{{\tan }^2}x} dx
Let I=tan2xdxI = \int {{{\tan }^2}x} dx
Now , We have to integrate II with respect to ‘xx
As , we know that
tan2x+1=sec2x{\tan ^2}x + 1 = {\sec ^2}x
tan2x=sec2x1{\tan ^2}x = {\sec ^2}x - 1
Substituting value of tan2x{\tan ^2}x in II , we get
I=(sec2x1)dxI = \int {\left( {{{\sec }^2}x - 1} \right)dx}
Splitting the integration terms into two integrals
I=sec2xdx1dxI = \int {{{\sec }^2}x} dx - \int 1 dx
Let I=I1I2I = {I_1} - {I_2}
Such that ,
I1=sec2xdx{I_1} = \int {{{\sec }^2}x} dx and I2=1dx{I_2} = \int 1 dx
Now , using sec2x=tanx\int {{{\sec }^2}x} = \tan x and xndx=xn+1n+1\int {{x^n}dx} = \dfrac{{{x^{n + 1}}}}{{n + 1}} , we get
I1=tanx+a1{I_1} = \tan x + {a_1}
I2=x+a2{I_2} = x + {a_2}
Now , I=I1I2I = {I_1} - {I_2}
I=tanxx+a1+a2I = \tan x - x + {a_1} + {a_2}
I=tanxx+aI = \tan x - x + a
(Where a=a1+a2a = {a_1} + {a_2})
Where ‘a1{a_1}’ , ‘a2{a_2}’ , ‘aa’ are integration constant
Thus , tan2xdx=tanxx+a\int {{{\tan }^2}x} dx = \tan x - x + a .
So, the correct answer is “tan2xdx=tanxx+a\int {{{\tan }^2}x} dx = \tan x - x + a”.

Note : As the question was of indefinite integral that’s why we added an integral constant ‘aa’ 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\int 1 dx = x + c
adx=ax+c\int a dx = ax + c
xndx=xn+1n+1\int {{x^n}dx} = \dfrac{{{x^{n + 1}}}}{{n + 1}} ; n1n \ne 1
sinxdx=cosx+c\int {\sin x} dx = - \cos x + c
cosxdx=sinx+c\int {\cos x} dx = \sin x + c
sec2xdx=tanx+c\int {{{\sec }^2}x} dx = \tan x + c