Closure, Interior, and Boundary
What does it mean for a point to be "on the edge" of a set? Consider the open disk in the plane. Every point of the unit circle feels like an edge point of . This is true even though none of them belong to itself. Making this intuition precise is one of the founding achievements of point-set topology. This must be done without any reference to distance, only to open sets. It produces three operators that pervade the whole subject: the interior, the closure, and the boundary of a set. These operators matter because they translate vague geometric language into precise operations. Phrases like "inside", "on the edge", "arbitrarily close to" become operations defined purely from the axioms. These axioms come from a topological space. Once defined, they satisfy clean algebraic laws: idempotence, monotonicity, duality. These laws let us reason about sets the way we reason about numbers. They also let us detect properties like openness and closedness by simple equalities. A set is open exactly when it equals its own interior. It is closed exactly when it equals its own closure. The big picture is that closure and interior are dual operations. They are linked by complementation. The boundary measures the discrepancy between a set and its closure/interior. This trio gives the first real computational toolkit for a topological space. This is possible well before one has metrics, sequences, or continuity in hand. It also sets up the vocabulary needed for Dense Sets and Separability. A set is dense iff its closure is everything. It also prepares the vocabulary for Limit Points and Sequences, since closure adds exactly the limit points. This article gives the formal definitions. It proves the fundamental structural theorem describing how interior, closure, and boundary interact. It works two detailed non-trivial examples. One example is in with the standard topology. The other is in a non-Hausdorff finite space. It shows exactly why each hypothesis in the theorem is needed. It closes with a map of where these operators recur across mathematics.
- The interior is the largest open set contained in ; the closure is the smallest closed set containing .
- Both exist and are unique in any topological space, by taking a union (resp. intersection) over a suitable family of sets.
- Closure and interior are dual under complementation: .
- The boundary measures exactly the points that are limits of both and its complement.
- is open iff ; is closed iff ; both operators are idempotent and monotone.
- Key idea: closure and interior are the extremal (smallest/largest) closed/open approximations to a set, and every set decomposes as .
Where this lives today
Closure operators recur throughout mathematics as soon as one has any notion of "approximation" or "limiting process." In real and complex analysis, the closure of the set of polynomials in an appropriate function-space topology underlies the Stone–Weierstrass approximation theorem and questions of which functions can be uniformly approximated. In complex analysis, the boundary of a domain (e.g., the unit disk) is exactly the locus where boundary-value problems, Cauchy integral formulas, and conformal mapping theorems (Ahlfors) are stated. In algebraic geometry, the Zariski closure of a set of points is the smallest algebraic variety containing them, and Zariski-closed sets play the role of closed sets in an entirely different, non-metric topology, showing the abstract framework's full generality. In general topology itself, the closure operator is the starting axiomatic object in Kuratowski's approach, from which open sets are recovered as complements of fixed points of the closure operator — an alternate, equivalent foundation to the open-set axioms. In computer science, closure operators appear in formal concept analysis, in the semantics of program analysis (closure under a set of inference rules), and in database theory (closure of a set of functional dependencies). In topology proper, these operators are the direct staircase to Limit Points and Sequences (a point is a limit point of iff every deleted neighborhood meets , closely tied to ), to the notion of a dense set used in Dense Sets and Separability, and to the separation axioms of Hausdorff and Separation Axioms, where the failure of "nice" boundary behavior in Example 2 above is exactly repaired by assuming points can be separated by disjoint open sets.
Ask the tutor: Can you show me how the closure operator's Kuratowski axioms alone recover the open sets of a topology?
Let be a topological space and let .
Interior. The interior of , written or , is the union of all open sets contained in :
Closure. The closure of , written or , is the intersection of all closed sets containing :
Boundary. The boundary (or frontier) of , written , is
A point is called an interior point of if , equivalently if some open set satisfies . A point is called a closure point (or adherent point) of if , equivalently if every open set containing satisfies . A point is a boundary point of if every open set containing meets both and .
Intuition
Think of as the collection of "roomy" neighborhoods available in . The interior of collects the points that have an entire roomy neighborhood sitting fully inside — points that are safely surrounded by on all sides. The closure of collects points that cannot be separated from by any roomy neighborhood — points you can't push away from no matter how you try, because every neighborhood you draw still bumps into . The boundary is what's left over: points that are adherent to but not safely inside it, which forces every neighborhood of such a point to also poke into the complement of . A useful mental picture is the "sandwich": always holds, and equality on the left means is open, equality on the right means is closed. The boundary is the region where this sandwich has genuine bread on both sides — points caught between and its complement no matter how finely you zoom in (topologically, no matter which open set you use to zoom).
Duality between closure and interior
The single most important structural fact, proved below, is that closure and interior determine one another via complementation. This duality is why every fact about interiors has a mirror-image fact about closures, obtained by swapping "open" "closed", "union" "intersection", and "" "".
Let be a topological space and let . Then: 1. (Extremal characterization) is open, , and is the largest open subset of : if is open and , then . 2. (Extremal characterization, dual) is closed, , and is the smallest closed superset of : if is closed and , then . 3. (Point characterizations)
4. (Duality) and . 5. (Idempotence) and . 6. (Monotonicity) If then and . 7. (Openness / closedness criteria) is open iff . is closed iff . 8. (Interaction with union/intersection)
9. (Boundary facts) is closed, , and
Moreover is open iff , and is closed iff .
We prove each part in turn, using only the axioms of a topology (arbitrary unions of open sets are open, finite intersections of open sets are open, and are open) and the definition of closed set as complement of open.
(1) Extremal characterization of interior. By definition , a union of members of , hence open by the topology axiom that arbitrary unions of open sets are open. Each in the union satisfies , so the union itself satisfies . Finally if is open with , then is one of the sets being unioned over, so . Thus is open, contained in , and contains every open subset of — it is the largest such set (largest in the sense of set inclusion: any open satisfies ).
(2) Extremal characterization of closure. By definition . An arbitrary intersection of closed sets is closed: if are closed then is a union of open sets, hence open, so is closed. Thus is closed. Each in the intersection contains , so . If is closed with , then is one of the sets intersected, so . (Note: the family of closed supersets of is nonempty since itself is closed and contains , so the intersection is well-defined and not vacuously all of by convention — it genuinely equals the stated intersection.)
(3) Point characterizations. Interior: If , then since is open (by part 1) and contained in , taking gives an open set with . Conversely, if some open satisfies , then by part (1) , so . This proves the two sides are equal as sets of points. Closure: We show iff some open contains and misses entirely, which is the negation of the claimed characterization, hence equivalent to it. If , since is closed (part 2), is open and contains . Also because . Conversely, suppose open has ; then , and is closed, so by the extremal property (part 2) , giving since . This establishes the contrapositive, hence the stated characterization.
(4) Duality. We show ; the second identity follows by replacing with (using ). is open, since is closed (part 2). It is contained in : because (part 2), complementing (which reverses inclusion) gives . So is an open subset of ; by the extremal property of interior (part 1), . For the reverse inclusion, is open and contained in (part 1), so complementing, is closed and contains . By the extremal property of closure (part 2), , and complementing again gives . Both inclusions give .
(5) Idempotence. is open (part 1). For any open set , trivially, and is the largest open subset of itself, so : indeed always, and itself is an open subset of so by the extremal property. Applying this with gives . Symmetrically is closed (part 2), and any closed set satisfies by the same argument dualized, so .
(6) Monotonicity. Suppose . If is open with , then , so is one of the open sets whose union defines ; hence . Taking the union over all such gives . Dually, if is closed with , then too, so is one of the closed sets intersected to form , giving ; intersecting over all such gives .
(7) Openness/closedness criteria. If is open, then is an open subset of itself, so by the extremal property ; combined with (always true), . Conversely if , then since is open (part 1), is open. The closed case is dual: if is closed, is a closed superset of itself so by the extremal property; with always true, . Conversely if , since is closed, is closed.
(8) Interaction with union/intersection. Interior and intersection (equality): and , so by monotonicity (part 6), and , giving . For the reverse, is an intersection of two open sets, hence open (finite intersection axiom), and it is contained in since and . By the extremal property (part 1), . Both inclusions give equality. Interior and union (inclusion only): and , so by monotonicity and ; taking the union of these two inclusions gives . Closure and union (equality): By duality (part 4), . By the just-proved interior/intersection equality, this equals , which by De Morgan equals , which by duality again equals . Closure and intersection (inclusion only): dualize the interior/union inclusion the same way: apply duality to with replaced by , then complement (which reverses ), yielding .
(9) Boundary facts. (this equals by duality, part 4: ). This is an intersection of two closed sets (part 2 applied to and to ), hence closed. Symmetry is immediate from the symmetric formula . For the trichotomy: , , are pairwise disjoint and cover . Disjointness: ; and by definition of set difference; similarly since . Covering: for any , either or not. If , then by duality (part 4) . If , then either , or in which case . In all cases lies in one of the three pieces, proving . Finally, open iff (part 7) iff : if then by disjointness just shown. Conversely if , take ; since and so , the trichotomy forces (it cannot be in since ). Hence , and with the always-true reverse inclusion, , so is open. The closed case: closed iff (part 7) iff , by an entirely dual argument applied to using and the open case just proved. This completes the proof of all nine parts.
∎Worked examples
Example 1 (asymmetric subset of , standard topology). Let with the standard topology (open sets are unions of open intervals), and let
This set is deliberately asymmetric: an open piece, an isolated point, and a "porous" piece (rationals in , which contain no interval). Interior. We claim . First, is open and , so by the extremal property. For the reverse, suppose ; then some open interval for some . Such an interval cannot be centered at (since any interval around contains points outside , e.g. points in not equal to and not in once ). It also cannot be centered at any point of , or any point at all, because every open interval around a point of contains irrational numbers (by density of irrationals), and irrationals in lie outside . Hence any interior point of must come from the piece, forcing (endpoints fail since any interval around contains negative numbers not in , similarly at ). So . Closure. We claim . The set is closed (finite union of closed sets — a closed interval, a point, a closed interval — and finite unions of closed sets are closed, dually to finite intersections of opens), and it contains , so by the extremal property of closure, . For the reverse inclusion we check each piece is adherent: every point of is a limit of points of (standard density of open intervals in their closed hulls); the point lies in , hence in ; every point of is a limit of rationals in , since rationals are dense in every real interval. Hence , giving equality. Boundary. . Note the entire interval is boundary — every point there is a limit of both (rationals) and (irrationals, and reals outside ), matching the theorem's characterization that boundary points see both and its complement in every neighborhood.
Example 2 (a finite non-Hausdorff space, showing closure need not be "nice"). Let with topology
One checks this is a topology: it is closed under arbitrary unions and finite intersections directly by inspection (it is a nested chain of sets, so unions/intersections of any subfamily equal the largest/smallest member of that subfamily, which is again in ). Let . Interior. The open subsets of are exactly the members of contained in . Checking: (yes), , (contains ), , . So the only open subset of is , and . Closure. First find the closed sets: complements of are . We need the smallest closed set containing . Checking each closed set against : fails (); fails (); fails (); works (); works but is bigger. The smallest closed superset is , so . Boundary. . This example is instructive: the point , which is not even in , is nonetheless in the boundary of — every open set containing (namely or ) meets both (via or ) and (via or itself). This shows boundary points can be "far" from in a naive sense yet topologically inseparable from it — a phenomenon impossible in the more familiar Hausdorff/metric setting where points are always separable from disjoint closed sets not containing them, foreshadowing Hausdorff and Separation Axioms.
The theorem crucially defines as the intersection of closed supersets of , and relies on closed sets being closed under arbitrary intersection. If we instead tried to define a "closure-like" operator using an intersection over an arbitrary collection of supersets — not required to be closed, or drawn from some non-topology family that is not closed under intersections — the extremal/idempotence properties can fail. Concretely, work in with the standard topology, and consider the family of all supersets of that are countable unions of closed intervals (this family is not closed under arbitrary intersection: it fails to contain all the intersections one might need, and in particular is not the collection of closed sets in any topology on finer than making arbitrary infinite intersections work). Define a naive operator
Take -style exhaustions is not quite it — instead here is the cleanest failure: let consist of all sets of the form where is any finite subset of (so is not required to contain complements of open sets at all). Each such is a "superset of ", and
since for any point , the single-element set excludes from being forced into every member's necessity — more precisely is one member of the family, but itself (take ) is also a member, and is in the intersection, so the naive intersection collapses to exactly . This "closure" is not even a superset-respecting operator in the topological sense: it produces , missing the honestly adherent points and that every genuine neighborhood of must approach. The reason the real closure does not collapse this way is precisely that we restrict to the family of closed sets, a family engineered (via the topology axioms) to be stable under arbitrary intersections and to correctly detect adherent points via the point-characterization (part 3 of the theorem). Dropping the requirement " is closed" breaks both the well-definedness of the extremal characterization and the correct detection of limit points, showing this hypothesis in the definition is not decorative — it is load-bearing.
Scope, edge cases & common traps
| Situation | What happens | Why |
|---|---|---|
| already open | Theorem part 7 | |
| already closed | Theorem part 7 | |
| or | , | both are open and closed |
| Infinite union of interiors | , not always equality | e.g. for each rational ; each interior is empty but still has empty interior in here so equality can hold or fail depending on example — care needed, only finite unions/intersections have the clean laws in general |
| Infinite intersection of closures | , not always equality | e.g. in : so LHS is , but , which is nonempty |
| Non-Hausdorff spaces | Boundary points can lie outside both and any "visible" separation of from its complement | see Example 2 |
| Confusing interior/closure of complement with complement of interior/closure | These agree exactly (duality), but sign/direction errors are common | Theorem part 4 |
The mathematician behind it
Origins · 1 minFelix Hausdorff and how this was discovered
Felix Hausdorff, working in Germany in the early twentieth century, gave the first systematic axiomatic treatment of topological spaces via neighborhood systems in his 1914 book Grundzüge der Mengenlehre. He isolated the separation property now bearing his name and developed closure, interior, and related operators as basic algebraic tools for reasoning about abstract spaces, independent of any underlying metric. His framework unified earlier, more ad hoc treatments of limit points and convergence due to Cantor and Fréchet into a single coherent axiomatic system, and it remains essentially the framework used today.
Is always nonempty if is nonempty?
No. Interior can be empty even for large or "thick-looking" sets. The classic example is inside with the standard topology: every open interval contains irrational numbers, so no open interval is contained in , forcing . More generally, any set whose complement is dense will have empty interior, since no open set can avoid a dense complement. This is why "interior" genuinely measures topological thickness rather than cardinality: is countably infinite yet topologically "thin," while a single open interval, though it may contain fewer points in some naive sense is impossible to compare that way, is topologically "thick" with nonempty interior.
Does closure commute with taking complements the same way it commutes with unions?
Not directly — closure and complement don't commute with each other in a simple sense, but closure and interior are dual under complement, which is a different (and precise) relationship. The exact statement is , proven above. This says the complement of the closure of equals the interior of the complement of — a genuine identity — but it is not the same as saying , which is false in general (e.g., take a nonempty proper open subset of that is not closed, such as ; then check the two sides differ at the boundary points ).
Can the boundary of a set be all of ?
Yes, when both and are dense but neither is open nor closed in a way that creates interior. The rationals again: , since both rationals and irrationals are dense in . So the entire real line is the "boundary" of the rationals — every real number, rational or not, has every neighborhood meeting both and its complement.
How do closure and interior relate to continuity?
A function between topological spaces is continuous if and only if for every , or equivalently, if and only if for every . These closure-based characterizations are frequently used as alternate definitions of continuity, especially in contexts (like Kuratowski's closure-axiom approach) where closure is taken as the primitive notion instead of open sets. They generalize the familiar calculus fact that continuous functions send convergent sequences (and their limits) to convergent sequences.
Is the boundary operator idempotent, like interior and closure?
No, and this is a common point of confusion. While and always, it is not true in general that . In fact is always closed (theorem part 9), and for closed sets one can show but the containment can be strict. For example, in , let ; then (a similar density argument as for restricted to ), and since is closed, , which is strictly smaller than . So here.
What's the fastest way to check whether a given point is in the closure of ?
Use the point-characterization directly (theorem part 3): if and only if every open set containing intersects . In a metric space this simplifies further to: iff for every there exists with , i.e., is a limit of a sequence in (or itself). This sequential test, valid in metric and more generally first-countable spaces, is usually the quickest practical check, though it can fail in more exotic (non-first-countable) topological spaces, where the neighborhood-based definition is the one that always works.