Primitive of Reciprocal of x by Root of a x + b

Theorem

 * $\displaystyle \int \frac {\mathrm d x} {x \sqrt{a x + b} } = \begin{cases}

\dfrac 1 {\sqrt b} \left({\dfrac {\sqrt {a x + b} - \sqrt b} {\sqrt {a x + b} + \sqrt b} }\right) + C & : b > 0 \\ \dfrac 2 {\sqrt {-b} } \arctan \sqrt {\dfrac {a x + b} {-b} } + C & : b < 0 \end{cases}$

Proof
Let:

Then:

Let $b > 0$.

Then:

Let $b < 0$.

Then: