1. Home
  2. Explore
  3. Mathematics
  4. Mean Value Theorem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Mean Value Theorem

Mean Value Theorem and Related Theorems

Mean Value Theorem

The Mean Value Theorem (MVT) is one of the central results of differential calculus. It is sometimes called the fundamental theorem of differential calculus because it connects the average rate of change over an interval with an instantaneous rate of change at some point inside the interval.

The theorem is the third major “value theorem” considered in this development:

  1. Intermediate Value Theorem

  2. Extreme Value Theorem

  3. Mean Value Theorem

If a function is continuous on a closed interval and differentiable on the corresponding open interval, then at some interior point, its instantaneous rate of change equals its average rate of change over the entire interval.

Formal statement

Suppose that:

  • fff is continuous on the closed interval [a,b][a,b][a,b].

  • fff is differentiable on the open interval (a,b)(a,b)(a,b).

Then there exists at least one number c∈(a,b)c \in (a,b)c∈(a,b) such that

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

The right-hand side is the slope of the secant line joining the points (a,f(a))(a,f(a))(a,f(a)) and (b,f(b))(b,f(b))(b,f(b)).

Geometric interpretation

The average rate of change of fff from aaa to bbb is

f(b)−f(a)b−a.\frac{f(b)-f(a)}{b-a}.b−af(b)−f(a)​.

The derivative f′(c)f'(c)f′(c) is the slope of the tangent line at x=cx=cx=c. Therefore, the MVT states that there is at least one point ccc strictly between aaa and bbb where

  • the tangent line to the graph has the same slope as

  • the secant line joining the endpoints of the graph.

The tangent line at that point is therefore parallel to the secant line.

There may be more than one such point ccc, but the theorem guarantees that at least one exists.


Why Differentiability Is Required Only on the Open Interval

The MVT does not require differentiability at the endpoints aaa and bbb. It requires only:

  • continuity on the entire closed interval [a,b][a,b][a,b];

  • differentiability at every interior point in (a,b)(a,b)(a,b).

This makes the theorem stronger and allows it to apply to functions with vertical tangents at one or both endpoints.

Example: the square-root function

Consider f(x)=xf(x)=\sqrt{x}f(x)=x​ on an interval such as [0,5][0,5][0,5].

  • fff is continuous on [0,5][0,5][0,5].

  • fff is differentiable on (0,5)(0,5)(0,5).

  • fff is not differentiable at x=0x=0x=0 because the tangent becomes vertical there.

The MVT still applies because differentiability at the endpoint is not required.

Example: the inverse sine function

The graph of f(x)=arcsin⁡xf(x)=\arcsin xf(x)=arcsinx has vertical tangents at x=−1x=-1x=−1 and x=1x=1x=1.

On the interval [−1,1][-1,1][−1,1]:

  • fff is continuous on the closed interval.

  • fff is differentiable on the open interval (−1,1)(-1,1)(−1,1).

  • fff is not differentiable at either endpoint.

The MVT still applies.


Failure of Differentiability at an Interior Point

If a function is not differentiable at even one point in the interior of the interval, the conclusion of the MVT may fail.

Example: the absolute value function

Consider

f(x)=∣x∣f(x)=|x|f(x)=∣x∣

on an interval such as [−2,7][-2,7][−2,7].

The function is continuous on [−2,7][-2,7][−2,7], but it is not differentiable at x=0x=0x=0 because of the sharp corner.

The slope of the secant line joining the endpoints is

f(7)−f(−2)7−(−2)=7−29=59.\frac{f(7)-f(-2)}{7-(-2)} = \frac{7-2}{9} = \frac{5}{9}.7−(−2)f(7)−f(−2)​=97−2​=95​.

The derivative is

f′(x)={−1,x<0,1,x>0,f'(x)= \begin{cases} -1, & x<0,\\ 1, & x>0, \end{cases}f′(x)={−1,1,​x<0,x>0,​

and f′(0)f'(0)f′(0) does not exist.

Thus, f′(x)f'(x)f′(x) is never equal to 59\frac{5}{9}95​:

  • On the left side, the derivative is −1-1−1.

  • On the right side, the derivative is 111.

  • At the corner, the derivative does not exist.

Therefore, no point c∈(−2,7)c\in(-2,7)c∈(−2,7) satisfies

f′(c)=59.f'(c)=\frac{5}{9}.f′(c)=95​.

This demonstrates why differentiability throughout the open interval is an important hypothesis.

A failure of differentiability at even one interior point can prevent the MVT conclusion from holding.


When the Hypotheses Fail but the Conclusion Still Holds

The hypotheses of a theorem provide sufficient conditions for its conclusion, but they are not always necessary conditions.

Consequently, a particular function may fail one of the hypotheses while still satisfying the conclusion by coincidence.

Example: the cube-root function

Consider

f(x)=x3f(x)=\sqrt[3]{x}f(x)=3x​

on the interval [−8,27][-8,27][−8,27].

The function is continuous everywhere, but it is not differentiable at x=0x=0x=0 because its tangent there is vertical.

The secant slope is

f(27)−f(−8)27−(−8)=3−(−2)35=535=17.\frac{f(27)-f(-8)}{27-(-8)} = \frac{3-(-2)}{35} = \frac{5}{35} = \frac{1}{7}.27−(−8)f(27)−f(−8)​=353−(−2)​=355​=71​.

For x≠0x\neq 0x=0,

f′(x)=13x−2/3.f'(x)=\frac{1}{3}x^{-2/3}.f′(x)=31​x−2/3.

To find points where the tangent slope equals the secant slope, solve

13x−2/3=17.\frac{1}{3}x^{-2/3}=\frac{1}{7}.31​x−2/3=71​.

Multiplying by 333 gives

x−2/3=37.x^{-2/3}=\frac{3}{7}.x−2/3=73​.

Taking reciprocals,

x2/3=73.x^{2/3}=\frac{7}{3}.x2/3=37​.

Raising both sides to the power 32\frac{3}{2}23​ gives

x=±(73)3/2.x=\pm\left(\frac{7}{3}\right)^{3/2}.x=±(37​)3/2.

Both values lie in (−8,27)(-8,27)(−8,27), so there are points in the interval where

f′(c)=17.f'(c)=\frac{1}{7}.f′(c)=71​.

Thus, even though differentiability fails at x=0x=0x=0, the MVT conclusion happens to hold for this particular function and interval.

The failure of a theorem’s hypotheses means that the theorem cannot guarantee the conclusion; it does not necessarily mean that the conclusion is false.


Rolle’s Theorem

The proof of the MVT uses a special case called Rolle’s Theorem.

Statement of Rolle’s Theorem

Suppose that:

  • fff is continuous on [a,b][a,b][a,b];

  • fff is differentiable on (a,b)(a,b)(a,b);

  • f(a)=f(b)f(a)=f(b)f(a)=f(b).

Then there exists at least one c∈(a,b)c\in(a,b)c∈(a,b) such that

f′(c)=0.f'(c)=0.f′(c)=0.

Geometric interpretation

If the endpoint values are equal, then the secant line joining (a,f(a))(a,f(a))(a,f(a)) and (b,f(b))(b,f(b))(b,f(b)) is horizontal. Its slope is

f(b)−f(a)b−a=0.\frac{f(b)-f(a)}{b-a}=0.b−af(b)−f(a)​=0.

Rolle’s Theorem states that somewhere in the interior, the graph has a horizontal tangent line.

The point ccc may correspond to a local maximum, a local minimum, or a flat portion of the graph.

Rolle’s Theorem as a special case of the MVT

The MVT states that

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

If f(a)=f(b)f(a)=f(b)f(a)=f(b), then

f(b)−f(a)b−a=0,\frac{f(b)-f(a)}{b-a}=0,b−af(b)−f(a)​=0,

so the MVT becomes

f′(c)=0.f'(c)=0.f′(c)=0.

Therefore, Rolle’s Theorem follows immediately from the MVT.

Interestingly, the reverse approach is also possible: the MVT can be proven by applying Rolle’s Theorem to a carefully constructed function.


Fermat’s Theorem

The proof of Rolle’s Theorem relies on a result commonly called Fermat’s Theorem in this context.

This theorem is unrelated to Fermat’s Little Theorem and Fermat’s Last Theorem.

Statement of Fermat’s Theorem

Suppose that fff has a local maximum or local minimum at an interior point ccc of its domain. If fff is differentiable at ccc, then

f′(c)=0.f'(c)=0.f′(c)=0.

In other words, a differentiable function must have a horizontal tangent at an interior local extremum.

At an interior local maximum or minimum, differentiability forces the derivative to equal zero.

If differentiability is not assumed, then an interior extremum may instead be a critical point where the derivative does not exist.

Local versus global extrema

  • A global maximum is the greatest function value over the entire domain or interval.

  • A global minimum is the least function value over the entire domain or interval.

  • A local maximum is a function value that is greatest only in a neighborhood of the point.

  • A local minimum is a function value that is least only in a neighborhood of the point.

Every global extremum in the interior is also a local extremum, so Fermat’s Theorem can be applied to it.


Proof of Fermat’s Theorem

Assume that fff is differentiable at an interior point ccc where fff has a local maximum.

Because ccc is a local maximum, for xxx sufficiently close to ccc,

f(x)≤f(c).f(x)\leq f(c).f(x)≤f(c).

Therefore,

f(x)−f(c)≤0.f(x)-f(c)\leq 0.f(x)−f(c)≤0.

Approaching from the right

If x>cx>cx>c, then

x−c>0.x-c>0.x−c>0.

Thus,

f(x)−f(c)x−c≤0.\frac{f(x)-f(c)}{x-c}\leq 0.x−cf(x)−f(c)​≤0.

Taking the limit as xxx approaches ccc from the right gives

lim⁡x→c+f(x)−f(c)x−c≤0.\lim_{x\to c^+}\frac{f(x)-f(c)}{x-c}\leq 0.limx→c+​x−cf(x)−f(c)​≤0.

This is the right-hand derivative, so

f+′(c)≤0.f'_+(c)\leq 0.f+′​(c)≤0.

Approaching from the left

If x<cx<cx<c, then

x−c<0.x-c<0.x−c<0.

Since f(x)−f(c)≤0f(x)-f(c)\leq 0f(x)−f(c)≤0, dividing by a negative number reverses the inequality:

f(x)−f(c)x−c≥0.\frac{f(x)-f(c)}{x-c}\geq 0.x−cf(x)−f(c)​≥0.

Taking the limit as xxx approaches ccc from the left gives

lim⁡x→c−f(x)−f(c)x−c≥0.\lim_{x\to c^-}\frac{f(x)-f(c)}{x-c}\geq 0.limx→c−​x−cf(x)−f(c)​≥0.

Thus,

f−′(c)≥0.f'_-(c)\geq 0.f−′​(c)≥0.

Using differentiability

If fff is differentiable at ccc, then the one-sided derivatives are equal:

f−′(c)=f+′(c)=f′(c).f'_-(c)=f'_+(c)=f'(c).f−′​(c)=f+′​(c)=f′(c).

But one side is at least zero and the other is at most zero. The only possible common value is zero:

f′(c)=0.f'(c)=0.f′(c)=0.

The proof for a local minimum is analogous. At a local minimum, the difference quotient from the right is nonnegative and the difference quotient from the left is nonpositive, again forcing the derivative to equal zero.


Proof of Rolle’s Theorem

Assume that:

  • fff is continuous on [a,b][a,b][a,b];

  • fff is differentiable on (a,b)(a,b)(a,b);

  • f(a)=f(b)f(a)=f(b)f(a)=f(b).

By the Extreme Value Theorem, fff attains both a maximum and a minimum on [a,b][a,b][a,b].

There are two possibilities.

Case 1: The function is constant

If

f(x)=f(a)f(x)=f(a)f(x)=f(a)

for every x∈[a,b]x\in[a,b]x∈[a,b], then fff is constant on the interval. Therefore,

f′(x)=0f'(x)=0f′(x)=0

for every x∈(a,b)x\in(a,b)x∈(a,b).

Any interior point can serve as the required point ccc.

Case 2: The function is not constant

If fff is not constant, then its maximum and minimum values are different.

Because the endpoint values are equal, at least one of these extrema must occur at an interior point. Otherwise, if both the maximum and minimum occurred only at the endpoints, the equal endpoint values would force the function to have the same maximum and minimum and hence be constant.

Let c∈(a,b)c\in(a,b)c∈(a,b) be an interior point where a maximum or minimum occurs. This point is a local extremum. Since fff is differentiable at ccc, Fermat’s Theorem gives

f′(c)=0.f'(c)=0.f′(c)=0.

Therefore, Rolle’s Theorem is proven.


Proof of the Mean Value Theorem Using Rolle’s Theorem

The main idea is to transform the original function into a new function whose endpoint values are equal. Rolle’s Theorem can then be applied to the new function.

Step 1: Construct the secant-line function

The secant line joining (a,f(a))(a,f(a))(a,f(a)) and (b,f(b))(b,f(b))(b,f(b)) has slope

f(b)−f(a)b−a.\frac{f(b)-f(a)}{b-a}.b−af(b)−f(a)​.

Define the linear function

L(x)=f(a)+f(b)−f(a)b−a(x−a).L(x)=f(a)+\frac{f(b)-f(a)}{b-a}(x-a).L(x)=f(a)+b−af(b)−f(a)​(x−a).

This function has two important properties:

  1. Its slope is the same as the secant slope of fff.

  2. It passes through (a,f(a))(a,f(a))(a,f(a)).

Indeed,

L(a)=f(a)+f(b)−f(a)b−a(a−a)=f(a).L(a)=f(a)+\frac{f(b)-f(a)}{b-a}(a-a)=f(a).L(a)=f(a)+b−af(b)−f(a)​(a−a)=f(a).

Also,

L(b)=f(a)+f(b)−f(a)b−a(b−a)=f(a)+f(b)−f(a)=f(b).L(b) = f(a)+\frac{f(b)-f(a)}{b-a}(b-a) = f(a)+f(b)-f(a) = f(b).L(b)=f(a)+b−af(b)−f(a)​(b−a)=f(a)+f(b)−f(a)=f(b).

Thus, the graph of LLL is exactly the secant line through the endpoints of the graph of fff.

Step 2: Define a new function

Let

g(x)=f(x)−L(x).g(x)=f(x)-L(x).g(x)=f(x)−L(x).

Geometrically, ggg measures the vertical difference between the graph of fff and the secant line.

Because fff is continuous on [a,b][a,b][a,b] and differentiable on (a,b)(a,b)(a,b), and because LLL is linear and therefore continuous and differentiable everywhere, ggg is also:

  • continuous on [a,b][a,b][a,b];

  • differentiable on (a,b)(a,b)(a,b).

Step 3: Verify equal endpoint values

At x=ax=ax=a,

g(a)=f(a)−L(a)=f(a)−f(a)=0.g(a)=f(a)-L(a)=f(a)-f(a)=0.g(a)=f(a)−L(a)=f(a)−f(a)=0.

At x=bx=bx=b,

g(b)=f(b)−L(b)=f(b)−f(b)=0.g(b)=f(b)-L(b)=f(b)-f(b)=0.g(b)=f(b)−L(b)=f(b)−f(b)=0.

Therefore,

g(a)=g(b).g(a)=g(b).g(a)=g(b).

The hypotheses of Rolle’s Theorem apply to ggg.

Step 4: Apply Rolle’s Theorem

By Rolle’s Theorem, there exists some c∈(a,b)c\in(a,b)c∈(a,b) such that

g′(c)=0.g'(c)=0.g′(c)=0.

Since

g′(x)=f′(x)−L′(x),g'(x)=f'(x)-L'(x),g′(x)=f′(x)−L′(x),

and the derivative of LLL is its constant slope,

L′(x)=f(b)−f(a)b−a,L'(x)=\frac{f(b)-f(a)}{b-a},L′(x)=b−af(b)−f(a)​,

it follows that

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

Rearranging gives

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

This is precisely the conclusion of the Mean Value Theorem.

The MVT is proved by subtracting the secant line from the original function, creating a new function with equal endpoint values, and applying Rolle’s Theorem.


Structure of the Theorem Relationships

The logical relationship among the results is:

  1. The Extreme Value Theorem guarantees that a continuous function on a closed interval attains a maximum and minimum.

  2. Fermat’s Theorem states that a differentiable function has derivative zero at an interior local extremum.

  3. These two facts prove Rolle’s Theorem.

  4. A transformed version of the original function allows Rolle’s Theorem to prove the Mean Value Theorem.

The key construction in the MVT proof is

g(x)=f(x)−L(x),g(x)=f(x)-L(x),g(x)=f(x)−L(x),

where L(x)L(x)L(x) is the secant line of fff over [a,b][a,b][a,b]. Subtracting this line makes the transformed function equal at the two endpoints, which is exactly the condition needed for Rolle’s Theorem.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent