Calculus
Intermediate

Integral of 1/x

Antiderivative of the reciprocal function.

Formula

1xdx=lnx+C\int \frac{1}{x}\,dx = \ln|x| + C

Variables

CConstant

Example

Gives the natural log

Did You Know?

The integral of 1/x is ln|x|, the elegant patch for the one gap left by the power rule.