Primitive of x squared over a x + b

Theorem

 * $\ds \int \frac {x^2 \rd x} {a x + b} = \frac {\paren {a x + b}^2} {2 a^3} - \frac {2 b \paren {a x + b} } {a^3} + \frac {b^2} {a^3} \ln \size {a x + b} + C$