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:

1
⟳Read inner-to-outer — given the tolerance , the existential promises a punctured interval mapping into .

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:

2
⟳Restrict the punctured neighborhood to its right half ; the left-hand version uses .

The two-sided limit exists iff both one-sided limits exist and are equal:

3
⟳Splitting the punctured neighborhood into left and right halves shows the two-sided is the minimum of the one-sided 's.

Continuity at a Point

is continuous at if and:
4
⟳This single equation silently asserts three conditions — exists, the limit exists, and they are equal.

Equivalently, in ε–δ form (note becomes just , since trivially satisfies the conclusion):

5
⟳Set in [1]; the point may be included because holds automatically.

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:
6
⟳Compare with [5] — here a single must work for
all points simultaneously; the quantifier moved inside, after .

Sequential Characterization (Heine)

if and only if for every sequence with and :
7
⟳Forward direction uses ε–δ on the tail of ; reverse direction is by contraposition, building a violating sequence with but .

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:

8
⟳For the sum, ; force each below . For products, add and subtract .

Squeeze Theorem

If near and , then:

9
⟳Both and lie in ; the squeezed is trapped between them, hence also in that interval.

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 that
10
⟳This is literally continuity of at with tolerance producing inner radius .
Step 3. Since is continuous at , apply [5] at with tolerance : there exists such that
11
⟳Feed the radius from Step 2 as the
output tolerance required of . Step 4. Chain them: if , then by [11] , so setting in [10] gives . Since , this is exactly .

Continuity ⟹ 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

x y L L+ε L-ε a a-δ a+δ y = f(x) Inputs in (a-δ, a+δ)\{a} ⟹ outputs in (L-ε, 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 . Then
12
⟳Factor the constant 2 out of the absolute value, then substitute the chosen .
Answer: (dimensionless).

A 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):
13
⟳The condition guarantees , legitimizing the factor cancellation before applying .
Answer: . The function becomes continuous if we redefine its value at to be .

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

14
⟳As the graph steepens without bound, so no single can control the output gap everywhere; the required shrinks toward .
No single can satisfy [6] for, say, . (On the compact interval with , the Heine–Cantor theorem guarantees uniform continuity.)

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

  1. 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.
  2. 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.
  3. Control systems: Stability analysis requires transfer functions whose limits and continuity govern whether feedback (e.g., in aircraft autopilots) converges or oscillates.
  4. 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.
  5. 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.
  6. Machine learning: Continuity (and Lipschitz continuity, a uniform-continuity strengthening) of loss functions ensures gradient descent behaves predictably; ReLU networks exploit piecewise continuity.
  7. 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."

See Also

The Real Number System · Sequences of Real Numbers · Derivative · Riemann Integral · Intermediate Value Theorem · Extreme Value Theorem · Uniform Continuity · Metric Spaces · Infinite Series

Before this

Where this leads

  • Derivative — defined as a limit of difference quotients; differentiability implies continuity.
  • Riemann Integral — defined as a limit of Riemann sums; continuous functions are integrable.
  • Intermediate Value Theorem — the central existence consequence of continuity on intervals.
  • Uniform Continuity — a global strengthening crucial for integration theory and approximation.
  • Metric Spaces — the abstract setting where ε–δ generalizes to arbitrary distance functions.