Question
Determine if is continuous and differentiable everywhere. Identify the points where it is not differentiable.
Solution — Step by Step
Both and are continuous everywhere (absolute values are always continuous). Sum of continuous functions is continuous. So is continuous on .
Absolute value is not differentiable at . Candidates: and .
For slightly less than 1: , slope .
For slightly more than 1 (but less than 2): , slope .
Left derivative right derivative → not differentiable at .
For slightly less than 2 (but more than 1): , slope .
For slightly more than 2: , slope .
Left derivative right derivative → not differentiable at .
For , is a sum of differentiable functions, hence differentiable.
Final answer: is continuous on , differentiable on .
Why This Works
Absolute value functions have “corners” at the points where their argument is zero — these are the only candidates for non-differentiability. Sum of corners is just more corners (or smooth, if they happen to cancel, which they don’t here).
The function is piecewise linear with three pieces: slope for , slope for , slope for . Slopes change discontinuously at and , so derivatives don’t exist there.
Alternative Method
Sketch the graph. is V-shaped, with minimum value on the entire interval . Two corners at and make it non-differentiable there.
For piecewise functions involving absolute values, draw the graph mentally. Corners = non-differentiable points. Smooth pieces = differentiable.
Common Mistake
Concluding non-differentiability from continuity failure. Differentiability is stronger than continuity. If is continuous, it might or might not be differentiable. Continuity does not guarantee differentiability — corners are continuous but not differentiable.
Computing only one-sided derivatives and not comparing. You must show that left and right derivatives differ to declare non-differentiability — or that the limit defining the derivative does not exist.