Professor Turing

Study guides

What is the mean value theorem?

Last updated: 2026-11-26

The mean value theorem says that if a function meets two conditions on an interval, then somewhere strictly inside it the derivative matches the slope between the two ends. The function has to be continuous from a to b including both ends, and differentiable at each point strictly between them. Then at least one c between a and b satisfies f′(c) = (f(b) − f(a)) / (b − a).

Start learning No account needed

1. The picture and the conditions

Draw the straight line joining the two end points of the graph. Its slope is the average rate of change. The theorem promises at least one interior point where the tangent line is parallel to it. Picture a car that moves smoothly in one direction and averages 60 kilometers per hour on a trip. At one moment or more on the way, its speed was exactly 60.

Check the conditions before you use the conclusion. Continuity is needed on the closed interval, so the end points count. Differentiability is needed on the open interval, so the end points do not. Rolle's theorem is the special case where f(a) = f(b), which makes the average slope zero.

2. A worked example: find c

Take f(x) = x³ − x from 0 to 2. It is a polynomial, so it is continuous and differentiable throughout, and both conditions hold.

The end values are f(0) = 0 and f(2) = 6, so the average slope is (6 − 0) / (2 − 0) = 3. The derivative is f′(x) = 3x² − 1. Setting 3c² − 1 = 3 gives c² = 4/3, so c is about 1.1547 or about −1.1547.

Only 1.1547 lies between 0 and 2, so that is the point. Substituting it back gives f′(c) = 3.0000. The script scripts/what-is-the-mean-value-theorem-worked-example.py finds both roots, keeps the one inside the interval and checks the slope there, both from the formula and numerically.

3. When a condition fails

Take the absolute value of x from −1 to 2. The function is continuous, and the average slope is (2 − 1) / 3, about 0.3333. Its derivative is −1 left of zero and 1 right of zero, and it has none at the corner. No point has slope 0.3333.

Now take g(x) = x for x from 0 up to 1, but set g(1) = 0. The average slope from 0 to 1 is 0. Inside the interval the derivative is 1 everywhere, so no point works. This function is differentiable at each interior point and fails because it jumps at an end point.

Function and intervalCondition that failsAverage slopeInterior slopes
x³ − x, 0 to 2none3equals 3 at about 1.1547
absolute value of x, −1 to 2differentiable inside0.3333−1 or 1
x with g(1) = 0, 0 to 1continuous at an end01

4. A common misconception

Writing the formula and solving for c skips the part that makes the formula true. If a condition fails, the theorem makes no promise. A suitable point might still exist for a particular function, but you would have to show it another way. In a written solution, state continuity and differentiability, say why your function has them, and then compute.

The theorem also does not say that c is unique, or that it sits at the middle of the interval. In the worked example the middle is 1, and c is about 1.1547.

5. What it is used for

One standard consequence: if a function's derivative is zero at each interior point of an interval, and the function is continuous on that interval, then it is constant there. Pick two points. The theorem makes their average slope equal to some derivative value, which is zero, so the two function values are equal.

6. Test yourself

For each case, say whether both conditions hold before computing anything: x² from 1 to 3; 1/x from −1 to 1; the square root of x from 0 to 4. Where they hold, find c. Then explain in two sentences why differentiability at an end point is not required. See also how to study for calculus and how to test yourself.

What the sources found, and their limits

Wikipedia, "Mean value theorem". It supports the statement and both conditions, the secant and tangent picture, the car illustration, Rolle's theorem as the special case, and the result that a zero derivative means a constant function. Source: Mean value theorem, read on 2026-11-26.

Wikibooks, "Calculus: Mean Value Theorem". It gives the same statement with continuity on the closed interval and differentiability on the open one. Source: Mean Value Theorem, read on 2026-11-26. Limits: the polynomial, the two failing examples and all figures are ours.

How Professor Turing helps

Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start. It's an AI tutor, free to try.

Bring the function and interval you are working on. Its first reply asks about your attempt, such as which conditions you checked, before it teaches anything, and if you send an answer with no steps it asks how you got there. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.

FAQ

Does the function need a derivative at the end points? No. It needs to be continuous at the end points and differentiable between them. The square root of x from 0 to 1 has no finite derivative at 0, and the theorem still applies to it.

Can there be more than one point c? Yes. The theorem promises at least one. A graph that bends several times can have several tangent lines parallel to the line through its end points.

Start with what you're working on

Tell the tutor which topic you are studying and let it ask you the questions.

Start learning No account needed

See also: what is a derivative · continuity and differentiability · all study guides