Metric Spaces — Open and Closed Sets, Convergence
A metric space pairs a set with a distance function satisfying positivity, symmetry, and the triangle inequality. Open sets are unions of open balls, closed sets are their complements, and a sequence converges to a limit when its terms eventually stay within every ball around that limit. Used everywhere analysis lives — real numbers, function spaces, fractal geometry. Foundational framework crystallized by Maurice Fréchet (1906) and Felix Hausdorff (1914).
Distance generates topology. Once you can measure , you can declare a point "interior" to a set if some ball around it stays inside, declare a set "open" if all its points are interior, and define a limit by "eventually inside every ball." Open and closed sets are not opposites in plain language — they are complement-linked, and a set can be both, neither, or one. Convergence and closedness are two faces of the same coin: closed sets are exactly those that contain all their sequential limits.
Formal Statement
A metric space is a pair where is a set and is a function — the metric — satisfying, for all :
Derivation hint: This is the "identity of indiscernibles" axiom; combined with nonnegativity it says distance vanishes exactly on the diagonal.
Derivation hint: Symmetry — distance does not depend on direction of travel.
Derivation hint: The triangle inequality; a detour through is never shorter than the direct route. Here are arbitrary points of . Nonnegativity () follows from the others: .
For and radius , the open ball of radius centered at is
Derivation hint: The set of all points strictly closer than ; the boundary sphere is excluded by the strict inequality. The closed ball is .
A set is open if every point is an interior point:
Derivation hint: Openness = "room to wiggle"; around each member there is a whole ball still inside. A set is closed if its complement is open:
Derivation hint: Closedness is defined by complementation, not directly; this is the cleanest topological definition.
For :
Derivation hint: The largest open set contained in ; collect all interior points.
Derivation hint: The closure adds all limit points; is in iff every ball around it touches . It equals the smallest closed set containing .
Derivation hint: Boundary points have every ball meeting both and its complement.
A sequence in converges to , written , if
Derivation hint: Replace in the real-line definition by ; "eventually within every ball." Equivalently as a real sequence.
Let be a metric space and the collection of open sets. Then: 1. and are open. 2. Any union (arbitrary) of open sets is open. 3. Any finite intersection of open sets is open. Thus every metric space is a topological space.
Step 1 (trivial sets). is open vacuously (no points to check). is open since any ball lies in .
Step 2 (arbitrary unions). Let with each open. Take ; then for some . By openness of there is with . Hence is interior to , so is open.
Step 3 (finite intersections). Let , each open. Take . For each there is with . Set (finiteness is essential here). Then for all , so . Thus is open.
∎A set is closed if and only if it is sequentially closed: whenever and in , then .
() Suppose is closed and with . If then , which is open, so some . But forces for large , contradicting . Hence .
() Suppose is sequentially closed; we show is open. If not, some has no ball inside : for every , . Pick . Then , so with . By hypothesis , contradicting . Hence is open and is closed.
∎(a) Every open ball is an open set. (b) In any metric space, sequential limits are unique: if and then .
(a) Let , so . Put . For , the triangle inequality [3] gives , so . Thus and the ball is open.
(b) Suppose and with , so . Choose so that gives and . Then by [3], , a contradiction. So .
∎In his 1906 doctoral thesis Sur quelques points du calcul fonctionnel, Fréchet introduced abstract spaces with a distance function — what he called classes (E) — generalizing convergence away from to spaces of curves and functions. He recognized that limit and continuity needed only a notion of "écart" (gap), launching general topology and functional analysis. The very word metric space (espace métrique) and the axioms [1]–[3] descend directly from his work. Felix Hausdorff later (1914) refined and popularized these ideas in Grundzüge der Mengenlehre, embedding them in the broader axiomatic study of point-set topology.
Building Intuition
Think of as a ruler you carry everywhere. An open set is a country with no walls: standing anywhere inside, you can take a small step in any direction and remain in the country. A closed set may include its border fence — points on the edge belong to it. The number line illustrates the spectrum: is open (every point has wiggle room), is closed (it owns its endpoints), is neither, and and are simultaneously both open and closed. Convergence is a "settling down" idea: no matter how tiny a target ball you draw around the limit, the sequence eventually crawls inside and never leaves. Crucially, which sets are open depends on the metric, but two different metrics can declare the same open sets (then they are topologically equivalent), in which case they agree on every convergence, continuity, and closedness question.
Worked Examples
Given: with Euclidean metric . Consider . Does it converge, and to what?
Step 1 — guess the limit. As , and . Candidate limit .
Step 2 — compute the distance.
Step 3 — bound it. Since , we get .
Step 4 — apply the definition [10]. Given , choose . Then .
Answer:
Given: with . Let (rationals in the interval).
Step 1 — interior. Any open ball contains irrationals, which are not in . So no point of has a ball inside :
Step 2 — closure. Every ball around any meets the rationals of (rationals are dense). Points outside have balls disjoint from .
Step 3 — boundary. By [9], .
Answer:
A set can have empty interior yet a "fat" closure — density makes the difference.
Common Misconceptions
"Closed means not open." False. Open and closed are not complementary properties. In any metric space and are both open and closed (clopen). The half-open interval is neither. The correct relationship is via complements [6]: is closed iff is open.
"Infinite intersections of open sets are open." False. In , , a closed set, not open. Only finite intersections are guaranteed open (see [Step 3] of the topology proof).
"The closed ball equals the closure of the open ball." Not always! In a general metric space , but equality can fail.
Take to be any set with two or more points equipped with the discrete metric
Fix a point and radius .
- Open ball: . Its closure is (singletons are closed here).
- Closed ball: (everything is within distance ).
So . The naive intuition from breaks. (In the discrete metric every subset is both open and closed, and a sequence converges iff it is eventually constant.)
Connections
The open/closed/convergence machinery is the gateway to the rest of analysis. Continuity is characterized cleanly here: is continuous iff preimages of open sets are open, iff — see Continuous Functions on Metric Spaces. Completeness asks whether Cauchy sequences converge, refining the convergence notion of [10] into Complete Metric Spaces and powering the Banach Fixed-Point Theorem. Compactness (Compact Metric Spaces) combines closedness with a boundedness-like finiteness via sequential or open-cover formulations. The whole framework abstracts to Topological Spaces, where open sets are taken as primitive and the metric is forgotten. Finally, different metrics yielding the same open sets connect to Equivalent Metrics and Norms.
Real-World Applications
Historical Development
Subtleties & Limits
While metric spaces are well-understood, their boundaries spark ongoing research. Metrizability: precisely which topological spaces admit a compatible metric is governed by the Nagata–Smirnov and Bing metrization theorems, but generalizations to non-Hausdorff or quasi-metric settings remain subtle. Coarse geometry & large-scale structure: Gromov's program studies metric spaces "up to bounded distortion," central to geometric group theory and still generating open questions about embeddings of groups into Hilbert space (the Novikov and coarse Baum–Connes conjectures). Metric embedding theory (active in theoretical computer science) asks how faithfully arbitrary finite metrics embed into spaces with low distortion — Bourgain's theorem gives , and optimal distortions for specific families stay open. Wasserstein / optimal-transport metrics on probability measures are an explosively active area with deep open questions in geometry and PDE. Even the innocent fact that closed balls can differ from closures of open balls signals how much geometric information a bare metric retains — and how much it discards.
See Also
Topological Spaces · Complete Metric Spaces · Compact Metric Spaces · Continuous Functions on Metric Spaces · Equivalent Metrics and Norms · Normed Vector Spaces · Banach Fixed-Point Theorem · Hausdorff Metric and Fractals