Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 5.1

Using the Mean Value Theorem

How can the derivative, the rate of change at a point, tell you what a whole function is doing?

What you will learn

  • Understand that the Mean Value Theorem needs continuity on [a, b] and differentiability on (a, b).
  • Know that it guarantees a c inside the open interval where f'(c) equals the average rate of change.
  • Understand why the conclusion fails when a condition fails, as with a corner or a jump.
  • Know how to use it from a formula, a table or a context to say what must be true.

You must be able to

  1. Check and state both conditions, with a reason for each
  2. Calculate the average rate of change over an interval
  3. Solve for the value of c and reject roots outside the open interval
  4. Explain why the theorem does not apply when a condition fails
  5. Justify a conclusion about a rate from a table or a context, with units

In the exam. Section I (multiple choice), Part A: a statement about ff that "must be true", a function and an interval where you pick the value of cc, or a table of values of ff from which you decide what the MVT guarantees. In the free-response section the MVT is a justification part, usually in a table or graph question: "Is there a time when the rate equals the average rate? Justify your answer." Every point there depends on checking the conditions.

1The theorem

Mean Value Theorem. If ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), then there is at least one number cc in (a,b)(a, b) such that f′(c)=f(b)−f(a)b−af'(c) = \dfrac{f(b) - f(a)}{b - a}.

Read it in two halves.

  • The right-hand side is the average rate of change of ff from aa to bb: the slope of the chord.
  • The left-hand side is the instantaneous rate of change at cc: the slope of the tangent.

Figure 1 shows f(x)=x3f(x) = x^{3} on [0,2][0, 2].

Figure 1. The Mean Value Theorem for y = x cubed on [0, 2]: the tangent at x = 1.155 is parallel to the chord from (0, 0) to (2, 8) 1 2 4 8 y x c chord, slope 4 tangent, slope 4
Figure 1 · The Mean Value Theorem for y = x cubed on the interval 0 to 2: the tangent at x = 1.155 is parallel to the chord from (0, 0) to (2, 8)

The chord runs from (0,0)(0, 0) to (2,8)(2, 8), so its slope is 8−02−0=4\dfrac{8 - 0}{2 - 0} = 4. Slide a line of slope 4 down onto the curve. It touches the curve at one point, between the ends, and there the tangent is parallel to the chord.

Three details carry marks.

  • cc lies in the open interval (a,b)(a, b). It is never an endpoint.
  • There may be more than one cc. The theorem promises at least one.
  • The theorem is about existence. It does not tell you where cc is, though you can often solve for it.

Why it is true. Picture the chord from (a,f(a))(a, f(a)) to (b,f(b))(b, f(b)). Now measure, at each xx, how far the curve sits above or below that chord. This gap is 0 at both ends, because the curve and the chord meet there. A continuous gap on a closed interval has a highest or lowest value (the Extreme Value Theorem of 5.2). If the gap is never zero, that extreme is reached somewhere inside the interval, at a point where the gap stops growing and starts shrinking. At that point the gap has a flat tangent, which means the curve's slope equals the chord's slope. If the gap is zero everywhere, the curve is the chord and every slope matches. Either way a cc exists. This also shows why both conditions are needed: continuity lets the gap reach an extreme, and differentiability lets that extreme have a flat tangent.

2Why the conditions matter

Each condition guards against a particular failure. Figure 2 shows both.

Figure 2. Two ways the Mean Value Theorem can fail: a corner inside the interval, and a jump 1 2 3 1 2 y x corner at x = 1 Figure 2. Two ways the Mean Value Theorem can fail: a corner inside the interval, and a jump 1 2 1 2 3 y x jump at x = 1
Figure 2 · Two ways the Mean Value Theorem can fail: a corner inside the interval, and a jump

A corner (left). f(x)=∣x−1∣f(x) = |x - 1| on [0,3][0, 3] is continuous, but not differentiable at x=1x = 1. The chord has slope 2−13−0=13\dfrac{2 - 1}{3 - 0} = \dfrac{1}{3}. The curve's slope is −1-1 on the left of the corner and +1+1 on the right. It is never 13\dfrac{1}{3}, so no cc exists.

A jump (right). Take f(x)=xf(x) = x for x<1x < 1 and f(x)=x+1f(x) = x + 1 for x≥1x \ge 1. Its slope is 1 everywhere it is differentiable. Its chord from x=0x = 0 to x=2x = 2 has slope 3−02−0=32\dfrac{3 - 0}{2 - 0} = \dfrac{3}{2}. No tangent matches it, because the function is not continuous at x=1x = 1, so it is not differentiable there either.

When a condition fails, the theorem says nothing. A function can still have a cc with the right slope. You just cannot rely on the theorem to say so.

Differentiable implies continuous. If a question says ff is differentiable on (a,b)(a, b) and continuous at the endpoints, both conditions hold.

If it says ff is differentiable on the closed interval [a,b][a, b], then ff is continuous there too. Say so in one line: "ff is differentiable, so it is continuous."

3Checking the conditions

Do this every time, in this order.

  1. Name the function and the interval. The two ends, aa and bb.
  2. Continuity on [a,b][a, b]. Give a reason, such as:
    • a polynomial
    • a rational function with its denominator never zero on the interval
    • exe^{x}, or ln⁡x\ln x with x>0x > 0
    • "differentiable, so continuous"
  3. Differentiability on (a,b)(a, b). Find f′f' and check where it exists. Watch for roots with a cusp, absolute values, piecewise rules and denominators that can be zero.
  4. State the conclusion. Say that the MVT applies, then use it.

Example. Does the MVT apply to g(x)=x2/3g(x) = x^{2/3} on [−1,8][-1, 8]?

g′(x)=23x−1/3=23x3does not exist at x = 0g'(x) = \tfrac{2}{3}x^{-1/3} = \frac{2}{3\sqrt[3]{x}} \qquad \textcolor{#838c91}{\text{does not exist at x = 0}}

gg is continuous on [−1,8][-1, 8], because x3\sqrt[3]{x} is defined for every real xx. But g′(0)g'(0) does not exist, and 0 is inside (−1,8)(-1, 8). So the second condition fails and the MVT does not apply.

The average rate is g(8)−g(−1)8−(−1)=4−19=13\dfrac{g(8) - g(-1)}{8 - (-1)} = \dfrac{4 - 1}{9} = \dfrac{1}{3}. Setting g′(x)=13g'(x) = \dfrac{1}{3} gives x3=2\sqrt[3]{x} = 2, so x=8x = 8. That is the endpoint, not a point of (−1,8)(-1, 8). The theorem failed, and the conclusion fails with it.

Example. f(x)=1x−1f(x) = \dfrac{1}{x - 1} on [0,3][0, 3]. The function is not defined at x=1x = 1, so it is not continuous on [0,3][0, 3]. The theorem does not apply.

4Finding cc

To find the cc the theorem promises, set the derivative equal to the average rate and solve.

  1. Compute f(b)−f(a)b−a\dfrac{f(b) - f(a)}{b - a}.
  2. Solve f′(c)=f'(c) = that number.
  3. Keep only the solutions inside (a,b)(a, b).

Example (exact). f(x)=ln⁡xf(x) = \ln x on [1,e][1, e].

f(e)−f(1)e−1=1−0e−1=1e−1\frac{f(e) - f(1)}{e - 1} = \frac{1 - 0}{e - 1} = \frac{1}{e - 1}f′(c)=1c=1e−1soc=e−1≈1.718f'(c) = \frac{1}{c} = \frac{1}{e - 1} \quad\text{so}\quad c = e - 1 \approx 1.7181<e−1<eso the value lies in (1,e)always check the interval1 < e - 1 < e \quad\text{so the value lies in } (1, e) \qquad \textcolor{#838c91}{\text{always check the interval}}

Example (with x3x^{3}). For f(x)=x3f(x) = x^{3} on [0,2][0, 2], 3c2=43c^{2} = 4, so c=±23c = \pm\dfrac{2}{\sqrt{3}}. Only the positive value, c=23≈1.155c = \dfrac{2}{\sqrt{3}} \approx 1.155, is in (0,2)(0, 2). That is the point marked in Figure 1.

Example (calculator). f(x)=ex−xf(x) = e^{x} - x on [0,2][0, 2]. Average rate: (e2−2)−12≈2.195\dfrac{(e^{2} - 2) - 1}{2} \approx 2.195. Solve ec−1=2.195e^{c} - 1 = 2.195 on your calculator. The answer is c≈1.161c \approx 1.161, which is inside (0,2)(0, 2). Write the equation you solved, then the value to three decimal places.

5Using the theorem from a table or in a context

Often you are not given a formula at all.

Example (table). A function ff is differentiable for all xx. The table gives f(2)=5f(2) = 5 and f(6)=17f(6) = 17.

Since ff is differentiable it is continuous, so both conditions hold on [2,6][2, 6]. The average rate is 17−56−2=3\dfrac{17 - 5}{6 - 2} = 3. So there is a cc in (2,6)(2, 6) with f′(c)=3f'(c) = 3. The table cannot tell you what cc is.

Example (context, invented). A car's position s(t)s(t), in kilometers, is a differentiable function of time tt, in hours. It travels 150 km between t=0t = 0 and t=2t = 2.

The average velocity is 1502=75\dfrac{150}{2} = 75 km per hour. By the MVT there is a time cc with 0<c<20 < c < 2 at which the velocity is exactly 75 km per hour.

Write answers like this: name the function, state both conditions with reasons, give the average rate, then state the conclusion with units.

6What the theorem is used to prove

The MVT is the reason behind the first-derivative facts of the next topics. You are not asked to prove them, but the pattern helps.

If f′(x)>0f'(x) > 0 on an interval, take any two points p<qp < q in it. The theorem gives f(q)−f(p)=f′(c)(q−p)f(q) - f(p) = f'(c)(q - p). Both factors on the right are positive, so f(q)>f(p)f(q) > f(p). That is why a positive derivative means an increasing function (5.3).

If f′(x)=0f'(x) = 0 on an interval, the same line gives f(q)−f(p)=0f(q) - f(p) = 0, so ff is constant there.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.