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.
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
A metric space is a pair where is a set and is a metric satisfying, for all :
Derivation hint: This is the identity-of-indiscernibles axiom; nonnegativity is built into the codomain .
Derivation hint: Symmetry — distance does not depend on direction of measurement.
Derivation hint: The triangle inequality; a detour through is never shorter than the direct route. Here is the underlying set, the distance function, and the points range over .
For and radius , the open ball of radius centered at is
Derivation hint: Collect all points strictly closer than to the center; strictness is what makes the ball "open." The closed ball is (note: need not equal the closure of ).
A set is open if every point of is an interior point:
Derivation hint: "Open" means room to wiggle — each point carries a ball of slack inside . The radius may depend on .
A point is a limit point (accumulation point) of if every open ball around contains a point of other than :
Derivation hint: No matter how small the ball, you still capture some point of distinct from — so accumulates at . A set is closed if it contains all its limit points; equivalently:
Derivation hint: Complement duality — a point outside that is not a limit point has a ball missing entirely, witnessing openness of the complement.
The collection of open sets in a metric space satisfies:
Derivation hint: The empty condition is vacuously true; every ball around any point lies in .
Derivation hint: Arbitrary unions — a point in the union lies in some , whose witnessing ball still sits inside the union.
Derivation hint: Finite intersections — take the minimum of the finitely many witnessing radii. "Finite" is essential.
By De Morgan applied to [8]–[10]: and are closed; arbitrary intersections of closed sets are closed; finite unions of closed sets are closed.
Derivation hint: De Morgan's laws convert each open-set axiom into its closed-set dual by complementation.
Why It Holds / Derivation
We show is open per definition [5]. 1. Let , so by [4]. 2. Define the slack radius . 3. Claim . Take any , so . 4. By the triangle inequality [3]: . 5. Hence , proving the inclusion. 6. Since every admits such a ball , the set is open by [5].
∎Let be open and . 1. For each , since is open and , there is with . 2. Set (finiteness guarantees the minimum is positive). 3. Then for every . 4. Therefore , so the intersection is open. The failure for infinite intersections: , which is not open in .
∎We verify the equivalence of [7] (complement open) with "contains all limit points." 1. () Suppose is open. Let be a limit point of ; assume for contradiction , i.e. . 2. Openness gives with , so , contradicting [6]. Hence . 3. () Suppose contains all its limit points. Take . Since , is not a limit point of (else ). 4. By negating [6], there exists with ; since , in fact , so . 5. Thus is open, i.e. is closed.
∎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.
Worked Examples
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:
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 .
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
Historical Development
Subtleties & Limits
Metrization asks: which topological spaces arise from some metric? The Urysohn, Nagata–Smirnov, and Bing metrization theorems answer this for large classes (a regular space is metrizable iff it has a -locally-finite base), but characterizing metrizability remains subtle for exotic spaces. Beyond this, the interaction of closedness with completeness is delicate: a set can be closed yet not complete in a non-complete ambient space, and the choice of equivalent metric can change whether balls are convex even while keeping the same open sets. In infinite dimensions, closed bounded sets need not be compact (failure of Heine–Borel), driving the entire field of functional analysis. The general question of when topological structure determines analytic structure underlies ongoing research in descriptive set theory and Borel complexity hierarchies.
See Also
Topological Space · Continuity in Metric Spaces · Compactness · Closure and Interior Operators · Complete Metric Spaces · Connectedness · Point-Set Topology