differential calculus
Derivatives of Exponential and Logarithmic Functions
You should know: derivative, exponential functions, logarithms
Overview
The natural exponential function e^x has the remarkable property of being its own derivative. This single fact, combined with the chain rule and change-of-base formulas, generates the derivatives of every exponential and logarithmic function.
Intuition
e is defined precisely so that the exponential function e^x grows at a rate exactly equal to its own value at every point — that's what makes it 'natural.' Any other base a^x grows proportionally to a^x, but scaled by ln(a), a leftover factor from converting between bases.
Interactive Graph
Formal Definition
The core exponential and logarithmic derivatives:
Derivation
Deriving d/dx ln(x) = 1/x using implicit differentiation, treating y = ln(x) as equivalent to e^y = x:
Definition of natural log as inverse of e^x
Differentiate both sides with respect to x
Chain rule on the left side
Substitute back e^y = x
Applications
Worked Examples
Apply linearity and the standard derivatives (exp(x) = eˣ).
Answer: f'(x) = 5exp(x) + 3/x
Practice Problems
Differentiate f(x) = x²e^x (using the product rule).
Differentiate f(x) = ln(x²+1).
Common Mistakes
Treating d/dx a^x as x·a^(x-1), applying the power rule to an exponential.
The power rule applies only when the variable is the base. For a^x (variable exponent, constant base), the derivative is a^x ln(a).
Forgetting the ln(a) factor when differentiating log_a(x) or a^x for bases other than e.
Only base e avoids the extra ln(a) factor; d/dx e^x = e^x exactly, but d/dx a^x = a^x ln(a) for any other base.
Summary
- d/dx e^x = e^x — e^x is the unique function (up to scalar multiples) that is its own derivative.
- d/dx a^x = a^x ln(a) for general base a.
- d/dx ln(x) = 1/x, derived via implicit differentiation from e^y = x.
- d/dx log_a(x) = 1/(x ln(a)) via the change-of-base formula.
Mathematics