Primitive of Reciprocal of x squared by a x squared plus b x plus c

Theorem
Let $a \in \R_{\ne 0}$.

Then:
 * $\ds \int \frac {\d x} {x^2 \paren {a x^2 + b x + c} } = \frac b {2 c^2} \ln \cmod {\frac {a x^2 + b x + c} {x^2} } - \frac 1 {c x} + \frac {b^2 - 2 a c} {2 c^2} \int \frac {\d x} {a x^2 + b x + c}$