Derivative of e^x: The Function Equal to Its Own Derivative

By Vegard Gjerde Based on Masterful Learning 10 min read Updated
derivative-exp-rule calculus derivatives math learning-strategies

Derivative of e^x gives the exact derivative of the natural exponential in one step: ddxex=ex\frac{d}{dx} e^x = e^x. Its canonical condition is “always applies,” but the real decision is local structure: use this rule for the exact exe^x pattern, and use chain rule when the exponent is another function such as 2x2x or g(x)g(x).

Unisium hero image titled Derivative of e^x showing the principle equation d/dx e^x = e^x and a conditions card.
The rule ddxex=ex\frac{d}{dx} e^x = e^x — the natural exponential is unchanged by differentiation.

On this page: The Principle | Conditions | Failure Modes | EE Questions | Retrieval Practice | Practice Ground | Solve a Problem | FAQ | How This Fits


The Principle

The move: Differentiate exe^x with respect to xx in one step: its derivative is exe^x again.

The invariant: Differentiating exe^x leaves the functional form unchanged: the exact derivative is exe^x again.

Pattern: ddxexex\frac{d}{dx} e^x \quad \longrightarrow \quad e^x

Legal ✓Illegal ✗
ddxexex\frac{d}{dx} e^x \to e^xddxe2xe2x\frac{d}{dx} e^{2x} \to e^{2x}

The illegal move treats e2xe^{2x} as though it were the direct exe^x pattern. The correct derivative is found by chain rule:

ddxe2x=e2xddx(2x)=2e2x\frac{d}{dx} e^{2x} = e^{2x} \cdot \frac{d}{dx}(2x) = 2e^{2x}

The mistake is not a failure of the canonical condition. It is a wrong rule choice for the local structure.


Conditions of Applicability

Condition: always applies

Before applying, check: are you taking the derivative of the exact local pattern ddxex\frac{d}{dx} e^x as a direct step? If yes, apply derivativeExpRule directly. If the exponent is another expression, chain rule governs the step. If the term sits inside a sum, product, or constant multiple, that larger rule governs the whole derivative while derivativeExpRule is used locally on the exe^x term.

  • The canonical condition is still “always applies.” The real decision point here is structural recognition: are you looking at the direct exe^x pattern, or at a larger structure that calls another rule first?
  • If the exponent is a differentiable function g(x)g(x) rather than the bare variable xx, chain rule supplies the extra factor: ddxeg(x)=g(x)eg(x)\frac{d}{dx} e^{g(x)} = g'(x)e^{g(x)}.
  • If the base is not ee but a general constant aa, use the general derivative rule for axa^x instead: ddxax=axlna\frac{d}{dx} a^x = a^x \ln a.

Want the complete framework behind this guide? Read Masterful Learning.


Common Failure Modes

Failure mode: treat every exponential with base ee as the direct exe^x pattern and write ddxeg(x)=eg(x)\frac{d}{dx} e^{g(x)} = e^{g(x)} — dropping the chain factor g(x)g'(x) and misidentifying which rule governs the step.

Debug: inspect the local structure before writing the derivative. If the step is exactly ddxex\frac{d}{dx} e^x, use derivativeExpRule directly. If the exponent is anything other than the bare variable, write the chain-rule factor explicitly: ddxeg(x)=g(x)eg(x)\frac{d}{dx} e^{g(x)} = g'(x)e^{g(x)}.


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • What is special about the number ee that makes exe^x its own derivative — and would any other base aa share this property?
  • Why does the derivative of exe^x equal exe^x exactly, rather than a constant multiple of exe^x?

For the Principle

  • How do you decide whether derivativeExpRule applies directly to the current local step, or whether chain rule (or product rule) governs the larger expression first?
  • What changes in the derivative computation when the exponent is 2x2x instead of xx?

Between Principles

  • How does derivativeExpRule relate to the chain rule when the exponent is a differentiable function g(x)g(x) — what extra factor appears, and where does it come from?

Generate an Example

  • Describe a step in a derivative computation where applying derivativeExpRule without first inspecting the exponent would produce a wrong answer.

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the derivative of e^x in one sentence: _____The derivative of e^x with respect to x is e^x — the natural exponential is its own derivative.
Write the canonical equation: _____ddxex=ex\frac{d}{dx} e^x = e^x
State the canonical condition: _____always applies

Practice Ground

Use these exercises to build move-selection fluency. (See Self-Explanation for how to use worked examples effectively.)

Procedure Walkthrough

Starting from ddx(ex+e2x)\frac{d}{dx}(e^x + e^{2x}), differentiate and track which term uses derivativeExpRule directly versus which term requires chain rule.

StepExpressionOperation
0ddx(ex+e2x)\frac{d}{dx}(e^x + e^{2x})
1ddx(ex)+ddx(e2x)\frac{d}{dx}(e^x) + \frac{d}{dx}(e^{2x})Sum rule: distribute the derivative over addition
2ex+ddx(e2x)e^x + \frac{d}{dx}(e^{2x})derivativeExpRule applies directly to the first term because it is exactly exe^x
3ex+e2xddx(2x)e^x + e^{2x}\cdot\frac{d}{dx}(2x)Chain rule on the second term: outer eue^u, inner u=2xu=2x
4ex+e2x2e^x + e^{2x}\cdot 2Differentiate the inner function
5ex+2e2xe^x + 2e^{2x}Simplify

Drills

Forward step — differentiate using derivativeExpRule

Apply the rule to differentiate this expression.

ddxex\frac{d}{dx}\, e^x

Reveal

This is exactly the direct ddxex\frac{d}{dx} e^x pattern, so derivativeExpRule applies directly:

ddxex=ex\frac{d}{dx}\, e^x = e^x


Apply the rule (with constant multiple rule) to differentiate this expression.

ddx(7ex)\frac{d}{dx}\,(7e^x)

Reveal

Constant multiple rule first; inside that step, this is exactly the direct ddxex\frac{d}{dx} e^x pattern:

ddx(7ex)=7ddx(ex)=7ex\frac{d}{dx}(7e^x) = 7\,\frac{d}{dx}(e^x) = 7e^x


Evaluate: is the following derivation correct?

ddxe2x=e2x\frac{d}{dx}\,e^{2x} = e^{2x}

Reveal

No. This is not the direct ddxex\frac{d}{dx} e^x pattern, so chain rule governs the step:

ddxe2x=e2xddx(2x)=2e2x\frac{d}{dx}\,e^{2x} = e^{2x} \cdot \frac{d}{dx}(2x) = 2e^{2x}


Does derivativeExpRule apply directly to the whole step below? If not, name the governing rule and complete the derivative.

ddx(xex)\frac{d}{dx}(xe^x)

Reveal

No. The whole expression is a product, so product rule governs the derivative, with derivativeExpRule used on the exe^x factor inside that computation:

ddx(xex)=xddx(ex)+exddx(x)=xex+ex=ex(x+1)\frac{d}{dx}(xe^x) = x\,\frac{d}{dx}(e^x) + e^x\,\frac{d}{dx}(x) = xe^x + e^x = e^x(x+1)


Differentiate ex+3x4e^x + 3x^4.

Reveal

ddx(ex+3x4)=ddx(ex)+3ddx(x4)=ex+3(4x3)=ex+12x3\frac{d}{dx}(e^x + 3x^4) = \frac{d}{dx}(e^x) + 3\,\frac{d}{dx}(x^4) = e^x + 3(4x^3) = e^x + 12x^3


Differentiate 2ex+x3-2e^x + x^3.

Reveal

ddx(2ex+x3)=2ddx(ex)+ddx(x3)=2ex+3x2\frac{d}{dx}(-2e^x + x^3) = -2\,\frac{d}{dx}(e^x) + \frac{d}{dx}(x^3) = -2e^x + 3x^2


Action label — identify which rule was applied

What was done between these two steps?

ddx(ex+x5)ex+5x4\frac{d}{dx}(e^x + x^5) \quad\longrightarrow\quad e^x + 5x^4

Reveal

Sum rule split the derivative across the two terms; then derivativeExpRule was used on exe^x and the power rule was used on x5x^5.


What was done between these two steps?

ddx(8ex)8ex\frac{d}{dx}(8e^x) \quad\longrightarrow\quad 8e^x

Reveal

Constant multiple rule preserved the factor 88, and derivativeExpRule differentiated the exe^x term: ddx(8ex)=8ddx(ex)=8ex\frac{d}{dx}(8e^x) = 8\,\frac{d}{dx}(e^x) = 8e^x.


A student writes: ddx2x=2x\frac{d}{dx}\,2^x = 2^x. What error was made?

Reveal

derivativeExpRule applies only to base ee, not to a general base aa. For axa^x the correct rule introduces a logarithmic factor:

ddx2x=2xln2\frac{d}{dx}\,2^x = 2^x \ln 2


In the computation below, name the rule applied to each term:

ddx(ex3)ex0ex\frac{d}{dx}(e^x - 3) \quad\longrightarrow\quad e^x - 0 \quad\longrightarrow\quad e^x

Reveal
  • exe^x term: derivativeExpRuleddx(ex)=ex\frac{d}{dx}(e^x) = e^x.
  • 3-3 term: derivative constant ruleddx(3)=0\frac{d}{dx}(-3) = 0.

Rule attribution — locate derivativeExpRule in a larger computation

In computing ddx(ex+lnx)\frac{d}{dx}(e^x + \ln x), which term uses derivativeExpRule and which uses a different rule?

Reveal
  • exe^x term: derivativeExpRuleddx(ex)=ex\frac{d}{dx}(e^x) = e^x.
  • lnx\ln x term: derivative of ln(x) ruleddx(lnx)=1x\frac{d}{dx}(\ln x) = \frac{1}{x}.

So ddx(ex+lnx)=ex+1x\frac{d}{dx}(e^x + \ln x) = e^x + \frac{1}{x}.


For each expression below, state whether derivativeExpRule applies directly or another rule must be invoked first:

(a) exe^x — (b) ex2e^{x^2} — (c) exxe^x \cdot x

Reveal

(a) Direct — this is exactly the local pattern ddxex\frac{d}{dx} e^x, so derivativeExpRule applies immediately.

(b) Chain rule first — the exponent is x2x^2, so the derivative is ddxex2=2xex2\frac{d}{dx}\,e^{x^2} = 2x\,e^{x^2}.

(c) Product rule first — this is a product of exe^x and xx. derivativeExpRule is used on the exe^x factor within the product-rule computation, but the governing rule for the whole step is product rule: ddx(exx)=exx+ex1=ex(x+1)\frac{d}{dx}(e^x \cdot x) = e^x \cdot x + e^x \cdot 1 = e^x(x+1).


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem: Find the derivative of f(x)=2ex3x2+5f(x) = 2e^x - 3x^2 + 5.

Full solution
StepExpressionMove
02ex3x2+52e^x - 3x^2 + 5
1ddx(2ex)ddx(3x2)+ddx(5)\frac{d}{dx}(2e^x) - \frac{d}{dx}(3x^2) + \frac{d}{dx}(5)Sum/difference rule: distribute derivative over each term
22ddx(ex)3ddx(x2)+ddx(5)2\,\frac{d}{dx}(e^x) - 3\,\frac{d}{dx}(x^2) + \frac{d}{dx}(5)Constant multiple rule: pull coefficients out
32ex3ddx(x2)+02e^x - 3\,\frac{d}{dx}(x^2) + 0derivativeExpRule on exe^x; constant rule on +5+5 gives 00
42ex3(2x)2e^x - 3(2x)Power rule: ddx(x2)=2x\frac{d}{dx}(x^2) = 2x
52ex6x2e^x - 6xArithmetic: 3×2=63 \times 2 = 6

FAQ

What is the derivative of exe^x?

The derivative of exe^x with respect to xx is exe^x. The natural exponential is its own derivative.

What is the canonical condition for derivativeExpRule?

The canonical condition is always applies. The real challenge is move selection: recognizing when the local step is exactly ddxex\frac{d}{dx} e^x and when a neighboring rule governs the whole derivative.

Does the derivative of exe^x change if there is a coefficient in front, like 5ex5e^x?

No. Apply the constant multiple rule first: ddx(5ex)=5ddx(ex)=5ex\frac{d}{dx}(5e^x) = 5\,\frac{d}{dx}(e^x) = 5e^x. The coefficient carries through unchanged.

What if the exponent is not just xx — for example e2xe^{2x} or ex2e^{x^2}?

Then the direct one-step pattern is no longer the whole story, and chain rule governs the derivative: ddxeg(x)=g(x)eg(x)\frac{d}{dx}\,e^{g(x)} = g'(x)e^{g(x)}. For example, ddxe2x=2e2x\frac{d}{dx}\,e^{2x} = 2e^{2x} and ddxex2=2xex2\frac{d}{dx}\,e^{x^2} = 2x\,e^{x^2}.

How is ddxex\frac{d}{dx} e^x different from ddxax\frac{d}{dx} a^x?

For general base aea \neq e, the derivative is axlnaa^x \ln a. The exe^x rule is the special case where lne=1\ln e = 1, so the logarithmic factor disappears.

Can I use derivativeExpRule on xex^e?

No — xex^e is a power function (constant exponent ee, variable base), not an exponential function. Apply the power rule instead: ddxxe=exe1\frac{d}{dx}\,x^e = e\,x^{e-1}.


How This Fits in Unisium

Within the calculus subdomain, derivativeExpRule is one of the first exponential derivative rules you encounter. The main challenge is not memorizing a hidden applicability guard; it is recognizing local structure correctly. The drills above train you to separate the direct exe^x step from neighboring cases such as eg(x)e^{g(x)}, cexce^x, and products containing exe^x, so that you choose the governing rule correctly before differentiating.

Explore further:

  • Calculus Subdomain Map — Return to the calculus hub to see where the natural exponential rule sits in the derivative family
  • Chain Rule — The direct exe^x rule becomes a chain-rule problem as soon as the exponent is any nontrivial function g(x)g(x)
  • Derivative of ln(x) — The paired natural logarithm rule sits next to exe^x because the two functions are inverse partners on their real domains
  • Principle Structures — Where derivativeExpRule fits in the calculus derivative taxonomy
  • Elaborative Encoding — Build deep understanding of why exe^x is uniquely self-replicating under differentiation
  • Retrieval Practice — Make the pattern and condition instantly accessible from memory

Ready to master the derivative of exe^x? Check access and join the Unisium waitlist or explore the full learning framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The book behind these guides: a study system for physics, math, & programming built on retrieval, connection, explanation, and problem solving.

Ready to apply this strategy?

Unisium turns these evidence-based techniques into guided study sessions for math and physics. Unisium is currently in early access. See pricing, availability, and join the waitlist.

Check Unisium Access and Pricing Read More Guides

Already have access? Sign in