Open and Closed Sets in Metric Spaces
Open and closed sets are the foundational concepts of metric space topology. A set is open if every point has a small ball entirely contained in the set; a set is closed if it contains all its limit points (equivalently, its complement is open). These notions formalize "nearness" without coordinates and underpin continuity, convergence, and compactness. Originating with Cantor, Fréchet, and Hausdorff (1880s–1914), they apply across analysis, geometry, and topology.In a metric space , distances let us define a ball around each point, and a set is open when it is a neighborhood of each of its points — there is always wiggle room. A set is closed precisely when its complement is open, which is equivalent to containing all its limit points. These two classes of sets are not opposites: a set can be both open and closed (clopen), or neither (like a half-open interval). The surprising fact is that the entire edifice of continuity, compactness, and connectedness can be rebuilt using only open sets — this realization birthed point-set topology, where metrics disappear entirely and open sets become the primitive notion.
The Core Insight
Openness is local: a set is open iff around every one of its points you can fit a tiny ball staying inside. Closedness is limit-stability: a set is closed iff no sequence in it can sneak out to a limit outside. The duality ties these together and lets every topological statement be phrased two ways.
Formal Statement
Metric Space
A metric space is a pair where is a set and is a metric satisfying, for all :
Here is the underlying set, the distance function, and the points range over .
Open Ball
For and radius , the open ball of radius centered at is
The closed ball is (note: need not equal the closure of ).
Open Set
A set is open if every point of is an interior point:
Limit Point and Closed Set
A point is a limit point (accumulation point) of if every open ball around contains a point of other than :
A set is closed if it contains all its limit points; equivalently:
Axioms of Open Sets
The collection of open sets in a metric space satisfies:
Dual Axioms for Closed Sets
By De Morgan applied to [8]–[10]: and are closed; arbitrary intersections of closed sets are closed; finite unions of closed sets are closed.
Why It Holds / Derivation
Every open ball is an open set
We show is open per definition [5].
- Let , so by [4].
- Define the slack radius .
- Claim . Take any , so .
- By the triangle inequality [3]: .
- Hence , proving the inclusion.
- Since every admits such a ball , the set is open by [5].
Finite intersection of open sets is open
Let be open and .
- For each , since is open and , there is with .
- Set (finiteness guarantees the minimum is positive).
- Then for every .
- Therefore , so the intersection is open.
The failure for infinite intersections: , which is not open in .
Closed sets are exactly limit-point-containing sets
We verify the equivalence of [7] (complement open) with "contains all limit points."
- () Suppose is open. Let be a limit point of ; assume for contradiction , i.e. .
- Openness gives with , so , contradicting [6]. Hence .
- () Suppose contains all its limit points. Take . Since , is not a limit point of (else ).
- By negating [6], there exists with ; since , in fact , so .
- Thus is open, i.e. is closed.
Felix Hausdorff | 1868–1942
Hausdorff's Grundzüge der Mengenlehre (1914) consolidated topology around neighborhood axioms, building on Maurice Fréchet's 1906 thesis introducing metric spaces (he called them classes (E)). Hausdorff isolated the separation property now bearing his name (distinct points have disjoint neighborhoods) and gave open/closed sets their modern axiomatic footing. A profound analyst and topologist, he died by suicide in 1942 to escape deportation by the Nazi regime. His work transformed "nearness" from a metaphor into a rigorous lattice of open sets.
Building Intuition
Think of an open set as a country with no fence at the border: from any town inside, you can walk a little in any direction and still be inside. There is no "edge town" — every resident has neighbors all around them in the country. A closed set is the opposite: it owns its boundary. If a sequence of towns marches toward a destination, that destination is also part of the country.
The clopen/neither distinction confuses beginners. The interval in is neither: at you cannot wiggle left (so not open), and the limit point is missing (so not closed). Openness and closedness are not negations of each other — that's a property of complements, not of the same set.
Open ball B(y,s) nested inside B(x₀,r): the geometric heart of openness
Worked Examples
The half-open interval is neither open nor closed
Given: with . Not open: Test the point . Any ball contains , which is not in . So no ball around fits inside ; openness fails at . Not closed: The point is a limit point of : for any , the point lies in and differs from . But , so omits a limit point. Boxed answer:Clopen sets in the integers with the standard metric
Given: as a subspace of , metric . Consider the singleton . Step 1 (open): In the subspace, . So a ball of radius around equals , fitting inside . Hence is open in . Step 2 (closed): Its complement is a union of singletons , each open by the same argument; by [9] the union is open. Therefore is closed. Step 3 (count of clopen sets): Since every singleton is clopen and unions of opens are open, every subset of is clopen. Boxed answer:Common Misconceptions
"Closed = not open." False. These are independent properties. In : is open-not-closed, is closed-not-open, is neither, and and are both. The correct duality is closed complement of open, not not open. "The closed ball is the closure of the open ball." Not always. In a discrete metric space ( for ), which is already closed, so its closure is . But (every point is within distance ). So .Openness depends on the ambient space
The set is not open in . But consider as a metric space in its own right. Now the point has inside , because negative numbers no longer exist. So is open in . Moral: "open" is not absolute — it is always open in , governed by the subspace topology.
Connections
Open and closed sets are the gateway to Continuity in Metric Spaces: a map is continuous iff preimages of open sets are open (the topological definition), generalizing the – criterion. They underlie Compactness, where the open-cover definition (every open cover has a finite subcover) supersedes sequential compactness in general spaces. The closure, interior, and boundary operators built from these sets feed into Closure and Interior Operators. Abstracting away the metric and keeping only axioms [8]–[10] yields a Topological Space, the central object of Point-Set Topology. Completeness and Cauchy sequences interact with closedness via Complete Metric Spaces (closed subsets of complete spaces are complete).
Real-World Applications
- Numerical analysis & optimization: Open feasible regions versus closed constraint sets determine whether minima are attained — the Extreme Value Theorem requires closed and bounded domains in .
- Control theory: Stability regions in state space are described as open/closed sets; a system is stable if trajectories remain in a closed invariant set.
- Computer graphics & GIS: Region-filling and point-in-polygon tests implement the interior/closure distinction; boundary pixels are handled via closedness.
- Machine learning (topological data analysis): Persistent homology builds open-ball covers (Vietoris–Rips/Čech complexes) to detect "holes" in data clouds.
- Signal processing: Open neighborhoods in frequency space define passbands; continuity of filters is the open-preimage condition.
- Robotics motion planning: Configuration-space obstacles are closed sets; free space is their open complement, where collision-free paths live.
- Economics: Budget sets are typically closed and bounded (compact), guaranteeing existence of utility-maximizing bundles via continuity on compact sets.
Historical Development
- 1872 — Georg Cantor introduces limit points and derived sets while studying convergence of Fourier series, planting the seed of accumulation points.
- 1883 — Cantor defines closed sets via derived sets ( closed iff ) in his work on point sets in .
- 1893 — Camille Jordan formalizes notions of boundary and interior for sets in the plane (Jordan curve theorem context).
- 1906 — Maurice Fréchet's doctoral thesis introduces abstract metric spaces (classes (E)), defining convergence and limit points without coordinates.
- 1910 — F. Riesz and others develop neighborhood-based topology, anticipating axiomatic open sets.
- 1914 — Felix Hausdorff's Grundzüge der Mengenlehre gives the neighborhood-axiom foundation and the Hausdorff separation axiom; metric topology becomes systematic.
- 1922 — Kazimierz Kuratowski axiomatizes topology via the closure operator, an alternative to open-set axioms.
- 1925–1930 — Pavel Urysohn and Pavel Alexandrov develop metrization theory, asking when a topology comes from a metric.
- 1937 — Bourbaki begins codifying general topology, cementing open sets as the primitive notion in modern texts.