Primitive of Reciprocal of Square of p plus q by Exponential of a x

Theorem

 * $\displaystyle \int \frac {\mathrm d x} {\left({p + q e^{a x} }\right)^2} = \frac x {p^2} + \frac 1 {a p \left({p + q e^{a x} }\right)} - \frac 1 {a p^2} \ln \left\vert{p + q e^{a x} }\right\vert + C$