Question
Show that is continuous at but not differentiable at .
Solution — Step by Step
This piecewise form is essential — it lets us check left-hand and right-hand limits separately.
For to be continuous at , we need:
Left-hand limit:
Right-hand limit:
Value at x = 0:
Since LHL = RHL = f(0) = 0, is continuous at . ✓
For differentiability, we need:
This means the left-hand derivative (LHD) must equal the right-hand derivative (RHD).
RHD (h → 0⁺):
LHD (h → 0⁻):
Since LHD = = RHD, the derivative does not exist at .
is NOT differentiable at .
This is reflected geometrically: the graph of has a sharp corner (or “kink”) at the origin. A function is differentiable where its graph is smooth — at a corner, the tangent line is not uniquely defined.
Why This Works
Continuity asks: “Does the function value agree with the limit?” — it’s about the y-values matching.
Differentiability asks a sharper question: “Does the function have a well-defined tangent slope?” — it’s about the rate of change approaching from both sides.
For , approaching from the right the slope is +1 (the function is ), but from the left the slope is -1 (the function is ). These disagree at the corner, so no derivative exists.
The key theorem: Differentiability implies continuity, but continuity does NOT imply differentiability. at is the classic example of this gap.
Common Mistake
Students often stop at showing continuity and forget the second part (non-differentiability). Or they compute and say “derivative at 0 is undefined” without showing the LHD/RHD mismatch. For CBSE Class 12 board exams, the examiner wants to see both LHD and RHD calculated explicitly, with the conclusion that LHD ≠ RHD.