Differentiation (One Variable)
The fourth page of the analysis spine. We define the derivative, establish its rules, and prove the Mean Value Theorem — the workhorse that connects the derivative to the global behaviour of a function — together with Taylor's theorem. These results are the one-dimensional seeds of the multivariable derivative (multivariable.md) and of the Fundamental Theorem of Calculus (riemann-integral.md).
References: Rudin, Principles of Mathematical Analysis, ch. 5; Spivak, Calculus.
1. The Derivative
Let be defined on an open interval containing . The derivative of at is
when the limit exists; then is differentiable at . The geometric content is the slope of the tangent line; the analytic content is local linear approximation:
This "best linear approximation" viewpoint — not the difference quotient — is what generalizes to the total derivative in several variables (multivariable.md §2).
Differentiable continuous. If is differentiable at it is continuous there (the increment ). The converse fails: is continuous but not differentiable at , and there exist functions continuous everywhere and differentiable nowhere (Weierstrass).
2. Rules of Differentiation
For differentiable :
- Linearity: .
- Product (Leibniz): .
- Quotient: where .
- Chain rule: if is differentiable at and at , then .
- Inverse function (1-D): if is differentiable with and a continuous inverse near , then .
The chain rule is cleanest in the linear-approximation picture: the best linear approximation of a composite is the composite of the best linear approximations — exactly the statement that generalizes to Jacobian matrices multiplying.
3. Local Extrema and Rolle's Theorem
If has a local extremum at an interior point and is differentiable there, then (Fermat's interior extremum theorem) — at a peak or trough the tangent is horizontal. Points with are critical points.
Rolle's Theorem. If is continuous on , differentiable on , and , then for some .
Proof. By the EVT (continuity.md) attains a max and min on . If both are at endpoints then is constant and ; otherwise an extremum is interior, and Fermat gives .
4. The Mean Value Theorem
Mean Value Theorem (MVT). If is continuous on and differentiable on , then there is with
Proof. Apply Rolle to , which satisfies .
The MVT converts local derivative information into global statements:
- on an interval strictly increasing; constant; nondecreasing.
- Lipschitz bound: .
- It is the key lemma in proving the Fundamental Theorem of Calculus (riemann-integral.md §5).
Cauchy's generalized MVT. For as above, for some . This yields L'Hôpital's rule for and indeterminate limits.
5. Higher Derivatives and Smoothness Classes
If is itself differentiable we write , and inductively . Define:
- if exists and is continuous on ;
- (smooth) if derivatives of all orders exist;
- (real-)analytic if it equals its Taylor series locally (§6).
The inclusions are strict: (analytic). The standard counterexample (with ) is smooth but not analytic at : every derivative vanishes there, so its Taylor series is identically . This -vs-analytic gap is why bump functions and partitions of unity exist — the technical backbone of integration on manifolds in stokes-general.md.
6. Taylor's Theorem
Taylor's Theorem (Lagrange remainder). If and exists on , then for , for some between and .
The polynomial part is the -th Taylor polynomial; is the remainder. The proof is a repeated application of the generalized MVT. Other remainder forms (integral, Cauchy) follow from the FTC. Taylor's theorem quantifies how well polynomials approximate smooth functions and is the one-variable model for the multivariable Taylor expansion (multivariable.md §5) used in second-derivative tests.
A function is analytic at when on a neighbourhood, so that — a convergent power series (sequences-series.md §7.1).
7. Differentiating Limits
Combining with sequences-series.md §7: if pointwise and uniformly on an interval, then is differentiable and . Uniform convergence of the derivatives (not of the functions) is the correct hypothesis — this is what legitimizes term-by-term differentiation of power series within their radius of convergence.
8. Where this page is used
- MVT is the lemma behind the Fundamental Theorem of Calculus in riemann-integral.md.
- Linear-approximation view of generalizes to the total derivative and Jacobian in multivariable.md.
- Smoothness classes / non-analytic bump functions underpin partitions of unity used to integrate forms in stokes-general.md.
Next: The Riemann Integral.