Primitive of Power of Tangent of a x

Theorem

 * $\ds \int \tan^n a x \rd x = \frac {\tan^{n - 1} a x} {\paren {n - 1} a} - \int \tan^{n - 2} a x \rd x + C$

Also see

 * Primitive of $\sin^n a x$
 * Primitive of $\cos^n a x$
 * Primitive of $\cot^n a x$
 * Primitive of $\sec^n a x$
 * Primitive of $\csc^n a x$