4B

Differentiating exponential functions

Differentiating e^f(x) with the chain rule, and functions involving e^x with the product and quotient rules.

Exponential functions model growth and decay, and real models are rarely as simple as $e^x$. Drug levels follow $Ce^{-kt}$, a bell curve follows $e^{-x^2}$, and a vibrating spring is a product like $te^{-t}$. Combining $\dfrac{d}{dx}e^x = e^x$ with the chain, product and quotient rules handles all of these.

The chain rule

For $y = e^{f(x)}$, let $u = f(x)$, so $y = e^u$. Then $\dfrac{dy}{dx} = \dfrac{dy}{du} \times \dfrac{du}{dx} = e^u \times f'(x)$.

Chain rule with eˣ
$$\frac{d}{dx}e^{f(x)} = f'(x)\,e^{f(x)} \qquad\qquad \frac{d}{dx}e^{ax + b} = a\,e^{ax + b}$$

In words: the derivative is the same exponential, multiplied by the derivative of the power.

Example 1●

Differentiate (a) $e^{3x - 1}$ (b) $e^{-\frac12 x}$ (c) $e^{x^2}$ (d) $5e^{1 - x^3}$.

(a) $3e^{3x - 1}$
The power 3x − 1 has derivative 3.
(b) $-\tfrac12 e^{-\frac12 x}$
The power −½x has derivative −½.
(c) $2xe^{x^2}$
The power x² has derivative 2x. The exponential itself stays exactly the same.
(d) $5 \times (-3x^2)e^{1 - x^3} = -15x^2e^{1 - x^3}$
The constant 5 stays; the power 1 − x³ has derivative −3x².

Index laws first

Simplify before differentiating when you can. $\dfrac{e^x}{e^{3x}} = e^{-2x}$, so its derivative is $-2e^{-2x}$, with no quotient rule needed. And $(e^x + 1)^2 = e^{2x} + 2e^x + 1$ has derivative $2e^{2x} + 2e^x$.

Product and quotient rules

Example 2: product rule●●

Differentiate $y = x^2e^x$, and factor the answer.

$y' = 2xe^x + x^2e^x$
u = x², v = eˣ, so u′ = 2x and v′ = eˣ. Then y′ = u′v + uv′.
$y' = xe^x(x + 2)$
Take out the common factors x and eˣ. The factored form shows the zeroes straight away.
Example 3: quotient rule and a stationary point●●●

Find the stationary point of $y = \dfrac{e^x}{x}$ and its nature.

$y' = \dfrac{xe^x - e^x}{x^2} = \dfrac{e^x(x - 1)}{x^2}$
u = eˣ, v = x, so u′ = eˣ and v′ = 1. Then y′ = (u′v − uv′)/v².
$y' = 0$ only at $x = 1$. Then $y = e$.
eˣ is never zero and x² is positive, so the sign of y′ is the sign of x − 1.
$y' \lt 0$ just left of $1$ and $y' \gt 0$ just right, so $(1, e)$ is a minimum turning point.

Your turn

Find the $x$-value of the stationary point of $y = xe^{2x}$.

Show the working

Product rule: $y' = e^{2x} + 2xe^{2x} = e^{2x}(1 + 2x)$. Since $e^{2x} \gt 0$, $y' = 0$ only when $1 + 2x = 0$, so $x = -\tfrac12$.

Flashcards
$dfrac{d}{dx}e^{f(x)}$
$f'(x)\,e^{f(x)}$
Can $e^{f(x)} = 0$?
Never. $e^{f(x)} \gt 0$ for all $x$.
Practice
  1. Find the derivative of $e^{5x}$ at $x = 0$.

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

  3. Find the derivative of $e^{x^2}$ at $x = 1$, to two decimal places.

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

  5. Find the derivative of $x^2e^x$ at $x = 1$, to two decimal places.

  6. $\dfrac{d}{dx}\left(\dfrac{e^x}{x}\right) =$

  7. Find the derivative of $\dfrac{e^x}{e^{3x}}$ at $x = 0$.

  8. Find the derivative of $(e^x + 1)^2$ at $x = 0$.

  9. Exam style: find the minimum value of $y = \dfrac{e^x}{x}$ for $x \gt 0$, to two decimal places.

  10. Exam style: $y = e^{kx}$ with $k \gt 0$ satisfies $y'' - y' - 6y = 0$. Find $k$.

Formula sheet