Grade by Grade
A. Rate of Change · Derivatives of Exponential and Sinusoidal Functions

The Derivative of an Exponential Function Is Proportional to the Function

A2.5About 70 minutes
Learning goals
  • I can estimate the instantaneous rate of change of f(x) = aˣ at many points using difference quotients.
  • I can show algebraically that the derivative of aˣ is k × aˣ, where k = f′(0).
  • I can describe how the graph of f′(x) is related to the graph of f(x) = aˣ (a vertical stretch or compression).
  • I can use the value of k to find slopes of tangents and points with a given slope.

Words to know

derivative function f′(x)
The function that gives the instantaneous rate of change (slope of the tangent) of f at every x where it exists.
exponential function
A function f(x) = aˣ with a constant base a > 0, a ≠ 1.
proportional
Two quantities are proportional when one is always a constant multiple of the other: y = kx.
constant of proportionality k
For f(x) = aˣ, the number k with f′(x) = k f(x). It equals f′(0), the slope of the tangent at the y-intercept.
difference quotient
[f(a + h) − f(a)] ÷ h, the slope of a secant. Its limit as h → 0 is f′(a).

Growth that feeds itself

A sourdough starter on a kitchen counter, money in a savings account, the number of people who have seen a video: the more there is, the faster it grows. That is the signature of an exponential function.

In the unit Derivatives and Differentiation Rules you learned to find derivatives of polynomials with the power rule. But the power rule does not apply to 2ˣ. In x², the variable is the base. In 2ˣ, the variable is the exponent. We need a brand-new rule, and in this lesson you will discover what it looks like.

Remember from MHF4U: in the Rates of Change unit of Advanced Functions, you estimated tangent slopes of y = 2ˣ and found that the slope at any point was about 0.693 times the y-value. Now you will prove why that happens and write it as a derivative.

Building a table of tangent slopes

To estimate the instantaneous rate of change of f(x) = 2ˣ at x = a, use a very small h in the difference quotient:

f′(a) ≈ [2^(a + h) − 2ᵃ] ÷ h, with h = 0.0001.

Doing this on a calculator for several values of a gives the table below. Look at the last column.

xf(x) = 2ˣf′(x) (estimated)f′(x) ÷ f(x)
−20.250.17330.693
−10.50.34660.693
010.69310.693
121.38630.693
242.77260.693
385.54520.693
The ratio f′(x) ÷ f(x) is the same at every x.

What the table shows

The ratio f′(x) ÷ f(x) is constant, about 0.693. So for f(x) = 2ˣ,

f′(x) ≈ 0.693 × 2ˣ.

Three connections between f and f′ (this is what expectation A2.5 asks you to notice):

  • f′ is also an exponential function with the same base 2.
  • The ratio f′(x) ÷ f(x) is a constant k.
  • The graph of f′ is a vertical stretch of the graph of f by the factor k (here k < 1, so it is really a compression toward the x-axis).
−3−2−11232468xy(2, 4)(2, 2.77)solid: f(x) = 2ˣdashed: f′(x) ≈ 0.693 × 2ˣthin line: tangent at x = 2,slope ≈ 2.77Every height of the dashedcurve is 0.693 times theheight of the solid curve.
The dashed derivative curve has the same shape as y = 2ˣ, squashed vertically by the factor 0.693. At x = 2 the curve is 4 units high and its tangent has slope about 2.77.

Why the ratio is constant: the algebra

Use the definition of the derivative and the exponent law a^(x + h) = aˣ × aʰ:

f′(x) = lim (h → 0) [a^(x + h) − aˣ] ÷ h

= lim (h → 0) [aˣ aʰ − aˣ] ÷ h

= lim (h → 0) aˣ (aʰ − 1) ÷ h

= aˣ × lim (h → 0) (aʰ − 1) ÷ h.

The factor aˣ comes out of the limit because it does not depend on h. The remaining limit does not depend on x at all: it is just a number. Call it k. Then

f′(x) = k aˣ = k f(x).

Put x = 0: f′(0) = k a⁰ = k. So k is the slope of the tangent at the y-intercept (0, 1). Once you know that one slope, you know every slope.

The key fact

For every exponential function f(x) = aˣ:

f′(x) = k × aˣ, where k = f′(0) = lim (h → 0) (aʰ − 1) ÷ h.

The rate of change is proportional to the current value. Double the value and you double the slope.

Different bases, different k

Repeating the estimate (aʰ − 1) ÷ h with h = 0.0001 for several bases gives these values of k, rounded to three decimal places:

base a1.722.333.510
k ≈0.5310.6930.8331.0991.2532.303
A bigger base gives a bigger k.
1.522.533.540.511.5base ak(2, 0.693)(3, 1.099)k = 1Base 2: k < 1Base 3: k > 1Somewhere between2 and 3 there is abase with k = 1.
Plotting k against the base a: k is less than 1 for a = 2 and greater than 1 for a = 3, so some base between 2 and 3 has k exactly 1.

For a base between 0 and 1, such as f(x) = 0.5ˣ, the function decreases, so its slopes are negative. The same algebra works and k is negative: for 0.5ˣ, k ≈ −0.693. The graph of f′ is then a reflection of f in the x-axis combined with a vertical compression.

Notice that for base 0.5, k is the opposite of the value for base 2. That is not a coincidence, and the lesson The Derivative of aˣ: Where ln a Comes From in this unit will explain it.

Worked example

Example 1: Estimating k for f(x) = 3ˣ

Estimate k = f′(0) for f(x) = 3ˣ, then write f′(x) and find f′(2).

  1. Compute (3ʰ − 1) ÷ h for shrinking h: h = 0.1 gives 1.1612; h = 0.01 gives 1.1047; h = 0.001 gives 1.0992; h = 0.0001 gives 1.0987.
  2. The values settle near k ≈ 1.099.
  3. So f′(x) ≈ 1.099 × 3ˣ.
  4. f′(2) ≈ 1.099 × 3² = 1.099 × 9 ≈ 9.89.

f′(x) ≈ 1.099 × 3ˣ, and the tangent at (2, 9) has slope about 9.89.

Worked example

Example 2: Where is the slope 10?

For f(x) = 5ˣ, k ≈ 1.609. Find f′(2), and find the x-value where the tangent has slope 10.

  1. f′(x) ≈ 1.609 × 5ˣ.
  2. f′(2) ≈ 1.609 × 25 ≈ 40.2.
  3. Set the slope to 10: 1.609 × 5ˣ = 10, so 5ˣ = 10 ÷ 1.609 ≈ 6.215.
  4. Take the common logarithm of both sides (from MHF4U Exponential and Logarithmic Functions): x = log 6.215 ÷ log 5 ≈ 0.7934 ÷ 0.6990 ≈ 1.135.

f′(2) ≈ 40.2; the slope is 10 at x ≈ 1.135.

Worked example

Example 3: A growing population

A bacteria culture in a lab has P(t) = 800(1.05)ᵗ cells after t hours. For base 1.05, k ≈ 0.0488. Find and interpret P′(10).

  1. P′(t) = 800 × k × 1.05ᵗ ≈ 800 × 0.0488 × 1.05ᵗ. (A constant multiple, 800, stays in front, just as in the constant multiple rule.)
  2. P(10) = 800 × 1.05¹⁰ ≈ 1303.1 cells.
  3. P′(10) ≈ 0.0488 × 1303.1 ≈ 63.6.

After 10 hours the culture is growing at about 64 cells per hour. Since P′ = kP, the growth rate is always about 4.88% of the current population per hour.

Hands-on activity

Build the derivative of 2ˣ with a calculator and graph paper

You need: a scientific calculator, a sheet of graph paper (or plain paper with a ruled grid), a ruler, a pencil and two different coloured pencils.

  1. Make a table with x = −2, −1, 0, 1, 2, 3.
  2. For each x, compute 2ˣ and the estimate (2^(x + 0.001) − 2ˣ) ÷ 0.001. Write both down to four decimal places.
  3. Divide the second number by the first. Write the ratio in a third column.
  4. On the grid, plot y = 2ˣ in one colour and the slope values in the other colour. Join each set of points with a smooth curve.
  5. Pick any x-value on your graph. Measure the height of each curve with your ruler and divide. You should get about 0.69 every time.
  6. Repeat steps 1 to 3 for 3ˣ. Is the ratio bigger or smaller than 1 now?

What to look for: every ratio for 2ˣ should be about 0.6934 (with h = 0.001 the estimate is a little above the true 0.6931). For 3ˣ the ratio is about 1.099, so the slope curve sits above y = 3ˣ. Your two curves for 2ˣ should never cross, and the slope curve should always be a bit lower.

Just for fun

An exponential function walks into a job interview. "Where do you see yourself in five years?" It answers: "Growing at a rate proportional to wherever I am by then."

Your turn

1

For f(x) = 2ˣ, use f′(x) ≈ 0.693 × 2ˣ to find f′(4).

2

For f(x) = 3ˣ, f′(x) ≈ 1.099 × 3ˣ. What is the slope of the tangent at the y-intercept?

3

Estimate k for f(x) = 4ˣ using h = 0.0001.

4

Is the graph of the derivative of 10ˣ above or below the graph of 10ˣ? Explain.

5

For f(x) = 0.5ˣ, k ≈ −0.693. Find f′(−1) and say what it means.

6

Show that the derivative of f(x) = 7(2ˣ) is about 4.85 × 2ˣ.

More practice: warm-up

1

True or false: the power rule gives the derivative of 2ˣ as x × 2ˣ⁻¹.

2

For f(x) = aˣ, what is f′(0) called in this lesson?

3

If f′(x) = 0.693 f(x) and f(3) = 8, find f′(3).

4

Which is larger: k for base 2.3 or k for base 3.5?

5

What kind of function is the derivative of an exponential function?

More practice: on your own

1

For f(x) = 1.7ˣ, k ≈ 0.531. Find the slope of the tangent at x = 3.

2

For f(x) = 2ˣ, find the x-value where the tangent has slope 2.

3

An investment grows as A(t) = 2000(1.04)ᵗ dollars after t years. For base 1.04, k ≈ 0.0392. Find A′(5) and interpret it.

4

Explain in one or two sentences why f′(x) ÷ f(x) does not depend on x for f(x) = aˣ.

5

The graph of g′ is the graph of g(x) = aˣ stretched vertically by a factor of 1.25. Use the table of k values to estimate a.

Challenge

1

Show that if f(x) = aˣ has constant k, then f(x) = a²ˣ = (a²)ˣ has constant 2k. (Hint: use the chain rule from Derivatives and Differentiation Rules, or compare the difference quotients.)

2

Use the result above to explain why k for base 0.5 is the opposite of k for base 2.

3

The difference quotient (2ʰ − 1)/h with h = 0.1 gives 0.7177, while h = −0.1 gives 0.6697. Explain why their average, 0.6937, is a better estimate of k than either one.

Check your understanding

Quiz

1.

For f(x) = aˣ, which statement is true?

2.

For f(x) = 2ˣ, the slope of the tangent at x = 3 is closest to:

3.

For f(x) = aˣ, the constant k equals:

4.

For which base is the graph of f′(x) above the graph of f(x) = aˣ?

5.

If f(x) = aˣ and f′(x) = −0.4 f(x), then:

6.

A population is modelled by P(t) = 500(1.1)ᵗ with k ≈ 0.0953 for base 1.1. P′(t) equals about:

For parents and teachers

Big idea (A2.5): for an exponential function, the rate of change at any moment is a fixed multiple of the current value: f′(x) = k f(x). That is why exponential models describe money, populations and radioactive decay so well.

How to help: ask your teen to explain, without notes, why the power rule does not work for 2ˣ (the variable is in the exponent). Then ask them to pick a value of x, compute (2^(x + 0.001) − 2ˣ) ÷ 0.001 on a calculator, divide by 2ˣ and show you that the answer is about 0.69 every time.

Common difficulties:

  • Writing the derivative of 2ˣ as x × 2ˣ⁻¹ (using the power rule where it does not belong).
  • Forgetting that k depends on the base but not on x.
  • Arithmetic with tiny h: calculators need all the digits, so encourage them to store intermediate values rather than retype rounded ones.
  • Mixing up f(x) and f′(x) when reading the two graphs: the derivative graph is the one that gives slopes, not heights of the original.