Derivatives of the exponential and the logarithm
This is the story of the function that does not change under differentiation and the function whose derivative is x1. We look at y=ex and y=lnx.
(ex)′(lnx)′=ex=x1 The slope equals the height
At every point of ex the slope of the tangent equals the height of the point1.
| x | ex | Slope |
|---|
| 0 | 1 | 1 |
| 1 | e≈2.718 | e≈2.718 |
| 2 | e2≈7.389 | e2≈7.389 |
The only functions with that property are those of the form Cex, and the number e is fixed by it.
The same does not happen for 2x. There (2x)′=2xln2, off by the factor ln2≈0.693. Only with base e does the extra coefficient disappear.
The derivative of the logarithm
The derivative of lnx is x12.
| x | (lnx)′ |
|---|
| 1 | 1 |
| 2 | 21 |
| 10 | 101 |
It flattens toward the right. That is why lnx increases without bound while its rate of increase falls away.
The relation between inverses
The two are inverse to each other, and their graphs are symmetric about y=x. Since the derivative of an inverse is dydx=dy/dx1, if the slope of y=ex is y itself then the slope of x=lny is y1. Each follows from the other.
Filling a hole in integration
Integrating x1 returns lnx. The integral of xn is n+1xn+1, which fails at n=−1 because the denominator becomes 0. The logarithm is what fills that hole.
When the base is not e
| Function | Derivative |
|---|
| ax | axlna |
| logax | xlna1 |
The first follows from rewriting ax=exlna and applying the chain rule, the second from logax=lnalnx. Whatever the base, converting to natural logarithms reduces everything to the same two formulas.
The steeply rising curve on the graph is y=ex, the gently rising one is y=lnx, the hyperbola is y=x1, and the large dots are (0,1), (1,0) and (1,1).
- Exponential function, Wikipedia
- Natural logarithm, Wikipedia