(AI3) Trigonometric Integrals (Powers of Secant and Tangent)#
In this lesson we are going to see how to calculate integrals of the form:
Videos#
Substitution Rule#
Our main strategy is going to be a \(u\)-substitution with either \(u=\sec x\) or \(u=\tan x\). Which one we choose, ultimately comes down to the differentials.
In order to make the differentials match with what’s actually in our integral, we start with the function we’re integrating and factor off either a \(\left(\sec x \tan x\right)\) term or a \(\left(\sec^2 x\right)\) term and put it next to the \(dx\).
In order to convert between powers of \(\sec x\) and powers of \(\tan x\) we use the following identity:
Trigonometric Identity
Example 1#
Integrate the following:
Solution (Click to see the steps.)
Separate: We start by separating off a \(\left(\sec^2 x \right)\) term to get:
Convert: Since we factored off a \(\left(\sec^2 x \right)\) term, this means we need to convert all remaining trig functions into powers of \(\tan x\).
This is where we use the trig identity: \(\sec^2 \theta = 1+\tan^2 \theta\)
Choose u: Now we’re ready for a \(u\)-substitution. Since we factored off a \(\left(\sec^2 x \right)\) term, we choose:
and then we calculate \(du\) to get:
And then substituting our \(u\) and \(du\) into the integral gives us:
Finish It! And finally we finish the integration. First multiply everything out so that we have only power functions to integrate.
And then convert back to \(x\) to get our answer:
(Don’t forget \(+C\) for indefinite integrals!)
Example 2#
Integrate the following:
Solution (Click to see the steps.)
Separate: We start by separating off a \(\left(\sec x \tan x \right)\) term to get:
Convert: Since we factored off a \(\left(\sec x \tan x \right)\) term, this means we need to convert all remaining trig functions into powers of \(\sec x\).
This is where we use the trig identity: \(\sec^2 \theta = 1+\tan^2 \theta\)
Choose u: Now we’re ready for a \(u\)-substitution. Since we factored off a \(\left(\sec x \tan x \right)\) term, we choose:
and then we calculate \(du\) to get:
And then substituting our \(u\) and \(du\) into the integral gives us:
Finish It! And finally we finish the integration. First multiply everything out so that we have power functions to integrate.
And then finally we convert back to \(x\) to get our answer:
(Don’t forget \(+C\) for indefinite integrals!)
Get Creative#
Unfortunately, the substitution strategy used in the first two examples doesn’t always work. If this happens we have a few more things to try:
Use Trig Identities: Keep trying to use our main identity \(\sec^2 \theta = 1 + \tan^2\theta\), you might still get something useful.
Convert to sine and cosine: We have techniques for integrating powers of \(\sin x\) and \(\cos x\) which might be helpful.
Integration by parts: This can be a helpful way to move exponents between trig functions. Maybe try making the \(dv\) term either \(\sec^2 x\) or \(\sec x \tan x\).
A lot of times, success with the above methods comes down to also knowing:
Helpful Antiderivatives
Example 3#
Integrate the following:
Solution 1 (Trig identities)
Separate: We are still going to try using our trig identity: \(\sec^2 x = 1 + \tan^2x\). Since this has a \(\tan^2 x\) term, let’s start by breaking our function up:
Trig Identity: Now we can apply the trig identity \(\sec^2 x = 1 + \tan^2x\) to get:
And we also multiply everything out.
Now it comes down to 2 integrals:
Finish It! And finally we put it all together and get:
(Don’t forget \(+C\) for indefinite integrals!)
Solution 2 (Convert to sine and cosine)
Convert: We are going to start by converting everything into sine and cosine terms:
Powers of Sine: Since we have an odd power of sine in the numerator, we can separate off one \(\sin x\) and put it next to the \(dx\)
Putting a \(\sin x\) next to \(dx\) tells us we are going to use the opposite function \(\cos x\) as our \(u\)-sub. So let’s convert everything else remaining in our integral to cosine:
Here we use our standard trig identity: \(\sin^2\theta +\cos^2\theta =1\)
Substitution: Now we can do our \(u\)-substitution:
And plugging all of this into our integral gives us:
Finish It! And finally if we do the division we can finish the integration:
And converting back to our original variable:
(Don’t forget \(+C\) for indefinite integrals!)
Example 4#
Integrate the following:
Solution (Using Integration By Parts and Trig Identities)
Separate: We start by separating off a \(\left(\sec^2 x \right)\) term to get:
Now we can choose \(u\) and \(dv\):
The reason why we factored off a \(\sec^2 x \) term and chose that for \(dv\) is because it is easy to integrate (its one of our elementary antiderivatives).
Applying the integration by parts formula gives us:
Trig Identity: The resulting integral from the integration by parts is still tricky, so we try using a trig identity:
And now it seems like we might be back where we started, so let’s formally state what we have so far:
Unknown Integral: If we look at this resulting equation we see that our unknown integral shows up on both sides.
So let’s actually solve for it! And to help picture some of the algebra we’ll rename our unknown integral:
Giving us the (shortened) equation:
Now we just need to solve for \(Y\). Add \(Y\) to both sides to get:
And then divide both sides by \(2\):
And there we go!
Finish It! And finally we can finish the remaining integral with the use of some helpful antiderivatives:
(Don’t forget \(+C\) for indefinite integrals!)
Helpful Antiderivatives