Primitive of Reciprocal of x by a x + b squared/Partial Fraction Expansion

Lemma for Primitive of $\dfrac 1 {x \left({a x + b}\right)^2}$

 * $\dfrac 1 {x \left({a x + b}\right)^2} \equiv \dfrac 1 {b^2 x} - \dfrac a {b^2 \left({a x + b}\right)} - \dfrac a {b \left({a x + b}\right)^2}$

Proof
Setting $a x + b = 0$ in $(1)$:

Equating constants in $(1)$:

Equating $2$nd powers of $x$ in $(1)$:

Summarising:

Hence the result.