Primitive of Reciprocal of square of p plus q by Cosine of a x

Theorem

 * $\displaystyle \int \frac {\d x} {\paren {p + q \cos a x}^2} = \frac {q \sin a x} {a \paren {q^2 - p^2} \paren {p + q \cos a x} } - \frac p {q^2 - p^2} \int \frac {\mathrm d x} {p + q \cos a x}$

Also see

 * Primitive of $\dfrac 1 {\left({p + q \sin a x}\right)^2}$