Primitive of Reciprocal

Theorem

 * $\ds \int \frac {\d x} x = \ln \size x + C$

for $x \ne 0$.

Proof
Suppose $x > 0$.

Then:
 * $\ln \size x = \ln x$

The result follows from Derivative of Natural Logarithm Function and the definition of primitive.

Suppose $x < 0$.

Then:

and the result again follows from the definition of the primitive.