← Back to learning objective

Checking MVT hypotheses for an absolute value function

Consider the function f(x)=∣x−2∣f(x) = |x-2| on the closed interval [0,5][0,5].

The Mean Value Theorem states that if ff is continuous on [a,b][a,b] and differentiable on (a,b)(a,b), then there exists some cc in (a,b)(a,b) such that f′(c)=f(b)−f(a)b−af'(c) = \dfrac{f(b)-f(a)}{b-a}.

Consider f(x)=∣x−2∣f(x) = |x-2| on [0,5][0,5].

Checking MVT hypotheses for an absolute value function graph

Explain why the Mean Value Theorem does not guarantee the existence of a point c∈(0,5)c \in (0,5) with f′(c)=f(5)−f(0)5−0f'(c) = \dfrac{f(5)-f(0)}{5-0}. In your explanation, identify which hypothesis of the MVT fails and state where on the interval it fails.

Hint

Check both required conditions of the MVT separately: is ff continuous everywhere on [0,5][0,5], and is ff differentiable everywhere on (0,5)(0,5)? Recall that ∣x−2∣|x-2| has a sharp corner at x=2x=2.

Step-by-step solution

The function f(x)=∣x−2∣f(x) = |x-2| can be written piecewise as f(x)=−(x−2)f(x) = -(x-2) for x<2x<2 and f(x)=x−2f(x) = x-2 for x≥2x \ge 2. This function is continuous everywhere, including on [0,5][0,5], since the two pieces meet at x=2x=2 with the same value f(2)=0f(2)=0. So the continuity hypothesis of the MVT is satisfied.

However, differentiability fails at x=2x=2: the left-hand derivative is −1-1 and the right-hand derivative is +1+1, so f′(2)f'(2) does not exist. Since 22 lies in the open interval (0,5)(0,5), ff is not differentiable on all of (0,5)(0,5). Because this hypothesis of the MVT fails, the theorem simply does not apply here — it makes no claim about existence of cc, and indeed no such cc works, since f′(x)=±1f'(x) = \pm 1 everywhere it's defined but the secant slope is f(5)−f(0)5−0=3−25=15≠±1\frac{f(5)-f(0)}{5-0} = \frac{3-2}{5} = \frac{1}{5} \ne \pm 1.

Location of the differentiability failure

Hint
Step-by-step solution

The answer is x equals two. The function f of x equals the absolute value of x minus two has a sharp corner exactly at x equals two, where the left-hand derivative is negative one and the right-hand derivative is positive one. Since these one-sided derivatives disagree, the derivative does not exist at that point. This is the specific location inside the interval where the differentiability hypothesis of the Mean Value Theorem breaks down.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap