Relationship Between Continuity and Differentiability
The forward implication has a two-line proof that is worth reproducing from memory. If exists, then , so is a vanishing factor times a quantity that stays bounded near . Letting gives â continuity at . The contrapositive is the practical half: wherever a function jumps or oscillates, no derivative can exist, and you may skip the difference-quotient work entirely.
Three Ways Differentiability Fails
A continuous function can still lose its derivative, and the catalogue of failures is short. A corner â two polynomial pieces meeting at different slopes â breaks the limit because the difference quotient approaches two different one-sided values, as with at the origin. A vertical tangent keeps the curve connected but drives the slope to infinity: has difference quotient , which near behaves like and diverges rather than settling. A discontinuity of any kind kills the derivative at once, since differentiability would force continuity. The decision procedure for an exam question is therefore: check continuity first, then compute one-sided difference quotients at any suspicious join.
| Failure mode | Example | One-sided behaviour | Survives continuity? |
|---|---|---|---|
| corner | at 0 | left slope -1, right slope +1 | yes |
| vertical tangent | at 0 | both quotients diverge to infinity | yes |
| jump or removable break | sign-like step at 0 | function value disagrees | no |
Example: Find Derivative Using Definition
Find for .
Standard Derivatives
These five formulas cover nearly every derivative at this level, but each carries a domain restriction that shows up in differentiability questions: differentiates only for positive arguments, and with fractional or negative exponents develops vertical tangents or blows up at the origin.
Left and Right Derivatives
The equivalence is the engine behind every piecewise-function problem: compute the two one-sided quotients, compare, and report. When the two one-sided limits agree, the derivative exists and equals their common value; when they disagree you have found a corner; when either diverges you have found a vertical tangent.
Example: Check Differentiability
Check if is differentiable at .
Matching Constants at a Piecewise Join
Piecewise functions in exams usually hide two unknown constants, one for continuity and one for differentiability. The template: a quadratic on the left of a join point, a straight line on the right, and the instruction that the function is differentiable everywhere. Continuity at the join forces the two formulas to agree in value; differentiability forces their one-sided derivatives to agree. Two conditions, two unknowns â the system always closes if the problem is well posed.
Numerical Derivatives: Watching the Corner Form
Analytical one-sided limits can be cross-checked by central differences, and the numbers tell the same story: away from a corner the central difference settles onto the true slope, while straddling the corner the estimate jitters with the step size and refuses to converge.
import math
def central(f, x, h=1e-6):
return (f(x + h) - f(x - h)) / (2 * h)
for x in (1.0, 0.1, 0.01, 0.0, -0.01, -0.1, -1.0):
print(x, round(central(abs, x), 6))
# slopes: 1, 1, 1, then noise at the corner, then -1, -1, -1
sq = lambda x: x * x
print(round(central(sq, 3.0), 6)) # 6.0 â matches the exact f'(x) = 2x at x = 3
import math
def left_deriv(f, c, h=1e-7):
return (f(c) - f(c - h)) / h
def right_deriv(f, c, h=1e-7):
return (f(c + h) - f(c)) / h
cbrt = lambda x: math.copysign(abs(x) ** (1 / 3), x)
print(left_deriv(cbrt, 0.0), right_deriv(cbrt, 0.0))
# both sides explode to enormous positive numbers: vertical tangent, no finite derivative
def f(x):
return x * x + 1 if x <= 1 else 2 * x - 1
print(left_deriv(f, 1.0), right_deriv(f, 1.0)) # 2.0 2.0 â the smoothed join differentiates cleanly
Algebraic Operations at a Bad Point
Differentiability interacts with sums, products, and compositions in subtle ways at a singular point. If fails to be differentiable at , the sum can recover â is perfectly smooth â while products may or may not: still has a corner at the origin, yet has derivative that vanishes from both sides and is in fact differentiable at 0 with derivative 0. The lesson for proofs is that cancellation must be verified by limits, never assumed from the shape of a sketch.
Common Mistakes
Concluding that a continuous function is differentiable because its graph looks smooth in a sketch
Fix: Run the one-sided difference quotients at every join or absolute-value corner; continuity is necessary for differentiability but never sufficient.
Claiming the derivative of |x| at the origin is zero because the two one-sided slopes average out
Fix: The derivative requires the one-sided limits to exist and be equal, not their average; -1 and +1 disagree, so no derivative exists.
Forgetting domain restrictions when differentiating ln x or fractional powers at the origin
Fix: ln x differentiates only on positive inputs, and x to a fractional power often develops a vertical tangent at 0 â check the domain before quoting the power rule.
Key Takeaways
- Differentiability at a point means the difference quotient has a single finite limit; the existence of that limit automatically forces continuity.
- Continuity without differentiability appears at corners (|x| at 0), vertical tangents (x^(1/3) at 0), and every kind of discontinuity.
- Left and right derivatives decide piecewise problems: equal one-sided limits give the derivative, disagreement gives a corner, divergence gives a vertical tangent.
- Piecewise joins with unknown constants close into a two-equation system â value matching for continuity, slope matching for differentiability.