Limits and Continuity of Real-Valued Functions
Limits describe the value a function approaches as its input approaches a point; continuity demands that this limiting value actually equals the function's value there. One-line: means can be forced arbitrarily close to by taking close enough to (but not equal). Applies wherever functions on must be analyzed for smoothness, approximation, optimization, and convergence. Formalized rigorously by Cauchy, Bolzano, and Weierstrass in the 19th century.A limit of a real-valued function at a point captures the function's "intended" value near , independent of whether is even defined at . The notion is made precise by the epsilon–delta definition, which replaces vague talk of "approaching" with explicit logical quantifiers. Continuity is the special case where the limit exists, the function is defined, and the two coincide — making the function "drawable without lifting the pen" on an interval. These ideas underpin all of calculus: derivatives are limits of difference quotients, integrals are limits of Riemann sums, and infinite series are limits of partial sums. A surprising fact: there exist functions continuous at every irrational and discontinuous at every rational (Thomae's function), yet none can be continuous on the rationals and discontinuous on the irrationals.
The Core Insight
A limit is a statement about a challenge-response game: an adversary names a tolerance around the candidate value ; you must produce a neighborhood radius around guaranteeing every input within (excluding itself) lands within of . The value — and even whether it exists — is irrelevant to the limit. Continuity is precisely the demand that you can win this game with , eliminating the gap between the approach and the destination.
Formal Statement
Limit of a Function (ε–δ)
Let be defined on a punctured neighborhood of . We say if:
Here is the output tolerance, the input radius, the limit point, the limit value, and , are Euclidean distances on . The condition explicitly excludes .
One-Sided Limits
The right-hand and left-hand limits are:
The two-sided limit exists iff both one-sided limits exist and are equal:
Continuity at a Point
is continuous at if and:Equivalently, in ε–δ form (note becomes just , since trivially satisfies the conclusion):
Continuity on a Set
is continuous on if it is continuous at every point of (using one-sided continuity at endpoints). is uniformly continuous on if:Sequential Characterization (Heine)
if and only if for every sequence with and :This converts function-limit problems into sequence-limit problems, and is the standard tool for disproving limits (find two sequences giving different values).
Algebraic Limit Laws
If and , then:
Squeeze Theorem
If near and , then:
Why It Holds / Derivation
The Limit of a Composition / Continuity is Preserved
We prove that the composition of continuous functions is continuous: if is continuous at and is continuous at , then is continuous at .
Step 1. Fix . We must find so that . Step 2. Since is continuous at , apply [5] at : there exists such thatContinuity ⟹ Boundedness on Compact Intervals (Extreme Value Theorem, sketch)
Claim. A continuous attains a maximum and minimum. Step 1. Boundedness. Suppose not bounded above. Then for each pick with . By Bolzano–Weierstrass, has a convergent subsequence . Step 2. By sequential continuity [7], , a finite number. But , contradiction. Hence is bounded. Step 3. Attainment. Let . Choose with . A convergent subsequence gives . So the supremum is achieved. The minimum follows by applying the result to .Augustin-Louis Cauchy | 1789–1857
Cauchy's Cours d'analyse (1821) was the first systematic attempt to ground calculus on limits rather than infinitesimals, defining a limit as a value that variables "approach indefinitely so as to differ from it by as little as one wishes." Though his phrasing was still verbal, it contained the seed of the ε–δ method. Cauchy famously (and incorrectly) "proved" that a convergent sum of continuous functions is continuous — an error later corrected by uniform convergence — illustrating how subtle limiting processes are. His contemporary Bernard Bolzano had reached similar rigor independently a few years earlier (1817), but his work went largely unnoticed. The fully symbolic ε–δ formulation we use today crystallized in the lectures of Karl Weierstrass in the 1860s.
Building Intuition
Think of as a machine and as a target on a dartboard with concentric rings. The adversary shrinks the bullseye to radius . You respond by restricting your throwing zone to inputs within of . You win the limit if there is always a throwing zone small enough that every dart lands inside the current bullseye. Crucially, you remove the single point from the throwing zone — the limit doesn't care what happens at , only what happens near it. Continuity is the stricter demand that the bullseye center sits exactly at : the function's actual value at is where everything is headed, so there's no jump, no hole, no surprise.
The ε–δ game: inputs within δ map into the ε-band around L
Worked Examples
Proving a Polynomial Limit by ε–δ
Given: Prove . Step 1 — Scratch work. We need , i.e. . Step 2 — Solve for . This requires . So choose . Step 3 — Formal proof. Let . Set . Suppose . ThenA Removable Discontinuity and a Quadratic ε–δ
Given: Evaluate and verify by ε–δ that the limit is . Step 1 — Simplify. For : . So the limit is . The function has a removable discontinuity (hole) at . Step 2 — ε–δ for . Need . Choose . Step 3 — Verify. Let , set . If then (with , so the cancellation is valid):Common Misconceptions
"The limit equals the function value." False in general — the limit ignores entirely. A limit can exist where is undefined (Example 2), and can exist while differing from the limit (a removable discontinuity with a misplaced point). The equality is precisely the definition of continuity, not an automatic fact. "Continuous means differentiable." False. The Weierstrass function is continuous everywhere but differentiable nowhere. "A single works for all points." That stronger property is uniform continuity [6], which is not implied by ordinary continuity on non-compact sets (see counterexample).Continuous but not uniformly continuous
Let on . It is continuous at every point of . But it is not uniformly continuous: take and . Then , yet
A limit that fails to exist by oscillation
has no limit as . Using [7], take giving , but giving . Two sequences, two distinct sub-limits the limit cannot exist. (By contrast by the Squeeze Theorem [9], since .)Connections
Limits are the foundation on which the entire edifice of calculus rests. The Derivative is defined as , a limit of a difference quotient; differentiability is therefore a strengthening of continuity. The Riemann Integral is a limit of Riemann sums as the mesh of partitions tends to zero. The convergence of Infinite Series and Sequences of Real Numbers uses the same ε–N machinery, related to ε–δ by the sequential characterization [7]. Continuity generalizes to Metric Spaces and Topological Spaces, where the open-set definition ("preimages of open sets are open") reveals the topological essence that ε–δ merely encodes for . The Intermediate Value Theorem and Extreme Value Theorem are the two great existence theorems flowing directly from continuity on compact connected sets.
Real-World Applications
- Numerical analysis (root-finding): The bisection method relies on the Intermediate Value Theorem — a continuous sign change guarantees a root, used in engineering equation solvers and MATLAB's
fzero. - Computer graphics: Continuity classes () of Bézier and B-spline curves determine whether rendered surfaces in CAD (e.g., automotive body design at Pixar/AutoCAD) appear smooth or creased.
- Control systems: Stability analysis requires transfer functions whose limits and continuity govern whether feedback (e.g., in aircraft autopilots) converges or oscillates.
- Economics: Continuity of utility and demand functions underpins the existence of competitive equilibria (Arrow–Debreu theorem) and the use of the IVT to guarantee market-clearing prices.
- Physics — phase transitions: Discontinuities in thermodynamic functions classify transitions (first-order = jump in entropy; continuous = critical points), e.g., the boiling of water versus the ferromagnetic Curie point.
- Machine learning: Continuity (and Lipschitz continuity, a uniform-continuity strengthening) of loss functions ensures gradient descent behaves predictably; ReLU networks exploit piecewise continuity.
- Signal processing: The continuity of the Fourier transform and removable/jump discontinuities (Gibbs phenomenon) determine reconstruction fidelity in audio and image compression (JPEG, MP3).
Historical Development
- c. 1670s — Newton and Leibniz develop calculus using "fluxions" and infinitesimals, with limits described intuitively and without rigor.
- 1734 — Bishop George Berkeley's The Analyst attacks the logical incoherence of infinitesimals ("ghosts of departed quantities"), spurring the search for rigor.
- 1817 — Bernard Bolzano gives a purely analytic proof of the Intermediate Value Theorem and an early correct definition of continuity, anticipating ε–δ — but his work is overlooked for decades.
- 1821 — Cauchy's Cours d'analyse founds analysis on limits, defining continuity and convergence verbally, though still imprecisely (mixing pointwise and uniform notions).
- 1854 — Riemann formalizes the integral as a limit of sums in his Habilitation, requiring a sharp limit concept.
- c. 1861–1872 — Karl Weierstrass, in Berlin lectures, introduces the fully symbolic ε–δ definition and constructs his everywhere-continuous, nowhere-differentiable function (published 1872), shattering geometric intuition.
- 1872 — Heine and Cantor establish uniform continuity and the Heine–Cantor theorem (continuity on a compact set ⟹ uniform continuity); Cantor and Dedekind rigorously construct via Cauchy sequences / cuts.
- 1875 — Darboux clarifies the relationship between Riemann integrability and continuity.
- 1906 — Fréchet introduces metric spaces, generalizing limits and continuity beyond and seeding modern topology.
Subtleties & Limits
The ε–δ framework, while complete for , leaves open foundational and computational questions. Constructive analysis (Bishop, Brouwer) rejects the law of excluded middle, so the classical IVT — which uses non-constructive bisection limit arguments — fails to yield a computable root in general; characterizing exactly which continuous functions admit constructive root-finding remains active. In descriptive set theory, the structure of discontinuity sets is fully classified (the set of discontinuities of any function is an set, and conversely every set arises this way — Young's theorem), but analogous questions for higher-order regularity (sets of non-differentiability, sets where derivatives fail to be continuous) involve deep questions about Baire classes still under investigation. Finally, in nonstandard analysis (Robinson, 1960s), limits and continuity are rephrased using genuine infinitesimals from a hyperreal field — continuity at becomes "" for hyperreals — raising ongoing pedagogical and philosophical debate about which formulation is "primary."