When a Guarantee Is Lost
The Mean Value Theorem gives a guarantee: if a function is continuous on a closed interval \([a,b]\) and differentiable on the open interval \((a,b)\), then at some interior point its derivative equals the secant slope across the interval.
Both conditions matter. If continuity or differentiability fails, the theorem no longer guarantees that such a point exists. But this does not mean that the conclusion must be false. A matching point might still exist by coincidence; it simply cannot be inferred from the theorem.
This tutorial examines what can happen when one of the hypotheses fails. The most informative examples do more than note that a condition is missing: they calculate the secant slope, determine the derivatives at every relevant interior point, and check whether any derivative matches that slope.
A Discontinuity Can Leave No Matching Derivative
Worked Example: A Jump Discontinuity
Define \(f\) on \([-1,1]\) by $$ f(x)= \begin{cases} -1, & -1\le x<0,\\ 1, & 0\le x\le 1. \end{cases} $$ Find the secant slope from \(-1\) to \(1\), then determine whether any interior point satisfies the Mean Value Theorem’s conclusion.
First calculate the endpoint values: $$ f(-1)=-1,\qquad f(1)=1. $$ The interval length is $$ 1-(-1)=2. $$ Therefore the secant slope is $$ \frac{f(1)-f(-1)}{1-(-1)} =\frac{1-(-1)}{2} =\frac{2}{2} =1. $$
For \(-1<x<0\), the function is constant at \(-1\), so \(f'(x)=0\). For \(0<x<1\), it is constant at \(1\), so again \(f'(x)=0\). At \(x=0\), there is a jump from values of \(-1\) on the left to a value of \(1\) at zero, so \(f\) is discontinuous there and is not differentiable there.
Thus every point in \((-1,1)\) where the derivative exists has derivative \(0\), while the required secant slope is \(1\). Since \(0\ne1\), no \(c\in(-1,1)\) satisfies $$ f'(c)=\frac{f(1)-f(-1)}{1-(-1)}. $$ The theorem does not apply because \(f\) is not continuous on \([-1,1]\), and its conclusion is indeed false in this example.
As a check, the graph consists of two horizontal pieces, each with slope \(0\). Neither piece can have a tangent slope of \(1\), and the jump point has no derivative.
The secant line connects the endpoint values, but the function does not travel continuously between them. The conclusion that some tangent slope matches the overall change is therefore not forced. This example shows one possible consequence of a discontinuity; it does not establish that every discontinuous function lacks a matching point.
An Interior Corner Can Also Block the Conclusion
Worked Example: An Absolute-Value Corner
Let \(f(x)=|x|\) on \([-1,1]\). Determine whether an interior point has derivative equal to the secant slope.
At both endpoints, $$ f(-1)=|-1|=1,\qquad f(1)=|1|=1. $$ The interval length is \(1-(-1)=2\), so the secant slope is $$ \frac{f(1)-f(-1)}{1-(-1)} =\frac{1-1}{2} =\frac{0}{2} =0. $$
For \(-1<x<0\), \(f(x)=-x\), and therefore \(f'(x)=-1\). For \(0<x<1\), \(f(x)=x\), so \(f'(x)=1\). At \(x=0\), check the one-sided difference quotients: $$ \lim_{h\to0^-}\frac{|h|-|0|}{h} =\lim_{h\to0^-}\frac{-h}{h} =-1, \qquad \lim_{h\to0^+}\frac{|h|-|0|}{h} =\lim_{h\to0^+}\frac{h}{h} =1. $$ They are unequal, so \(f'(0)\) does not exist.
Every interior point other than zero has derivative either \(-1\) or \(1\); neither equals the secant slope \(0\). At zero the derivative is undefined. Consequently there is no \(c\in(-1,1)\) with \(f'(c)=0\).
The endpoint values are equal, so the secant line is horizontal. Yet the graph has a sharp bottom at the middle and has no horizontal tangent anywhere in the open interval. The function meets the continuity condition but fails the differentiability condition at the interior point \(0\). This is another case where the Mean Value Theorem’s conclusion fails.
Why the Hypotheses Are Tested on Different Parts of the Interval
The theorem asks for continuity on the entire closed interval \([a,b]\), including the endpoints, and differentiability at every point of the open interval \((a,b)\). These are distinct requirements. A break anywhere in the closed interval can violate continuity; a corner or other nondifferentiable point inside the interval can violate differentiability.
The secant slope uses only the two endpoint values. The proposed matching derivative, however, must occur at an interior point. A failure of continuity can disrupt the connection between endpoint change and interior behavior. A failure of differentiability can leave an interior point where a tangent slope cannot even be defined. The examples above show that these failures can prevent a match, but the missing condition alone does not prove that no match exists.
In particular, nondifferentiability at one point does not make the derivative unavailable everywhere else. Likewise, a discontinuous function may still have an ordinary derivative at many interior points. To decide whether the conclusion holds in a particular example, calculate the secant slope and inspect all interior points where the derivative exists.
A Failed Hypothesis Does Not Force a Failed Conclusion
Worked Example: A Discontinuity with a Matching Point
Define \(g\) on \([-1,1]\) by $$ g(x)= \begin{cases} 2, & x=0,\\ x, & x\ne0. \end{cases} $$ The function is discontinuous at zero, but check whether the Mean Value Theorem’s conclusion holds on \([-1,1]\).
The endpoint values are $$ g(-1)=-1,\qquad g(1)=1. $$ The secant slope is therefore $$ \frac{g(1)-g(-1)}{1-(-1)} =\frac{1-(-1)}{2} =\frac{2}{2} =1. $$
For any \(x\ne0\) in the open interval, \(g(x)=x\), so \(g'(x)=1\). In particular, choose \(c=\frac12\). Since \(\frac12\ne0\), $$ g'\left(\frac12\right)=1 =\frac{g(1)-g(-1)}{1-(-1)}. $$
To verify the failed condition, \(g(0)=2\), whereas \(g(x)=x\) for \(x\ne0\). As \(x\) approaches zero, the values \(g(x)=x\) approach \(0\), not \(g(0)=2\). Thus \(g\) is discontinuous at zero, and the Mean Value Theorem cannot be applied. Nevertheless, the required equality happens to hold at \(c=\frac12\).
This example confirms the logical distinction: the theorem says that its hypotheses guarantee a conclusion. It does not say that those hypotheses are necessary for the conclusion to happen in an individual case.
A Reliable Way to Analyze a Failed-Hypothesis Example
When one of the hypotheses fails, do not try to decide the conclusion from the failure alone. Use a direct check. First compute the endpoint secant slope. Then find the derivative wherever it exists in the open interval. Finally compare the derivative values with the secant slope, remembering that a nondifferentiable point cannot serve as \(c\).
Use \(\frac{f(b)-f(a)}{b-a}\), with the endpoint values and interval length shown explicitly.
Check continuity on \([a,b]\) and differentiability at each point of \((a,b)\).
Determine whether some interior point where \(f'\) exists has derivative equal to the target slope.
Say whether a matching point exists in this example, and separately whether the theorem applies.
Common Mistake: Treating Inapplicability as a Contradiction
A common error is to reason, “The function is discontinuous, so the Mean Value Theorem says there is no matching point.” That is not what the theorem says. The theorem makes no guarantee when its hypotheses fail. Example 3 demonstrates that a matching point may still exist.
A different error is to overlook a point where the derivative does not exist. For \(f(x)=|x|\), the secant slope on \([-1,1]\) is \(0\). It would be incorrect to claim that \(c=0\) works simply because the corner is centered between the endpoints: \(f'(0)\) is undefined, not \(0\). The correction is to compare the actual derivative values, \(-1\) on \((-1,0)\) and \(1\) on \((0,1)\), with the target slope \(0\). Neither matches, and zero itself is not an eligible point.
Check Your Understanding
For each question, distinguish carefully between whether the theorem applies and whether its conclusion is true for the particular function.
- For the jump function in Worked Example 1, what is the secant slope, and what derivative values occur at interior points where the derivative exists?
- For \(f(x)=|x|\) on \([-1,1]\), why can \(c=0\) not serve as a Mean Value Theorem point?
- If a function is discontinuous at an interior point but a matching derivative exists elsewhere, does that allow the Mean Value Theorem to be applied? Explain.
- For the function \(g\) in Worked Example 3, identify the point \(c\) that satisfies the derivative-slope equality.
- State the two hypotheses of the Mean Value Theorem and specify the interval on which each is required.