For f(x) = aˣ the difference quotient factors as aˣ · (aʰ − 1)/h, and the second factor does not depend on x. So the derivative of an exponential function is a constant multiple of the function itself, and the constant is ln a. For a = e the constant is 1: eˣ is its own derivative. Because logarithms are inverses of exponentials, their derivatives follow from the inverse function rule.
01 · Derivatives of exponential functions
For a > 0: (aˣ)′ = limh→0 (ax + h − aˣ)/h = aˣ · limh→0 (aʰ − 1)/h = aˣ ln a. In particular (eˣ)′ = eˣ and (aˣ)′ = aˣ ln a. With the chain rule: (eg(x))′ = eg(x) g′(x) and (ag(x))′ = ag(x) ln a · g′(x).
02 · Exponentials with the other rules
03 · Derivatives of logarithmic functions
Differentiate alogₐx = x with the chain rule: alogₐx ln a · (logₐx)′ = 1, that is, x ln a · (logₐx)′ = 1. So
(ln x)′ = 1/x and (logₐx)′ = 1/(x ln a) for x > 0.
Also (ln|x|)′ = 1/x for x ≠ 0, and by the chain rule (ln g(x))′ = g′(x)/g(x). The domain of a logarithm is always x > 0 (or g(x) > 0).
04 · Simplify with log properties first
ln(MN) = ln M + ln N, ln(M/N) = ln M − ln N, and ln(Mⁿ) = n ln M turn products, quotients, powers, and roots into sums and multiples, which are much easier to differentiate.
05 · Logarithmic differentiation
For y = f(x)g(x), or a long product and quotient: (1) take ln of both sides; (2) expand with log properties; (3) differentiate implicitly: y′/y = …; (4) multiply by y. Neither the power rule (constant exponent) nor the exponential rule (constant base) applies to xˣ, but this method does.
06 · Practice: check your own derivative
Try x^2 e^(-x), 2^(cos(x)), ln(x^2 + 1), or x^x (for x > 0).
Guided problems · Derivatives of Exponential and Logarithmic Functions
Original problems on exponential and logarithmic derivatives and logarithmic differentiation. Open a hint if you need one, check your answers, then try another set.
Check your understanding · Derivatives of Exponential and Logarithmic Functions
Answer each question on paper first, then open the answer to check yourself.
Differentiate x²e⁻ˣ and 2cos x.
Show answer
(x²e⁻ˣ)′ = 2xe⁻ˣ − x²e⁻ˣ = (2x − x²)e⁻ˣ. (2cos x)′ = 2cos x ln 2 · (−sin x).
Find the derivative of ln(⁷√(x + 1)/(x⁷ + 1)).
Show answer
First simplify: (1/7)ln(x + 1) − ln(x⁷ + 1). Then the derivative is 1/(7(x + 1)) − 7x⁶/(x⁷ + 1).
Differentiate y = xˣ for x > 0.
Show answer
ln y = x ln x, so y′/y = ln x + 1 and y′ = xˣ(ln x + 1).
