The Derivative as a Limit: Differentiability versus Continuity
You have computed derivatives since secondary school using rules: the power rule, the product rule, the chain rule. This chapter goes back to what those rules are rules for — the derivative is itself defined as a limit, specifically the limit of a difference quotient — and uses the machinery of Chapters 1–2 to prove the rules rather than merely state them. The central theoretical result of the chapter is the precise relationship between differentiability and continuity: one implies the other, but not conversely, and the standard counterexamples are worth knowing cold.
Have to hand: the - definition of a limit, the limit laws (sum, product, quotient), and the definition of continuity. Everything here is built directly on those.
The derivative is a limit, not a ratio. is notation, not literally a fraction of two infinitesimal quantities — in the difference quotient below is always a specific nonzero real number that is sent to in a limit, never a mysterious "infinitely small number" in its own right.
1. The Definition
Definition. is differentiable at if the limit
exists (and is finite). Equivalently, substituting ,
The quantity is the derivative of at . If is differentiable at every point of a set , is differentiable on , and denotes the function .
Both forms of the definition are the same limit written with different variables; use whichever is more convenient algebraically for a given function. The quotient (or ) is the difference quotient — the slope of the secant line through and .
Geometric meaning. As , the secant line through and rotates toward a limiting position: the tangent line at , with slope and equation . This is exactly the line that best approximates near (a statement made precise by linear approximation in later chapters).
Worked example. Compute for directly from the definition. Using the second form,
where the cancellation is valid because throughout the punctured limit (Chapter 1). So the tangent line to at has slope and equation .
2. Basic Rules, Proved from the Definition
Theorem (Constant and Power Rules). If , for every . If for a positive integer , for every .
Proof (power rule). Use the algebraic identity , a sum of terms. For ,
Each of the terms on the right tends to as (direct substitution, Chapter 2), so by the sum rule for limits the whole expression tends to .
Theorem (Sum Rule for derivatives). If are differentiable at , so is , with .
Proof. Form the difference quotient of and split it:
As each term on the right tends to and respectively (by hypothesis), so by the sum rule for limits (Chapter 2) the left side tends to .
Theorem (Product Rule for derivatives). If are differentiable at , so is , with .
Proof. The standard trick is to subtract and add in the numerator:
As : the first factor (by the next section's theorem, since is differentiable, hence continuous, at ); the quotient in the first term tends to ; the quotient in the second term tends to ; and is constant. The product and sum rules for limits combine these to give .
These proofs are templates: every differentiation rule you have used since school is a theorem of exactly this shape — rewrite the difference quotient algebraically, then invoke the limit laws of Chapter 2.
3. Differentiability Implies Continuity
Theorem. If is differentiable at , then is continuous at .
Proof. We must show , equivalently . Write, for ,
As , the first factor tends to (by hypothesis, a finite number) and the second factor tends to . By the product rule for limits,
Hence , so is continuous at .
Why finiteness of is load-bearing. The proof multiplies a quantity tending to by a quantity tending to ; this only forces the product to because is a finite number. This is exactly where the hypothesis "the limit defining exists (and is finite)" is used — nowhere else in the chapter is it this directly load-bearing.
Corollary (contrapositive, the practical form). If is discontinuous at , then is not differentiable at .
This corollary is the single most useful consequence of the theorem: it lets you rule out differentiability instantly at any point of discontinuity, without computing a difference quotient at all.
4. Continuity Does Not Imply Differentiability
The converse of Section 3's theorem is false, and the standard counterexamples are worth memorising precisely because each illustrates a different way differentiability can fail at a point where continuity still holds.
Worked example (a corner: at ). is continuous at (Chapter 2). Compute the one-sided difference quotients:
The one-sided limits of the difference quotient disagree (), so by Chapter 1's one-sided limit theorem the full limit does not exist. is continuous but not differentiable at : the graph has a corner, with two different one-sided tangent directions.
Worked example (a vertical tangent: at ). is continuous at . The difference quotient is
The difference quotient diverges to rather than failing to exist by oscillation or one-sided disagreement — a genuinely different failure mode from the corner case. Geometrically the tangent line is vertical, which has no finite slope, consistent with failing to exist as a finite number.
Three distinct ways differentiability can fail at a point of continuity. (1) A corner: one-sided derivatives exist but disagree ( at ). (2) A vertical tangent: the difference quotient diverges to or ( at ). The sub-case where the two one-sided quotients diverge to opposite infinities, e.g. at , is called a cusp. (3) Oscillation: the difference quotient has no limit at all, finite or infinite, by the sequential criterion of Chapter 1 (e.g. , , is continuous but the difference quotient oscillates with no limit as ).
5. One-Sided Derivatives
Definition. The right-hand derivative of at is , and the left-hand derivative is , when these one-sided limits exist.
Theorem. is differentiable at (with derivative ) if and only if both one-sided derivatives exist and are equal, in which case .
This is immediate from Chapter 1's one-sided limit theorem applied to the difference quotient itself. It gives a systematic way to analyse a piecewise function at a junction point: compute both one-sided derivatives using the formula valid on each side, and compare.
Worked example. For if , if , check differentiability at . First, continuity: and agree and equal , so is continuous at . Now the one-sided derivatives: , and . Since , is differentiable at , with — the two pieces meet not just continuously but with matching slopes.
6. Higher-Order Derivatives
If is itself differentiable at , its derivative is written (the second derivative), and the pattern continues: , or for the -th derivative, each defined as the derivative of the previous one, provided it exists. A function with continuous is called ; means merely continuous, means infinitely differentiable (true of polynomials, , , , among others).
A subtlety worth flagging. differentiable does not imply is continuous, let alone differentiable again. A standard (optional, for interest) example is for , : one can show exists, but itself is discontinuous at . Existence of everywhere is a strictly weaker statement than being .
Common Exam Pitfalls
- Treating "continuous" and "differentiable" as interchangeable. They are not: continuity is necessary but never sufficient for differentiability, as at shows definitively.
- Concluding non-differentiability only from a sharp-looking graph. A vertical tangent, an oscillating difference quotient, and a simple corner are three structurally different failure modes; identify which one you are looking at by computing the actual limit, not just by inspecting a sketch.
- Forgetting to check continuity first when continuity is already known to fail. By the contrapositive of Section 3's theorem, a discontinuity at instantly rules out differentiability there — computing a difference quotient afterward is unnecessary extra work.
- Computing one-sided derivatives using the wrong side's formula. For a piecewise function, must use the formula valid for , and the formula valid for — using the same formula for both defeats the purpose of the check.
- Assuming a function differentiable everywhere has a continuous derivative. existing at every point is weaker than being ; the oscillating-derivative example in Section 6 is the standard warning here.
- Misreading as a literal ratio of infinitesimals. It is notation for a single limit, ; algebraic manipulations that treat and as separately cancellable numbers need independent justification (typically from the chain rule), not blind fraction arithmetic.
Summary
- Definition: , the limiting slope of secant lines, equivalently the slope of the tangent line at .
- Basic rules proved from the definition: constant rule (), power rule (, via the factored difference of -th powers), sum rule, and product rule (, via the add-and-subtract trick) — every later differentiation rule follows the same proof template.
- Differentiability continuity: proved by writing as a product of the difference quotient (tending to the finite ) and (tending to ).
- Continuity does not imply differentiability, with three structurally distinct counterexamples: a corner (disagreeing one-sided derivatives, ), a vertical tangent (difference quotient diverges, ), and oscillation (difference quotient has no limit at all, ).
- One-sided derivatives exist analogously to one-sided limits; exists iff both agree.
- Higher derivatives are defined iteratively; differentiable everywhere does not imply is itself continuous or differentiable again.