A little while ago, I posted a solution to deriving the reduction formula for the integral of tann(x), that is, integer powers of the tangent function. We use the principles discussed in this post to find the integral of...

(NB: below this only one of many ways to solving this problem)
The first step is to reserve a tan2(x) and express the integrand as a product of 2 lower powers of tan(x). Thus...

Alright, the next trick up our sleeve is to realise that, by the Pythagorean Identity...

And thus the integral becomes...

So now we have 2 integrals. The second integral is one of the standard integrals...

To understand how this integral comes about, you can view this video.
Now for the first integral, we can realise that sec2(x) is the derivative of tan(x), so we can let...

And from our previous studies into differentials, the term du/dx is separable. Thus...

And therefore...

Ok, let's put everything back together...

Finally, with u = tan(x), the integral of tan3(x) is...

You may have also see the result written like this...

Are these results equal to each other? Well, let's see. Again, by the Pythagorean identity, equation (1), the first result can be written as...

Now, with C and D being arbitrary constants of integration, we can see that equations (1) and (2) are equivalent.
The original function and its primitive (its integral) is plotted in Figure 1 below...

Figure 1. tan3(x) and its primitive
Calculus: Techniques of Integration
- Integral of ∫4/(x3 + 4x)dx - do we need partial fractions?
- Integral of ∫3x2+8/x3+4xdx with f'(x)/f(x)
- The integral of sec(x) - Part 1
- The integral of sec(x) - Part 2
- Reduction Formula for the Integral of ∫tann(x)dx
- Integral of tan3(x)
- Reduction formula for Integral of ∫sinn(x)dx
- Integral of 1/√e2x+1
Calculus: Techniques of Integration [Videos]
Please give me an Upvote and Resteem if you have found this tutorial helpful.
Please ask me a maths question by commenting below and I will try to help you in future posts.
Tip me some DogeCoin: A4f3URZSWDoJCkWhVttbR3RjGHRSuLpaP3
Tip me at PayPal: https://paypal.me/MasterWu
I've always been fascinated by integration.
You did good on this one.
Thank you @addempsea