practicecalculus
Exponential and log derivatives

Derivative of eˣ: Formula, Proof and Examples

The derivative of eˣ is eˣ. See why with a limit proof, the chain rule form for e^u, a graph and worked examples like e^(3x) and x²eˣ.

Exponential and log derivatives Updated 2 min read

At a glance

\frac{d}{dx}\,e^x = e^x
Derivative
e^x
Chain rule form
\dfrac{d}{dx}e^u = e^u\,u'
Every higher derivative
e^x
Value of e
e \approx 2.71828
Integral version
\int e^x\,dx = e^x + C
On this page
  1. Graph of eˣ
  2. Proof from the limit definition
  3. Chain rule version: derivative of e^u
  4. Worked examples
  5. Common mistakes

The derivative of e^x is e^x. The function and its slope are equal at every point, which makes e^x the most important function in calculus.

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

Graph of eˣ

Graph of y = eˣ and its tangent line at x = 0
At every point, the height of e^x equals its slope. At x = 0 both are 1, so the tangent line there is y = x + 1.

Because e^x > 0 for every x, the slope is always positive, so e^x always increases. And because the slope grows with the height, the curve bends upward faster and faster.

Proof from the limit definition

Use the limit definition of the derivative:

\frac{d}{dx}e^x = \lim_{h \to 0}\frac{e^{x + h} - e^x}{h} = \lim_{h \to 0}\frac{e^x(e^h - 1)}{h} = e^x\lim_{h \to 0}\frac{e^h - 1}{h}

For any base a, the derivative of a^x is a^x times the constant \lim_{h \to 0}\frac{a^h - 1}{h}. For a = 2 that constant is about 0.693. For a = 3 it is about 1.099. The number e \approx 2.71828 is the base where the constant is exactly 1:

\lim_{h \to 0}\frac{e^h - 1}{h} = 1 \quad\Longrightarrow\quad \frac{d}{dx}e^x = e^x

You can check this numerically: with h = 0.001, \frac{e^{0.001} - 1}{0.001} \approx 1.0005.

Chain rule version: derivative of e^u

When the exponent is something other than x, use the chain rule:

\frac{d}{dx}e^u = e^u \cdot u'

Copy the exponential exactly as it is, then multiply by the derivative of the exponent.

Function Exponent u Derivative
e^{3x} 3x 3e^{3x}
e^{-x} -x -e^{-x}
e^{x^2} x^2 2xe^{x^2}
e^{\sin x} \sin x \cos x\,e^{\sin x}
e^{\sqrt{x}} \sqrt{x} \frac{e^{\sqrt{x}}}{2\sqrt{x}}

Some of these have their own pages: e^(2x), e^(−x) and e^(x²).

Worked examples

Example 1: product rule. For f(x) = x^2e^x, the product rule gives

f'(x) = 2xe^x + x^2e^x = e^x(x^2 + 2x)

Factoring out e^x makes it easy to find where f'(x) = 0: at x = 0 and x = -2.

Example 2: quotient rule. For g(x) = \frac{e^x}{x}, the quotient rule gives

g'(x) = \frac{xe^x - e^x}{x^2} = \frac{e^x(x - 1)}{x^2}

Example 3: higher derivatives. Every derivative of e^x is e^x, so f^{(n)}(x) = e^x for every n. This is why the Maclaurin series of e^x is 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots.

Common mistakes

  1. Using the power rule. \frac{d}{dx}e^x \ne xe^{x - 1}. The power rule needs a constant exponent.
  2. Forgetting the chain rule factor. \frac{d}{dx}e^{5x} = 5e^{5x}, not e^{5x}.
  3. Changing the exponent. The derivative of e^{x^2} keeps e^{x^2}; it does not become e^{2x}.
  4. Treating e as a variable. e is a constant, so \frac{d}{dx}e^2 = 0 and \frac{d}{dx}x^e = ex^{e - 1}.

The reverse fact, \int e^x\,dx = e^x + C, is on the integral of eˣ page. The inverse function is the natural log; see the derivative of ln x and the natural exponential function.

Practice it now

Exponentials and logarithms

Solve real problems on this topic with instant feedback, hints and a step-by-step walkthrough for every answer. Free, no sign-up needed to start.

Practice this lesson

Frequently asked questions

What is the derivative of e^x?

The derivative of e^x is e^x. The function is its own derivative.

Why is the derivative of e^x equal to e^x?

Because \frac{d}{dx}e^x = e^x\lim_{h \to 0}\frac{e^h - 1}{h}, and e is exactly the number that makes that limit equal 1.

What is the derivative of e^(3x)?

By the chain rule it is 3e^{3x}.

Is the derivative of e^x equal to x·e^(x−1)?

No. That is the power rule, which only works when the exponent is a constant. Here the exponent is the variable, so the answer is e^x.

Written by the PracticeCalculus team

We build interactive calculus lessons and write every page to be clear and correct. Spotted something off? Tell us and we will fix it.