impera Open Impera

AP Calculus AB · Analytical applications of differentiation

The mean value theorem

1The theorem

The Mean Value Theorem (MVT) says:

If $f$ is continuous on $[a, b]$ and differentiable on $(a, b)$, then there is at least one number $c$ in $(a, b)$ where

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

In words: somewhere between $a$ and $b$, the instantaneous rate of change equals the average rate of change. Geometrically, some tangent line is parallel to the secant line joining the endpoints.

Example

if you drive 120 km in 1.5 hours, your average speed is 80 km/h. The MVT guarantees that at some instant your speedometer read exactly 80 km/h.

At c = 1.5 the tangent is parallel to the secant joining the endpoints

Check yourself

What does the MVT guarantee?

  • The function is increasing on the whole interval

  • Some tangent line is parallel to the secant line through the endpoints

  • f(c) = 0 for some value of c strictly inside the interval

  • The function has a maximum value somewhere inside the interval

Show the answer

Some tangent line is parallel to the secant line through the endpoints

Instantaneous rate equals average rate somewhere.

2Checking the conditions

Both hypotheses matter:

  • Continuous on the closed interval $[a, b]$.
  • Differentiable on the open interval $(a, b)$.

Example where it fails: $f(x) = |x|$ on $[-1, 1]$. The average rate is $\frac{1 - 1}{2} = 0$, but $f'(x)$ is $-1$ or $1$, never $0$. The MVT does not apply because $f$ is not differentiable at $x = 0$.

Polynomials, $e^x$, $\sin x$ and $\cos x$ satisfy both conditions on any interval. Rational functions and roots must be checked for points where they are undefined or have vertical tangents inside the interval.

Check yourself

Why doesn't the MVT apply to f(x) = 1/x on [−1, 1]?

  • f is not continuous at x = 0

  • f is not a polynomial

  • f(−1) = f(1)

  • f is decreasing

Show the answer

f is not continuous at x = 0

The hypotheses fail.

3Finding the value of c

Worked example

$f(x) = x^2 - 4x + 3$ on $[0, 3]$.

  1. Polynomial, so continuous and differentiable: the MVT applies.
  2. Average rate: $\frac{f(3) - f(0)}{3 - 0} = \frac{0 - 3}{3} = -1$.
  3. $f'(x) = 2x - 4$. Set $2c - 4 = -1$: $c = 1.5$.
  4. $c = 1.5$ is in $(0, 3)$. ✓
Worked example

$f(x) = \sqrt{x}$ on $[1, 9]$.

  1. Continuous on $[1, 9]$ and differentiable on $(1, 9)$.
  2. Average rate: $\frac{3 - 1}{8} = \frac{1}{4}$.
  3. $\frac{1}{2\sqrt{c}} = \frac{1}{4}$, so $\sqrt{c} = 2$ and $c = 4$.
Check yourself

For f(x) = x³ on [0, 3], the MVT value c satisfies 3c² = 9. So c =

  • √3

  • 1

  • 9

  • 3

Show the answer

√3

Average rate = 27/3 = 9.

4Rolle's theorem

Rolle's theorem is the special case where $f(a) = f(b)$. Then the average rate is $0$, so there is a $c$ with $f'(c) = 0$: a horizontal tangent.

Example

a ball thrown up and caught at the same height must, at some moment, have zero vertical velocity (at the top).

Check yourself

Rolle's theorem applies when f is continuous, differentiable, and:

  • f′(a) = f′(b)

  • f is increasing

  • f(a) = f(b)

  • f(a) = 0

Show the answer

f(a) = f(b)

It guarantees f′(c) = 0.

5MVT with tables and contexts

The AP exam often gives a table of values for a differentiable function and asks whether $f'(c)$ must equal some number.

Worked example

$f$ is differentiable, with $f(2) = 10$ and $f(6) = 22$. Must $f'(c) = 3$ for some $c$ in $(2, 6)$?

  1. $f$ is differentiable, so it is continuous on $[2, 6]$ and differentiable on $(2, 6)$.
  2. $\frac{f(6) - f(2)}{6 - 2} = \frac{12}{4} = 3$.
  3. By the Mean Value Theorem, yes: there is a $c$ in $(2, 6)$ with $f'(c) = 3$.

Notice the IVT is about values of $f$, while the MVT is about values of $f'$ (slopes).

Check yourself

f is differentiable with f(1) = 4 and f(5) = −4. The MVT guarantees f′(c) = ? for some c in (1, 5).

  • 0

  • 2

  • −8

  • −2

Show the answer

−2

(−4 − 4)/(5 − 1) = −2.

6Going deeper: checking the hypotheses and writing existence arguments

The theorem: if f is continuous on [a, b] and differentiable on (a, b), then there is at least one c in (a, b) with

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

In words: somewhere, the instantaneous rate of change equals the average rate of change. Geometrically: some tangent line is parallel to the secant line.

Rolle's theorem is the special case f(a) = f(b): then f′(c) = 0 for some c.

Worked example (finding c): $f(x) = x^3$ on [0, 2].

  1. Polynomial: continuous and differentiable.
  2. Average rate: $\frac{8 - 0}{2} = 4$.
  3. $3c^2 = 4$, so $c = \frac{2}{\sqrt{3}} \approx 1.155$ (the negative root is outside the interval).

Worked example (two values of c): $f(x) = x^3 - 3x$ on [−2, 2].

  1. Average rate: $\frac{2 - (-2)}{4} = 1$.
  2. $3c^2 - 3 = 1$, so $c = \pm\frac{2}{\sqrt{3}}$: both lie in (−2, 2).

Existence arguments from a table: f is differentiable for all x, with f(2) = 5 and f(6) = 13.

  1. "f is differentiable, so it is continuous on [2, 6] and differentiable on (2, 6)."
  2. "$\frac{f(6) - f(2)}{6 - 2} = 2$."
  3. "By the mean value theorem there is a c in (2, 6) with f′(c) = 2."

All three statements are needed.

Worked example (in context): a car travels 150 miles in 2 hours.

  1. Average velocity: 75 mph.
  2. Position is continuous and differentiable, so at some moment the speedometer read exactly 75 mph. (Average-speed cameras rely on this.)

Worked example (applying it to f′): f is twice differentiable, with f′(1) = 4 and f′(5) = −8.

  1. f′ is differentiable, so the MVT applies to f′ on [1, 5].
  2. There is a c with $f''(c) = \frac{-8 - 4}{4} = -3$.

Worked example (combining with the IVT): with f′(1) = 4 and f′(5) = −8, f′ is continuous (since f is twice differentiable), so by the intermediate value theorem f′(c) = 0 for some c in (1, 5).

When the theorem does not apply

  • Not differentiable: f(x) = |x| on [−1, 1]: average rate 0, but f′ is never 0 (it is ±1); the corner at 0 breaks the hypothesis.
  • Not continuous: a jump or asymptote in the interval.
  • If the hypotheses fail, the conclusion may or may not hold; you simply cannot use the theorem.

Consequences

  • If f′(x) > 0 on an interval, f is increasing there.
  • If f′(x) = 0 on an interval, f is constant.
  • If two functions have the same derivative, they differ by a constant.

Which theorem?

  • A statement about a function value f(c) = k: IVT.
  • A statement about a derivative value equal to an average rate: MVT.
  • A statement about a maximum or minimum existing: extreme value theorem.

MVT for integrals (related): a continuous function takes its average value somewhere on the interval.

Common mistakes

  • Not stating both hypotheses.
  • Confusing the MVT with the IVT.
  • Giving c outside the open interval.
  • Applying it to |x|, or to a function with a vertical asymptote in the interval.
  • Using f(b) − f(a) without dividing by b − a.
Check yourself

For f(x) = x² on the interval [1, 5], the value of c guaranteed by the mean value theorem is:

  • 4

  • 6

  • 3

  • 2

Show the answer

3

The average rate is (25 − 1) ÷ 4 = 6, and 2c = 6 gives c = 3.

7For top marks

An MVT justification needs:

  1. Conditions: "$f$ is continuous on $[a, b]$ and differentiable on $(a, b)$" (or "$f$ is differentiable, so it is also continuous").
  2. The average rate: computed with numbers.
  3. Conclusion: "By the Mean Value Theorem, there exists $c$ in $(a, b)$ such that $f'(c) = \ldots$"
Example

"Since $v$ is differentiable, it is continuous on $[0, 8]$. $\frac{v(8) - v(0)}{8 - 0} = \frac{20 - 4}{8} = 2$, so by the MVT there is a time $c$ in $(0, 8)$ when $a(c) = v'(c) = 2$."

Check yourself

Which theorem guarantees a value of the derivative, rather than of the function?

  • The squeeze theorem

  • The Intermediate Value Theorem

  • The Mean Value Theorem

  • L'Hospital's rule

Show the answer

The Mean Value Theorem

The IVT guarantees function values.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera