AP Calculus AB · Topic 5.1 · Reading guide, about 5 min

The Mean Value Theorem: a tangent matching a secant

Learn the Mean Value Theorem and Rolle's theorem, how to check the hypotheses, and how to use them with formulas, tables and motion.

In one minute

The Mean Value Theorem says that a smooth, unbroken curve must, somewhere between two points, have a tangent line parallel to the secant line joining those points. In words about motion: if you drive 120 miles in 2 hours, then at some instant your speedometer read exactly 60 miles per hour.

This is the first "existence theorem" of Unit 5. It does not tell you where the special moment is or hand you a formula, but it guarantees the moment exists. Almost every justification later in the unit rests on it, so learn its two hypotheses well.

Key terms

Secant line
The line through two points (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)) on a graph. Its slope is the average rate of change over [a,b][a, b].
Average rate of change
f(b)−f(a)b−a\dfrac{f(b)-f(a)}{b-a}, the change in output divided by the change in input, with units of output per input.
Mean Value Theorem
If ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), then f′(c)=f(b)−f(a)b−af'(c)=\dfrac{f(b)-f(a)}{b-a} for at least one cc in (a,b)(a, b).
Rolle's theorem
The special case where f(a)=f(b)f(a)=f(b). Then the average rate is 0, so some cc in (a,b)(a, b) has f′(c)=0f'(c)=0, a horizontal tangent.
Hypotheses
The conditions that must hold before a theorem may be used: continuity on the closed interval and differentiability on the open interval.
Closed interval
[a,b][a, b], which includes both endpoints. Continuity is required there, including one-sided continuity at the ends.
Open interval
(a,b)(a, b), which excludes the endpoints. Differentiability is required only inside, not at the ends.
Instantaneous rate
The derivative at a single input, the rate of change at one moment, as opposed to an average over a span.

What the theorem says and why it is believable

Draw a curve from point AA to point BB and connect them with a straight secant. Now slide a ruler parallel to that secant from far away toward the curve. The first place the ruler touches the curve, it just grazes it, and there the curve's tangent has the same slope as the secant. That touching point is the cc the theorem promises. Algebraically, the slope of the tangent at cc is f′(c)f'(c) and the slope of the secant is f(b)−f(a)b−a\dfrac{f(b)-f(a)}{b-a}, so the theorem says they are equal for some cc strictly between aa and bb.

Rolle's theorem is the flat version. If a function starts and ends at the same height and is smooth, it must turn around somewhere, and at a turning point the tangent is horizontal. A ball thrown up and caught at the same height has zero vertical velocity at the top.

The two hypotheses are not optional

Both conditions must be checked and stated in a justification. The function must be continuous on [a,b][a, b] (no jumps, holes or asymptotes, including at the endpoints) and differentiable on (a,b)(a, b) (no corners, cusps or vertical tangents inside). A short statement such as "ff is a polynomial, so it is continuous and differentiable everywhere" is enough when it is true.

To see why the hypotheses matter, take f(x)=∣x∣f(x)=|x| on [−1,2][-1, 2]. It is continuous, and the average rate of change is 2−13=13\dfrac{2-1}{3}=\dfrac13. But f′(x)f'(x) is −1-1 for x<0x < 0 and 11 for x>0x > 0, so it never equals 13\dfrac13. The theorem does not fail; it simply does not apply, because ∣x∣|x| is not differentiable at 0 (see 2.4). A jump discontinuity breaks the theorem the same way.

Checking the hypotheses before using the theorem
Function and intervalContinuous on [a, b]?Differentiable on (a, b)?Can we apply the theorem?
x3x^3 on [1,3][1, 3]YesYesYes
∣x∣|x| on [−1,2][-1, 2]YesNo, corner at 0No
1x\dfrac{1}{x} on [−1,1][-1, 1]No, asymptote at 0No, undefined at 0No
x\sqrt{x} on [0,4][0, 4]YesYes on (0,4)(0, 4)Yes

A fully worked example

Question: for f(x)=x3f(x)=x^3 on [1,3][1, 3], find the value of cc guaranteed by the Mean Value Theorem. Step 1, check the hypotheses: ff is a polynomial, so it is continuous on [1,3][1, 3] and differentiable on (1,3)(1, 3). Step 2, compute the average rate of change: f(1)=1f(1)=1 and f(3)=27f(3)=27, so the slope is 27−13−1=262=13\dfrac{27-1}{3-1}=\dfrac{26}{2}=13. Step 3, set the derivative equal to it: f′(x)=3x2f'(x)=3x^2, so 3c2=133c^2=13 and c2=133c^2=\dfrac{13}{3}, giving c=133≈2.08c=\sqrt{\dfrac{13}{3}}\approx 2.08. Step 4, keep only answers inside the open interval: the negative root is outside (1,3)(1, 3), but 2.082.08 is inside. So c≈2.08c\approx 2.08.

Check by plugging back: 3(2.08)2≈3(4.33)=133(2.08)^2\approx 3(4.33)=13, which matches the secant slope.

Using the theorem with tables and motion

Often you are given a table, not a formula. Suppose a position function s(t)s(t), in miles, is differentiable, with s(0)=0s(0)=0 and s(2)=120s(2)=120. The average velocity on [0,2][0, 2] is 120−02−0=60\dfrac{120-0}{2-0}=60 miles per hour. Because position is differentiable, hence continuous, the theorem guarantees an instant cc in (0,2)(0, 2) with s′(c)=60s'(c)=60 miles per hour. A table with a gap (data at t=0t=0 and t=2t=2 only) still supports this claim; the table just cannot tell you the time.

A typical written justification reads: "Since ss is differentiable on (0,2)(0, 2) and continuous on [0,2][0, 2], by the Mean Value Theorem there is a cc in (0,2)(0, 2) with s′(c)=60s'(c)=60." Name the theorem, state both hypotheses, and give the equation.

How it connects

  • Back to 2.1: the secant slope f(b)−f(a)b−a\dfrac{f(b)-f(a)}{b-a} is exactly the average rate of change; this theorem links it to an instantaneous rate.
  • Back to 2.4: corners, cusps and breaks are the very places where the differentiability hypothesis fails.
  • Back to 1.16: the Intermediate Value Theorem also needs continuity on a closed interval; it guarantees a value of ff, while this theorem guarantees a value of f′f'.
  • Forward to 5.3: if f′f' is positive throughout an interval, this theorem is the reason ff is increasing there.

Common mistakes

  • Skipping the hypotheses. Writing "by the MVT" without saying ff is continuous and differentiable earns little credit. State both, with the intervals.
  • Requiring differentiability at the endpoints. Differentiability is needed on (a,b)(a, b) only.
  • **Thinking cc is unique or computable.** The theorem promises at least one cc. Solving f′(c)=f(b)−f(a)b−af'(c)=\dfrac{f(b)-f(a)}{b-a} may give several roots; keep only those inside (a,b)(a, b).
  • Mixing up the averaging. The slope is f(b)−f(a)b−a\dfrac{f(b)-f(a)}{b-a}, not f(a)−f(b)b−a\dfrac{f(a)-f(b)}{b-a} and not f′(b)−f′(a)f'(b)-f'(a).

How it shows up on the exam

  • Find the cc guaranteed by the theorem for a given formula and interval, showing the hypotheses check.
  • Given a table of values of a differentiable function, justify that the derivative (or velocity) equals a stated average rate at some time, or that it equals zero somewhere by Rolle's theorem.
  • Decide whether the theorem applies to a graph or piecewise function, and explain which hypothesis fails.

Check yourself

  1. For g(x)=1x−2g(x)=\dfrac{1}{x-2} on [1,3][1, 3], which hypothesis fails, and what does the slope picture look like?
  2. If a runner finishes a 10-kilometer race in 50 minutes, what exactly can you conclude, and what can you not conclude?
  3. Why does Rolle's theorem follow from the Mean Value Theorem?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.