Question
Question: What is the integral of \({{\tan }^{2}}\left( x \right)\sec \left( x \right)\) ?...
What is the integral of tan2(x)sec(x) ?
Solution
Here we will use some standard equations to solve. We know that the integral of secx is ln(∣sec(x)+tan(x)∣) .
From trigonometry we have tan2x=sec2x−1 .
The Integration by parts is given by ∫uv=u∫v−∫du∫v .
Using the above results, we will find the integral.
Complete step by step answer:
We have been given that
tan2(x)sec(x)
To write the integral of given function.
We will assume the value of function is equal to I and then solve further:
I=∫(tan2(x)sec(x))dx …(1)
From the trigonometric identity we have tan2x=sec2x−1 thus substituting this value in equation (1), we get:
I=∫(sec2x−1)secxdx …(2)
Now multiply secx to both the terms of bracket from equation (2), we get:
I=∫(sec3x−secx)dx
⇒∫sec3xdx−∫secxdx …(3)
Now we know that the integral of secx is ln(∣sec(x)+tan(x)∣) therefore applying that to equation (3) we get:
I=∫sec3xdx−ln(∣sec(x)+tan(x)∣) …(4)
Now we will find the integral of sec3x by applying integration of parts in which let us consider u=secx,v=sec2x
Therefore, we can write integral of sec3x as shown below:
∫sec3xdx=∫(secx)(sec2x)dx …(5)
Now apply integration by parts ∫uv=u∫v−∫du∫v to equation (5) we get:
∫sec3xdx=secxtanx−∫tanx(secxtanx)dx⇒secxtanx−∫tan2x(secx)dx
Now once again we use the trigonometric identity tan2x=sec2x−1 for the above equation, we get:
⇒secxtanx−∫secx(sec2x−1)dx ….(6)
Now multiply the terms in equation (6) we get:
⇒secxtanx−(∫sec3xdx−∫secxdx) …(7)
Now we know that the integral of secx is ln(∣sec(x)+tan(x)∣) therefore using this in equation (7) we get:
⇒secxtanx−∫sec3xdx+ln(∣sec(x)+tan(x)∣) …(8)
Now we can transfer the term ∫sec3xdx to the right-hand side in equation (8) we get:
∫sec3xdx+∫sec3xdx=secxtanx+ln(∣sec(x)+tan(x)∣)⇒21(secxtanx+ln(∣sec(x)+tan(x)∣))
Now substituting this value in equation (4) we have:
I=21(secxtanx+ln(∣sec(x)+tan(x)∣))−ln(∣sec(x)+tan(x)∣)
Thus, on solving we have the integral of tan2(x)sec(x) is given by:
∫tan2xsecxdx=I=21(secxtanx−ln(∣sec(x)+tan(x)∣))+c
Note: We can find the integral of secx by using the integration by parts which can be as shown below:
∫secxdx
We multiply and divide by the term secx+tanxsecx+tanx and then we select therefore we can write:
∫secxsecx+tanxsecx+tanxdx⇒∫secx+tanxsec2x+secxtanxdx
u=secx+tanx,du=secxtanx+sec2xdu,v=1 we get the new expression as :
∫udu
We know the integral of ∫udu is ln∣u∣+c
Therefore, we have:
∫secxdx=ln∣secx+tanx∣+c