9  Separation Axioms

The metric topology of the previous chapter is particularly well behaved: points can be distinguished, disjoint closed sets can be separated, and continuous functions exist in abundance. None of these properties is automatic in an arbitrary topological space. They arise only after imposing additional axioms, and the resulting hierarchy contains essentially all spaces encountered in analysis.

The topology axioms themselves impose almost no restrictions on how a space distinguishes its points. Distinct points may share exactly the same open neighbourhoods; the indiscrete topology is the extreme case. The separation axioms impose progressively stronger conditions on this behaviour, each with important analytical consequences.

Many standard facts depend implicitly on these assumptions. In \(\mathbb{R}\), convergent sequences have unique limits, and the set on which two continuous functions agree is closed; both depend on the Hausdorff property. Results concerning the existence and extension of continuous functions rely on stronger separation conditions, ultimately on normality. The purpose of this chapter is to define the principal separation axioms, determine the relationships between them, and locate metric spaces within the resulting hierarchy.

9.1 The T1 axiom

Definition 9.1 (T1 space) A topological space \(X\) is a \(T_1\) space if every singleton \(\{x\}\) is closed, or equivalently, if for any two distinct points \(x \neq y\) in \(X\), each has a neighbourhood not containing the other.

The equivalence is immediate: singletons are closed iff every point can be “avoided” by a neighbourhood of any other point. Since finite unions of closed sets are closed, \(T_1\) is also equivalent to requiring that every finite subset of \(X\) is closed.

Example 9.1 (Examples)  

  1. Every metric space is \(T_1\): given \(x \neq y\), the ball \(B_{d(x,y)/2}(y)\) is an open neighbourhood of \(y\) not containing \(x\).

  2. The cofinite topology on an infinite set \(X\) — in which the open sets are \(\varnothing\) and all sets with finite complement — is \(T_1\): singletons have open complements. It is the canonical example of a \(T_1\) space that is not Hausdorff.

  3. The indiscrete topology on a two-point set is not \(T_1\): singletons are not closed.

The \(T_1\) condition has a sharp consequence for limit points.

Lemma 9.1 (\(T_1\) and limit points) In a \(T_1\) space, \(x\) is a limit point of \(A\) if and only if every neighbourhood of \(x\) contains infinitely many points of \(A\).

Proof. \((\Leftarrow)\) Immediate: if every neighbourhood of \(x\) meets \(A \setminus \{x\}\) in infinitely many points, it certainly meets \(A \setminus \{x\}\) at all.

\((\Rightarrow)\) Suppose some neighbourhood \(U \ni x\) meets \(A \setminus \{x\}\) in only finitely many points, say \(\{x_1,\ldots,x_n\}\). Since \(X\) is \(T_1\), the finite set \(\{x_1,\ldots,x_n\}\) is closed, so \(U \setminus \{x_1,\ldots,x_n\}\) is an open neighbourhood of \(x\) that does not meet \(A \setminus \{x\}\). This contradicts \(x\) being a limit point. \(\square\)

This lemma is why \(T_1\) appears in many theorems about limit points. Without it, a point could be a limit point of a set while some neighbourhood meets that set in only finitely many points — a pathology that breaks standard intuitions about derived sets and closures.

Exercise. Show that in a \(T_1\) space, \(\overline{A} = A \cup A'\) for every \(A \subset X\).

From the general chapter on topological spaces: \(x \in \overline{A}\) iff every open neighbourhood of \(x\) meets \(A\). We show \(\overline{A} = A \cup A'\).

If \(x \in A\), then every neighbourhood of \(x\) meets \(A\) (at \(x\) itself), so \(x \in \overline{A}\). If \(x \in A'\), every neighbourhood meets \(A \setminus \{x\} \subset A\), so again \(x \in \overline{A}\). This gives \(A \cup A' \subset \overline{A}\).

Conversely, suppose \(x \notin A\) and \(x \notin A'\). Since \(x \notin A'\), some neighbourhood \(U\) of \(x\) satisfies \(U \cap (A \setminus \{x\}) = \varnothing\). Since \(x \notin A\), this means \(U \cap A = \varnothing\), so \(x \notin \overline{A}\). Hence \(\overline{A} \subset A \cup A'\). \(\square\)

The \(T_1\) hypothesis is used implicitly: it ensures \(x \notin A'\) translates cleanly into the existence of a neighbourhood missing \(A \setminus \{x\}\), which together with \(x \notin A\) gives a neighbourhood missing \(A\) entirely.

9.2 Hausdorff spaces

Definition 9.2 (Hausdorff space (\(T_2\))) A topological space \(X\) is Hausdorff, or a \(T_2\) space, if for any two distinct points \(x \neq y\) in \(X\), there exist disjoint open sets \(U \ni x\) and \(V \ni y\).

Figure 9.1: Left: T1 — each point has a neighbourhood avoiding the other, but the neighbourhoods may overlap. Right: T2 (Hausdorff) — the neighbourhoods can be chosen disjoint.

Every Hausdorff space is \(T_1\): given \(x \neq y\), the Hausdorff condition provides an open neighbourhood \(V\) of \(y\) with \(x \notin V\). The converse fails — the cofinite topology on \(\mathbb{N}\) is \(T_1\) but not Hausdorff.

Theorem 9.1 (Every metric space is Hausdorff)  

Proof. Given \(x \neq y\) in \((X,d)\), set \(r = d(x,y)/2 > 0\). If \(z \in B_r(x) \cap B_r(y)\), then \[ d(x,y) \leq d(x,z) + d(z,y) < r + r = d(x,y), \] a contradiction. So \(B_r(x)\) and \(B_r(y)\) are disjoint open neighbourhoods. \(\square\)

The Hausdorff condition is the minimal assumption under which the basic language of analysis is unambiguous.

Theorem 9.2 (Uniqueness of limits in Hausdorff spaces) In a Hausdorff space, limits of sequences are unique.

Proof. Suppose \((x_n)\) converges to both \(x\) and \(y\) with \(x \neq y\). Choose disjoint open \(U \ni x\) and \(V \ni y\). Since \(x_n \to x\), eventually \(x_n \in U\); since \(x_n \to y\), eventually \(x_n \in V\). Eventually \(x_n \in U \cap V = \varnothing\), a contradiction. \(\square\)

This is why Hausdorff appears in virtually every theorem in analysis: without it, the phrase “the limit” is meaningless.

Theorem 9.3 (Consequences of Hausdorff) Let \(X\) be Hausdorff.

  1. Every finite subset of \(X\) is closed.
  2. Every compact subset of \(X\) is closed.

Proof.

  1. It suffices to show singletons are closed. Fix \(x \in X\). For each \(y \neq x\), the Hausdorff condition provides an open neighbourhood \(V_y\) of \(y\) with \(x \notin V_y\). Then \(X \setminus \{x\} = \bigcup_{y \neq x} V_y\) is open.

  2. Let \(K \subset X\) be compact and \(x \notin K\). For each \(k \in K\), choose disjoint open \(U_k \ni x\) and \(V_k \ni k\). The \(V_k\) cover \(K\); extract a finite subcover \(V_{k_1},\ldots,V_{k_n}\). Then \(U := U_{k_1} \cap \cdots \cap U_{k_n}\) is an open neighbourhood of \(x\) disjoint from \(K\), so \(X \setminus K\) is open. \(\square\)

In a Hausdorff space, compact implies closed. The converse requires compactness of the ambient space: in \(\mathbb{R}^n\), closed and bounded iff compact (Heine–Borel), but in a general Hausdorff space a closed set need not be compact.

Proposition 9.1 (Agreement set of continuous maps) Let \(f, g : X \to Y\) be continuous maps with \(Y\) Hausdorff. Then \(\{x \in X : f(x) = g(x)\}\) is closed in \(X\).

Proof. Consider the diagonal \(\Delta := \{(y,y) : y \in Y\} \subset Y \times Y\). Given \((y_1,y_2) \notin \Delta\), i.e. \(y_1 \neq y_2\), the Hausdorff condition provides disjoint open \(U \ni y_1\) and \(V \ni y_2\); then \(U \times V\) is an open neighbourhood of \((y_1,y_2)\) disjoint from \(\Delta\). So \(\Delta\) is closed in \(Y \times Y\).

The map \(h : X \to Y \times Y\) defined by \(h(x) = (f(x),g(x))\) is continuous (as the product of two continuous maps), and \(\{x : f(x) = g(x)\} = h^{-1}(\Delta)\) is the preimage of a closed set under a continuous map, hence closed. \(\square\)

Corollary 9.1 (Continuity and dense subsets) If \(f, g : X \to Y\) are continuous, \(Y\) is Hausdorff, and \(f = g\) on a dense subset of \(X\), then \(f = g\) on all of \(X\).

Proof. The agreement set \(\{x : f(x) = g(x)\}\) is closed by the proposition, and it contains a dense subset of \(X\), so it equals \(X\). \(\square\)

This corollary is used constantly in analysis: to verify two continuous functions agree everywhere, it suffices to check them on a dense subset — in practice, usually \(\mathbb{Q}\).

Exercise. Show that the product of two Hausdorff spaces is Hausdorff.

Let \(X\) and \(Y\) be Hausdorff and let \((x_1, y_1) \neq (x_2, y_2)\) in \(X \times Y\). Then \(x_1 \neq x_2\) or \(y_1 \neq y_2\). In the first case, choose disjoint open \(U_1 \ni x_1\) and \(U_2 \ni x_2\) in \(X\); then \(U_1 \times Y\) and \(U_2 \times Y\) are disjoint open sets in \(X \times Y\) separating the two points. The second case is analogous. \(\square\)

More generally, any product of Hausdorff spaces (with the product topology) is Hausdorff by the same argument applied coordinatewise.

9.3 Regular spaces and \(T_3\)

The Hausdorff condition separates points from points. The next level separates points from closed sets.

Definition 9.3 (Regular space (\(T_3\))) A topological space \(X\) is regular if for every point \(x\) and every closed set \(F\) with \(x \notin F\), there exist disjoint open sets \(U \ni x\) and \(V \supset F\).

A space that is both regular and \(T_1\) is called a \(T_3\) space.

NoteConventions on separation axioms

The numbering of separation axioms is not uniform across the literature. Some authors require \(T_1\) as part of the definition of regular; others do not. We follow the convention that “regular” means the geometric separation condition alone, and “\(T_3\)” means regular plus \(T_1\). In particular, every \(T_3\) space is \(T_2\) (and \(T_1\)).

Figure 9.2: Regular (\(T_3\)): a point and a disjoint closed set can be separated by disjoint open sets.

Proposition 9.2 (Every metric space is \(T_3\))  

Proof. Metric spaces are \(T_1\) (singletons are closed) and regular. For regularity: given \(x \notin F\) with \(F\) closed, set \(r = d(x,F)/2 > 0\) where \(d(x,F) = \inf_{f \in F} d(x,f) > 0\) (since \(F\) is closed and \(x \notin F\)). Let \(U = B_r(x)\) and \(V = \bigcup_{f \in F} B_r(f)\). If \(z \in U \cap V\), then \(d(x,z) < r\) and \(d(z,f) < r\) for some \(f \in F\), so \(d(x,f) \leq d(x,z)+d(z,f) < 2r = d(x,F)\), contradicting the definition of \(d(x,F)\). \(\square\)

Exercise. Show that \(X\) is regular if and only if for every point \(x\) and every open set \(U \ni x\), there exists an open set \(W\) with \(x \in W \subset \overline{W} \subset U\).

\((\Rightarrow)\) Given \(x \in U\) with \(U\) open, the set \(F = X \setminus U\) is closed and \(x \notin F\). Regularity gives disjoint open \(W \ni x\) and \(V \supset F\). Since \(W\) and \(V\) are disjoint, \(W \subset X \setminus V\). Since \(V\) is open, \(X \setminus V\) is closed, so \(\overline{W} \subset X \setminus V \subset X \setminus F = U\).

\((\Leftarrow)\) Given \(x \notin F\) with \(F\) closed, set \(U = X \setminus F\), which is open. The hypothesis gives \(W\) with \(x \in W \subset \overline{W} \subset U = X \setminus F\). Then \(W\) and \(V = X \setminus \overline{W}\) are the required disjoint open sets: \(W \ni x\) and \(V \supset F\) (since \(F \subset X \setminus \overline{W}\)). \(\square\)

This characterisation is often taken as the definition of regularity. It says every point has a “shrinkable” neighbourhood system — around any open neighbourhood one can find a strictly smaller one whose closure stays inside. It is this property that the basis comparison lemma for regularity uses.

9.4 Normal spaces and \(T_4\)

The final level of the main hierarchy separates closed sets from each other.

Definition 9.4 (Normal space (\(T_4\))) A topological space \(X\) is normal if for every pair of disjoint closed sets \(F\) and \(G\), there exist disjoint open sets \(U \supset F\) and \(V \supset G\).

A space that is both normal and \(T_1\) is called a \(T_4\) space.

Figure 9.3: Normal (\(T_4\)): two disjoint closed sets can be separated by disjoint open sets.

Proposition 9.3 (Every metric space is normal)  

Proof. Metric spaces are \(T_1\). For normality: given disjoint closed \(F, G \subset (X,d)\), set \[ U = \bigcup_{x \in F} B_{r(x)}(x), \qquad V = \bigcup_{y \in G} B_{s(y)}(y), \] where \(r(x) = d(x,G)/3\) and \(s(y) = d(y,F)/3\). Both are positive since \(F\) and \(G\) are closed and disjoint. If \(z \in U \cap V\), then \(d(x,z) < r(x)\) for some \(x \in F\) and \(d(z,y) < s(y)\) for some \(y \in G\), so \[ d(x,y) \leq d(x,z)+d(z,y) < \tfrac{1}{3}d(x,G)+\tfrac{1}{3}d(y,F) \leq \tfrac{1}{3}d(x,y)+\tfrac{1}{3}d(x,y), \] giving \(d(x,y) < \tfrac{2}{3}d(x,y)\), a contradiction. So \(U \cap V = \varnothing\). \(\square\)

Normal spaces admit far richer supplies of continuous functions than lower levels of the hierarchy. This is the content of the two key theorems of this chapter.

9.5 Urysohn’s lemma

Urysohn’s lemma is the analytic heart of the normal axiom. It says that in a normal space, disjoint closed sets can be separated not only by open sets but by a continuous real-valued function.

Theorem 9.4 (Urysohn’s lemma) Let \(X\) be a normal space and let \(F\) and \(G\) be disjoint closed subsets of \(X\). Then there exists a continuous function \(f : X \to [0,1]\) such that \(f|_F \equiv 0\) and \(f|_G \equiv 1\).

The proof constructs \(f\) by interpolation over the dyadic rationals — a standard and beautiful argument.

Proof. Let \(\mathbb{D} = \{k/2^n : k \in \mathbb{Z},\, n \geq 0\} \cap [0,1]\) be the dyadic rationals in \([0,1]\). We construct open sets \(U_r\) for each \(r \in \mathbb{D}\) such that:

  • \(F \subset U_0\) and \(G \cap \overline{U_1} = \varnothing\),

  • \(r < s \implies \overline{U_r} \subset U_s\).

Set \(U_1 = X \setminus G\) (open since \(G\) is closed). Apply normality to \(F\) and \(X \setminus U_1\) to get open \(U_0\) with \(F \subset U_0\) and \(\overline{U_0} \subset U_1\).

Now proceed inductively. Given \(U_r\) for all dyadic \(r\) with denominator \(< 2^n\), each adjacent pair \(r < s\) has a gap: apply normality to the disjoint closed sets \(\overline{U_r}\) and \(X \setminus U_s\) to produce \(U_{(r+s)/2}\) with \[ \overline{U_r} \subset U_{(r+s)/2} \subset \overline{U_{(r+s)/2}} \subset U_s. \]

Now, set \[ f(x) = \inf\{r \in \mathbb{D} : x \in U_r\}. \] Then \(f(x) = 0\) for \(x \in F\) (since \(x \in U_0\)) and \(f(x) = 1\) for \(x \in G\) (since \(x \notin U_r\) for any \(r < 1\), as \(G \cap \overline{U_1} = \varnothing\) gives \(x \notin U_r \subset \overline{U_r} \subset U_1 = X \setminus G\)).

One checks that \(f^{-1}([0,a)) = \bigcup_{r < a} U_r\) and \(f^{-1}((a,1]) = \bigcup_{r > a} (X \setminus \overline{U_r})\), both open. Since sets of the form \([0,a)\) and \((a,1]\) form a subbasis for the standard topology on \([0,1]\), \(f\) is continuous. \(\square\)

NoteUrysohn for metric spaces

For metric spaces the conclusion is immediate without the dyadic construction: set \[ f(x) = \frac{d(x,F)}{d(x,F)+d(x,G)}, \] where \(d(x,A) = \inf_{a \in A} d(x,a)\). The denominator is everywhere positive since \(F\) and \(G\) are disjoint and closed, and continuity follows from continuity of \(x \mapsto d(x,A)\) (which is \(1\)-Lipschitz). The Urysohn lemma is the generalisation of this formula to spaces where distance is not available.

Urysohn’s lemma is the key step in establishing that normal spaces are “analytically rich.” Its immediate consequence is that a \(T_4\) space can be embedded into a product of intervals — the content of the Urysohn metrization theorem.

Exercise. Let \(X\) be normal and \(F, G \subset X\) disjoint closed sets. Let \(a < b\) be real numbers. Show there exists a continuous \(f : X \to [a,b]\) with \(f|_F \equiv a\) and \(f|_G \equiv b\).

Apply Urysohn’s lemma to get \(g : X \to [0,1]\) with \(g|_F \equiv 0\) and \(g|_G \equiv 1\). Then \(f(x) = a + (b-a)g(x)\) is a continuous function from \(X\) to \([a,b]\) satisfying \(f|_F \equiv a\) and \(f|_G \equiv b\). \(\square\)

9.6 The Tietze extension theorem

Urysohn’s lemma asks for a function that equals prescribed constants on two closed sets. The Tietze extension theorem asks for something harder: given a continuous function defined on a closed set, extend it to the whole space without breaking continuity.

Theorem 9.5 (Tietze extension theorem) Let \(X\) be a normal space and \(F \subset X\) a closed subset. If \(f : F \to [-1,1]\) is continuous, then there exists a continuous \(\tilde{f} : X \to [-1,1]\) with \(\tilde{f}|_F = f\).

Proof. We construct a sequence of continuous functions on \(X\) converging uniformly to an extension of \(f\).

Step 1. Given a continuous \(g : F \to [-c, c]\), we produce a continuous \(h : X \to [-c/3, c/3]\) such that \(|g(x) - h(x)| \leq 2c/3\) for all \(x \in F\).

Set \(A = g^{-1}([-c, -c/3])\) and \(B = g^{-1}([c/3, c])\). These are disjoint closed subsets of \(F\), hence of \(X\). By Urysohn’s lemma, there exists continuous \(h : X \to [-c/3, c/3]\) with \(h|_A \equiv -c/3\) and \(h|_B \equiv c/3\). On \(F\): if \(g(x) \in [-c,-c/3]\) then \(h(x) = -c/3\) and \(|g(x)-h(x)| \leq 2c/3\); if \(g(x) \in [c/3,c]\) then \(h(x) = c/3\) and \(|g(x)-h(x)| \leq 2c/3\); if \(g(x) \in (-c/3,c/3)\) then \(|h(x)| \leq c/3\) and \(|g(x)-h(x)| < 2c/3\).

Step 2. Apply Step 1 repeatedly. Start with \(c_0 = 1\) and \(f_0 = f\). At step \(n\), produce \(h_n : X \to [-c_n/3, c_n/3]\) such that \(|f_n - h_n| \leq 2c_n/3\) on \(F\), and set \(f_{n+1} = f_n - h_n|_F\) with \(c_{n+1} = 2c_n/3\).

Step 3. Set \(\tilde{f} = \sum_{n=0}^\infty h_n\). This converges uniformly on \(X\) since \(\|h_n\|_\infty \leq c_n/3 = (2/3)^n/3\) and \(\sum (2/3)^n < \infty\). A uniform limit of continuous functions is continuous, and \(\tilde{f}\) takes values in \([-1,1]\) since \(\sum_{n=0}^\infty \|h_n\|_\infty \leq \sum (2/3)^n/3 = 1\). On \(F\): \(\sum_{n=0}^{N-1} h_n|_F = f - f_N \to f\) as \(N \to \infty\), since \(|f_N| \leq c_N = (2/3)^N \to 0\). \(\square\)

NoteUnbounded version

If \(f : F \to \mathbb{R}\) is a continuous function on a closed subset of a normal space \(X\), then \(f\) extends to a continuous \(\tilde{f} : X \to \mathbb{R}\). This follows by composing with a homeomorphism \(\mathbb{R} \cong (-1,1)\): extend on \([-1,1]\) first, then check the extension lands in \((-1,1)\) on \(X \setminus F\) by openness arguments and compose back.

The Tietze theorem is used repeatedly in analysis: it guarantees that locally-defined continuous functions can be globalised, and it is the reason partitions of unity work for normal spaces. In particular, it implies that continuous functions separate closed sets in any \(T_4\) space — a strong form of Urysohn’s lemma.

Exercise. Use the Tietze extension theorem to prove: if \(X\) is normal and \(F \subset X\) is closed, then every bounded continuous function \(f : F \to \mathbb{R}\) extends to a bounded continuous function on \(X\) with the same bound.

Suppose \(|f| \leq M\) on \(F\). The function \(f/M : F \to [-1,1]\) is continuous and, by Tietze, extends to \(g : X \to [-1,1]\). Then \(Mg : X \to [-M,M]\) is a continuous extension of \(f\) satisfying \(|Mg| \leq M\) on all of \(X\). \(\square\)

9.7 The separation hierarchy

The four axioms form a strict chain: \[ T_4 \implies T_3 \implies T_2 \implies T_1. \]

In metric spaces, all four hold simultaneously — indeed, every metric space is \(T_4\). This is one reason metric spaces are so tractable: the entire hierarchy collapses, and the full arsenal of Urysohn and Tietze is always available.

The implications are strict in general. The cofinite topology on \(\mathbb{N}\) is \(T_1\) but not \(T_2\). The lower limit topology on \(\mathbb{R}\) (the Sorgenfrey line) is \(T_3\) but not \(T_4\) — a classical example showing that normality is a genuine restriction even among metrizable-looking spaces.

Example 9.2 (Where the classical spaces sit)  

  1. Any metric space: \(T_4\) (all axioms hold).
  2. Compact Hausdorff spaces: \(T_4\) — compact and \(T_2\) together imply \(T_4\), since one can use compactness to extract the finite subcovers needed for normality.
  3. The Sorgenfrey line \(\mathbb{R}_\ell\): \(T_3\) but not \(T_4\). The key obstruction: \(\mathbb{R}_\ell \times \mathbb{R}_\ell\) is not normal, which detects the failure through the product.
  4. The cofinite topology on \(\mathbb{R}\): \(T_1\) but not \(T_2\).