Calculus I › Differentiation rules › full formula sheet
The derivative of ex
The function that is its own derivative — and the number e is defined to make exactly this happen.
Notation: e ≈ 2.71828 is Euler’s number. d/dx[eu] = eu·u′ when there’s something in the exponent.
Before this lesson: Definition of the derivative · Definition of e
Where it comes from
Apply the definition to f(x) = ex and factor:
Before reading on: ex crosses (0,1) at exactly 45° — slope 1. Of all possible bases a, only one makes ax hit slope 1 at x = 0. What does that say about why e is special?
So d/dx [ex] = ex · limh→0(eh−1)/h. The whole question is what that limit equals — and e is defined to make it 1. That’s not a coincidence discovered later; it’s the reason e ≈ 2.71828 is special among all possible bases.
The wrong guess to kill: the power rule, d/dx [ex] = x·ex−1?? Test at x = 1: the guess gives 1·e⁰ = 1; the true slope is e ≈ 2.72. Dead on arrival — and structurally wrong, since the power rule needs a constant exponent.
Derivation
We show d/dx [ex] = ex · L with L = limh→0(eh−1)/h, then prove L = 1 from the definition of e:
The miracle is manufactured: e is chosen as the base where L = 1. For 2x the same proof gives 2x·ln 2 — the ax rule, next page.
How to use it
The procedure:
- Plain ex → ex. It’s its own derivative — the easiest rule in the chapter.
- Something in the exponent? Chain: d/dx [eu] = eu·u′. Example: d/dx [e2x] = 2e2x.
- Constants ride along: d/dx [3ex] = 3ex.
- Products need the product rule: x·ex → ex + x·ex = ex(1+x).
The three lookalikes
ex (this page: itself) vs. ex² (chain: 2x·ex²) vs. xe (power rule — constant exponent!: e·xe−1). Sort by asking: where’s the x — exponent, inside the exponent, or base?
Worked examples
Four problems, easiest first. The chain rule does most of the work here.
Example 1 — d/dx [3ex]
- Pull out the 3: = 3·d/dx [ex].
- ex rule: = 3ex = 3ex. (Why unchanged? ex reproduces itself under differentiation.)
Your turn: d/dx [−2ex]
Answer: −2ex
Pull out the −2: −2·d/dx [ex] = −2ex. ex reproduces itself — the constant just rides along.
Example 2 — d/dx [e2x] (chain)
- Layers: outer eu, inner u = 2x.
- Outside: e2x. Inside’s derivative: 2.
- Multiply: = 2e2x.
Your turn: d/dx [e−3x] (chain)
Answer: −3e−3x
Layers: outer eu, inner u = −3x. Outside: e−3x. Inside’s derivative: −3. Multiply: −3e−3x.
Example 3 — d/dx [x·ex] (product)
- Structure: multiplied — product rule: f = x, g = ex.
- Derivatives: f′ = 1, g′ = ex.
- Assemble: = 1·ex + x·ex = ex(1 + x). (Why factor? ex is common — factored form differentiates cleaner next time.)
Your turn: d/dx [x²·ex] (product)
Answer: x·ex(2 + x)
Product rule: f = x², g = ex. f′ = 2x, g′ = ex. Assemble: 2x·ex + x²·ex = x·ex(2 + x).
Example 4 — d/dx [ex/(x+1)] (quotient)
- Structure: divided — quotient rule: f = ex, g = x+1.
- Derivatives: f′ = ex, g′ = 1.
- Chant: = [ex(x+1) − ex(1)]/(x+1)² = x·ex/(x+1)². (Why so clean? ex(x+1−1) = x·ex — factor ex first.)
Your turn: d/dx [ex/(x−1)] (quotient)
Answer: (x−2)·ex/(x−1)²
Quotient rule: f = ex, g = x−1. Chant: [ex(x−1) − ex(1)]/(x−1)². Factor ex: ex(x−1−1)/(x−1)² = (x−2)·ex/(x−1)².
Memorization tips
- Its own derivative: ex → ex. The one rule you can’t get wrong — unless there’s something in the exponent.
- e is defined for this: e is the base where lim(eh−1)/h = 1. The rule isn’t luck; it’s the definition of e paying off.
- Exponent? Chain: e2x → 2e2x, ex² → 2x·ex². The ×u′ is never optional.
- Sort the lookalikes: ex (itself), ex² (chain), xe (power rule!). Ask where the x lives.
- Factor ex always: it’s never zero, so factoring it out of sums is always safe — and answers collapse beautifully.
- Slope 1 at 0: ex crosses (0,1) at 45°. If your chain version doesn’t give slope k at 0 for ekx, recheck the ×k.
Final challenge
Five mixed questions — the definition of e, chains, and the x^e lookalike. Score 5/5 and it’s yours.
← Back to the Calculus I formula sheet
How to learn a formula here
- Read each section in order — every section ends with a short quiz. Take it before moving on; the questions test exactly what you just read.
- Work the examples with the answers covered, then uncover one step at a time and compare.
- Finish with the final challenge — five mixed questions including the classic traps.
- Retake what you miss — every quiz reshuffles each attempt, and every answer explains itself.
Frequently asked questions
What is the derivative of eˣ?
d/dx[eˣ] = eˣ — it’s its own derivative. From the definition: [e^(x+h)−eˣ]/h = eˣ·(e^h−1)/h, and lim(h→0)(e^h−1)/h = 1 by the very definition of e.
Why is e special?
e ≈ 2.71828 is defined as the base making lim(h→0)(b^h−1)/h = 1 — equivalently e = lim(n→∞)(1+1/n)ⁿ. For any other base b, d/dx[bˣ] = bˣ·ln b; only e gives the clean self-reproducing rule.
What is d/dx[e^(2x)]?
2e^(2x). Chain rule: e^(2x) for the outside, times the inside’s derivative 2. Forgetting the ×2 is the classic error.
What’s the difference between eˣ, e^(x²), and x^e?
eˣ differentiates to itself; e^(x²) needs the chain rule (2x·e^(x²)); x^e has a constant exponent, so the power rule gives e·x^(e−1). Three structures, three rules.
Is d/dx[e²] = e²?
No — e² ≈ 7.389 is a constant (no x), so its derivative is 0 by the constant rule. The eˣ rule needs an x in the exponent.
More from the codex
Support the codex
This page is free, with no account and no ads. If it helped you learn, consider supporting the indie dev behind it.
Questions or a bug to report? Email [email protected].