Primitive of a x + b over p x + q

Theorem

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