Primitive of Power of Cosecant of a x

Theorem

 * $\displaystyle \int \csc^n a x \ \mathrm d x = \frac{-\csc^{n - 2} a x \cot a x} {a \left({n - 1}\right)} + \frac {n - 2} {n - 1} \int \csc^{n - 2} a x \ \mathrm d x$

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

let:

and let:

Then:

Also see

 * Primitive of $\sec^n a x$