Solveeit Logo

Question

Question: Integrate \[\tan x.{\sec ^2}xdx\]....

Integrate tanx.sec2xdx\tan x.{\sec ^2}xdx.

Explanation

Solution

We use the concepts and techniques of trigonometry to solve this problem. Generally, integration is the reverse process of differentiation. We will also know about some substitution methods in integration to solve this problem. Knowing about the substitution methods helps us in solving many other problems in an easy way.

Complete step-by-step solution:
To integrate the given term, we need to use a substitution method.
In the question it is given that, we need to integrate tanx.sec2xdx\tan x.{\sec ^2}xdx
So, let I=tanx.sec2xdxI = \int {\tan x.{{\sec }^2}xdx}
Here, we all know that, ddxtanx=sec2x\dfrac{d}{{dx}}\tan x = {\sec ^2}x
So, here, the derivative of tanx\tan x also exists in the given question.
So, we need to substitute tanx=t\tan x = t and on differentiating this on both sides, we get, sec2xdx=dt{\sec ^2}xdx = dt
Now, substitute these values in the integration.
So, we get,
I=t.(sec2xdx)=tdtI = \int {t.({{\sec }^2}xdx) = \int {tdt} }
And we all know the formula, xndx=xn+1n+1\int {{x^n}dx = \dfrac{{{x^{n + 1}}}}{{n + 1}}}
So, from this we get tdt=t1+11+1=t22+c\int {tdt = \dfrac{{{t^{1 + 1}}}}{{1 + 1}}} = \dfrac{{{t^2}}}{2} + c
Now, substituting back the original value of tt , we get,
I=tan2x2+cI = \dfrac{{{{\tan }^2}x}}{2} + c
So, this is the required answer.
For verification, let's differentiate our answers and check whether we are getting the same question or not.
So, ddx(tan2x2+c)=ddx(tan2x2)+ddxc\dfrac{d}{{dx}}\left( {\dfrac{{{{\tan }^2}x}}{2} + c} \right) = \dfrac{d}{{dx}}\left( {\dfrac{{{{\tan }^2}x}}{2}} \right) + \dfrac{d}{{dx}}c
=12ddxtan2x+0= \dfrac{1}{2}\dfrac{d}{{dx}}{\tan ^2}x + 0 -----as the derivative of a constant is 0.
=12(2)(tanx)ddxtanx= \dfrac{1}{2}(2)(\tan x)\dfrac{d}{{dx}}\tan x ----from the chain rule i.e., ddx(f(g(x)))=f(g(x))×g(x)\dfrac{d}{{dx}}\left( {f(g(x))} \right) = f'(g(x)) \times g'(x)
=tanx.sec2x= \tan x.{\sec ^2}x
So, we are getting a correct answer and finally, tanx.sec2xdx=tan2x2+c\int {\tan x.{{\sec }^2}xdx = \dfrac{{{{\tan }^2}x}}{2} + c}

Note: After integrating an indefinite integral, we should add an arbitrary constant for must. So, be careful that you add it. And if in an integral, there exists a term such that its derivative also exists in the integral, then take that term as a substitution, so that, after substitution, the derivative vanishes and the problem becomes easier.
Here, we took tanx=t\tan x = t as a substitution because the derivative of tanx\tan x exists in the integral which is sec2x{\sec ^2}x.