Derivative of log x
The derivative of log x (base 10) is 1/(x ln 10), which is about 0.4343/x. In general, the derivative of a log in base b is 1/(x ln b).
How to find the derivative of log x
Method: change of base.
- 1Change to natural logs: log₁₀ x = ln x / ln 10.
- 2ln 10 is a constant, so it stays as a multiplier.
- 3The derivative of ln x is 1/x.
- 4So the derivative is (1/ln 10) · (1/x) = 1/(x ln 10).
What it means on the graph
Base 10 logs rise more slowly than natural logs, by a constant factor of ln 10 ≈ 2.303. That same factor appears in the slope. Natural logs have the tidiest derivative, which is why calculus prefers them.
Table of values
The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.
| x | log x | 1/(x ln 10) | Slope, measured |
|---|---|---|---|
| 1/2 | −0.30103 | 0.868589 | 0.868589 |
| 1 | 0 | 0.434294 | 0.434294 |
| 2 | 0.30103 | 0.217147 | 0.217147 |
| 5 | 0.69897 | 0.0868589 | 0.0868589 |
| 10 | 1 | 0.0434294 | 0.0434294 |
Second derivative
Differentiating once more gives:
The second derivative tells you which way the graph bends: positive means it curves upward, and negative means it curves downward.
Related derivatives
The same result with the chain or product rule. Each of these is checked numerically too.
| Function | Derivative |
|---|---|
log(2x) | 1xln(10) |
log(x2+1) | 2x(x2+1)ln(10) |
Common mistakes
- Writing 1/x, which is the derivative of ln x, not log x.
- Forgetting which base your course uses: some subjects write log for the natural log.
Frequently asked questions
What is the derivative of log x?
What is the second derivative of log x?
What is the derivative of log base 2 of x?
Keep going
It is (x ln x − x)/ln 10 + C.
Base 10: through (1, 0) and (10, 1); every log graph has this shape.
It is 1/x.
It is 1/x.
It is 2/x.
The power, product, quotient and chain rules, with examples.
Type your own function into the derivative calculator and see every rule applied, step by step.