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

Theorem

 * $\displaystyle \int \frac {\mathrm d x} {\left({p + q \cos a x}\right)^2} = \frac {q \sin a x} {a \left({q^2 - p^2}\right) \left({p + q \cos a x}\right)} + \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}$