Primitive of Square of Tangent of a x

Theorem

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

Also see

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