The absolute value function f(x) = |x| outputs the distance of x from zero, so it's continuous everywhere but has a sharp corner where its derivative does not exist. On the AP Calculus exam it's the go-to counterexample for why the Mean Value Theorem needs differentiability, not just continuity.
The absolute value function takes any input and returns its distance from zero, so f(x) = |x| gives 3 for both 3 and -3. You can also write it as a piecewise function. It equals x when x is at or above zero, and -x when x is below zero. Its graph is a V shape with a sharp corner at the vertex.
That corner is the whole story in AP Calc. The function is continuous everywhere (you can draw it without lifting your pencil), but at the corner the slope jumps instantly from -1 to +1. There is no single tangent line there, so the derivative does not exist at that point. Shifted versions like f(x) = |x - 2| just move the corner, in this case to x = 2. Whenever an interval contains the corner, differentiability fails on that interval, and that's exactly the trap the exam sets.
This term lives in Topic 5.1, Using the Mean Value Theorem, in Unit 5 (Analytical Applications of Differentiation). Learning objective 5.1.A asks you to justify conclusions using the MVT, and FUN-1.B.1 spells out the two hypotheses you must check first. The function has to be continuous on the closed interval [a, b] AND differentiable on the open interval (a, b). The absolute value function is the cleanest example of a function that passes the first check and fails the second. If the corner sits inside (a, b), the MVT gives you no guarantee at all, even though the function looks perfectly tame. AP loves testing whether you actually verify hypotheses instead of just applying the theorem on autopilot, and |x - 2| is how they do it.
Keep studying AP Calculus Unit 5
Visual cheatsheet
view galleryPiecewise Function (Unit 1)
The absolute value function IS a piecewise function in disguise. Rewriting |x - 2| as two linear pieces that meet at x = 2 is often the fastest way to see why the slope jumps from -1 to 1 at the corner.
Tangent Line (Unit 2)
Differentiability means a unique tangent line exists at a point. At the corner of |x|, the left side wants a tangent of slope -1 and the right side wants slope 1, so no single tangent line works and the derivative fails.
Rolle's Theorem (Unit 5)
Rolle's Theorem is the special case of the MVT where the endpoint values are equal, and it requires the same differentiability hypothesis. f(x) = |x| on [-1, 1] has equal endpoints but no point where f'(c) = 0, because the corner at zero breaks the theorem's conditions.
Closed Interval (Unit 5)
The MVT splits its demands between interval types. Continuity is needed on the closed interval [a, b], but differentiability only on the open interval (a, b). For an absolute value function, what matters is whether the corner lands inside that open interval.
Expect the absolute value function in multiple-choice questions about MVT hypotheses. A typical stem gives you f(x) = |x - 2| on an interval like [-1, 5] or [0, 4] and asks whether the Mean Value Theorem applies, or which hypothesis fails. The move is always the same. First confirm continuity on the closed interval (absolute value functions are always continuous). Then locate the corner and check whether it falls inside the open interval. If it does, differentiability fails and the MVT does not apply. No released FRQ has centered on this term by name, but FRQ justifications that invoke the MVT must state both hypotheses, and an absolute value piece inside a function is a red flag that one of them might not hold.
The big trap is assuming continuous and differentiable mean the same thing. Differentiability implies continuity, but not the other way around, and |x| is the standard proof. It's continuous at zero, yet the corner means no derivative exists there. When a question says a function is continuous on [a, b], that alone does NOT let you use the MVT. You still have to check for corners, cusps, or vertical tangents inside (a, b).
The absolute value function f(x) = |x| returns a number's distance from zero and graphs as a V with a sharp corner at its vertex.
It is continuous everywhere but not differentiable at the corner, because the slope jumps instantly (from -1 to 1 for |x|) with no single tangent line.
Shifted versions like |x - 2| just move the corner, so always find where the inside expression equals zero before checking differentiability.
The Mean Value Theorem requires continuity on [a, b] and differentiability on (a, b), and the absolute value function is the classic example that passes the first condition but fails the second.
If the corner falls inside the open interval, the MVT gives no guarantee, even though the function is continuous on the whole closed interval.
In MVT justifications, always check for corners before applying the theorem; 'continuous' alone is never enough.
It's the function f(x) = |x| that returns a number's distance from zero, so both 3 and -3 map to 3. In AP Calc it matters because its V-shaped graph has a corner where the derivative does not exist.
Not everywhere. f(x) = |x| is differentiable at every point except its corner at x = 0, where the slope jumps from -1 to 1. Shifted versions like |x - 2| fail at x = 2 instead.
Only if the corner is outside the open interval. For f(x) = |x - 2| on [0, 4], the corner at x = 2 sits inside (0, 4), so the differentiability hypothesis fails and the MVT does not apply.
No, and the absolute value function is the standard counterexample. |x| is continuous at x = 0 but not differentiable there. The implication only runs one way, since differentiable functions are always continuous.
An absolute value function is a specific piecewise function whose two linear pieces meet at a corner, like |x - 2| splitting into -(x - 2) for x < 2 and x - 2 for x ≥ 2. General piecewise functions can have any pieces and might be smooth or even discontinuous where they meet.