Math Core

Lesson 5.1 · Analytical Applications of Differentiation

The mean value theorem

If you drive 150 miles in 2 hours, your average speed is 75 mph. Common sense says that at some instant your speedometer must have read exactly 75. The mean value theorem turns that common sense into a precise statement about functions, and it is the tool that connects what a function does over an interval to what its derivative does at a single point.

Average rate versus instantaneous rate

You already know two kinds of rate of change for a function ff on an interval [a,b][a, b]:

  • The average rate of change is the slope of the secant line through (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)): f(b)−f(a)b−a.\frac{f(b) - f(a)}{b - a}.
  • The instantaneous rate of change at x=cx = c is f′(c)f'(c), the slope of the tangent line at cc.

The mean value theorem says that, for a well-behaved function, some tangent line inside the interval is parallel to the secant line. In other words, at some point the instantaneous rate equals the average rate.

The mean value theorem (MVT)

If ff is continuous on the closed interval [a,b][a, b] and differentiable on the open interval (a,b)(a, b), then there is at least one number cc in (a,b)(a, b) with

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

Look at the picture below for f(x)=x3−xf(x) = x^3 - x on [0,2][0, 2]. The secant line through (0,0)(0, 0) and (2,6)(2, 6) has slope 33. Slide a line with slope 33 across the graph and it touches the curve at one point strictly between 00 and 22. That point is the cc the theorem promises.

The secant line y = 3x (slope 3) and the parallel tangent line at c = 2/√3 ≈ 1.155 (dashed).Open in grapher →

Why both hypotheses matter

The theorem only works if both conditions hold. On the AP exam you are expected to check them out loud before you use the theorem.

  • Continuous on [a,b][a, b]. A jump or hole lets the function "teleport" without ever having the needed slope. For example, a function could be 00 on [0,1)[0, 1) and jump to 55 at x=1x = 1. The average rate on [0,1][0, 1] is 55, but the derivative is 00 everywhere inside.
  • Differentiable on (a,b)(a, b). A corner lets the slope switch suddenly from one value to another and skip the average. The function f(x)=∣x∣f(x) = |x| on [−1,1][-1, 1] has average rate of change 1−12=0\dfrac{1 - 1}{2} = 0, yet f′(x)f'(x) is only ever −1-1 or 11. The corner at x=0x = 0 breaks the theorem.

Notice that differentiability is only required on the open interval. The endpoints need continuity, but not a derivative. That is why f(x)=xf(x) = \sqrt{x} on [0,4][0, 4] still qualifies even though f′(0)f'(0) doesn't exist.

Tip

Differentiable implies continuous. So if a function is differentiable on all of [a,b][a, b] (for example, any polynomial), both hypotheses hold automatically. Polynomials, sin⁡x\sin x, cos⁡x\cos x and exe^x satisfy the MVT on every closed interval. Rational functions and ln⁡x\ln x are fine on intervals that stay inside their domains.

Rolle's theorem: the flat case

When f(a)=f(b)f(a) = f(b), the secant line is horizontal, so the average rate of change is 00. The MVT then promises a horizontal tangent.

Definition

Rolle's theorem

If ff is continuous on [a,b][a, b], differentiable on (a,b)(a, b), and f(a)=f(b)f(a) = f(b), then there is at least one cc in (a,b)(a, b) with f′(c)=0f'(c) = 0.

Rolle's theorem is just the MVT with a level secant line. If a ball is thrown up and lands back at the height it started from, at some moment its vertical velocity was exactly 00.

Finding the value of cc

To find the value (or values) of cc guaranteed by the theorem:

  1. Check that ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b).
  2. Compute the average rate of change f(b)−f(a)b−a\dfrac{f(b) - f(a)}{b - a}.
  3. Set f′(c)f'(c) equal to it and solve.
  4. Keep only the solutions that lie strictly between aa and bb.

Worked example: Finding c for a polynomial

Find all values of cc that satisfy the conclusion of the MVT for f(x)=x3−xf(x) = x^3 - x on [0,2][0, 2].

Solution. ff is a polynomial, so it is continuous on [0,2][0, 2] and differentiable on (0,2)(0, 2). The average rate of change is

f(2)−f(0)2−0=6−02=3.\frac{f(2) - f(0)}{2 - 0} = \frac{6 - 0}{2} = 3.

Since f′(x)=3x2−1f'(x) = 3x^2 - 1, solve 3c2−1=33c^2 - 1 = 3, so c2=43c^2 = \dfrac{4}{3} and c=±23c = \pm \dfrac{2}{\sqrt{3}}. Only the positive value lies in (0,2)(0, 2), so c=23≈1.155c = \dfrac{2}{\sqrt{3}} \approx 1.155.

Worked example: When the theorem does not apply

Let f(x)=1xf(x) = \dfrac{1}{x} on [−1,1][-1, 1]. Is there a cc in (−1,1)(-1, 1) with f′(c)f'(c) equal to the average rate of change?

Solution. The average rate of change is f(1)−f(−1)1−(−1)=1−(−1)2=1\dfrac{f(1) - f(-1)}{1 - (-1)} = \dfrac{1 - (-1)}{2} = 1. But f′(x)=−1x2f'(x) = -\dfrac{1}{x^2} is negative for every x≠0x \ne 0, so f′(c)=1f'(c) = 1 has no solution. This doesn't contradict the MVT: ff is not continuous on [−1,1][-1, 1] because it is undefined at x=0x = 0. The hypotheses fail, so the theorem makes no promise.

The MVT with tables

AP free-response questions often give a table of values instead of a formula. You can't solve for cc, but you can still conclude that cc exists.

Worked example: Justifying with a table

A differentiable function hh gives the temperature, in degrees Celsius, of a cup of coffee tt minutes after it is poured.

tt (minutes)004410101616
h(t)h(t) (°C)8888767664645555

Must there be a time tt with 0<t<160 < t < 16 at which h′(t)=−2h'(t) = -2? Justify your answer.

Solution. Look for a pair of table values whose average rate of change is −2-2. On [4,10][4, 10]:

h(10)−h(4)10−4=64−766=−2.\frac{h(10) - h(4)}{10 - 4} = \frac{64 - 76}{6} = -2.

Because hh is differentiable, it is also continuous, so hh is continuous on [4,10][4, 10] and differentiable on (4,10)(4, 10). By the mean value theorem, there is a time tt in (4,10)(4, 10) with h′(t)=−2h'(t) = -2. So yes, there must be such a time.

Common mistake

Don't skip the hypotheses. An AP justification needs three parts: (1) the function is continuous on the closed interval and differentiable on the open interval (say why, for example "because hh is differentiable"), (2) the computed average rate of change, and (3) the conclusion that some cc in the open interval has f′(c)f'(c) equal to that value. Also remember the MVT only guarantees existence. It doesn't tell you where cc is, and there may be more than one.

Practice

Practice 1

Find the value of cc guaranteed by the mean value theorem for f(x)=x2−4x+1f(x) = x^2 - 4x + 1 on [1,5][1, 5].

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Find the value of cc guaranteed by the mean value theorem for f(x)=xf(x) = \sqrt{x} on [0,9][0, 9].

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Which function satisfies the hypotheses of the mean value theorem on [−1,1][-1, 1]?

Practice 4

Find all values of cc in (−3,3)(-3, 3) that satisfy the conclusion of the mean value theorem for f(x)=x3f(x) = x^3 on [−3,3][-3, 3].

Separate answers with commas, e.g. 2, -5

Practice 5

The function f(x)=cos⁡(2x)f(x) = \cos(2x) satisfies the hypotheses of Rolle's theorem on [0,π][0, \pi]. Find the value of cc in (0,π)(0, \pi) with f′(c)=0f'(c) = 0.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

A car's position s(t)s(t), in miles, is differentiable. Selected values are shown.

tt (hours)00225588
s(t)s(t) (miles)00110110260260380380

Which statement must be true?

Practice 7

Find the value of cc guaranteed by the mean value theorem for f(x)=ln⁡xf(x) = \ln x on [1,e][1, e]. Give the exact value or a decimal rounded to three places.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.