Primitive of x squared over a x + b squared

Theorem

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