Skip to content
Family Table Math

Mean Value Theorem

If you drive 120120 km in 1.51.5 hours, your average speed is 8080 km/h. The Mean Value Theorem says that at some instant your speedometer must have read exactly 8080 km/h. In calculus language: somewhere, the instantaneous rate of change equals the average rate of change. This theorem is the bridge between a function’s derivative and its overall behaviour, and it powers the rest of this unit.

Mean Value Theorem (MVT). If ff is continuous on the closed interval [a,b][a, b] and differentiable on the open interval (a,b)(a, b), then there is at least one number cc in (a,b)(a, b) with

f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}

The right side is the slope of the secant line through (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)): the average rate of change. The left side is the slope of the tangent line at x=cx = c. So, geometrically, there is a point between aa and bb where the tangent line is parallel to the secant line.

The curve y = x cubed minus x, the secant line through (0, 0) and (2, 6) with slope 3, and the parallel tangent line at x = c, about 1.155 1 2 2 4 6 (2, 6) (0, 0) c ≈ 1.155 secant tangent y = x³ − x
For f(x)=x3−xf(x) = x^3 - x on [0,2][0, 2], the tangent at c=23≈1.155c = \frac{2}{\sqrt{3}} \approx 1.155 is parallel to the secant (both have slope 33).

Both conditions are needed:

  • Continuous on [a,b][a, b]: no holes, jumps, or asymptotes, including at the endpoints.
  • Differentiable on (a,b)(a, b): no corners, cusps, or vertical tangents strictly between aa and bb. (The endpoints don’t need to be differentiable.)

If either fails, the conclusion might fail. For example, f(x)=∣x∣f(x) = \lvert x \rvert on [−1,2][-1, 2] has average rate of change 2−13=13\frac{2 - 1}{3} = \frac{1}{3}, but f′(x)f'(x) is only ever −1-1 or 11. The corner at x=0x = 0 breaks the theorem.

Polynomials, exe^x, sin⁡x\sin x, and cos⁡x\cos x are continuous and differentiable everywhere, so they always qualify. Rational functions and roots qualify on any interval that stays inside their domain (and, for roots, away from points with vertical tangents).

Rolle’s theorem. If ff is continuous on [a,b][a, b], differentiable on (a,b)(a, b), and f(a)=f(b)f(a) = f(b), then there is at least one cc in (a,b)(a, b) with f′(c)=0f'(c) = 0.

This is just the MVT with a secant slope of 00: if a smooth curve starts and ends at the same height, it must have a horizontal tangent somewhere in between.

What the theorem does and doesn’t tell you

Section titled “What the theorem does and doesn’t tell you”

The MVT guarantees that a cc exists. It doesn’t say where cc is, and there may be more than one. To actually find cc, solve f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a} and keep only the solutions strictly between aa and bb.

On free-response questions, you usually apply the MVT to a function given by a table or in context. A full justification has three parts:

  1. State the hypotheses are met: ”ff is differentiable, so it is continuous on [a,b][a, b] and differentiable on (a,b)(a, b).”
  2. Compute the average rate of change with the actual numbers.
  3. Conclude with the theorem’s name: “By the Mean Value Theorem, there is a cc in (a,b)(a, b) with f′(c)=…f'(c) = \dots”

A function that is differentiable is automatically continuous (see differentiability), so “differentiable” covers both hypotheses.

Show that f(x)=x2+2xf(x) = x^2 + 2x satisfies the MVT hypotheses on [1,4][1, 4], and find the value of cc.

Solution. ff is a polynomial, so it is continuous on [1,4][1, 4] and differentiable on (1,4)(1, 4).

The average rate of change is

f(4)−f(1)4−1=24−33=7\frac{f(4) - f(1)}{4 - 1} = \frac{24 - 3}{3} = 7

Now solve f′(c)=7f'(c) = 7. Since f′(x)=2x+2f'(x) = 2x + 2:

2c+2=7⇒c=522c + 2 = 7 \quad\Rightarrow\quad c = \frac{5}{2}

Check: c=2.5c = 2.5 is in (1,4)(1, 4). ✓

Example 2: A cubic, keeping only c in the interval

Section titled “Example 2: A cubic, keeping only c in the interval”

Find all values of cc that satisfy the MVT for f(x)=x3−xf(x) = x^3 - x on [0,2][0, 2].

Solution. ff is a polynomial, so the hypotheses are met. The average rate of change is

f(2)−f(0)2−0=6−02=3\frac{f(2) - f(0)}{2 - 0} = \frac{6 - 0}{2} = 3

Solve f′(c)=3c2−1=3f'(c) = 3c^2 - 1 = 3:

3c2=4⇒c=±23≈±1.1553c^2 = 4 \quad\Rightarrow\quad c = \pm\frac{2}{\sqrt{3}} \approx \pm 1.155

Only c=23≈1.155c = \dfrac{2}{\sqrt{3}} \approx 1.155 is in (0,2)(0, 2), so that is the only value. (This is the point in the figure above.)

Does the MVT apply to g(x)=1xg(x) = \dfrac{1}{x} on [−1,1][-1, 1]? If you try anyway, what happens?

Solution. No. gg is not defined at x=0x = 0, which is inside [−1,1][-1, 1], so gg is not continuous on the interval.

Trying anyway: the average rate of change is g(1)−g(−1)1−(−1)=1−(−1)2=1\dfrac{g(1) - g(-1)}{1 - (-1)} = \dfrac{1 - (-1)}{2} = 1. But g′(x)=−1x2g'(x) = -\dfrac{1}{x^2} is negative for every xx, so g′(c)=1g'(c) = 1 has no solution. The conclusion fails because the hypotheses fail.

A cyclist rides along a straight path. Her distance from the start, d(t)d(t) metres, is a differentiable function of time tt seconds. Some values:

tt (s)00101025254040
d(t)d(t) (m)008080230230380380

Must there be a time tt with 10<t<2510 \lt t \lt 25 when d′(t)=10d'(t) = 10 m/s? Justify your answer.

Solution. Yes.

dd is differentiable, so it is continuous on [10,25][10, 25] and differentiable on (10,25)(10, 25). The average rate of change on this interval is

d(25)−d(10)25−10=230−8015=10 m/s\frac{d(25) - d(10)}{25 - 10} = \frac{230 - 80}{15} = 10 \text{ m/s}

By the Mean Value Theorem, there is a time tt in (10,25)(10, 25) with d′(t)=10d'(t) = 10 m/s.

Skipping the hypotheses. AP graders give a point for stating that the function is continuous and differentiable on the right intervals (or “differentiable, so also continuous”). Without it, the conclusion doesn’t follow.

Keeping a c outside the interval. In Example 2, c=−23c = -\frac{2}{\sqrt{3}} solves the equation but isn’t in (0,2)(0, 2). Always check that cc is strictly between aa and bb.

Using the MVT on a function with a break or a corner. Look for division by zero, absolute values, piecewise pieces, and roots with vertical tangents. If the function isn’t continuous on [a,b][a, b] and differentiable on (a,b)(a, b), the theorem says nothing.

Mixing up the MVT with the IVT. The Intermediate Value Theorem is about function values (if ff is continuous, ff takes every value between f(a)f(a) and f(b)f(b)). The MVT is about derivatives (f′f' equals the average rate of change somewhere). Pick the theorem that matches what the question asks about.

Computing the average rate of change on the wrong interval. With a table, use exactly the two times the question names, not the first and last rows.

Thinking the MVT tells you where c is. It only says cc exists. If the function is given by a table, you usually can’t find cc, and you don’t need to.

1. (Warm-up) Find the value of cc that satisfies the MVT for f(x)=x2f(x) = x^2 on [1,3][1, 3].

Solution

ff is a polynomial, so the hypotheses are met. The average rate of change is 9−13−1=4\dfrac{9 - 1}{3 - 1} = 4.

Solve f′(c)=2c=4f'(c) = 2c = 4, so c=2c = 2, which is in (1,3)(1, 3).

2. (Warm-up) Explain why the MVT does not apply to f(x)=1xf(x) = \dfrac{1}{x} on [−1,2][-1, 2].

Solution

ff is undefined at x=0x = 0, which is in [−1,2][-1, 2]. So ff is not continuous on [−1,2][-1, 2], and the hypotheses are not met.

3. (Warm-up) Verify that Rolle’s theorem applies to f(x)=x2−4xf(x) = x^2 - 4x on [0,4][0, 4], and find cc.

Solution

ff is a polynomial, so it is continuous and differentiable everywhere. Also f(0)=0f(0) = 0 and f(4)=16−16=0f(4) = 16 - 16 = 0, so f(0)=f(4)f(0) = f(4).

Solve f′(c)=2c−4=0f'(c) = 2c - 4 = 0: c=2c = 2, which is in (0,4)(0, 4).

4. (Core) Find the value of cc that satisfies the MVT for f(x)=xf(x) = \sqrt{x} on [0,9][0, 9]. Explain why the hypotheses are met.

Solution

x\sqrt{x} is continuous on [0,9][0, 9], and f′(x)=12xf'(x) = \dfrac{1}{2\sqrt{x}} exists for every xx in (0,9)(0, 9). (It’s not differentiable at x=0x = 0, but the endpoint doesn’t need to be.)

The average rate of change is 3−09−0=13\dfrac{3 - 0}{9 - 0} = \dfrac{1}{3}.

12c=13⇒c=32⇒c=94\frac{1}{2\sqrt{c}} = \frac{1}{3} \quad\Rightarrow\quad \sqrt{c} = \frac{3}{2} \quad\Rightarrow\quad c = \frac{9}{4}

c=2.25c = 2.25 is in (0,9)(0, 9).

5. (Core) Show that Rolle’s theorem applies to f(x)=x3−6x2+9xf(x) = x^3 - 6x^2 + 9x on [0,3][0, 3], and find every value of cc it guarantees.

Solution

ff is a polynomial, and f(0)=0f(0) = 0, f(3)=27−54+27=0f(3) = 27 - 54 + 27 = 0. So the hypotheses hold.

f′(x)=3x2−12x+9=3(x−1)(x−3)f'(x) = 3x^2 - 12x + 9 = 3(x - 1)(x - 3)

f′(c)=0f'(c) = 0 gives c=1c = 1 or c=3c = 3. Only c=1c = 1 is in the open interval (0,3)(0, 3), so c=1c = 1.

6. (Core) Find the value of cc that satisfies the MVT for f(x)=sin⁡xf(x) = \sin x on [0,π2]\left[0, \dfrac{\pi}{2}\right]. Give your answer to three decimal places. (Calculator allowed; use radians.)

Solution

sin⁡x\sin x is continuous and differentiable everywhere. The average rate of change is

sin⁡π2−sin⁡0π2−0=1π/2=2π\frac{\sin\frac{\pi}{2} - \sin 0}{\frac{\pi}{2} - 0} = \frac{1}{\pi/2} = \frac{2}{\pi}

Solve cos⁡c=2π\cos c = \dfrac{2}{\pi} with cc in (0,π2)\left(0, \dfrac{\pi}{2}\right):

c=cos⁡−1(2π)≈0.881c = \cos^{-1}\left(\frac{2}{\pi}\right) \approx 0.881

Make sure your calculator is in radian mode.

7. (Core) An oven heats up after being switched on. Its temperature T(t)T(t), in °C, is a differentiable function of time tt in minutes.

tt (min)004410101515
T(t)T(t) (°C)20208080170170200200

Must there be a time tt with 4<t<104 \lt t \lt 10 when T′(t)=15T'(t) = 15 °C/min? Justify your answer.

Solution

Yes. TT is differentiable, so it is continuous on [4,10][4, 10] and differentiable on (4,10)(4, 10). The average rate of change is

T(10)−T(4)10−4=170−806=15 °C/min\frac{T(10) - T(4)}{10 - 4} = \frac{170 - 80}{6} = 15 \text{ °C/min}

By the Mean Value Theorem, there is a time tt in (4,10)(4, 10) with T′(t)=15T'(t) = 15 °C/min.

8. (Challenge) Let f(x)=x2f(x) = x^2 for x≤1x \le 1 and f(x)=2x−1f(x) = 2x - 1 for x>1x \gt 1. Show that the MVT applies on [0,3][0, 3], and find cc.

Solution

Continuity at x=1x = 1: both pieces give 11 there (12=11^2 = 1 and 2(1)−1=12(1) - 1 = 1), so ff is continuous. Each piece is a polynomial, so ff is continuous on [0,3][0, 3].

Differentiability at x=1x = 1: the left piece has derivative 2x2x, which is 22 at x=1x = 1; the right piece has derivative 22. The slopes match, so ff is differentiable at 11, and therefore on (0,3)(0, 3).

The average rate of change is f(3)−f(0)3=5−03=53\dfrac{f(3) - f(0)}{3} = \dfrac{5 - 0}{3} = \dfrac{5}{3}.

On (1,3)(1, 3), f′(x)=2≠53f'(x) = 2 \ne \frac{5}{3}. On (0,1)(0, 1), solve 2c=532c = \dfrac{5}{3}: c=56c = \dfrac{5}{6}, which is in (0,1)(0, 1). So c=56c = \dfrac{5}{6}.

9. (Challenge) Show that f(x)=x3+2x−5f(x) = x^3 + 2x - 5 has exactly one real zero. (Hint: use the IVT to show there is one, then Rolle’s theorem to show there can’t be two.)

Solution

At least one: ff is continuous, f(1)=1+2−5=−2<0f(1) = 1 + 2 - 5 = -2 \lt 0, and f(2)=8+4−5=7>0f(2) = 8 + 4 - 5 = 7 \gt 0. By the IVT, ff has a zero between 11 and 22.

At most one: suppose ff had two zeros, a<ba \lt b. Then f(a)=f(b)=0f(a) = f(b) = 0, and ff is a polynomial, so Rolle’s theorem gives a cc in (a,b)(a, b) with f′(c)=0f'(c) = 0. But f′(x)=3x2+2≥2f'(x) = 3x^2 + 2 \ge 2 for every xx, so f′f' is never 00. That’s a contradiction, so there can’t be two zeros.

So ff has exactly one real zero.