Primitive of Reciprocal of Power of Cosine of a x

Theorem

 * $\ds \int \frac {\d x} {\cos^n a x} = \frac {\sin a x} {a \paren {n - 1} \cos^{n - 1} a x} + \frac {n - 2} {n - 1} \int \frac {\d x} {\cos^{n - 2} a 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 $\dfrac 1 {\sin^n a x}$