2.2Differentiable vs continuous
The idea
Differentiable ⇒ continuous, but a continuous function can still have a corner where no single tangent exists.
Think of it like this: A sharp turn of a road: you are still on the road (continuous), but there is no single direction at that instant.
Why it exists
GATE loves max, min and absolute-value functions because the corners hide at the crossing points.
How it works
- Find the points where the pieces change (where f = g for max/min).
- Compute the slope from the left and from the right.
- Differentiable only if the slopes are equal and finite.
- List every point that fails.
Worked example: GATE 2024
f(x) = max{x, x³} switches at x = −1, 0, 1. At −1 the slopes are 1 and 3; at 0 they are 0 and 1; at 1 they are 1 and 3. All three disagree, so f is not differentiable on {−1, 0, 1}.
Now play with it
- →Pick max{x, x³} and read the left/right slope columns.
- →Try x|x| to see a function that is differentiable at 0.
| x = a | f(a) | left slope | right slope | continuous? | differentiable? |
|---|---|---|---|---|---|
| -1 | -1 | 1 | 3 | yes | no |
| 0 | 0 | 0 | 1 | yes | no |
| 1 | 1 | 1 | 3 | yes | no |
The two pieces cross at −1, 0 and 1. At every crossing the slopes differ (1 vs 3 at ±1, and 0 vs 1 at 0), so f is not differentiable at {−1, 0, 1}. Differentiable needs continuous and equal left and right slopes. Continuity alone is not enough.
| Function at x = 0 | Continuous? | Differentiable? | Why |
|---|---|---|---|
| |x| | yes | no | corner: slopes −1 and +1 |
| x^{1/3} | yes | no | vertical tangent |
| x|x| | yes | yes | slope 0 both sides |
| sign(x) | no | no | jump |
| x² | yes | yes | smooth |
Differentiable ⇒ continuous. The converse is false. When a question says "differentiable everywhere", check the places where pieces join.
Check yourself
Which function is continuous but NOT differentiable at x = 0?
Exam notes (the dense version)
Differentiable ⇒ continuous, but not the other way round. A function fails to be differentiable at a corner (|x| at 0: slopes −1 and +1), a cusp or vertical tangent (x^{1/3} at 0), or a jump. For max{f, g} or min{f, g} look at the points where f = g and compare the two slopes: GATE 2024, f = max{x, x³} crosses at x = −1, 0, 1, with different slopes at each, so it is not differentiable exactly at {−1, 0, 1}.
Previous year questions: Differentiation & Mean Value Theorems (6)
PYQs are grouped by topic, so this is the full set for Differentiation & Mean Value Theorems; try the ones that match this subtopic. Open all 6 on the topic page.