The natural logarithm differentiates to the reciprocal of its argument.
\[\frac{d}{dx}\ln x = \frac{1}{x}\]
What it says
\(\ln x\) is the inverse of \(e^{x}\), and inverting a function reciprocates its slope. Since \(e^{x}\) has slope \(e^{x} = y\) at height \(y\), its inverse has slope \(\frac{1}{y}\) — at the point \(x\), that is \(\frac{1}{x}\).
This is the one derivative that fills the gap left by the power rule. Every power \(x^{n}\) integrates to another power except \(n = -1\); \(\ln x\) is what \(\frac{1}{x}\) integrates to.
Composed with something else, the pattern is \(\frac{u'}{u}\): derivative of the inside over the inside. That form is worth recognising on sight, because it appears everywhere in integration too.
When it applies
The natural logarithm of the variable or of an expression in it.
\(\log(x)\) in this calculator means the natural logarithm, matching most mathematical writing.
Any \(\frac{u'}{u}\) pattern, read backwards.
Five worked examples
Every line is the step the calculator would show, in the order it applies them. Each graph
is live: hover it to read both curves and see the tangent whose slope is the derivative,
drag to pan, scroll to zoom.
1
Example 1
\[\frac{d}{dx}\left[\ln\left(x\right)\right]\]
Straight from the rule.
\[\frac{d}{dx}\left[\ln x\right] = \frac{1}{x}\]
Answer
\[\frac{1}{x}\]
f rises without bound but ever more slowly, and f′ falls away toward zero. Near the origin the roles reverse: f dives toward \(-\infty\) while f′ climbs, both consequences of the same vertical tangent.
Defined only for \(x > 0\), where the derivative is positive and shrinking.
Arches between the zeros of \(\sin x\), each plunging toward \(-\infty\) at both ends, with f′ running from \(+\infty\) to \(-\infty\) across every one.
A tidy example of the \(\frac{u'}{u}\) shape producing a familiar function.