Skip to content

Closed Sets, Closure, Interior, and Boundary

Definition. A subset FXF \subseteq X is closed if its complement XFX \setminus F is open.

Proposition 3.1. Closed sets satisfy:

  1. \emptyset and XX are closed.
  2. Any intersection of closed sets is closed.
  3. Any finite union of closed sets is closed.

Example 3.1. In R\mathbb{R} with the standard topology, [a,b][a, b] is closed since R[a,b]=(,a)(b,)\mathbb{R} \setminus [a, b] = (-\infty, a) \cup (b, \infty) is open.

Example 3.2. Sets can be both open and closed (clopen). In the discrete topology every set is clopen. In any topological space, \emptyset and XX are clopen.

Example 3.3. Sets can be neither open nor closed. In R\mathbb{R}, [0,1)[0, 1) is neither open nor closed.

Definition. The closure of AXA \subseteq X, denoted A\overline{A}, is the smallest closed set containing AA:

A={F:F is closed and AF}.\overline{A} = \bigcap \{F : F \text{ is closed and } A \subseteq F\}.

Equivalently, xAx \in \overline{A} if and only if every open set containing xx intersects AA.

Example 3.4. In R\mathbb{R}: (0,1)=[0,1]\overline{(0, 1)} = [0, 1], Q=R\overline{\mathbb{Q}} = \mathbb{R}.

Example 3.5. In R2\mathbb{R}^2 with the standard topology, the closure of the open unit disc {(x,y):x2+y2<1}\{(x, y) : x^2 + y^2 < 1\} is the closed unit disc {(x,y):x2+y21}\{(x, y) : x^2 + y^2 \leq 1\}.

Definition. The interior of AXA \subseteq X, denoted A˚\mathring{A} or int(A)\operatorname{int}(A), is the largest open set contained in AA:

int(A)={U:U is open and UA}.\operatorname{int}(A) = \bigcup \{U : U \text{ is open and } U \subseteq A\}.

Equivalently, xint(A)x \in \operatorname{int}(A) if and only if there exists an open set UU with xUAx \in U \subseteq A.

Example 3.6. In R\mathbb{R}: int([0,1])=(0,1)\operatorname{int}([0, 1]) = (0, 1), int(Q)=\operatorname{int}(\mathbb{Q}) = \emptyset.

Definition. The boundary of AXA \subseteq X, denoted A\partial A, is:

A=AXA=Aint(A).\partial A = \overline{A} \cap \overline{X \setminus A} = \overline{A} \setminus \operatorname{int}(A).

Example 3.7. In R\mathbb{R}: (0,1)={0,1}\partial(0, 1) = \{0, 1\}, Q=R\partial\mathbb{Q} = \mathbb{R}, =\partial\emptyset = \emptyset.

Definition. A subset AXA \subseteq X is dense in XX if A=X\overline{A} = X.

Example 3.8. Q\mathbb{Q} is dense in R\mathbb{R} with the standard topology.

Example 3.9. In the cofinite topology on an infinite set XX, every infinite subset is dense.

Proposition 3.2. AA is dense in XX if and only if every nonempty open set intersects AA.

OperationDefinitionNotationDuality
ClosureSmallest closed supersetA={F:AF,  F closed}\overline{A} = \bigcap\{F : A \subseteq F,\; F\text{ closed}\}A=Xint(XA)\overline{A} = X \setminus \operatorname{int}(X \setminus A)
InteriorLargest open subsetint(A)={U:UA,  U open}\operatorname{int}(A) = \bigcup\{U : U \subseteq A,\; U\text{ open}\}int(A)=XXA\operatorname{int}(A) = X \setminus \overline{X \setminus A}
BoundaryPoints in both closure and complement’s closureA=AXA\partial A = \overline{A} \cap \overline{X \setminus A}A=Aint(A)\partial A = \overline{A} \setminus \operatorname{int}(A)
ExteriorInterior of complementext(A)=int(XA)\operatorname{ext}(A) = \operatorname{int}(X \setminus A)X=int(A)Aext(A)X = \operatorname{int}(A) \cup \partial A \cup \operatorname{ext}(A)
  1. Closed is not the opposite of open: A set can be both open and closed (clopen), or neither. In R\mathbb{R} with the standard topology, \emptyset and R\mathbb{R} are clopen; [0,1)[0,1) is neither.
  2. Closure depends on the ambient space: (0,1)(0,1) has closure [0,1][0,1] in R\mathbb{R}, but in R\mathbb{R} with the lower-limit topology, the closure includes additional limit points. The closure operation is relative to the topology.
  3. Boundary points need not belong to the set: (0,1)={0,1}\partial(0,1) = \{0,1\} in R\mathbb{R}, but neither 0 nor 1 is in (0,1)(0,1). The boundary of an open set is always contained in its complement.
  4. Dense sets can have empty interior: Q\mathbb{Q} is dense in R\mathbb{R} yet has empty interior. A dense set has full closure but may be “full of holes” topologically.
  5. Finite union vs infinite intersection: Closed sets are only guaranteed closed under finite unions. An infinite union of closed sets (e.g., n=1[1/n,1]\bigcup_{n=1}^\infty [1/n, 1]) may not be closed.

Worked Example: Closure and Boundary in Subspace Topology

Section titled “Worked Example: Closure and Boundary in Subspace Topology”

Problem. Let A=(0,1]×{0}R2A = (0,1] \times \{0\} \subset \mathbb{R}^2. Find A\overline{A}, int(A)\operatorname{int}(A), and A\partial A in R2\mathbb{R}^2 with the standard topology.

Solution. AA is a line segment on the xx-axis, open at 0 and closed at 1.

  • A=[0,1]×{0}\overline{A} = [0,1] \times \{0\}: The point (0,0)(0,0) is a limit point because every neighbourhood contains points of AA.
  • int(A)=\operatorname{int}(A) = \emptyset: No open ball in R2\mathbb{R}^2 is contained in a line segment.
  • A=A=[0,1]×{0}\partial A = \overline{A} = [0,1] \times \{0\}: Every point of AA is also a boundary point since every neighbourhood contains points both in AA and AcA^c.

This illustrates that a set with empty interior is entirely contained in its boundary.

  • Continuous functions on dense subsets: If two continuous functions f,g:XYf, g : X \to Y agree on a dense subset DXD \subset X, then f=gf = g everywhere. This is fundamental in analysis for extending functions.
  • Baire category theorem: Complete metric spaces cannot be expressed as a countable union of nowhere dense sets. This theorem underlies proofs of existence of continuous nowhere differentiable functions.
  • Closure in function spaces: The Stone—Weierstrass theorem characterises dense subalgebras of C(X)C(X), enabling polynomial approximation of continuous functions.
  • Manifold boundaries: The topological boundary of a manifold with boundary is distinct from its manifold boundary. For an nn-manifold with boundary, M\partial M as a topological space is an (n1)(n-1)-manifold without boundary.
  • Analysis: The closure operation is essential for defining compactness (every open cover has a finite subcover) and the Heine—Borel theorem.
  • Algebraic topology: The boundary operator \partial in singular homology is defined using topological boundaries of simplices.
  • Functional analysis: The closure of a subspace in a normed space is central to the Hahn—Banach theorem and the definition of the dual space.
  • Differential geometry: The interior and boundary of a manifold with boundary are defined analogously, using charts to R+n\mathbb{R}^n_+.

Problem. Show that the set of polynomials P[0,1]\mathcal{P}[0,1] is dense in C([0,1],R)C([0,1], \mathbb{R}) (continuous functions on [0,1][0,1]) under the supremum norm.

Solution. By the Stone—Weierstrass theorem, any subalgebra of C([0,1])C([0,1]) that separates points and contains constant functions is dense. The polynomials clearly form a subalgebra, contain constants, and separate points (the polynomial p(x)=xp(x) = x distinguishes x1x2x_1 \neq x_2). Therefore P[0,1]=C([0,1])\overline{\mathcal{P}[0,1]} = C([0,1]).

In the language of closure: the closure of the polynomials in the sup-norm topology is the entire space of continuous functions. Every continuous function on [0,1][0,1] can be approximated uniformly by a sequence of polynomials (Weierstrass approximation theorem).

OperationProperty 1Property 2Property 3
A\overline{A}AAA \subseteq \overline{A}A=A\overline{\overline{A}} = \overline{A}AB=AB\overline{A \cup B} = \overline{A} \cup \overline{B}
int(A)\operatorname{int}(A)int(A)A\operatorname{int}(A) \subseteq Aint(int(A))=int(A)\operatorname{int}(\operatorname{int}(A)) = \operatorname{int}(A)int(AB)=int(A)int(B)\operatorname{int}(A \cap B) = \operatorname{int}(A) \cap \operatorname{int}(B)
A\partial AA=(XA)\partial A = \partial(X \setminus A)(AB)AB\partial(A \cup B) \subseteq \partial A \cup \partial B(AB)AB\partial(A \cap B) \subseteq \partial A \cup \partial B
DenseA=X\overline{A} = XAA intersects every nonempty open setAcA^c has empty interior