10A

The exponential function base e

Why the gradient of y = a^x at the origin defines e, approximating e, the derivative of e^x and e^(ax + b), and the graph of y = e^x.

In Chapter 9 you could pick any base for an exponential function: $2^x$, $10^x$, $3^x$. Calculus picks one for you. There is exactly one base whose graph has a gradient equal to its own height at every point, and that base, $e$, makes every growth and decay calculation simpler.

Defining $e$

Every curve $y = a^x$ passes through $(0, 1)$. How steeply it crosses the $y$-axis depends on the base. For $a = 2$ the tangent at $(0, 1)$ has gradient about $0.69$. For $a = 3$ it is about $1.10$. So somewhere between $2$ and $3$ there is a base where the gradient at $(0, 1)$ is exactly $1$.

Hunting for e

Orange: y = aˣ. Blue dashed: its tangent at (0, 1).

Try this

Adjust the base until the tangent at $(0, 1)$ has gradient as close to $1$ as you can get. Write down your base to two decimal places. Then check it against the value of $e$ below.

Another way to reach $e$: the expression $\left(1 + \dfrac1n\right)^n$ gets closer to $e$ as $n$ gets larger. For $n = 10$ it is $2.594$, for $n = 1000$ it is $2.717$. (This is the compound interest you would get on $\$1$ at $100\%$ a year, compounded $n$ times.)

The derivative of $e^x$

Why does a gradient of $1$ at one point give us something special everywhere? Take any point $(a, e^a)$. The curve near it is $e^x = e^a \times e^{x - a}$, which is the curve near $(0, 1)$ stretched vertically by the factor $e^a$. A vertical stretch by $e^a$ multiplies every gradient by $e^a$. So the gradient at $x = a$ is $e^a \times 1 = e^a$, which is the height.

Derivatives of exponentials
$$\frac{d}{dx}e^x = e^x \qquad \frac{d}{dx}e^{ax + b} = ae^{ax + b} \qquad \frac{d}{dx}e^{f(x)} = f'(x)\,e^{f(x)}$$

The second and third forms are just the chain rule: the derivative of the outside $e^u$ is $e^u$, times the derivative of the inside.

Gradient equals height

Orange: y = eˣ. Blue dashed: the tangent at x = a.

Try this

Move $a$ and watch where each tangent crosses the $x$-axis. Make a prediction about the distance from that crossing to $x = a$, test it on three points, then explain it using "gradient equals height".

Example 1●

Differentiate (a) $y = e^{4x}$ (b) $y = 3e^{-2x}$ (c) $y = e^{5 - x}$.

(a) $\dfrac{dy}{dx} = 4e^{4x}$
Inside is 4x, with derivative 4.
(b) $\dfrac{dy}{dx} = -6e^{-2x}$
Inside is −2x, with derivative −2. The 3 stays in front.
(c) $\dfrac{dy}{dx} = -e^{5 - x}$
Inside is 5 − x, with derivative −1.
Example 2●●

Differentiate (a) $y = e^{x^2 + 1}$ (b) $y = x^2e^x$.

(a) $\dfrac{dy}{dx} = 2xe^{x^2 + 1}$
Chain rule: e to the same power, times the derivative of the power.
(b) $\dfrac{dy}{dx} = 2xe^x + x^2e^x = xe^x(2 + x)$
A product: u = x², v = eˣ, u′ = 2x, v′ = eˣ. Then factor.

The graph of $y = e^x$

  • It passes through $(0, 1)$ with gradient $1$ there.
  • The $x$-axis is an asymptote on the left: as $x \to -\infty$, $y \to 0$.
  • Domain: all real $x$. Range: $y \gt 0$. There are no $x$-intercepts.
  • Its gradient equals its height, so it is always positive and always increasing, at an increasing rate (concave up).

Your turn

Find the equation of the tangent to $y = e^{2x}$ at the point where $x = 0$.

Show the working

At $x = 0$, $y = e^0 = 1$. $\dfrac{dy}{dx} = 2e^{2x} = 2$ at $x = 0$. So $y - 1 = 2(x - 0)$, which is $y = 2x + 1$.

Flashcards
$e$ to 3 decimal places
$2.718$
$dfrac{d}{dx}e^x$
$e^x$
$dfrac{d}{dx}e^{f(x)}$
$f'(x)\,e^{f(x)}$
Practice
  1. $\dfrac{d}{dx}e^x =$

  2. Find the gradient of $y = e^x$ at the point $(0, 1)$.

  3. $\dfrac{d}{dx}e^{3x} =$

  4. $y = 5e^{-x}$. Find $\dfrac{dy}{dx}$ at $x = 0$.

  5. $y = e^{2x + 1}$. Find $\dfrac{dy}{dx}$ at $x = -0.5$.

  6. $\dfrac{d}{dx}e^{x^2} =$

  7. Evaluate $\left(1 + \dfrac{1}{100}\right)^{100}$ correct to 4 decimal places.

  8. The tangent to $y = e^x$ at $x = 0$ meets the $x$-axis at $(k, 0)$. Find $k$.

  9. Exam style: find the $y$-intercept of the tangent to $y = e^x$ at $x = 1$.

  10. Exam style: find the $x$-value where $y = xe^x$ has a horizontal tangent.

Formula sheet