Primitive of Power of x over Power of a x squared plus b x plus c

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

Then:

Proof
With a view to expressing the problem in the form:
 * $\displaystyle \int u \frac {\d v} {\d x} \rd x = u v - \int v \frac {\d u} {\d x} \rd x$

let:

and let:

Then:

Meanwhile: