Primitive of Square of Cotangent of a x

Theorem

 * $\displaystyle \int \cot^2 a x \ \mathrm d x = \frac {-\cot a x} a - x + C$

Also see

 * Primitive of $\tan^2 a x$