9. Differentiation

Mean Value Theorem

Mean Value Theorem

students, imagine driving on a road trip 🚗. Your speedometer changes from moment to moment, but over the whole trip you can still compute an average speed. The Mean Value Theorem connects that average idea to what happens at one exact moment. In Real Analysis, this theorem is a major bridge between the average behavior of a function and its instantaneous behavior.

What this lesson will help you do

  • Explain the main ideas and terminology behind the Mean Value Theorem.
  • Apply Real Analysis reasoning to check when the theorem can be used.
  • Connect the Mean Value Theorem to derivatives and broader differentiation ideas.
  • Use the theorem to prove important facts about functions.
  • Recognize how the theorem appears in real-world reasoning and mathematical proofs 📘

The Mean Value Theorem is one of the most useful results in calculus and real analysis because it turns information about a function at the ends of an interval into information about a point inside the interval.

The statement of the Mean Value Theorem

The Mean Value Theorem says this:

If a function $f$ is continuous on a closed interval $[a,b]$ and differentiable on the open interval $(a,b)$, then there exists some point $c$ in $(a,b)$ such that

$$f'(c)=\frac{f(b)-f(a)}{b-a}.$$

Let’s unpack that carefully, students.

  • $f(a)$ and $f(b)$ are the function values at the endpoints.
  • The fraction $\frac{f(b)-f(a)}{b-a}$ is the average rate of change of $f$ on $[a,b]$.
  • $f'(c)$ is the instantaneous rate of change at some interior point $c$.

So the theorem says: somewhere between $a$ and $b$, the function has a tangent slope equal to the slope of the secant line joining the endpoints ✏️.

This is not saying the point $c$ is unique. There may be one, several, or many such points.

Why the hypotheses matter

The conditions in the theorem are not optional.

1. Continuity on $[a,b]$

If $f$ has a jump or hole somewhere in the interval, then the graph may break in a way that prevents the conclusion from holding.

2. Differentiability on $(a,b)$

If $f$ has a corner, cusp, or vertical tangent inside the interval, then $f'(c)$ may fail to exist at the point where the theorem would need it.

For example, the function $f(x)=|x|$ on $[-1,1]$ is continuous, but it is not differentiable at $x=0$. The average rate of change is

$$\frac{f(1)-f(-1)}{1-(-1)}=\frac{1-1}{2}=0,$$

but there is no point $c\in(-1,1)$ with $f'(c)=0$ because $f'(x)=-1$ for $x<0$ and $f'(x)=1$ for $x>0$. So the theorem cannot be applied. This shows why each hypothesis is essential.

Geometric meaning: secant lines and tangent lines

A secant line connects two points on a graph. Its slope is the average rate of change:

$$\frac{f(b)-f(a)}{b-a}.$$

A tangent line touches the graph at a point and has slope $f'(c)$.

The Mean Value Theorem guarantees that some tangent line in the interval has the same slope as the secant line across the whole interval. That is a powerful geometric fact because it links global and local behavior.

If you imagine a hilly road, the average steepness from the start to the end must match the steepness at least once along the way. The road may go up and down, but at some spot the instantaneous slope equals the overall average slope ⛰️.

A simple example

Consider $f(x)=x^2$ on $[1,3]$.

First check the hypotheses:

  • $f$ is continuous on $[1,3]$.
  • $f$ is differentiable on $(1,3)$.

Now compute the average rate of change:

$$\frac{f(3)-f(1)}{3-1}=\frac{9-1}{2}=4.$$

Since $f'(x)=2x$, we look for $c$ such that

$$2c=4.$$

So

$$c=2.$$

Indeed, $2\in(1,3)$, so the theorem works exactly as predicted.

This example is nice because you can even see it graphically. The secant line across the interval has slope $4$, and the tangent line at $x=2$ also has slope $4$.

How to use the theorem in practice

To apply the Mean Value Theorem, follow these steps:

  1. Check continuity on the closed interval $[a,b]$.
  2. Check differentiability on the open interval $(a,b)$.
  3. Compute the average rate of change:

$$\frac{f(b)-f(a)}{b-a}.$$

  1. Set the derivative equal to that slope:

$$f'(c)=\frac{f(b)-f(a)}{b-a}.$$

  1. Solve for $c$ and make sure $c\in(a,b)$.

This procedure is common in real analysis proofs because it turns a function problem into an equation involving derivatives.

An important consequence: when derivative is zero

A very useful corollary comes from the Mean Value Theorem.

If $f$ is continuous on $[a,b]$, differentiable on $(a,b)$, and

$$f'(x)=0$$

for all $x\in(a,b)$, then $f$ is constant on $[a,b]$.

Why? Take any $x_1,x_2\in[a,b]$ with $x_1<x_2$. By the Mean Value Theorem, there exists $c\in(x_1,x_2)$ such that

$$f'(c)=\frac{f(x_2)-f(x_1)}{x_2-x_1}.$$

But $f'(c)=0$, so

$$\frac{f(x_2)-f(x_1)}{x_2-x_1}=0,$$

which gives

$$f(x_2)=f(x_1).$$

Since the choice of $x_1$ and $x_2$ was arbitrary, the function must be constant.

This result is powerful in real analysis because it proves that a zero derivative forces no change in the function at all over an interval. That is much stronger than just saying the function is “flat” at a point.

Another consequence: strict monotonicity

The Mean Value Theorem also helps us understand when a function is increasing or decreasing.

  • If $f'(x)>0$ for all $x\in(a,b)$, then $f$ is strictly increasing on $[a,b]$.
  • If $f'(x)<0$ for all $x\in(a,b)$, then $f$ is strictly decreasing on $[a,b]$.

Here is the idea. Suppose $x_1<x_2$. By the Mean Value Theorem, there exists $c\in(x_1,x_2)$ such that

$$f'(c)=\frac{f(x_2)-f(x_1)}{x_2-x_1}.$$

If $f'(c)>0$ and $x_2-x_1>0$, then the numerator must be positive, so

$$f(x_2)>f(x_1).$$

That means the function rises as $x$ increases.

This is one reason the theorem is central in differentiation: it allows you to translate derivative signs into global behavior.

Real-world interpretation

Suppose a car travels from mile marker $0$ to mile marker $120$ in $2$ hours. Its average speed is

$$\frac{120-0}{2}=60$$

miles per hour.

The Mean Value Theorem says that if the car’s position function is continuous and differentiable, then at some moment during the trip, the instantaneous speed must have been exactly $60$ miles per hour. That does not mean the speed was constant. It only means that somewhere along the trip, the speedometer hit the average speed 📍.

This idea appears in physics, economics, and engineering whenever average change and instantaneous change need to be connected.

Why real analysis cares about this theorem

In real analysis, we do not just use formulas blindly. We pay close attention to the assumptions behind a theorem. The Mean Value Theorem is a perfect example because it shows how powerful a carefully stated result can be.

It is used to prove:

  • uniqueness results,
  • estimates and bounds,
  • convergence and continuity properties,
  • behavior of functions with given derivative information.

It also supports later results such as the Fundamental Theorem of Calculus, Taylor’s theorem, and inequalities involving functions and derivatives.

Conclusion

students, the Mean Value Theorem says that for a function continuous on $[a,b]$ and differentiable on $(a,b)$, some point inside the interval has derivative equal to the average rate of change across the whole interval. That simple statement has deep consequences. It connects local slope to global change, helps prove that functions are constant when their derivative is zero, and explains why derivative signs control whether a function increases or decreases.

In the big picture of differentiation, the Mean Value Theorem is one of the central tools that turns derivatives into real information about functions. It is a key reason derivatives are so useful in real analysis and beyond.

Study Notes

  • The Mean Value Theorem requires continuity on $[a,b]$ and differentiability on $(a,b)$.
  • The conclusion is that there exists $c\in(a,b)$ such that

$$f'(c)=\frac{f(b)-f(a)}{b-a}.$$

  • The quantity $\frac{f(b)-f(a)}{b-a}$ is the average rate of change on the interval.
  • Geometrically, the theorem says some tangent line has the same slope as the secant line through the endpoints.
  • If $f'(x)=0$ for all $x$ in an interval, then $f$ is constant on that interval.
  • If $f'(x)>0$ on an interval, then $f$ is increasing there; if $f'(x)<0$, then $f$ is decreasing there.
  • The theorem fails if continuity or differentiability assumptions are missing.
  • It is a major bridge between local derivative information and global behavior of functions.

Practice Quiz

5 questions to test your understanding