Continuity and Uniform Continuity — Formal Treatment
Continuity means small input changes produce small output changes near a fixed point; uniform continuity demands a single rate of control that works everywhere on a set at once. Key result: every continuous function on a compact set is automatically uniformly continuous (Heine–Cantor). Applies throughout real analysis, metric space theory, and numerical analysis. Formalized by Cauchy, Weierstrass, Bolzano, and Heine in the 19th century.
Continuity is a local, pointwise property: the order of quantifiers is . Uniform continuity is a global property: the order becomes . Swapping the quantifier before is the entire content of the distinction—the must be chosen before you know which point you are looking at.
Formal Statement
Let with and . Then is continuous at if
Derivation hint: This is the – unpacking of ; the may legitimately depend on the pair . Here is the output tolerance, the input radius, the base point, and the domain. The function is continuous on if it is continuous at every .
A function is uniformly continuous on if
Derivation hint: Move the to the left of all point quantifiers; now a single must control every pair of nearby points. The crucial structural difference from [1] is that has no dependence on the location of or .
The modulus of continuity of on is the function
Derivation hint: Take the supremum of output gaps over all input pairs separated by at most . Then is uniformly continuous on iff as . This recasts a logical condition into a single limit.
If is compact (closed and bounded) and is continuous, then is uniformly continuous on .
If there exists such that
Derivation hint: Bound the output gap linearly by the input gap; this is the Lipschitz condition. then is uniformly continuous on : given , choose (for ). The converse fails—uniform continuity does not imply Lipschitz (see below).
Why It Holds / Derivation
Claim. Continuous on compact is uniformly continuous.
Step 1. Suppose not. Then the negation of [2] holds: there exists a bad such that for every some pair fails. Take for each .
Step 2. For each obtain points with
Derivation hint: This is the literal failure of uniform continuity at scale .
Step 3. Since is compact, the Bolzano–Weierstrass theorem gives a convergent subsequence .
Step 4. Because , the companion subsequence also satisfies .
Step 5. By continuity of at ,
Derivation hint: Sequential characterization of continuity applied to both sequences converging to the same limit . so . This contradicts from Step 2. Hence is uniformly continuous.
∎is not uniformly continuous on iff there exist sequences in with
Derivation hint: Directly negate [2]; "fails for some at every " produces witness sequences with vanishing input gap and non-vanishing output gap. This is the standard tool for disproving uniform continuity in concrete cases.
∎Heine, working in Halle, gave in 1872 the first rigorous published proof that continuity on a closed bounded interval implies what we now call uniform continuity, building on Weierstrass's lectures and Bolzano's earlier unpublished insights. The compactness-based argument was later abstracted by Cantor, and the result bears both names. Heine's broader program—pinning down the exact hypotheses under which limit operations may be exchanged—was central to the 19th-century "arithmetization of analysis" that replaced geometric intuition with – rigor.
Building Intuition
Picture an -wide horizontal band and a -wide vertical strip sliding along the graph. Continuity says: at each fixed point you can find some strip width keeping the curve inside the band there—but the required width may shrink to zero as you move into a steep region. Uniform continuity says: one strip width works everywhere at once; you can carry the same -box along the whole graph and never have the curve escape the -band. On a finite closed interval the function "can't get away" because compactness forbids the slope from blowing up unboundedly while staying continuous; on an open or infinite domain the function can sneak off to steeper and steeper behavior near a missing endpoint or out at infinity.
Worked Examples
Given. , . Test using the sequential criterion [7].
Step 1. Choose and . Then
Derivation hint: Pick two sequences whose separation vanishes but that march off to infinity together.
Step 2. Compute the output gap:
Derivation hint: Expand and subtract .
Step 3. The output gap stays while the input gap . By [7], is not uniformly continuous.
Given. , . Find .
Step 1. Use the algebraic inequality (valid for all ):
Derivation hint: From since holds for ; take square roots.
Step 2. Given , choose . Then gives
Derivation hint: Substitute into [10] and simplify the square root.
Step 3. This depends on alone, so [2] holds globally.
Common Misconceptions
Uniform continuity is a property of a function on a set, not of a function alone. The very same formula is uniformly continuous on but not on . Always state the domain. Likewise, " is continuous on a bounded set" does not imply uniform continuity—the set must also be closed (compact). And differentiability with bounded derivative gives Lipschitz hence uniform continuity, but unbounded derivative says nothing by itself: has unbounded derivative yet is uniformly continuous.
Take on . It is continuous everywhere on the open interval, and bounded by . Let and . Then , but while , so the output gap is constantly . By [7] it is not uniformly continuous—the oscillation crowds infinitely near , defeating any single .
Connections
Uniform continuity sits between mere Continuity at a Point and the stronger metric notions of Lipschitz Continuity and Hölder Continuity: Lipschitz ⟹ Hölder ⟹ uniformly continuous ⟹ continuous, with each implication strict. The Heine–Cantor theorem is a manifestation of Compactness in Metric Spaces, and the modulus-of-continuity formulation connects to Equicontinuity in the Arzelà–Ascoli theorem. Uniform continuity is precisely the regularity needed to extend a function continuously from a dense subset (e.g. ) to its completion, linking it to Completion of Metric Spaces and to the construction of the Riemann Integral, where uniform continuity guarantees integrability of continuous functions on .
Real-World Applications
Historical Development
Subtleties & Limits
On general topological spaces uniform continuity is not even definable—it requires a uniform structure (Weil, 1937) or a metric, since it speaks of "comparable closeness at different points." This raises subtle questions: which topological spaces admit a metric making a given continuous map uniformly continuous? In infinite dimensions, the Heine–Cantor theorem fails for non-compact closed bounded sets (closed unit balls are not compact), so uniform continuity becomes genuinely restrictive; characterizing the functions and spaces where continuity still upgrades to uniform continuity, and quantifying moduli of continuity sharply for solution operators of nonlinear PDEs, remains an active research theme in analysis and optimization.
See Also
Continuity at a Point · Lipschitz Continuity · Hölder Continuity · Compactness in Metric Spaces · Heine-Borel Theorem · Uniform Convergence · Modulus of Continuity · Equicontinuity