d/dxDerivCalc

Derivative of ln(x)

The natural log has the most surprising derivative in first-year calculus: a logarithm goes in, and a simple reciprocal comes out.

Answer
d/dx [ln(x)]  =  1/x
Rule used: Standard logarithmic derivative
Open ln(x) in the calculator →

Step-by-step solution

1
Identify the function

You are differentiating f(x) = ln(x), the logarithm base e, defined for x > 0.

2
Use the inverse relationship with e^x

If y = ln(x) then ey = x. Differentiating both sides implicitly: ey · y′ = 1.

3
Solve and substitute back

y′ = 1/ey = 1/x, since ey is just x.

Why it works

This result is the bridge between two worlds: it's the reason the area under the curve 1/t from 1 to x equals ln(x). In many textbooks that integral is literally the definition of the natural log, and the derivative formula is then true by construction. Either way you approach it, ln and 1/x are permanently linked.

The slope 1/x also explains the shape of the log curve: enormous slope near zero (the graph shoots down toward −∞), slope exactly 1 at x = 1, and an ever-flattening climb after that. The log never stops growing, but its growth rate decays to nothing — which is why logarithmic growth is the standard example of "technically unbounded, practically slow."

Common mistakes

Practice problems

Differentiate 7 ln(x)

Answer: 7/x.

Differentiate ln(x) + x²

Answer: 1/x + 2x.

Find the slope of ln(x) at x = e

Answer: 1/e ≈ 0.368.

Related derivatives

log(x)ln(2x)e^x1/x