ap calculus review: mean value theorem

the mean value theorem may seem at first like an esoteric result with no practical application. however in this article i hope to show you that it’s not as abstract as it sounds.

the mean value theorem

first, let’s see what the precise statement of the theorem is.

  • the mean value theorem (mvt). suppose f is a function that is continuous on [a, b] and differentiable on (a, b). then there is at least one value x = c such that a < c < b andstatement of the mean value theorem

note, this is the mvt for derivatives (mvtd). there is also a mean value theorem for integrals (mvti), which we do not cover in this article.

the final equation can be interpreted as follows:

there is at least one point c in the interval at which the instantaneous rate of change f ‘(c) is the same as the average rate of change [f(b) – f(a)]/[ba].

let’s try to understand this result by way of a more familiar example.

average vs. instantaneous velocity

suppose you take a road trip from amarillo (texas) to albuquerque (new mexico). according to the map, the shortest route is about 286 miles. now suppose you arrive in albuquerque exactly 4 hours after leaving amarillo. what was your average speed?

straight road in a desert

of course you know that speed (or velocity) is a measure of distance per time. so you can compute your average speed to be about 286/4 = 71.5 miles per hour.

does this mean that your car was always traveling at 71.5 mph? probably not. but we can be sure that the speedometer did hit 71.5 at least once during the trip.

here’s how we know. the car could not have been going less than 71.5 the entire trip; otherwise the average speed would be lower than 71.5. conversely, the car could not have always had a speed above 71.5.

so the car sometimes would go less than 71.5 mph, and sometimes greater than 71.5. if at some point in time the car was going, say 70 mph, and at a later time going maybe 75, then it had to have hit 71.5 for at least an instant as the speedometer crept upwards from 70 to 75, right?

this is really the essence of the mvt. there must have been at least one point in time during the trip when the instantaneous velocity matched the average velocity.

secants and tangents

another way to interpret the mean value theorem is to think in terms of slope.

the right hand side of the mvt equation is nothing more than a slope calculation. imagine a line drawn through the two points (a, f(a)) and (b, f(b)) on the graph of f. this is called a secant line. in fact the term secant line refers to any line drawn between two given points on a graph.

what is the slope of this secant line? using the slope formula with x1 = a, y1 = f(a), x2 = b, and y2 = f(b), we get:

the slope of the secant line is equal to the average rate of change

on the other side of the coin, the left hand side of the mvt equation is simply the derivative evaluated at some unspecified point c. and we know that the derivative measures the slope of the tangent line through any given point.

what the mvt is saying is that as long as f is continuous on [a, b] and differentiable on (a, b), then there must be a tangent line at some point c which is parallel to the secant line connecting (a, f(a)) and (b, f(b)) on the graph.

graph illustrating the mean value theorem on secant and tangent lines

sample problem 1

find all values c that satisfy the mean value theorem for f(x) = x3 + 3x2 – 2x + 1 on [-5, 3].

solution

first check whether this function satisfies the hypotheses of the mvt on the given interval. because f is a polynomial, it’s continuous everywhere, so in particular f is continuous on [-5, 3].

furthermore, since f ‘(x) = 3x2 + 6x – 2 is also polynomial, the derivative exists everywhere. in particular, f is differentiable on (-5, 3).

therefore, by the mvt, there must be at least one value x = c with -5 < c < 3 such that

statement of the mean value theorem

now let’s plug in a = -5 and b = 3 and work out the unknown value of c.

note, f(-5) = -39 and f(3) = 49 can be found by evaluating the original function at the given endpoints.

solution to sample problem, part a

use the quadratic equation to solve for the unknown values of c.

continuation of solution to the sample problem

here we find two values, c ≈ -3.3094 and 1.3094, both of which are in the interval.

it’s interesting to take a look at the graph and note that there are indeed two points where the tangent line must be parallel to the secant line.

graph of function showing two tangent lines that are parallel to a particular secant line.
graph of f(x) = x3 + 3x2 – 2x + 1. the secant line from x = -5 to 3 is drawn in blue while the two parallel tangent lines are in red.

rolle’s theorem

there is a special case of the mean value theorem called rolle’s theorem. basically, rolle’s theorem is the mvt when slope is zero.

  • rolle’s theorem. suppose f is a function that is continuous on [a, b] and differentiable on (a, b). if f(a) = f(b), then there is at least one value x = c such that a < c < b and f ‘(c) = 0.

graphically, rolle’s theorem states that if two function values are the same, then somewhere in between them there must exist a horizontal tangent.

graph illustrating rolle's theorem

sample problem 2

prove that the function f(x) = sin 3x cos 5x has at least one critical number in the interval (0, π/10).

solution

finding the critical number(s) directly would be extremely difficult. fortunately, the question does not ask for the exact values of the critical numbers. instead we will use rolle’s theorem to prove that at least one must exist.

first, since f is a product of a sine and cosine function, it is continuous and differentiable everywhere.

next, check the value of f at the endpoints.

f(0) = sin(0) cos(0) = 0.

f(π/10) = sin(3π/10) cos(π/2) = sin(3π/10) × 0 = 0.

since f(0) = f(π/10), rolle’s theorem implies that there is at least one point x = c between 0 and π/10 such that f ‘(c) = 0. in other words, there is at least one critical number on the interval (0, π/10).

final thoughts

both the mvt and rolle’s theorem are existence theorems. they tell us under what conditions a certain thing is guaranteed to exist, but they do not tell us exactly how to find it. for this reason, the theorems can be tricky to interpret and to apply in problems.

however, as long as you know the hypotheses and conclusion of the two theorems, you should have no trouble when asked about them on the ap calculus ab and bc exams!

author

  • shaun ault

    shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music — almost as much as math! — and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!

more from magoosh