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

Theorem

 * $\displaystyle \int \frac {\d x} {p^2 + q^2 \cos^2 a x} = \frac 1 {a p \sqrt{p^2 + q^2} } \arctan \frac {p \tan a x} {\sqrt {p^2 + q^2} } + C$

where $C$ is an arbitrary constant.

Also see

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