Quick answer: f is differentiable at a if exists, that is, the left-hand derivative equals the right-hand derivative . Differentiability implies continuity, but not the other way round: is continuous at 0 but has LHD = −1 and RHD = 1, so it is not differentiable there.
This continues from continuity of functions.
Derivative from first principles
Geometrically, f′(a) is the slope of the tangent to y = f(x) at x = a.
Left and right hand derivatives
| Derivative | Formula |
|---|---|
| LHD at a | |
| RHD at a | |
| Differentiable | LHD = RHD (finite) |
Differentiability and continuity
| Statement | True? |
|---|---|
| Differentiable at a ⇒ continuous at a | Yes |
| Continuous at a ⇒ differentiable at a | No |
| Not continuous ⇒ not differentiable | Yes |
So when testing differentiability, check continuity first; a discontinuous function cannot be differentiable.
Where differentiability usually fails
| Situation | Example |
|---|---|
| Corner (sharp turn) | at 0 |
| Vertical tangent | at 0 |
| Discontinuity | at integers |
| Join of a piecewise function with unequal slopes | at 0 and 1 |
Standard cases
| Function | Not differentiable at |
|---|---|
| Nowhere (differentiable everywhere) | |
| Every integer |
A quick rule: can fail to be differentiable only where , and fails there when at that point.
Worked examples
Example 1: modulus function
Check at .
RHD ; LHD . Not differentiable.
Example 2: x|x|
Check at 0.
RHD and LHD . Differentiable, with .
Example 3: piecewise constants
for and for . Find a, b for differentiability at 1.
Step 1: Continuity: .
Step 2: Equal derivatives: .
Answer: , .
Example 4: counting points
Find the points where is not differentiable.
at , and the derivative is non-zero at both. So f fails at and .
Example 5: first principles
Find the derivative of from first principles.
Summary table
| Idea | Key result |
|---|---|
| Differentiable | LHD = RHD |
| Differentiable ⇒ continuous | Always |
| Continuous ⇒ differentiable | Not always |
| at 0 | LHD −1, RHD 1 |
| Piecewise | Match values and slopes at the join |
Exam tips
- For piecewise functions, write two equations: one for continuity and one for equal slopes.
- Sketching the graph shows corners and jumps at a glance.
- with is differentiable at 0.
Next, learn the chain rule and implicit and parametric differentiation, or see the NIMCET Calculus chapter.
Common mistakes
- Concluding differentiability from continuity.
- Checking only the slope condition at a join and ignoring continuity.
- Forgetting the minus sign in the LHD formula.
- Assuming every modulus function has a corner at its zero.
Frequently Asked Questions
When is a function differentiable at a point?
When its left-hand and right-hand derivatives at that point exist and are equal.
Is every continuous function differentiable?
No. For example, |x| is continuous at 0 but not differentiable there.
Is every differentiable function continuous?
Yes. Differentiability at a point implies continuity at that point.
Why is |x| not differentiable at 0?
Its left-hand derivative is −1 and its right-hand derivative is 1, so they are unequal.
What is the derivative from first principles?
f′(x) = lim (h → 0) [f(x + h) − f(x)]/h.