Tutorials › AP Calculus › Deriving the Derivative of the Natural Exponential

Trigonometric and Exponential Derivatives · Tutorial 146 of 999

Deriving the Derivative of the Natural Exponential

Use the definition of the natural exponential and a squeeze argument to prove its derivative formula, then evaluate the derivative at selected inputs.

Intermediate 9 min read

What You'll Learn

  • Express the derivative of the natural exponential using its difference quotient
  • Use the defining limit for the natural exponential to establish the key limit
  • Explain why the exponential law separates the input from the increment
  • Apply the derivative formula at zero, positive, and negative inputs
  • Recognize and correct common errors involving the difference quotient

Why the Derivative of \(e^x\) Is Special

The natural exponential function has a remarkable property: its derivative at each input equals its value there. To establish that property from the definition of a derivative, we need more than a pattern or a memorized rule. We need to evaluate a limit that describes how \(e^x\) changes when its input increases by a small amount.

The calculation will reduce the derivative to one central limit involving \(e^h\), where \(h\) is the small change in the input. We will establish that limit using the defining limit for the natural exponential and then use it to evaluate derivatives at specified inputs.

Definition: The natural exponential function is denoted by \(e^x\). It can be defined by the limit $$ e^x=\lim_{n\to\infty}\left(1+\frac{x}{n}\right)^n, $$ where \(x\) is fixed and \(n\) is sufficiently large that the base is positive. In particular, $$ e=\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n. $$

We use the standard exponential laws \(e^{x+h}=e^x e^h\), \(e^0=1\), and \(e^{-h}=1/e^h\). These laws express how the exponential function responds to adding, zero, and negating inputs. The defining limit is one way to construct this function; the exponential laws are properties of the resulting function.

Start with the Difference Quotient

For a function \(f\), its derivative at \(x\), when the limit exists, is defined by $$ f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}. $$ Here \(h\ne 0\) in the quotient, and the limit describes the behavior as \(h\) approaches zero. Apply this definition to \(f(x)=e^x\):

$$ \begin{aligned} \frac{e^{x+h}-e^x}{h} &=\frac{e^x e^h-e^x}{h}\\ &=e^x\frac{e^h-1}{h}. \end{aligned} $$

The factor \(e^x\) does not depend on \(h\), so it can be taken outside the limit. Thus the derivative calculation depends on whether \(\lim_{h\to 0}(e^h-1)/h\) exists and what its value is. We will show that this limit equals \(1\).

Establishing the Key Limit

A useful starting point is the inequality \(e^t\ge 1+t\), valid for every real \(t\). We can obtain it from the defining limit. Bernoulli’s inequality says that \((1+u)^n\ge 1+nu\) for every positive integer \(n\) and \(u\ge -1\). It follows by induction: the statement holds for \(n=1\), and multiplying the inequality for \(n\) by \(1+u\ge 0\) gives \((1+u)^{n+1}\ge (1+nu)(1+u)=1+(n+1)u+nu^2\ge 1+(n+1)u\).

For a fixed real number \(t\), take \(u=t/n\). For sufficiently large \(n\), \(t/n\ge -1\), so \((1+t/n)^n\ge 1+t\). Taking the limit as \(n\to\infty\), as in the definition of \(e^t\), gives \(e^t\ge 1+t\).

Key inequality: For every real \(t\), \(e^t\ge 1+t\). Applying this inequality to \(t=h\) or \(t=-h\) will bound the difference quotient on both sides of zero.

First suppose \(0<h<1\). Applying the inequality with \(t=h\) gives \(e^h\ge 1+h\), so \((e^h-1)/h\ge 1\). Applying it with \(t=-h\) gives \(e^{-h}\ge 1-h>0\). Since \(e^{-h}=1/e^h\), this implies \(e^h\le 1/(1-h)\). Therefore \((e^h-1)/h\le ((1/(1-h))-1)/h=1/(1-h)\).

Now suppose \(h<0\) and write \(s=-h\), so \(s>0\). Then \((e^h-1)/h=(1-e^{-s})/s\). The inequality \(e^{-s}\ge 1-s\) gives \((1-e^{-s})/s\le 1\). Also \(e^s\ge 1+s\), so \(e^{-s}\le 1/(1+s)\). It follows that \((1-e^{-s})/s\ge ((1-1/(1+s))/s)=1/(1+s)\).

These bounds show that the quotient approaches \(1\) from either side. The Squeeze Theorem applies because the lower and upper bounds both approach \(1\) as the increment approaches zero.

$$ \begin{array}{ll} 1\le \dfrac{e^h-1}{h}\le \dfrac{1}{1-h}, & 0<h<1,\\[8pt] \dfrac{1}{1+s}\le \dfrac{1-e^{-s}}{s}\le 1,\quad s=-h, & h<0, \end{array} \qquad \lim_{h\to 0}\frac{e^h-1}{h}=1. $$
1
Use the derivative definition.
Write the difference quotient for \(e^x\).
2
Apply the exponential law.
Rewrite \(e^{x+h}\) as \(e^x e^h\), separating the fixed input from the increment.
3
Evaluate the remaining limit.
Use the squeeze argument to show that \((e^h-1)/h\) approaches \(1\).
4
State the derivative.
The remaining factor is \(e^x\), so the derivative at \(x\) is \(e^x\).

The Derivative Formula

We can now finish the derivation. Since \(e^x\) is constant with respect to \(h\), and the key limit has value \(1\), the derivative definition gives the following result.

Theorem: For every real number \(x\), the natural exponential is differentiable and $$ \frac{d}{dx}e^x=e^x. $$

This is a complete consequence of the difference quotient: for each fixed \(x\), we have \(\lim_{h\to 0}(e^{x+h}-e^x)/h=e^x\cdot 1=e^x\). The same key limit works at every input; only the constant factor \(e^x\) changes.

Worked Evaluations

Worked Example: Derivative at \(x=0\)

Find the derivative of \(f(x)=e^x\) at \(x=0\) using the formula just derived, and verify it with the difference quotient.

Substitute \(x=0\) into the derivative formula: $$ f'(0)=e^0=1. $$ To check this result from the definition, use \(f(0)=e^0=1\): $$ \begin{aligned} \lim_{h\to 0}\frac{f(0+h)-f(0)}{h} &=\lim_{h\to 0}\frac{e^h-1}{h}\\ &=1. \end{aligned} $$ The difference quotient gives the same value as the derivative formula.

Worked Example: Derivative at \(x=2\)

Find the derivative of \(f(x)=e^x\) at \(x=2\), then check the result by simplifying its difference quotient.

The formula gives $$ f'(2)=e^2. $$ For the check, \(f(2+h)=e^{2+h}=e^2e^h\) and \(f(2)=e^2\). Therefore $$ \begin{aligned} \lim_{h\to 0}\frac{f(2+h)-f(2)}{h} &=\lim_{h\to 0}\frac{e^2e^h-e^2}{h}\\ &=e^2\lim_{h\to 0}\frac{e^h-1}{h}\\ &=e^2\cdot 1\\ &=e^2. \end{aligned} $$ The check agrees with the formula. Since \(e\) is approximately \(2.71828\), \(e^2\) is approximately \(7.38906\); the exact derivative value is \(e^2\).

Worked Example: Derivative at \(x=-1\)

Find the derivative of \(f(x)=e^x\) at \(x=-1\), and verify it using the difference quotient at that input.

Substitution into the formula gives $$ f'(-1)=e^{-1}=\frac{1}{e}. $$ For the check, \(f(-1+h)=e^{-1+h}=e^{-1}e^h\), while \(f(-1)=e^{-1}\). Thus $$ \begin{aligned} \lim_{h\to 0}\frac{f(-1+h)-f(-1)}{h} &=\lim_{h\to 0}\frac{e^{-1}e^h-e^{-1}}{h}\\ &=e^{-1}\lim_{h\to 0}\frac{e^h-1}{h}\\ &=e^{-1}\cdot 1\\ &=\frac{1}{e}. \end{aligned} $$ This matches the derivative formula. Since \(1/e\) is approximately \(0.36788\), the exact derivative is \(e^{-1}\).

Why the Result Matters

The derivative measures instantaneous rate of change. For the natural exponential, that rate at any input is exactly the function’s current value. For example, at \(x=2\), the function’s value and its instantaneous rate of change are both \(e^2\). At \(x=-1\), both are \(e^{-1}\).

The proof also illustrates a useful structure in derivative calculations. A difference quotient may simplify into a factor depending on the input and a second factor depending only on the small increment. The derivative follows once the limit of the increment factor is established. Here the exponential law creates that separation, and the defining limit for \(e\) underlies the squeeze argument.

A Common Mistake

A tempting but incorrect step is to cancel the \(h\) in the numerator and denominator of the quotient \((e^h-1)/h\). The expression \(e^h-1\) is not equal to \(h\), so this cancellation is not valid.

Worked Example: Correcting an Invalid Cancellation

An incorrect calculation might claim $$ \frac{e^h-1}{h}=\frac{h}{h}=1, $$ on the assumption that \(e^h-1=h\). That assumption is false for general nonzero \(h\). For instance, at \(h=1\), \(e^1-1=e-1\), which is not \(1\).

The correct calculation keeps the quotient intact and evaluates its limit: $$ \lim_{h\to 0}\frac{e^h-1}{h}=1. $$ The limit equals \(1\) because of the bounds proved above, not because the numerator equals \(h\). For the derivative at a general input, the valid steps are $$ \lim_{h\to 0}\frac{e^{x+h}-e^x}{h} =e^x\lim_{h\to 0}\frac{e^h-1}{h} =e^x. $$ The distinction matters: a limit can equal a number even when the expressions inside the limit are not equal to that number for nonzero \(h\).

Check Your Understanding

Use the derivative definition and the key limit from this tutorial to answer the questions.

  1. Write the difference quotient for \(f(x)=e^x\) at an arbitrary input \(x\).
  2. Which exponential law allows the quotient to be factored into \(e^x\) and a factor involving \(h\)?
  3. State the value of \(\lim_{h\to 0}(e^h-1)/h\), and explain why the limit is not the same claim as \(e^h-1=h\).
  4. Find the derivative of \(e^x\) at \(x=1\) and write the exact value.
  5. Use the formula to find the derivative at \(x=-2\).

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats