Primitive of Reciprocal of p squared minus Square of q by Hyperbolic Cosine of a x

Theorem

 * $\displaystyle \int \frac {\mathrm d x} {p^2 - q^2 \cosh^2 a x} = \begin{cases}

\displaystyle \frac 1 {2 a p \sqrt{p^2 - q^2} } \ln \left\vert{ \frac {p \tanh a x + \sqrt{p^2 - q^2} } {p \tanh a x - \sqrt{p^2 - q^2} } }\right\vert + C & : p^2 > q^2 \\ \displaystyle \frac 1 {a p \sqrt{q^2 - p^2} } \arctan \frac {p \tanh a x} {\sqrt{q^2 - p^2} } + C & : p^2 < q^2 \\ \end{cases}$

Also see

 * Primitive of $\dfrac 1 {p^2 - q^2 \sinh^2 a x}$