Differentiation · Exponential Functions

Derivatives of Exponential Functions

Why d/dx(ex) = ex is remarkable, how to differentiate any base ax, and how the chain rule extends both to compound exponential forms. 12 worked examples · 10-question quiz.

Share this page

§ 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.

Core Formula 1 — Natural Exponential
d/dx (ex) = ex

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:

Derivative from First Principles
f′(x) = limh→0 [ex+h − ex] / h  =  ex · limh→0 (eh − 1) / h

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.

Geometric Meaning At any point on the curve y = ex, the tangent line has slope equal to the y-coordinate at that point. At x = 0, the slope is e0 = 1. At x = 2, the slope is e2 ≈ 7.39. The function literally accelerates by its own height — the steeper it gets, the faster it gets steeper.

§ 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:

Derivation
ax = ex ln a

Since ln(a) is a constant, differentiate using the chain rule:

d/dx (ax) = ex ln a · ln a  =  ax · ln a
Core Formula 2 — General Exponential
d/dx (ax) = ax · ln a

Note: 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
Common Mistake: Confusing Power Rule with Exponential Rule The power rule differentiates xn (variable base, constant exponent): d/dx(xn) = nxn−1.
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.

Chain Rule Formula for ef(x)
d/dx [ef(x)] = ef(x) · f′(x)

"The exponential survives unchanged, multiplied by the derivative of whatever is in the exponent."

Chain Rule Formula for af(x)
d/dx [af(x)] = af(x) · ln(a) · f′(x)

How to Apply the Chain Rule Step-by-Step

For d/dx[e3x²]:

  1. Identify the outer function: the exponential eu where u = 3x².
  2. Differentiate the outer: d/du(eu) = eu = e3x². The exponential is unchanged.
  3. Differentiate the inner: d/dx(3x²) = 6x.
  4. Multiply: e3x² · 6x = 6x e3x².
d/dx[e3x²] = 6x e3x²

§ 04 12 Fully Worked Examples

Examples escalate from basic ex through general bases, chain rule applications, product/quotient combinations, and implicit differentiation.

Example 01 Find d/dx(ex)

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.
d/dx(ex) = ex
Example 02 Find d/dx(e5x)

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.
d/dx(e5x) = 5e5x
Example 03 Find d/dx(ex²+3x)

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).
d/dx(ex²+3x) = (2x + 3)ex²+3x
Example 04 Find d/dx(3x)

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.
d/dx(3x) = 3x · ln 3
Example 05 Find d/dx(23x)

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.
d/dx(23x) = 3 ln 2 · 23x
Example 06 Find d/dx(esin x)

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.
d/dx(esin x) = cos(x) · esin x
Example 07 Find d/dx(x² ex)

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.
d/dx(x²ex) = x(x + 2)ex
Example 08 Find d/dx(ex / x)

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².
d/dx(ex/x) = ex(x − 1) / x²
Example 09 Find d/dx(e√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).
d/dx(e√x) = e√x / (2√x)
Example 10 Find d/dx(e−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).
d/dx(e−x²) = −2x e−x²

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².

Example 11 Find d/dx[(ex − e−x) / 2] (hyperbolic sine)

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).
d/dx[sinh x] = cosh x
Example 12 Find d/dx(exy) — implicit, differentiating w.r.t. 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)].
d/dx(exy) = 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
Memory Aid — The "e survives" principle Whenever you differentiate any expression of the form e[something], the e[something] is always present in the answer, multiplied by the derivative of [something]. The exponential can never be "destroyed" by differentiation — this is what makes it so useful in modelling growth and decay.

§ 06 Common Mistakes

Mistake 1 — Forgetting the chain rule Writing d/dx(e3x) = e3x instead of 3e3x. Always ask: "Is the exponent just x, or something more complicated?" If it is more than x, you need the chain rule — multiply by the derivative of the exponent.
Mistake 2 — Applying the power rule to exponentials Writing d/dx(ex) = xex−1. This confuses xn (power rule) with ex (exponential rule). In xn the variable is the base. In ex the variable is the exponent. These are completely different situations.
Mistake 3 — Wrong formula for ax Writing d/dx(3x) = x · 3x−1 (power rule) or just 3x (forgetting the ln a factor). The correct answer is 3x · ln 3. Always include the ln(base) multiplier for non-e bases.
Mistake 4 — Dropping the chain rule factor in products When differentiating x · e2x, students sometimes write x · 2e2x and forget to add the second term from the product rule. The full answer using (uv)′ = u′v + uv′ is: 1 · e2x + x · 2e2x = e2x(1 + 2x).

§ 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.

Score: 0 / 0
Question 1 · Fill in the blank

Find d/dx(e7x). Enter the coefficient: __ · e7x

Chain rule: multiply e7x by the derivative of 7x.
  1. The exponent is 7x. d/dx(7x) = 7.
  2. Chain rule: e7x · 7.
d/dx(e7x) = 7e7x
Question 2 · Multiple choice

What is d/dx(4x)?

  1. Use d/dx(ax) = ax·ln a with a = 4.
  2. Answer: 4x·ln 4.
Question 3 · Fill in the blank

Find d/dx(e−4x). Enter the coefficient: __ · e−4x

Derivative of −4x is −4. The chain rule factor will be negative.
  1. d/dx(−4x) = −4.
  2. Chain rule: e−4x · (−4).
d/dx(e−4x) = −4e−4x
Question 4 · Multiple choice

Find d/dx(e).

  1. Exponent = x². d/dx(x²) = 2x.
  2. Chain rule: e · 2x.
Answer: 2x e
Question 5 · Fill in the blank

If f(x) = x · ex, then f′(x) = ex(x + __).

Product rule: u = x, v = ex. Then u′ = 1, v′ = ex.
  1. Product rule: (x)′·ex + x·(ex)′ = ex + xex.
  2. Factor: ex(1 + x).
f′(x) = ex(x + 1)
Question 6 · Multiple choice

Which of the following is d/dx(ecos x)?

  1. d/dx(cos x) = −sin x.
  2. Chain rule: ecos x · (−sin x).
Answer: −sin(x) ecos x
Question 7 · Fill in the blank

Find d/dx(52x). Express as k · ln 5 · 52x. What is k?

d/dx(af(x)) = af(x)·ln(a)·f′(x). What is f′(x) when f(x) = 2x?
  1. a = 5, f(x) = 2x, f′(x) = 2.
  2. Formula: 52x · ln 5 · 2.
d/dx(52x) = 2 ln 5 · 52x, so k = 2
Question 8 · Multiple choice

What is d/dx(ex/x²)?

  1. u = ex, u′ = ex. v = x², v′ = 2x.
  2. Quotient rule: (ex·x² − ex·2x) / x⁴ = ex(x² − 2x)/x⁴.
  3. Simplify: ex·x(x − 2)/x⁴ = ex(x − 2)/x³.
Question 9 · Fill in the blank

Find the derivative of e−x²/2 (the standard normal PDF shape). Express as k·x·e−x²/2. What is k?

d/dx(−x²/2) = −x. Chain rule gives e−x²/2·(−x).
  1. Exponent = −x²/2. d/dx(−x²/2) = −x.
  2. Chain rule: e−x²/2·(−x) = −x·e−x²/2.
k = −1, so the answer is −x·e−x²/2
Question 10 · Multiple choice

Which statement is true about d/dx(ex)?

  1. d/dx(ex) = ex. The function is its own derivative.

Quiz complete!

Cookie Settings