Chalk−1

Math · Calculus I · Concept

The Mean Value Theorem and Rolle’s theorem

The Mean Value Theorem (MVT) says that a function’s average rate of change over an interval is matched, somewhere inside, by its instantaneous rate, so some tangent line is parallel to the secant line. Rolle’s theorem is the case of equal endpoint values. The theorem explains why f′=0 means constant and f′>0 means increasing, and it bounds how much a function can change.

Try one — Chalk checks each line

A concrete case

A speedometer reading you can prove

A cyclist rides 36 km in 1.5 hours, an average of 36÷1.5=24 km⁢/⁢h. The speed changed all the way, faster downhill and slower uphill. Did the speedometer ever read exactly 24 km⁢/⁢h?

It must have. Had the speed stayed below 24 km⁢/⁢h the whole time, the ride would have covered less than 36 km. Had it stayed above, more. The speed was at or below 24 at some moments and at or above it at others. A speedometer needle does not jump, so in between it passed through 24.

On a graph of distance against time, the average speed is the slope of the line joining the start to the finish. The reading at one moment is the slope of the tangent there. The Mean Value Theorem says some tangent matches the average.

36−01.5−0=24

The rule

The statement

Let f be continuous on the closed interval [a,b], which includes its endpoints, and differentiable on the open interval (a,b), which leaves them out. Then at least one number c strictly between a and b has f′(c) equal to the average rate of change. The right side is the slope of the secant line through (a,f⁡(a)) and (b,f⁡(b)), so some tangent line between them is parallel to that secant.

f′(c)=f⁡(b)−f⁡(a)b−a

Rolle’s theorem

When f⁡(a)=f⁡(b), the secant is horizontal, and the theorem gives some c in (a,b) with f′(c)=0. The graph has a horizontal tangent somewhere between two equal heights. This special case is Rolle’s theorem, and the proof of the general theorem starts from it.

f⁡(a)=f⁡(b)⟹f′(c)=0

Why it works

Why some tangent must match the secant

Rolle’s theorem comes first. A continuous function on [a,b] reaches a highest and a lowest value there, by the Extreme Value Theorem. If f⁡(a)=f⁡(b) and f is not constant, at least one of those extremes lies strictly inside the interval. At an interior maximum or minimum the tangent is flat, so f′(c)=0 there. At a maximum, a positive slope would put a higher point just to the right, and a negative slope one just to the left. A minimum is the same picture upside down. A constant function has f′=0 everywhere.

The Mean Value Theorem tilts Rolle’s picture. Let m be the secant slope, and subtract the secant line from f to get the gap D⁢(x) =f⁡(x)−[f⁡(a)+m⁢(x−a)]. Then D⁢(a)=0, and D⁢(b) =f⁡(b)−f⁡(a)−m⁢(b−a) =0. Rolle’s theorem gives a c in (a,b) with D′(c)=0, and D′(c)=f′(c)−m. That says f′(c)=m.

The argument needs nothing about a needle that cannot jump. It also shows that c exists without saying where. For x3−x the equation for c can be solved, but for most functions c can only be estimated.

D⁢(x)=f⁡(x)−[f⁡(a)+m⁢(x−a)],m=f⁡(b)−f⁡(a)b−a
D⁢(x)=f⁡(x)−[f⁡(a)+m⁢(x−a)]m=f⁡(b)−f⁡(a)b−a

The method

Finding the c the theorem promises

Finding c takes five steps, and the table works them for f⁡(x)=x on [0,4].

Step 1 is not a formality. The theorem asks for a derivative only inside the interval, so x qualifies even though its tangent at 0 is vertical.

12c=12⟹c=1
The Mean Value Theorem for x on [0,4]
StepWhat to doFor x on [0,4]
1Check the conditionscontinuous on [0,4], differentiable on (0,4)
2Find the secant slope(4−0)⁢/⁢(4−0) =1⁢/2
3Find f′f′(x) =1⁢/⁢(2x)
4Solve f′(c)= the secant slope1⁢/⁢(2c) =1⁢/2, so c=1 and c=1
5Keep only the c in (a,b)c=1 lies in (0,4)

Where it breaks

Where it breaks

Each condition can fail. The function ∣⁢x⁢∣ on [−1,1] has equal endpoint values, yet no horizontal tangent, because its corner at 0 has no derivative. The cusp of x2⁢/3 at 0 does the same. A jump breaks continuity instead. A function that is 0 on [0,1) and 1 at x=1 has secant slope 1 on [0,1], yet slope 0 everywhere inside.

The usual confusion is with the average value of f. The secant slope (f⁡(b)−f⁡(a))⁢/⁢(b−a) is an average rate, the average of the slopes. The average of the heights is a different number, found with an integral.

A failed condition takes away the promise, not necessarily the point. Change the value of x2 at x=1 to 5. On [0,3] the function is no longer continuous, yet c=1.5 still has slope 3, the same as the secant’s.

Check your answer

Check your answer

A value of c is right only if it gives the secant slope and lies inside the interval.

Put c back into f′. For x3−x on [0,2], f′(2⁢/3) =3⋅(4⁢/3)−1 =3, the secant slope.

Check that c lies strictly between a and b. A value at an endpoint or outside the interval is not the theorem’s c, even when it solves the equation.

Look at the graph. The tangent at c should run parallel to the secant through the endpoints, as the Graph action shows for x3−x.

To have Chalk check the work, write the secant slope with its numbers on the first row of a Math box, such as ((23−2)−(03−0))⁢/⁢(2−0) =3. The equation for c, here 3c2−1=3, starts new work on the next row, and each row that solves it is checked. A slip such as c2=2⁢/3 reads ✗ with “Different solutions from row 2.”

Write the interval after a comma, 3c2−1=3, 0<c<2. Then the row c=2⁢/3 reads ✓ with “Every solution of row 2 on 0 < c < 2.”, and a list that also holds −2⁢/3 reads ✗, since that root is outside the interval. With no interval written, a row that keeps only c=2⁢/3 reads ? (“+1 root”), with a note that row 3 has a negative solution too. The dropped value waits behind Show the value.

Written under f⁡(x)=… and f′(x)=…, with the secant slope on the row just above, the equation for c is checked against f′: ✓ when it says f′(c) equals that slope, ✗ when it doesn’t. With no slope row above it, it reads ?.

The Mean Value Theorem does not apply to x3 on [−1,1]. Is there a c with the secant slope anyway?

Yes, two of them. The theorem does not apply because x3 has a vertical tangent at 0, inside the interval. The secant slope is (1−(−1))⁢/2=1, and f′(x)=1⁢/⁢(3x2⁢/3) equals 1 at x=±1⁢/27≈±0.192. When a condition fails, the theorem is silent, and only solving f′(c)=1 settles it. Answering no reads a broken condition as proof that no c exists.

What the theorem proves, and where it leads

If f′(x)=0 at every point of an interval, the theorem gives f⁡(b)−f⁡(a)=0 for every pair of points there, so f is constant. If f′>0 throughout, every such difference is positive, so f increases. Two functions with the same derivative differ by a constant, which is why every antiderivative carries +C.

The theorem also turns the tangent-line estimate into an exact statement. Some c between a and b has f⁡(b) =f⁡(a)+f′(c)⁢(b−a). For sinx on [0,x] this reads sinx=(cosc)⁢x, and since cosc≤1, sinx≤x for every x≥0. A version for two functions at once, Cauchy’s mean value theorem, is the step behind L’Hôpital’s rule.

f⁡(b)=f⁡(a)+f′(c)⁢(b−a)

Common mistakes

  • Skipping the conditions. The theorem needs f continuous on [a,b] and differentiable on (a,b), and ∣⁢x⁢∣ on [−1,2] shows what happens without them. Its secant slope is 1⁢/3, but ∣⁢x⁢∣ has only the slopes −1 and 1, so no c exists.
  • Keeping a c outside the interval. Solving 3c2−1=3 gives ±2⁢/3, but only 2⁢/3 lies in (0,2), so −2⁢/3 is not an answer.
  • Expecting exactly one c. The theorem promises at least one, and x3−4⁢x on [−2,2] has two.
  • Confusing the average rate of change with the average value. The secant slope (f⁡(b)−f⁡(a))⁢/⁢(b−a) averages the slopes, not the heights.
  • Treating the theorem as a way to find c. It proves that c exists. Solving f′(c)=m is a separate step, and for many functions it has no exact answer.

Key terms

Mean Value Theorem
If f is continuous on [a,b] and differentiable on (a,b), then f′(c) =(f⁡(b)−f⁡(a))⁢/⁢(b−a) for at least one c in (a,b): some tangent is parallel to the secant through the endpoints.
Rolle’s theorem
The Mean Value Theorem when f⁡(a)=f⁡(b): a function continuous on [a,b] and differentiable on (a,b) with equal endpoint values has f′(c)=0 for some c in (a,b).
Average rate of change
The change in output divided by the change in input between two distinct inputs a and b: (f⁡(b)−f⁡(a))⁢/⁢(b−a). Geometrically it is the slope of the secant line through the two points.
Secant line
A line through two points on a curve. Its slope is the average rate of change between them. In trigonometry, “secant” also names the function secθ=1⁢/cosθ.
Tangent line
The line that matches a curve’s direction at a point, with slope equal to the derivative there. It can cross the curve elsewhere. In trigonometry, “tangent” also names tanθ=sinθ⁢/cosθ.
Differentiable
Having a derivative at a point. A function is continuous wherever it is differentiable, but not the other way round: ∣⁢x⁢∣ is continuous at x=0 with no derivative there.

Work through an example

Find every c in (0,2) that satisfies the Mean Value Theorem for f⁡(x)=x3−x on [0,2].

Find the c the Mean Value Theorem promises →

Apply Rolle’s theorem →

When the Mean Value Theorem does not apply →

Bound a value with the Mean Value Theorem →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See the parallel lines in Graph Trace the slope in Secant → Tangent Check the steps in Math Study the 6 key terms Open worked example on a board Mean Value Theorem in Math Reference

Your existing work stays on this device. Examples open as editable copies.