Q.Does there exist a function which is continuous everywhere but not differentiable at exactly two points? Justify your answer.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →Yes — for example is continuous everywhere but not differentiable at exactly the two points and .
Differentiability is a stricter requirement than continuity: a function can be unbroken (continuous) yet still have a sharp corner at isolated points, where no single tangent line exists. The absolute value function is the standard example of one corner, at . To get exactly two non-differentiable points, add together two absolute-value functions with corners at two different locations.
Step 1 — Construct the function.
Let , which has potential corners at (from ) and (from ).
Step 2 — Continuity.
Each of and is continuous on (absolute value of a continuous function is continuous), so their sum is continuous everywhere, by the algebra of continuous functions.
Step 3 — Write piecewise.
Step 4 — Check differentiability at .
Left-hand derivative (from the piece ): slope . Right-hand derivative (from the piece, constant ): slope . Since , is not differentiable at .
Step 5 — Check differentiability at . …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.