The Mean Value Theorem (MVT) is proved by writing the equation of a function giving the (directed) length of a segment from the given function to the line between the endpoints as you can see here. Since the function and the line intersect at the endpoints of the interval this function satisfies the hypotheses of Rolle’s theorem and so the MVT follows directly. This means that the derivative of the distance function is zero at the points guaranteed by the MVT. Therefore, these values must also be the location of the local extreme values (maximums and minimums) of the distance function on the open interval.*

Here is an exploration in three similar examples that use this idea to foreshadow the MVT. You, of course, can use your own favorite function. Any differentiable function may be used, in which case a CAS calculator may be helpful. Answers are at the end.

__First example:__

Consider the function defined on the closed interval [–1,3]

- Write the equation of the line thru the endpoints of the function.
- Write an expression for h(x) the vertical distance between f(x) and the line found in part 1.
- Find the x-coordinates of the local extreme values of h(x) on the
*open*interval (–1,3). - Find the slope of f(x) at the values found in part 3.
- Compare your answer to part 4 with the slope of the line. Is this a coincidence?

** Second example:** slightly more difficult than the first.

Consider the function defined on the closed interval .

- Write the equation of the line thru the endpoints of the function.
- Write an expression for h(x) the vertical distance between f(x) and the line found in part 1.
- Find the x-coordinates of the local extreme values of h(x) on the
*open*interval . - Find the slope of f(x) at the values found in part 3.
- Compare your answer to part 4 with the slope of the line. Is this a coincidence?

**Third example:** In case you think I cooked the numbers. You may want to use a CAS for this one.

Consider the function defined on the closed interval .

- Write the equation of the line thru the endpoints of the function.
- Write an expression for h(x) the vertical distance between f(x) and the line found in part 1.
- Find the x-coordinates of the local extreme values of h(x) on the
*open*interval . - Find the slope of f(x) at the values found in part 3.
- Compare your answer to part 4 with the slope of the line. Is this a coincidence?

**Answers**

First example:

- y = x
- when x = –1/2, ½, 3/2 and 5/2
- , the slope = 1 at all four points
- They are the same. Not a coincidence.

Second example:

- The endpoints are and ; the line is
- when
- ; at the points above the slope is 1.
- They are the same. Not a coincidence.

Third example:

- The endpoints are (-4, -64) and (5, 125), the line is .
- when
- They are the same. Not a coincidence.

See this post for links to other posts discussing the full development of the MVT

* It is possible that the derivative is zero and the point is not an extreme value. This is like the situation with a point of inflection when the first derivative is zero but does not change sign.

This post was originally published on October 19, 2018.