is its own derivative
The gradient of any exponential is its height times a fixed number, and e is the base for which that number is 1. So the gradient of is its height at every point: the derivative of is .
Check at x = 1. The chord from 1 to 1.001 has gradient , and e = 2.7183.
A constant multiple keeps the property: differentiates to . A constant added does not: differentiates to , which is not . The functions that are their own derivatives are exactly the multiples .
Every tangent meets the axis one unit back
At x = a the height of is and so is the gradient. The tangent therefore falls by over a run of 1 to the left, and meets the x-axis at x = a − 1. The tangent at x = 1 is y = ex, which passes through the origin, and the tangent at x = 0 is y = x + 1, which meets the x-axis at −1.
The gold curve . Its tangent at (1, e), the gold line y = ex, has gradient e and meets the x-axis at 0. Its tangent at (0, 1), the dashed line y = x + 1, has gradient 1 and meets the x-axis at −1.
The derivative of ln x
ln x is defined for x > 0. If y = ln x, then . Differentiate both sides with respect to x. The right side gives 1. On the left, y is itself a function of x, so is a function inside a function, with inner function y and outer function eᵘ, and the chain rule gives .
So , and . Since , the derivative of ln x is , for x > 0.
Check at x = 2: the chord from 2 to 2.001 on y = ln x has gradient , and .
What says about the graph of ln x
For x > 0, is positive, so ln x rises everywhere it is defined. Near 0 it is steep, with gradient 10 at x = 0.1, and it flattens as x grows, with gradient 0.1 at x = 10, but it is never flat.
At x = 1, ln x = 0 and the gradient is 1, so the tangent there is y = x − 1.
For x < 0, ln x is not defined, but ln(−x) is. With inner function −x, the chain rule gives . So is the derivative of ln x for x > 0 and of ln(−x) for x < 0; together, of ln|x| for every .
The gold curve y = ln x, its tangent y = x − 1 at (1, 0) as the gold line, and the dashed curve , the gradient of ln x. At x = 1 the dashed curve is at height 1, the tangent’s gradient; as x grows, ln x flattens and falls toward 0.
A coefficient in the exponent
For , the inner function is kx and the outer function is eᵘ. The chain rule gives . So differentiates to , which is 3 at x = 0.
A negative k gives decay: differentiates to , which is at x = 1. The rate of change is −2 times the amount.
An inside that is not linear contributes its own derivative. differentiates to , which is 2e = 5.4366 at x = 1.
Logarithms of an inside
For , the inner function is and the outer function is ln u, with derivative . So : the derivative of the inside over the inside. At x = 2 that is .
For y = ln 5x, the chain rule gives . So does the law of logarithms: ln 5x = ln 5 + ln x, and ln 5 is a constant. Multiplying x by a constant shifts the graph of ln up and leaves every gradient as it was.
With the product rule
is a product, so . That is 2e = 5.4366 at x = 1 and 0 at x = −1, where the curve is flat.
y = x ln x, for x > 0, gives . That is 1 at x = 1 and 2 at x = e.
The usual mistakes
Leaving out the k: differentiates to , not . Only itself is unchanged.
Bringing the exponent down like a power, as . The chain rule multiplies by the derivative of the exponent, 3, not by the exponent.
Giving ln x or x as the derivative of ln x. ln x flattens as x grows, so its gradient falls: it is .
Writing for the derivative of ln 5x. The inner derivative 5 cancels the 5, leaving .
Using as the gradient of ln x at , where ln x is not defined.