The epsilon–delta definition used only distances, so continuity transfers to maps between metric spaces by replacing absolute values with the two metrics. In this generality continuity still admits a sequential form, preserves compactness and connectedness, is uniform on a compact domain, and reads topologically as preimages of open sets being open, the formulation that defines homeomorphisms.
╌╌╌╌
Nothing in the definition of continuity
used the arithmetic of R; it used only the distances ∣x−c∣ between
inputs and ∣f(x)−f(c)∣ between outputs. Replace those absolute values with a
metric on the domain and a
metric on the codomain, and the theory of real limits and continuity acquires a
general form. The abstraction covers functions of several variables, maps between
function spaces, and operators on sequences under one definition.
Continuity between metric spaces
Read it as before: every output ball of radius ϵ around f(c) is reached
by some input ball of radius δ around c. On R with the standard
metric this reduces to the old definition. The sequential characterization carries
over unchanged.
Continuity as a ball condition: for the epsilon-ball around f(c) in Y, some delta-ball around c in X maps entirely inside it.The saddle xy over x-squared plus y-squared: constant along each ray through the origin at a value set by the ray's slope, so approaching along different lines gives different limits and joint continuity fails.
Compactness and the extreme value theorem
The proof that a continuous function attains its extremes on [a,b] used only
that [a,b] is compact. In a metric
space the same argument, via sequential compactness, gives the general statement.
The statement about closed bounded intervals is the special case X=[a,b].
Continuity likewise preserves connectedness:
the image of a connected space under a continuous map is connected. This is the
general intermediate value theorem: if X is connected and f:X→R
is continuous, f takes every value between any two of its values.
A continuous map carries a compact set to a compact set and a connected set to a connected set; both structural properties survive the arrow.
The topological characterization
The formulation that generalizes most cleanly drops ϵ and δ and
speaks only of open sets.
Local topological continuity: for any open U around f(c), the preimage contains an open neighborhood W of c that f maps into U.
Uniform continuity and homeomorphisms
The definition of uniform continuity transfers the same way.
As on the line, Lipschitz maps (those with dY(f(p),f(q))≤KdX(p,q))
are uniformly continuous, with δ=ϵ/K.
The open-set formulation also defines the maps that identify two metric spaces
topologically.
A continuous bijection need not have a continuous inverse in general, but
compactness forces it: a continuous bijection from a compact space to a metric
space is automatically a homeomorphism, since it carries closed (hence compact)
sets to compact, hence closed, sets, so preimages under f−1 of closed sets
are closed. Homeomorphisms preserve every property defined purely from the open
sets, compactness and connectedness among them.
Two settings on the real line fall outside this metric picture: limits as the
variable runs off to ±∞, and the control that
monotonicity imposes on
where a function may be discontinuous. Both use the order of R, which
a general metric space lacks.
Footnotes
Lebl, Basic Analysis I, §7.5 — Definition 7.5.1 and Proposition 7.5.2 (continuity between metric spaces and its sequential characterization). ↩↩2
Lebl, Basic Analysis I, §7.5 — Lemma 7.5.5 (continuous image of a compact set) and Theorem 7.5.6 (extreme value theorem on a compact metric space). ↩↩2
Lebl, Basic Analysis I, §7.5 — Lemma 7.5.7, Theorem 7.5.8, and Example 7.5.9 (topological characterization of continuity; zero sets closed). ↩↩2
Lebl, Basic Analysis I, §7.5 — Definition 7.5.10, Theorem 7.5.11 (continuity on a compact space is uniform), and Example 7.5.13 (Lipschitz maps). ↩↩2