Grade 11 calculus lesson
Mean Value Theorem: Formula, Conditions, and Step-by-Step Examples
The Mean Value Theorem says that under the right smoothness conditions, a function has at least one tangent slope equal to its average slope over an interval.
What is the Mean Value Theorem?
The Mean Value Theorem, often shortened to MVT, connects two ideas from calculus: average rate of change over an interval and instantaneous rate of change at a point.
It says that if a function is smooth enough on an interval, then somewhere inside that interval the tangent slope must equal the slope of the secant line through the endpoints.
In plain language: if a trip averages \(60\) miles per hour from start to finish, then at least once during the trip the instant speed must be \(60\) miles per hour, as long as the position function is continuous and differentiable in the right places.
Mean Value Theorem formula
If \(f\) is continuous on the closed interval \([a,b]\) and differentiable on the open interval \((a,b)\), then there is at least one number \(c\) in \((a,b)\) such that:
\[ f'(c)=\frac{f(b)-f(a)}{b-a} \]
The expression \(\frac{f(b)-f(a)}{b-a}\) is the average rate of change from \(x=a\) to \(x=b\).
The value \(f'(c)\) is the instantaneous rate of change at \(x=c\).
The theorem does not always tell you only one value of \(c\). It guarantees at least one such value, and some functions have more than one.
Conditions you must check first
The Mean Value Theorem only applies when both conditions are true.
Condition 1: \(f\) must be continuous on the entire closed interval \([a,b]\). That includes both endpoints.
Condition 2: \(f\) must be differentiable on the open interval \((a,b)\). The endpoints do not need derivatives for MVT.
If either condition fails, the theorem cannot be used. The conclusion might still happen by chance, but MVT no longer guarantees it.
| Question | What to check | Why it matters |
|---|---|---|
| Is \(f\) continuous on \([a,b]\)? | No gaps, jumps, holes, or vertical asymptotes on the closed interval. | The secant-line comparison needs an unbroken curve from endpoint to endpoint. |
| Is \(f\) differentiable on \((a,b)\)? | No corners, cusps, vertical tangents, or breaks inside the interval. | The theorem needs tangent slopes inside the interval. |
| Is \(b-a\neq 0\)? | The interval must have two different endpoints. | The average rate formula divides by \(b-a\). |
| Is \(c\) inside the interval? | The final answer must satisfy \(a | MVT guarantees an interior point, not an endpoint. |
Geometric meaning
Draw the secant line through the two endpoint points \((a,f(a))\) and \((b,f(b))\). Its slope is:
\[ m_{\text{secant}}=\frac{f(b)-f(a)}{b-a} \]
The Mean Value Theorem says that somewhere between \(a\) and \(b\), the graph has a tangent line parallel to that secant line.
Parallel lines have equal slopes, so the tangent slope \(f'(c)\) equals the secant slope.
This is why MVT is often introduced after the derivative rules lesson: you need derivatives to find the tangent slope.
Step-by-step method
Step 1: Check that \(f\) is continuous on \([a,b]\).
Step 2: Check that \(f\) is differentiable on \((a,b)\).
Step 3: Compute the average rate of change \(\frac{f(b)-f(a)}{b-a}\).
Step 4: Find \(f'(x)\).
Step 5: Set \(f'(c)\) equal to the average rate and solve for \(c\).
Step 6: Keep only values of \(c\) that lie inside \((a,b)\).
Example 1: quadratic function
Problem: Verify the Mean Value Theorem for \(f(x)=x^2\) on \([1,3]\), then find \(c\).
Step 1: The function \(f(x)=x^2\) is a polynomial, so it is continuous on \([1,3]\) and differentiable on \((1,3)\). MVT applies.
Step 2: Find the average rate of change.
\[ \frac{f(3)-f(1)}{3-1}=\frac{9-1}{2}=\frac{8}{2}=4 \]
Step 3: Find the derivative.
\[ f'(x)=2x \]
Step 4: Set \(f'(c)=4\).
\[ 2c=4 \]
\[ c=2 \]
Step 5: Check the interval. Since \(1
Answer: \(c=2\).
Example 2: cubic function with two possible points
Problem: Use MVT for \(f(x)=x^3-3x\) on \([-2,2]\).
Step 1: This is a polynomial, so it is continuous on \([-2,2]\) and differentiable on \((-2,2)\).
Step 2: Calculate the average rate of change.
\[ f(2)=2^3-3(2)=8-6=2 \]
\[ f(-2)=(-2)^3-3(-2)=-8+6=-2 \]
\[ \frac{f(2)-f(-2)}{2-(-2)}=\frac{2-(-2)}{4}=\frac{4}{4}=1 \]
Step 3: Differentiate.
\[ f'(x)=3x^2-3 \]
Step 4: Solve \(f'(c)=1\).
\[ 3c^2-3=1 \]
\[ 3c^2=4 \]
\[ c^2=\frac{4}{3} \]
\[ c=\pm \frac{2}{\sqrt{3}}=\pm \frac{2\sqrt{3}}{3} \]
Step 5: Both values are between \(-2\) and \(2\), so both are valid.
Answer: \(c=-\frac{2\sqrt{3}}{3}\) and \(c=\frac{2\sqrt{3}}{3}\).
Example 3: square root function
Problem: Find the MVT value for \(f(x)=\sqrt{x}\) on \([1,4]\).
Step 1: The square root function is continuous on \([1,4]\) and differentiable on \((1,4)\). MVT applies.
Step 2: Find the average rate.
\[ \frac{f(4)-f(1)}{4-1}=\frac{2-1}{3}=\frac{1}{3} \]
Step 3: Differentiate.
\[ f'(x)=\frac{1}{2\sqrt{x}} \]
Step 4: Set the derivative equal to the average rate.
\[ \frac{1}{2\sqrt{c}}=\frac{1}{3} \]
Step 5: Solve.
\[ 2\sqrt{c}=3 \]
\[ \sqrt{c}=\frac{3}{2} \]
\[ c=\frac{9}{4} \]
Step 6: Since \(1
Answer: \(c=\frac{9}{4}\).
Example 4: trigonometric function
Problem: Apply MVT to \(f(x)=\sin x\) on \([0,\pi]\).
Step 1: The sine function is continuous and differentiable for all real numbers, so MVT applies.
Step 2: Find the average rate of change.
\[ \frac{f(\pi)-f(0)}{\pi-0}=\frac{\sin \pi-\sin 0}{\pi}=\frac{0-0}{\pi}=0 \]
Step 3: Differentiate.
\[ f'(x)=\cos x \]
Step 4: Solve \(f'(c)=0\).
\[ \cos c=0 \]
On the interval \((0,\pi)\), this happens at:
\[ c=\frac{\pi}{2} \]
Answer: \(c=\frac{\pi}{2}\).
Example 5: logarithmic function
Problem: Use MVT for \(f(x)=\ln x\) on \([1,e]\).
Step 1: The natural logarithm is continuous and differentiable for \(x>0\). Since \([1,e]\) stays positive, MVT applies.
Step 2: Compute the average rate.
\[ \frac{f(e)-f(1)}{e-1}=\frac{\ln e-\ln 1}{e-1}=\frac{1-0}{e-1}=\frac{1}{e-1} \]
Step 3: Differentiate.
\[ f'(x)=\frac{1}{x} \]
Step 4: Set \(f'(c)\) equal to the average rate.
\[ \frac{1}{c}=\frac{1}{e-1} \]
\[ c=e-1 \]
Step 5: Check the interval. Since \(1
Answer: \(c=e-1\).
Example 6: when MVT does not apply
Problem: Can MVT be applied to \(f(x)=|x|\) on \([-1,1]\)?
Step 1: The function \(f(x)=|x|\) is continuous on \([-1,1]\).
Step 2: Check differentiability on \((-1,1)\). The graph has a sharp corner at \(x=0\), so \(f\) is not differentiable at \(0\).
Because \(0\) is inside the interval, the differentiability condition fails.
Conclusion: The Mean Value Theorem does not apply on \([-1,1]\).
Notice that the average rate is \(0\), but there is no interior point where the derivative equals \(0\), because the derivative is \(-1\) on the left side and \(1\) on the right side.
Example 7: a discontinuity breaks the theorem
Problem: Can MVT be applied to \(f(x)=\frac{1}{x}\) on \([-1,1]\)?
The function is not defined at \(x=0\), so it is not continuous on \([-1,1]\).
Since continuity on the whole closed interval fails, MVT cannot be used.
This example shows why checking conditions must come before using the formula. A vertical asymptote inside the interval breaks the theorem immediately.
Rolle's theorem as a special case
Rolle's theorem is a special case of the Mean Value Theorem.
If \(f\) is continuous on \([a,b]\), differentiable on \((a,b)\), and \(f(a)=f(b)\), then there is at least one \(c\) in \((a,b)\) such that:
\[ f'(c)=0 \]
Why? If \(f(a)=f(b)\), then the average rate of change is:
\[ \frac{f(b)-f(a)}{b-a}=0 \]
So MVT gives \(f'(c)=0\). Geometrically, the secant line is horizontal, so at least one tangent line inside the interval is also horizontal.
How to confirm your answer
A correct MVT answer should pass three checks.
Condition check: The function must be continuous on \([a,b]\) and differentiable on \((a,b)\).
Equation check: Substituting \(c\) into \(f'(x)\) should give \(\frac{f(b)-f(a)}{b-a}\).
Interval check: The value \(c\) must satisfy \(a
Common mistakes
Do not forget to check the conditions before solving for \(c\). The formula is only justified after continuity and differentiability are confirmed.
Do not use \(f(b)-f(a)\) alone. The average rate of change is \(\frac{f(b)-f(a)}{b-a}\), so the denominator matters.
Do not keep values of \(c\) outside the open interval. MVT requires \(c\in(a,b)\).
Do not assume there is always exactly one value of \(c\). Some functions produce two or more valid points.
Do not confuse the secant slope with the tangent slope. MVT says they become equal at at least one interior point, not everywhere.
Practice questions
1. Find the MVT value for \(f(x)=x^2+2x\) on \([0,2]\).
2. Find all MVT values for \(f(x)=x^3\) on \([-1,2]\).
3. Decide whether MVT applies to \(f(x)=\sqrt{x-1}\) on \([1,5]\).
4. Find the MVT value for \(f(x)=\cos x\) on \([0,\frac{\pi}{2}]\).
5. Explain why MVT does not apply to \(f(x)=|x-2|\) on \([1,3]\).
Practice answers
1. The average rate is \(\frac{f(2)-f(0)}{2-0}=\frac{8-0}{2}=4\). Since \(f'(x)=2x+2\), solve \(2c+2=4\), so \(c=1\).
2. The average rate is \(\frac{8-(-1)}{2-(-1)}=3\). Since \(f'(x)=3x^2\), solve \(3c^2=3\), so \(c=\pm 1\). Only \(c=1\) lies inside \((-1,2)\), so the answer is \(c=1\).
3. The function is continuous on \([1,5]\), but \(f'(x)=\frac{1}{2\sqrt{x-1}}\) is not defined at \(x=1\). That is an endpoint, not an interior point, so MVT does apply because differentiability is only required on \((1,5)\).
4. The average rate is \(\frac{\cos(\frac{\pi}{2})-\cos 0}{\frac{\pi}{2}-0}=\frac{0-1}{\frac{\pi}{2}}=-\frac{2}{\pi}\). Since \(f'(x)=-\sin x\), solve \(-\sin c=-\frac{2}{\pi}\), so \(\sin c=\frac{2}{\pi}\). Thus \(c=\arcsin(\frac{2}{\pi})\), which lies in \((0,\frac{\pi}{2})\).
5. The function \(f(x)=|x-2|\) has a corner at \(x=2\), and \(2\) is inside \((1,3)\). It is not differentiable on the whole open interval, so MVT does not apply.
Final idea
The Mean Value Theorem is not just a formula for finding \(c\). It is a guarantee about smooth functions.
When the graph is continuous from \(a\) to \(b\) and differentiable between them, the function must have at least one instant where the tangent slope matches the overall average slope.
That single statement is used throughout calculus to connect graphs, derivatives, motion, increasing and decreasing behavior, and proof-based reasoning.