Primitive of Power of Cosecant of a x

Theorem

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

Proof
With a view to expressing the primitive in the form:
 * $\ds \int u \frac {\d v} {\d x} \rd x = u v - \int v \frac {\d u} {\d x} \rd x$

let:

and let:

Then:

Also see

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