At x = 2, the function f(x) = |x − 2| is:
Adifferentiable but not continuous
Bcontinuous but not differentiable
Cboth continuous and differentiable
Dneither continuous nor differentiable
Show answer & solution
Correct answer: B. continuous but not differentiable
Solution: The limit of |x − 2| as x → 2 is 0 = f(2), so f is continuous there. The right-hand derivative is +1 and the left-hand derivative is −1; they differ, so f is not differentiable at x = 2.