Primitive of Power of Cosine of a x over Power of Sine of a x/Reduction of Power of Cosine

Theorem

 * $\displaystyle \int \frac {\cos^m a x} {\sin^n a x} \rd x = \frac {\cos^{m - 1} a x} {a \paren {m - n} \sin^{n - 1} a x} + \frac {m - 1} {m - n} \int \frac {\cos^{m - 2} a x} {\sin^n a x} \rd x + C$

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

let:

Thus:

and so:

Then let:

Then: