Question
Question: Integrate \[\tan x.{\sec ^2}xdx\]....
Integrate tanx.sec2xdx.
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
So, let I=∫tanx.sec2xdx
Here, we all know that, dxdtanx=sec2x
So, here, the derivative of tanx also exists in the given question.
So, we need to substitute tanx=t and on differentiating this on both sides, we get, sec2xdx=dt
Now, substitute these values in the integration.
So, we get,
I=∫t.(sec2xdx)=∫tdt
And we all know the formula, ∫xndx=n+1xn+1
So, from this we get ∫tdt=1+1t1+1=2t2+c
Now, substituting back the original value of t , we get,
I=2tan2x+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, dxd(2tan2x+c)=dxd(2tan2x)+dxdc
=21dxdtan2x+0 -----as the derivative of a constant is 0.
=21(2)(tanx)dxdtanx ----from the chain rule i.e., dxd(f(g(x)))=f′(g(x))×g′(x)
=tanx.sec2x
So, we are getting a correct answer and finally, ∫tanx.sec2xdx=2tan2x+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 as a substitution because the derivative of tanx exists in the integral which is sec2x.