Differentiability of functions
A continuous graph can still have a sharp corner — think of at the origin, where the pen never lifts but the direction suddenly flips. Differentiability is the sharper question: does the graph have one well-defined, non-vertical tangent line at a point, with no kink and no vertical spike? This idea sits at the heart of the Continuity and Differentiability chapter of Class 12, right after continuity has been nailed down. The tool that answers the question is the first-principles derivative, built from a limit of a difference quotient, split into a left-hand and a right-hand version. When those two one-sided limits exist and agree, the function is differentiable there, and every later technique in the chapter — chain rule, implicit differentiation, logarithmic differentiation, parametric and second-order derivatives — is built on this single definition. This article walks through the definition, proves the key theorem linking differentiability to continuity, and works the classic example end to end.
A function is differentiable at exactly when its left-hand and right-hand derivatives both exist and are equal, and this differentiability is strictly stronger than mere continuity — every differentiable function is continuous, but a continuous function can still have a corner where no derivative exists.
The core idea
Differentiability from first principles. A function is differentiable at if the following limit exists:
where: is the derivative of at (the instantaneous rate of change), is a small increment added to , and the fraction is the difference quotient — the slope of the chord joining and . As that chord slope settles down to the slope of the tangent line, if the limit exists at all.
Splitting into one-sided derivatives. Because a two-sided limit exists only when both one-sided limits exist and agree, the same idea splits into a left-hand derivative (Lf') and a right-hand derivative (Rf'):
where: means approaches zero through negative values only, and means through positive values only. The function is differentiable at if and only if and both exist and are equal; that common value is then .
The linking theorem. Differentiability and continuity are related but not identical: differentiability is the stronger condition. Every differentiable function is continuous, but a continuous function need not be differentiable — the graph can be unbroken yet still have a corner.
Geometric picture. Differentiability at a point means the graph has a single, well-defined, non-vertical tangent line there. A corner — where the tangent direction from the left disagrees with the tangent direction from the right — is continuous but not differentiable.
Prove that if is differentiable at , meaning exists as a finite number, then must also be continuous at , meaning , and use this argument to explain why the converse implication can fail for a function such as .
Step 1. Start from the assumption that exists as a finite limit:
This is the given hypothesis — the difference quotient settles down to a definite finite number as , from both sides.
Step 2. Rewrite as the difference quotient multiplied back by , valid for every :
This algebraic rearrangement is the whole trick — it turns the quantity we want to control, , into a product of two pieces whose limits we already understand separately.
Step 3. Take the limit of both sides as , using the product rule for limits (the limit of a product is the product of the limits, when both exist):
Since is a finite number by hypothesis, multiplying it by the vanishing factor forces the whole product to vanish.
Step 4. Conclude that , which is exactly the definition of continuity at . So differentiability at a point always forces continuity there — this is one-directional only. The converse fails precisely because continuity only guarantees the numerator shrinks to zero; it says nothing about the rate, and a sharp corner is a case where the numerator shrinks to zero along two different rates depending on the direction of approach, so the ratio in Step 1 never settles to a single value.
Worked example
Show that is continuous at but not differentiable at , then find for using the same first-principles definition.
Step 1 (continuity check). . As , ; as , . Both one-sided limits equal , so is continuous at .
Step 2 (left-hand derivative). For near , since is negative, and :
Step 3 (right-hand derivative). For near , :
Comparing, , so is not differentiable at , even though it is continuous there — exactly the gap the theorem above predicts.
Competitive stretch
Step 4 (a genuinely differentiable case, for contrast). Take and find from first principles. Write and , so
Here the left-hand and right-hand limits both equal automatically, since is a single continuous expression with no absolute value or piecewise split — which is exactly why has no corner and is differentiable everywhere, unlike at the origin.
Final answer: is continuous but not differentiable at (Lf'(0) = -1, Rf'(0) = 1), while for .
Common traps
- Assuming continuity guarantees differentiability. This is the single most common conceptual error in the chapter — always keep at in mind as the standard counterexample.
- Getting the sign of wrong when computing one-sided derivatives: for , , not ; mixing this up flips the sign of the left-hand derivative.
- Plugging in too early. Substituting before simplifying the difference quotient gives the indeterminate form , not the answer — the algebra in Step 2/3 of the worked example must be done first.
- Confusing "the derivative exists" with "the derivative is zero." Differentiability is about the existence of the limit, not about its numerical size; a function can be differentiable everywhere with a large nonzero derivative.
Ask the tutor: Ask the AI tutor to sketch and side by side and trace how the left-hand and right-hand tangent lines behave at the origin for each.
Why does a sharp corner stop a function from being differentiable, even if it is continuous there?
Differentiability needs a single, well-defined tangent direction at the point. At a corner, the graph approaches from the left with one slope and from the right with a different slope, so the left-hand and right-hand derivatives disagree. Continuity only requires the graph to have no break or jump in height — it says nothing about matching slopes, which is exactly the extra condition differentiability adds.
Is every continuous function differentiable somewhere, or can it fail everywhere?
For Class 12 purposes, focus on functions with finitely many corners, like piecewise or absolute-value expressions, where differentiability fails only at those specific corner points and holds everywhere else. (Pathological continuous-but-nowhere-differentiable functions exist in higher mathematics, but they are well beyond this syllabus — you will only be tested on locating corners in simple piecewise graphs.)
Do I always need to check both continuity and differentiability separately, or does one check suffice?
Always check continuity as a quick first filter: if a function is not continuous at a point, it automatically cannot be differentiable there, so you can stop immediately (the theorem's contrapositive). But if it passes the continuity check, you still must separately compute Lf'(a) and Rf'(a) and confirm they agree — continuity alone never proves differentiability.