Interior, Closure, and Boundary
Operations that capture the "inside," "including the edge," and the "edge itself" of a set. The interior is the largest open subset; the closure is the smallest closed superset.
Having established the frameworks of topological and metric spaces, we now develop the basic vocabulary for describing the "shape" of a subset from a topological perspective. Given any subset of a topological space, three canonical sets are associated with it: the interior (the largest open set inside ), the closure (the smallest closed set containing ), and the boundary (the set of points on the edge of ). These operations are the workhorses of point-set topology and appear everywhere in analysis.
We also introduce the related notions of accumulation (cluster) points, isolated points, dense and nowhere dense sets, and — for metric spaces specifically — the characterization of closure via convergent sequences. The chapter culminates in the hierarchy of sets (meagre, comeagre, , ) that underlies the Baire Category Theorem.
Interior, Closure, and Boundary: Definitions
Throughout this chapter, is a topological space and denotes the family of all closed subsets.
Let . We define:
-
The interior of : Also denoted or .
-
The closure of : Also denoted .
-
The boundary of : Also denoted or (for frontier).
Intuition: Think of a painted region on a page.
- is the part of that is "safely inside" — every point has a little room around it also in . This is a union of open sets, so it is itself open. It is in fact the largest open set contained in .
- is together with all the points "just outside" that nearly touches. This is an intersection of closed sets, so it is itself closed. It is the smallest closed set containing .
- is the "edge": points that are in the closure but not in the interior — those touching both and its complement.
Always, .
is automatically open (as a union of open sets), and is automatically closed (as an intersection of closed sets). The boundary is an intersection of two closed sets, hence closed.
Useful complement identities. For any subset , the following identities hold and are used constantly: In words: the complement of the interior is the closure of the complement, and the complement of the closure is the interior of the complement. Both follow directly from the definitions of interior and closure as unions/intersections of open/closed sets, together with de Morgan's laws.
Basic Characterizations
Let . Then:
- .
- .
Intuition: A set equals its own interior exactly when it is open; a set equals its own closure exactly when it is closed. This gives operational tests: to check whether is open, compute and compare with ; to check whether is closed, compute .
Characterization via Neighbourhoods
Let be a topological space and let . Then:
Intuition:
- means "some whole neighbourhood of lies inside ."
- means "every neighbourhood of hits ."
In a metric space, "neighbourhood" can be replaced by "open ball of some radius," so:
- .
- .
Accumulation Points, Isolated Points, and the Derived Set
Let be a topological space, let , and let . We say is an accumulation point (or cluster point, or limit point) of if and only if The derived set of is
Intuition: is an accumulation point of if every neighbourhood of contains some other point of (not just itself). So "piles up" near . The distinction from "" is subtle but important: only requires that every neighbourhood hits somewhere, possibly only at ; requires that every neighbourhood hits at a point different from . The notion is due to Georg Cantor (1872).
In a metric space, the definition rewrites as:
Let and . We say is an isolated point of if there exists with . In a metric space: is isolated if there exists with .
Intuition: is isolated in if sits in with a little buffer around it containing no other points of . Isolated points of are in but not in . Conversely, a point of either is isolated in or is an accumulation point of .
For any ,
is closed if and only if .
Intuition: "Closed" means "contains all its limit points." This is the sequential flavour of closedness we will make precise in metric spaces shortly.
Boundary: Additional Properties
Let be a topological space and . Then:
- , where .
- .
- .
- (which is the corollary above, restated).
Consider with the Euclidean topology.
- : , , , .
- : (every neighbourhood of any rational contains an irrational), (every neighbourhood of any real contains a rational), , .
- : , , , . Every point of is isolated; only is an accumulation point.
- : , , , . Every integer is isolated in .
Closure via Sequences in Metric Spaces
In metric spaces, closure can be characterized using convergent sequences — a tangible, operational description that we do not have in a general topological space.
Let be a metric space with metric topology , and let . Then if and only if there exists a sequence in with .
In a metric space, is closed if and only if for every sequence in converging to a point , one has .
Intuition: In metric spaces, "closed" really does mean "closed under taking limits of sequences." This is how many textbooks first introduce closedness in . Note that in a general topological space — one that need not be metric — this sequential characterization can fail; one needs the more abstract notions of nets or filters.
In a metric space, if and only if there exists a sequence in with for all and .
Dense Sets
Let be a topological space and let . We say is dense in if and only if .
More generally, given and , we say is dense in if and only if (Equivalently, is dense in with respect to the subspace topology on .)
Intuition: is dense in if every point of either lies in or is a limit of points from . In a metric space, equivalently: every open ball in contains a point of . The prototypical example is : the rationals are dense in the reals because every real number can be approximated to arbitrary precision by rationals.
Why "" is the right relative-density condition. When we restrict the topology on to via the subspace topology , the closed sets according to are exactly the sets of the form with closed in . Denoting by the family of closed sets of , we have which is the closure of computed in the subspace topology . So " dense in " is really just " is dense in with respect to its own (inherited) topology."
In , is dense: . This is the content of the archimedean property of (between any two reals there is a rational).
In , let and . Then is dense in . The closure of in is , and , so the condition is satisfied.
Nowhere Dense Sets
Let be a topological space. A subset is nowhere dense in if and only if its closure has empty interior: \text{int}(\overline{S}) = \emptyset. \tag{ND1}
Intuition: Being nowhere dense is a strong form of "smallness." It's not enough for itself to miss open balls; even the closure of — the fattest version of — must contain no open ball. A nowhere dense set has no "fat" parts anywhere.
Let be a topological space and let . The following are equivalent:
- (ND1) .
- (ND2) contains an open set that is dense in .
- (ND3) Every nonempty open subset of contains a nonempty open subset which is disjoint from .
In :
- is nowhere dense: (it's closed), and (no open interval lies inside ).
- is nowhere dense: , which contains no open interval of positive length, so its interior is empty.
- is not nowhere dense: , and .
- is not nowhere dense: , and .
The key distinction: is dense (so its closure is all of ), whereas is "spread out" enough that it has empty interior even after taking closure.
Meagre, Nonmeagre, and Comeagre Sets
Let be a topological space and let .
- is meagre (or thin, or of first category) if can be written as a countable union of nowhere dense sets.
- is nonmeagre (or of second category) if is not meagre.
- is comeagre (or thick, or residual) if its complement is meagre.
Intuition: Meagre sets are "topologically small" — a countable bag of nowhere-dense sets. Comeagre sets are the topologically big ones — their complements are topologically small. In a "good" space (specifically, a complete metric space), these two classes do not overlap: a set cannot be both small and big at once. This is the content of the Baire Category Theorem, which we state at the end of this chapter.
The terminology "first category" / "second category" was introduced by René Baire in 1899. Note: "residual" has nothing to do with category theory.
Equivalent description of comeagre sets. A set is comeagre if and only if can be written as a countable intersection of open dense sets. Indeed: comeagre means with each nowhere dense, which by (ND2) means contains an open dense set ; taking complements gives . The reverse direction is similar. This reformulation is the version of "comeagre" used in the proof of the Baire Category Theorem.
In :
- is meagre (it is itself nowhere dense, hence a "countable" union — with a single element — of nowhere dense sets).
- is meagre (nowhere dense).
- is meagre: , a countable union of singletons, and each singleton is nowhere dense.
- The irrationals are comeagre (since is meagre). Moreover is nonmeagre — but proving this requires the Baire Category Theorem.
and Sets
Let be a topological space. A subset is called:
- a set (or ) if can be written as a countable intersection of open sets.
- an set (or ) if can be written as a countable union of closed sets.
Intuition: The letters stand for German: for Gebiet (region) and for Durchschnitt (intersection); for fermé (closed, French) and for Summe (sum/union). So is "open with intersections" and is "closed with unions."
These classes sit between open and closed: every open set is trivially (a single-term intersection), every closed set is trivially . But the classes are strictly larger: is but (as a closed set in ) it is certainly not open. Similarly, by complementation, is but not closed.
These classes are important in analysis and measure theory because many "natural" sets (the set of continuity points of a function, say) turn out to be or even when they are neither open nor closed.
is if and only if is .
- in is : . It is also closed (hence ).
- in is : , a countable union of singletons (each closed). Its complement, the irrationals, is therefore .
- Every open set is (one-term intersection); every closed set is (one-term union).
- The half-open interval is both (it equals ) and (it equals ). So the classes of and sets intersect but are not equal.
Significance. A classical result (which we will not prove here) states that the set of points at which a function is continuous is always a set. Conversely, there is no function on whose set of continuity points is exactly , because is not a set in (the proof of this last fact uses the Baire Category Theorem).
Looking Ahead: The Baire Category Theorem
The machinery developed in this chapter — interior, closure, accumulation points, dense and nowhere dense sets, meagre and comeagre — culminates in one of the cornerstone results of elementary real analysis.
Let be a nonempty complete metric space, equipped with the metric topology. Then:
- Every comeagre subset of is dense in .
- is nonmeagre (i.e., cannot be written as a countable union of nowhere dense sets).
Intuition: In a complete metric space, "topologically small" (meagre) sets really are small: they cannot exhaust the space, and their complements are dense. The Baire Category Theorem has extraordinary reach — it gives a non-constructive proof that the irrationals are uncountable (and nonmeagre), lies at the heart of functional analysis (Open Mapping, Closed Graph, and Uniform Boundedness theorems), and connects to the deep fact that "most" continuous functions are nowhere differentiable.
Game-theoretic interpretation (Choquet's game). A beautiful reformulation of the Baire property is in terms of a two-player game due to Gustave Choquet (1969). Let be a topological space. Two players, Alice and Bob, play as follows. Alice moves first, choosing a nonempty open set . Then Bob chooses a nonempty open ; then Alice chooses nonempty open ; and so on. The nested chain is produced. Alice wins if ; Bob wins if (note ).
In a nonempty complete metric space, Bob has a winning strategy (he can always shrink his ball by half and keep closure inside the previous ball, producing a Cauchy sequence that must converge by completeness). Conversely, if the space contains a nonempty meagre open set, Alice has a winning strategy. This game-theoretic dichotomy recovers the Baire Category Theorem as a corollary. John Oxtoby proved the further equivalence: every comeagre set is dense if and only if Alice has no winning strategy.
In a nonempty complete metric space, no subset is simultaneously meagre and comeagre.
Payoff: the irrationals are nonmeagre. Since is meagre in and itself is nonmeagre (Baire), we can deduce that must be nonmeagre: if it were meagre, would be a union of two meagre sets, hence meagre — contradicting Baire. This also shows that there is no way to write as a countable union of closed sets, i.e., the irrationals are not .
Summary
In this chapter we built the basic vocabulary of point-set topology inside a topological space:
- Interior, closure, boundary, defined via unions of open sets and intersections of closed sets, equivalently characterized via neighbourhoods.
- Accumulation points and isolated points, giving the decomposition .
- Dense sets (closure equals the whole space) and nowhere dense sets (closure has empty interior), with three equivalent characterizations of the latter.
- Sequential closure: in metric spaces, closure equals the set of limits of sequences from the set.
- Meagre, nonmeagre, comeagre sets; and sets.
- The Baire Category Theorem as the culminating statement tying these ideas to the completeness of metric spaces.
These tools form the language we will use for the rest of the course, where compactness, connectedness, and continuity will be examined in metric and topological spaces.