Integral of tan^n (x) dx

Hint: Start with
[imath]\displaystyle \int tan^n(x) \, dx = \int tan^{n - 2}(x) \, tan^2(x) \, dx = \int tan^{n - 2}(x) \, ( sec^2(x) - 1 ) \, dx[/imath]

Give it a try and post your results.

-Dan
Thank you topsquark for helping me.

How did you figure out this idea? How to choose [imath]\theta[/imath] and [imath]\phi[/imath] in this case?
 
I saw it in class and then went home and derived it on my own a few times. It really wasn't that bad!
 
Top