§ 01 The Remarkable Derivative of ex
Of all functions in mathematics, one stands alone: ex is its own derivative. This single fact makes the natural exponential the engine of calculus, physics, finance, and biology.
The number e ≈ 2.71828… is defined precisely so that the function f(x) = ex satisfies f′(x) = f(x). In other words, the rate at which ex grows at any point equals its current value. No other base has this property: and that is exactly what makes e special.
The derivative of ex is itself. The slope at any point equals the height at that point.
Why Is This True? A Limit Argument
Using the definition of the derivative, we need to evaluate:
The key limit: limh→0 (eh − 1)/h = 1. This is effectively the definition of e.
The number e is defined as the unique base for which this limit equals exactly 1. Substituting back gives f′(x) = ex · 1 = ex.
§ 02 Derivative of ax — Any Base
What about exponentials with a base other than e, like 2x or 10x? We can rewrite any base using e:
Since ln(a) is a constant, differentiate using the chain rule:
d/dx (ax) = ex ln a · ln a = ax · ln aNote: when a = e, ln(e) = 1, so this reduces to d/dx(ex) = ex ✓
Comparison of Common Bases
| Function | Derivative | Multiplier ln(a) | Notes |
|---|---|---|---|
| ex | ex | ln(e) = 1 | Unique: derivative = itself |
| 2x | 2x · ln 2 | ln 2 ≈ 0.693 | Grows slower than ex |
| 3x | 3x · ln 3 | ln 3 ≈ 1.099 | Grows faster than ex |
| 10x | 10x · ln 10 | ln 10 ≈ 2.303 | Common in engineering |
| (1/2)x | (1/2)x · ln(1/2) | ln(1/2) = −ln 2 ≈ −0.693 | Negative multiplier → decay |
The exponential rule differentiates ax (constant base, variable exponent): d/dx(ax) = ax·ln a.
These are completely different! d/dx(x3) = 3x2 but d/dx(3x) = 3x·ln 3.
§ 03 Chain Rule with Exponentials — ef(x) Forms
In practice you rarely see bare ex. The exponent is almost always a function of x. The chain rule handles this: differentiate the outer exponential, then multiply by the derivative of the inner function.
"The exponential survives unchanged, multiplied by the derivative of whatever is in the exponent."
How to Apply the Chain Rule Step-by-Step
For d/dx[e3x²]:
- Identify the outer function: the exponential eu where u = 3x².
- Differentiate the outer: d/du(eu) = eu = e3x². The exponential is unchanged.
- Differentiate the inner: d/dx(3x²) = 6x.
- Multiply: e3x² · 6x = 6x e3x².
§ 04 12 Fully Worked Examples
Examples escalate from basic ex through general bases, chain rule applications, product/quotient combinations, and implicit differentiation.
This is the base case. Apply the fundamental formula directly.
- The function is ex. The exponent is simply x, so f(x) = x and f′(x) = 1.
- Applying d/dx(ex) = ex · 1 = ex.
The exponent is 5x: a linear function of x. Use the chain rule.
- Outer function: eu. Inner function: u = 5x.
- d/du(eu) = eu = e5x.
- d/dx(5x) = 5.
- Multiply: e5x · 5.
The exponent is a polynomial. Differentiate the exponent, multiply.
- Outer: eu → eu. Inner: u = x² + 3x.
- d/dx(x² + 3x) = 2x + 3.
- Chain rule result: ex²+3x · (2x + 3).
A non-e base. Use d/dx(ax) = ax·ln a with a = 3.
- Identify a = 3. The formula gives 3x · ln 3.
- ln 3 ≈ 1.0986 is a positive constant, so the derivative is simply 3x scaled by ln 3.
A non-e base with a compound exponent: combine the general formula with the chain rule.
- Write as af(x) with a = 2, f(x) = 3x.
- Formula: af(x)·ln(a)·f′(x).
- f′(x) = d/dx(3x) = 3.
- Substitute: 23x · ln 2 · 3 = 3 ln 2 · 23x.
The exponent is a trig function. The chain rule still applies.
- Outer: eu → eu. Inner: u = sin x.
- d/dx(sin x) = cos x.
- Chain rule: esin x · cos x.
A product of a polynomial and an exponential, use the product rule (uv)′ = u′v + uv′.
- Let u = x² → u′ = 2x. Let v = ex → v′ = ex.
- Product rule: u′v + uv′ = 2x · ex + x² · ex.
- Factor out ex: ex(2x + x²) = x(x+2)ex.
A quotient of exponential over polynomial, use the quotient rule (u/v)′ = (u′v − uv′)/v².
- u = ex → u′ = ex. v = x → v′ = 1.
- Quotient rule: (ex · x − ex · 1) / x².
- Factor numerator: ex(x − 1) / x².
The exponent is a square root, equivalently x1/2. Apply the chain rule.
- Outer: eu → eu. Inner: u = x1/2.
- d/dx(x1/2) = (1/2)x−1/2 = 1/(2√x).
- Chain rule: e√x · 1/(2√x).
This is the famous Gaussian bell-curve shape. The exponent is −x².
- Outer: eu → eu. Inner: u = −x².
- d/dx(−x²) = −2x.
- Chain rule: e−x² · (−2x).
Note: the derivative is zero at x = 0 (the peak of the bell curve) and negative for x > 0 (decreasing), consistent with the shape of e−x².
This is sinh(x). Differentiate term by term.
- d/dx(ex/2) = ex/2.
- d/dx(−e−x/2): inner function is −x, so d/dx(−x) = −1. Chain rule gives −(1/2)e−x·(−1) = e−x/2.
- Add: ex/2 + e−x/2 = (ex + e−x)/2 = cosh(x).
Here xy is the exponent; x and y are both variables. Treat y as a function of x and use the chain rule plus product rule on the exponent.
- Let u = xy. Then d/dx(u) requires the product rule: d/dx(xy) = y + x(dy/dx).
- Chain rule: d/dx(exy) = exy · d/dx(xy).
- Substitute: exy · [y + x(dy/dx)].
§ 05 Quick Reference — All Key Formulas
| Function | Derivative | Condition / Note |
|---|---|---|
| ex | ex | The only self-derivative function |
| ekx | k ekx | k is any real constant |
| ef(x) | f′(x) · ef(x) | Chain rule; f must be differentiable |
| ax | ax · ln a | a > 0, a ≠ 1 |
| af(x) | f′(x) · ln(a) · af(x) | Chain rule + general base |
| e−x | −e−x | Exponential decay; f(x) = −x, f′ = −1 |
| x ex | (x + 1)ex | Product rule applied |
| ex/xn | ex(x − n)/xn+1 | Quotient rule, x ≠ 0 |
§ 06 Common Mistakes
§ 07 10-Question Practice Quiz
Test your understanding. Enter your answer in the box, then press Check. Reveal the worked answer if you get stuck.
Find d/dx(e7x). Enter the coefficient: __ · e7x
- The exponent is 7x. d/dx(7x) = 7.
- Chain rule: e7x · 7.
What is d/dx(4x)?
- Use d/dx(ax) = ax·ln a with a = 4.
- Answer: 4x·ln 4.
Find d/dx(e−4x). Enter the coefficient: __ · e−4x
- d/dx(−4x) = −4.
- Chain rule: e−4x · (−4).
Find d/dx(ex²).
- Exponent = x². d/dx(x²) = 2x.
- Chain rule: ex² · 2x.
If f(x) = x · ex, then f′(x) = ex(x + __).
- Product rule: (x)′·ex + x·(ex)′ = ex + xex.
- Factor: ex(1 + x).
Which of the following is d/dx(ecos x)?
- d/dx(cos x) = −sin x.
- Chain rule: ecos x · (−sin x).
Find d/dx(52x). Express as k · ln 5 · 52x. What is k?
- a = 5, f(x) = 2x, f′(x) = 2.
- Formula: 52x · ln 5 · 2.
What is d/dx(ex/x²)?
- u = ex, u′ = ex. v = x², v′ = 2x.
- Quotient rule: (ex·x² − ex·2x) / x⁴ = ex(x² − 2x)/x⁴.
- Simplify: ex·x(x − 2)/x⁴ = ex(x − 2)/x³.
Find the derivative of e−x²/2 (the standard normal PDF shape). Express as k·x·e−x²/2. What is k?
- Exponent = −x²/2. d/dx(−x²/2) = −x.
- Chain rule: e−x²/2·(−x) = −x·e−x²/2.
Which statement is true about d/dx(ex)?
- d/dx(ex) = ex. The function is its own derivative.
Quiz complete!