Kim’s Math NotesCourse index

Using the Mean Value Theorem

What conditions let me apply the Mean Value Theorem?

Check the conditions, then use Rolle's Theorem or the Mean Value Theorem to say a slope must happen, and pick the right theorem: a value of f′ or a value of f.

The wrong theorem

Common mistake W is continuous, so by the IVT, W′(t)=4.

Correction Want W′: the MVT. The IVT gives a value of W, not W′. And the reason first: W is differentiable, so it is continuous.

Idea 1: Rolle's Theorem

Before the highway, let's try a flat version. Start with something easier: the same height. Toss a ball up. At one second it's at height twenty, and on the way back down, at three seconds, it's at twenty again. Here are the two moments, at the same height. On the way up, the slope is positive.

On the way down, it's negative.

Watch this part of the concept lesson

Read the rest of this scene

At the top, it switches from positive to negative, so for an instant it stops rising. The tangent line there is flat. Call that top c. The slope there is zero: h prime of c equals zero. What if the curve goes up and down more than once?

Both ends are at the same height. Now there are three flat spots. So the promise is at least one c. Maybe more, but never none. In general, the same steps: f of a equals f of b, so at a top or a bottom, call it c, f prime of c is zero.

Same height at both ends. Is there always a flat spot? Try to break it with me. Here are two pictures. Look at the absolute value of x, from negative one to one.

Both ends are at height one. Going down on the left, the slope is negative one. Going up on the right, it's one. At zero, the slope jumps from negative one to one: a sharp corner. The slope never passes through zero.

So no sharp corners inside: f has to be differentiable on the open interval, a to b. Every point inside needs a slope. Here's another one. It has the same height at both ends, but it climbs the whole time, with slope one, and right at the end it jumps back down. Never flat. So no jumps, ends included: f has to be continuous on the closed interval, a to b. Now put it together. One: f is continuous on the closed interval.

Two: f is differentiable on the open interval. Three: f of a equals f of b, the same height. Then there is at least one c between a and b where f prime of c is zero. That's called Rolle's Theorem.

Idea 2: tilt it, the Mean Value Theorem

Now take Rolle's picture and tilt it: the two ends are at different heights. Back to the car. Say it only moves forward, and call its position s: zero miles at zero hours, a hundred fifty miles at three hours. Its average speed is a hundred fifty minus zero, all over three minus zero. Fifty. Here's its position. The line through the two ends is the secant line. Its slope is the average, fifty.

Now slide a line with that same slope, keeping it parallel, until it just touches the curve.

Watch this part of the concept lesson

Read the rest of this scene

It touches here, at c. So is the slope at c fifty too? Where it touches, it's the tangent line. We slid it parallel, so its slope is still fifty, the average. That slope is s prime of c, the velocity at that moment, and since the car only moves forward, it's the speed the speedometer shows.

s prime of c equals fifty. Now put s prime next to it, with the same t. At c, its height is fifty. So on s, fifty is a slope. On s prime, that same fifty is a height.

And the slope of s prime is s double prime, which isn't in this theorem at all. In general, the same way. The secant's slope is f of b minus f of a, all over b minus a. Slide it, and it touches at some c between a and b. At least one.

Why at least one? Take a curve that goes up, then down, then up. Here's the line through its two ends. Slide it up, and it touches here. Slide it down, and it touches here, too.

Two c's, with the same slope. The conditions are Rolle's first two: continuous on the closed interval, differentiable on the open one. Equal heights are not needed. Then there is at least one c between a and b where f prime of c equals f of b minus f of a, all over b minus a.

That's the Mean Value Theorem. In other words, the equation f prime of x equals the average rate of change has at least one root between a and b. And Rolle's Theorem? It's just the case where the average rate of change is zero.

Idea 3: what to write

Before the examples, here's what to write. First, why it's continuous. A function with a slope at every point can't jump or break. So differentiable means continuous. So when you're told f is differentiable everywhere, ends included, write the reason first: f is differentiable,

so it's continuous on the closed interval, a to b,

Watch this part of the concept lesson

Read the rest of this scene

and differentiable on the open interval, a to b. One sentence, both conditions. Now the name. Same curve, two questions. Does f itself hit a height between its end values? That's the Intermediate Value Theorem: a height.

Does the slope equal the average? That's the Mean Value Theorem: a slope. And when the two end values are equal, so we want f prime equal to zero, Rolle's Theorem works too. Either theorem gives that c. One more thing. If a condition fails, the theorem just promises nothing.

It does not say there is no c.

Example 1: find c

Example one. f of x is x cubed minus two x, on zero to three. Show that f is continuous on the closed interval and differentiable on the open one. Then find all values of c that satisfy the Mean Value Theorem's conclusion. Here's f, from zero to three.

It dips just below zero, then climbs to twenty-one.

Watch this part of the concept lesson

Read the rest of this scene

The plan: the conditions first, then the average rate of change, then solve for c. Part a. f is a polynomial, so it's continuous on the closed interval, zero to three, and differentiable on the open interval, zero to three. Both conditions, done. Part b. The plan: find the average rate of change, then set f prime equal to it.

f of three is twenty-seven minus six, which is twenty-one. And f of zero is zero. Before I write it, find the average rate of change yourself. Got it? f of three minus f of zero, all over three minus zero: twenty-one minus zero, all over three. Seven. That's the secant's slope.

f prime of x is three x squared minus two. Set it equal to seven. Add two: three x squared is nine. So x squared is three, and x is plus or minus root three. Don't circle both.

Negative root three is less than zero, so it's out. Root three is more than zero and less than root nine, which is three. Inside. So there it is. c is root three. Look: right at root three, the tangent runs parallel to the secant. This one asked you to actually find c, the same move as part b of question one on the 2025 AP exam.

Next: a question that only asks whether one exists. Every find-c problem in your workbook goes like this: find every c, then keep only the ones inside the interval.

Example 2: one table, three theorems

Example two. W of t is the water temperature, in degrees Celsius, at t minutes, and W is differentiable. Here's the table. Must W prime be four, for some t between zero and three? Must W prime be zero, between three and twelve? Must W be forty, between zero and seven? Justify each.

Part a. The table stays up.

Watch this part of the concept lesson

Read the rest of this scene

The plan: a value of W prime that equals an average rate of change means the Mean Value Theorem, or Rolle's when two values are equal. A value of W itself means the Intermediate Value Theorem. We're told W is differentiable, so W is continuous on the closed interval, zero to three, and differentiable on the open interval, zero to three. Both conditions, from one fact.

The average rate of change is W of three minus W of zero, all over three minus zero. Thirty-two minus twenty, all over three. Four. So, by the Mean Value Theorem, there's at least one t in the open interval, zero to three, with W prime of t equal to four. Yes. Look at the table for part b, and name the theorem before I do.

Part b. The plan: two equal values point to Rolle's Theorem. The same reason works on three to twelve: differentiable, so continuous. Both conditions hold there too. W of three and W of twelve: both are thirty-two. So, by Rolle's Theorem, there's at least one t in the open interval, three to twelve,

with W prime of t equal to zero. Yes. The Mean Value Theorem works too: the average rate of change there is zero. Part c changes the question. Which theorem now? Decide before you watch. Part c. The plan: forty is a value of W, so check that it's between two values.

Look at the question: no prime. Nobody asked how fast the water heats up; we want a value of W itself. That's the Intermediate Value Theorem. Same reason: W is continuous on the closed interval, zero to seven. For the IVT, that's all we need.

W of zero is twenty, less than forty, less than forty-four, W of seven. Forty is between them. So, by the Intermediate Value Theorem, there's at least one t in the open interval, zero to seven, with W of t equal to forty. Yes. Tables like this one are in your workbook too.

Name the theorem, then give the reason, and write it all out.

Common mistake: the wrong theorem

Now, back to part a. Careful here: which theorem? Here's a rushed answer. W is continuous, so by the Intermediate Value Theorem, W prime is four. Two problems: no reason is given for why W is continuous, and the IVT is the wrong theorem for W prime.

Let's repair it. We want W prime equal to the average rate of change, so it's the Mean Value Theorem. Not the IVT: that one gives a value of W between two values. And the reason comes first: W is differentiable, so it's continuous. That's exactly what part b of question one on the 2023 AP exam asked: equal values and differentiable, so the derivative is zero somewhere inside, by the Mean Value Theorem or Rolle's, not the IVT.

Watch this part of the concept lesson

Example 3: multiple choice

Example three. Which function satisfies the hypotheses of the Mean Value Theorem on its interval? Hypotheses just means both conditions: continuous on the closed interval, differentiable on the open one. So the plan: check both, choice by choice. Choice A, the absolute value of x minus two: a V shape. The corner is at two, inside zero to four.

No derivative there. Not A. Choice B, one over the quantity x minus one. It blows up at one, down on the left and up on the right, so the graph breaks there, inside zero to two. Not even continuous. Not B.

Watch this part of the concept lesson

Read the rest of this scene

Choice C, x to the two thirds. I've drawn its graph for you: a sharp point at zero. Its derivative is two thirds times x to the negative one third. That negative power puts x in the bottom: two over the quantity three times the cube root of x. So at zero, the derivative doesn't exist, and zero is inside negative one to one.

Not C. Three out, one to go. Don't take D just because it's what's left. Check both conditions yourself. The plan for D: continuous on the closed interval, differentiable on the open one. The last one, choice D, starts at the origin and climbs.

Root x is continuous on the closed interval, zero to four, ends included. Its derivative is one over two root x. Now look. At zero the bottom is zero, so there's no derivative there, and only there. And zero is an endpoint. Tempted to cross it out?

The open interval, zero to four, leaves zero out. So it's differentiable there. So, the answer is D. On the list of functions in your workbook, check both conditions on each, and watch for an endpoint like that zero.

Worked examples

Example 1

Let f(x)=x3−2x on the interval [0,3].
(a) Show f is continuous on [0,3] and differentiable on (0,3).
(b) Find all c in (0,3) that satisfy the conclusion of the MVT.
Hint

Check both conditions first. Then set f′(c) equal to the average rate of change.

Answer and solution
  1. polynomial: continuous and differentiable everywhere
  2. c=3
  1. f is a polynomial, so it is continuous on [0,3] and differentiable on (0,3).
  2. f(3)−f(0)3−0=21−03=7
  3. f′(c)=3c2−2=7→c2=3→c=±3
  4. −3 is not in (0,3), so c=3.

Example 2

Water temperature W(t) in °C at t minutes. W is differentiable. Justify each.
(a) Must W′(t)=4 for some t in (0,3)?
(b) Must W′(t)=0 for some t in (3,12)?
(c) Must W(t)=40 for some t in (0,7)?
t03712
W(t)20324432
Hint

A value of W′: the MVT (or Rolle). A value of W: the IVT.

Answer and solution
  1. 4
  2. 0
  3. Yes
  1. W is differentiable, so it is continuous on every interval.
  2. (a) W(3)−W(0)3−0=32−203=4. By the MVT, yes.
  3. (b) W(3)=W(12)=32. By Rolle's Theorem, yes: W′(t)=0 for some t in (3,12).
  4. (c) W(0)=20<40<44=W(7). By the IVT, yes.

Example 3

Which function satisfies the hypotheses of the Mean Value Theorem on the given interval?
  1. f(x)=|x−2| on [0,4]
  2. f(x)=1x−1 on [0,2]
  3. f(x)=x23 on [−1,1]
  4. f(x)=x on [0,4]
Hint

Continuous on the closed interval, differentiable on the open one.

Answer and solution

Answer D. f(x)=x on [0,4]

  1. (A) has a corner at 2, (B) breaks at 1: both inside the interval.
  2. (C) f′(x)=23x−13 does not exist at 0, inside (−1,1).
  3. (D) x is continuous on [0,4]; f′(x)=12x fails only at the endpoint 0. Answer D.

Workbook

Problem 1

Let f(x)=x2−4x+1 on [0,3]. Find the value of c in (0,3) that satisfies the conclusion of the Mean Value Theorem.
Hint

The MVT slope is the average rate of change f(3)−f(0)3−0. Solve f′(c)= that number.

Answer and solution

Answer 32

  1. polynomial -> continuous on [0, 3], differentiable on (0, 3)
  2. f(3)−f(0)3−0=−2−13=−1,2c−4=−1,c=32

Common mistake Solving f'(c) = 0 instead of f'(c) = the average rate.

Watch the worked solution to Problem 1

Problem 2

Let g(x)=x2−6x+5 on [1,5]. Explain why Rolle's Theorem applies, and find the value of c it guarantees.
Hint

Check continuity, differentiability, and g(1)=g(5). Then solve g′(c)=0.

Answer and solution

Answer 3

  1. polynomial -> continuous and differentiable; g(1) = g(5) = 0
  2. g′(c)=2c−6=0,c=3

Common mistake Forgetting to check g(1) = g(5) before using Rolle's Theorem.

Watch the worked solution to Problem 2

Problem 3

Let f(x)=x+1. What value of c satisfies the conclusion of the Mean Value Theorem on [0,3]?
  1. 12
  2. 1
  3. 54
  4. 32
Hint

Average rate on [0,3] first: 2−13. Then solve f′(c)=13.

Answer and solution

Answer C. 54

  1. f(3)−f(0)3−0=2−13=13
  2. 12c+1=13
  3. c=54

Common mistake Using f(3) - f(0) without dividing by 3.

Watch the worked solution to Problem 3

Problem 4

The function h is differentiable. Selected values of h(t) are shown in the table.
t0258
h(t)1016167
  1. Must there be a value of t, 2<t<5, with h′(t)=0? Justify your answer.
  2. Must there be a value of t, 5<t<8, with h′(t)=−3? Justify your answer.
  3. Must there be a value of t, 5<t<8, with h(t)=12? Justify your answer.
Hint

Differentiable means continuous. Equal values give Rolle; a value between two table values gives the IVT.

Answer and solution
  1. Yes
  2. −3
  3. Yes
  1. h is differentiable, so it is continuous on every interval.
  2. (a) h(2)=h(5)=16. By Rolle's Theorem, yes.
  3. (b) h(8)−h(5)8−5=7−163=−3. By the MVT, yes.
  4. (c) 7<12<16 between t=5 and t=8. By the IVT, yes.

Common mistake Using the MVT for a value of h (that is the IVT) or the IVT for a slope.

Watch the worked solution to Problem 4

Problem 5

Let f(x)=|x−1| on [0,3]. (a) Show that no c in (0,3) has f′(c) equal to the average rate of change of f on [0,3]. (b) Explain why this does not contradict the Mean Value Theorem.
Hint

Find the average rate, then the slope of f on each side of x=1. Which hypothesis fails?

Answer and solution
  1. 1⋅13
  2. not differentiable at x = 1
  1. f(3)−f(0)3−0=2−13=13
  2. f′(x)=−1 for x<1 and f′(x)=1 for x>1: never 13.
  3. f is not differentiable at x=1, inside (0,3). The MVT does not apply, so there is no contradiction.

Common mistake Saying the MVT is false instead of naming the hypothesis that fails.

Watch the worked solution to Problem 5

Problem 6

Let f(x)=x2 for x≤1 and f(x)=2x−1 for x>1. (a) Show that the Mean Value Theorem applies to f on [0,2]. (b) Find the value of c it guarantees.
Hint

At x=1, check that the heights match and the slopes match. Then solve f′(c)= the average rate.

Answer and solution
  1. continuous and differentiable
  2. 34
  1. at 1: heights 1 = 1, slopes 2 = 2 -> continuous and differentiable
  2. f(2)−f(0)2−0=3−02=32,2c=32,c=34

Common mistake Checking the heights at x = 1 but not the slopes.

Watch the worked solution to Problem 6

Problem 7

Which function satisfies the hypotheses of the Mean Value Theorem on the given interval?
  1. f(x)=|x+1| on [−3,1]
  2. g(x)=4−x on [0,4]
  3. h(x)=x13 on [−1,8]
  4. k(x)=2x−3 on [1,4]
Hint

Check continuity on the closed interval and differentiability inside. A problem at an endpoint does not count.

Answer and solution

Answer B. g(x)=4−x on [0,4]

  1. Hypotheses: continuous on the closed interval, differentiable on the open interval.
  2. (A) |x + 1| has a corner at x = -1, inside (-3, 1). (C) h′(x)=1/(3x2/3) does not exist at 0, inside (-1, 8). (D) 2/(x - 3) breaks at 3, inside [1, 4].
  3. (B) sqrt(4 - x) is continuous on [0, 4]; g'(x) = -1/(2 sqrt(4 - x)) fails only at x = 4, an endpoint, which (0, 4) leaves out. Answer B.

Common mistake Rejecting sqrt(4 - x) because its derivative fails at the endpoint 4.

Watch the worked solution to Problem 7