The endpoints are (−1,1) and (2,2), so the secant slope is 1/3.
2−(−1)∣2∣−∣−1∣=31
2
Look at the derivative
f′(x)=−1 for x<0 and 1 for x>0, and f′(0) does not exist. No c gives 1/3.
3
Find the failed condition
∣x∣ is continuous on [−1,2] but not differentiable at 0, which lies inside the interval. The theorem does not apply, and here its conclusion fails too.
Result
No. ∣x∣ is not differentiable at 0, and no c has f′(c)=1/3.
Your turn
1. One like the example
Does Rolle’s theorem apply to f(x)=1/x2 on [−1,1]?
Show the answer and explanation
No. f is not continuous at 0.
f(−1)=f(1)=1, but 1/x2 is undefined at 0, inside the interval. The conclusion fails as well, because f′(x)=−2/x3 is never 0.
f(x)=x21f′(x)=−x32f(−1)=1f(1)=1
2. A variation
The function f(x)=3√x2, also written x2/3, has f(−1)=f(1)=1. Does Rolle’s theorem apply on [−1,1], and is there a horizontal tangent? This time f is continuous.
Show the answer and explanation
No. f has a cusp at 0, and f′ is never 0.
f is continuous on [−1,1], so continuity is not the problem. Its derivative f′(x)=(2/3)x−1/3 does not exist at 0, where the graph has a cusp. Elsewhere f′ is never 0, so there is no horizontal tangent. Write f with the cube root, as here, and Chalk checks both values and the row f′(x)=2/(33√x).
f(x)=3√x2f(−1)=1f(1)=1f′(x)=33√x2
3. Somewhere new
tan0=0 and tanπ=0. Does Rolle’s theorem promise a c in (0,π) with a horizontal tangent to y=tanx?
Show the answer and explanation
No. tanx is undefined at π/2, and its slope sec2x is never 0.
tanx is not continuous on [0,π], because it has a vertical asymptote at π/2. The theorem makes no promise, and indeed f′(x)=sec2x is at least 1 wherever it exists.
f(x)=tanxf′(x)=sec2xf(0)=0f(π)=0
Keep exploring
In Graph, no tangent to y=∣x∣ is parallel to the secant through (−1,1) and (2,2). On [1,2] the theorem applies: the secant slope is 1, which every tangent there matches.