TheoremComplete

Urysohn Lemma

The Urysohn lemma is one of the deepest and most useful results in point-set topology. It states that in a normal space, any two disjoint closed sets can be separated by a continuous real-valued function. This connects the topological separation axioms with the algebraic/analytic structure of continuous functions.


Statement

Theorem6.8Urysohn Lemma

Let XX be a normal topological space. If AA and BB are disjoint closed subsets of XX, then there exists a continuous function f:X[0,1]f: X \to [0, 1] such that fA0f|_A \equiv 0 and fB1f|_B \equiv 1.

RemarkConverse

The converse is also true: if for every pair of disjoint closed sets there exists a continuous function to [0,1][0,1] separating them, then XX is normal. (Take U=f1([0,1/2))U = f^{-1}([0, 1/2)) and V=f1((1/2,1])V = f^{-1}((1/2, 1]).)

Thus normality is equivalent to the functional separation of closed sets.


Proof Sketch

Proof

The proof constructs the function ff by building a family of open sets indexed by the dyadic rationals D={p/2n:p,nZ,0p2n}[0,1]D = \{p/2^n : p, n \in \mathbb{Z}, 0 \leq p \leq 2^n\} \cap [0, 1].

Step 1: Constructing the open sets.

We construct open sets {Ur}rD\{U_r\}_{r \in D} such that:

  • AUrA \subseteq U_r for all rDr \in D.
  • U0AU_0 \supseteq A and U1=XBU_1 = X \setminus B.
  • If r<sr < s (both in DD), then UrUs\overline{U_r} \subseteq U_s.

Start with U1=XBU_1 = X \setminus B, which is open and contains AA. By the normality characterization (Theorem 6.4), there exists an open U0U_0 with AU0U0U1A \subseteq U_0 \subseteq \overline{U_0} \subseteq U_1.

Now inductively define UrU_r for all dyadic rationals. At stage nn, we have defined UrU_r for all r=k/2n1r = k/2^{n-1}. For each new dyadic rational r=(2m+1)/2nr = (2m+1)/2^n, the sets Um/2n1U_{m/2^{n-1}} and U(m+1)/2n1U_{(m+1)/2^{n-1}} satisfy Um/2n1U(m+1)/2n1\overline{U_{m/2^{n-1}}} \subseteq U_{(m+1)/2^{n-1}}. Apply normality to find UrU_r with: Um/2n1UrUrU(m+1)/2n1.\overline{U_{m/2^{n-1}}} \subseteq U_r \subseteq \overline{U_r} \subseteq U_{(m+1)/2^{n-1}}.

Step 2: Defining the function.

For xXx \in X, define: f(x)=inf{rD:xUr}.f(x) = \inf\{r \in D : x \in U_r\}.

If xAx \in A, then xUrx \in U_r for all rDr \in D, so f(x)=0f(x) = 0. If xBx \in B, then xU1=XBx \notin U_1 = X \setminus B and xUrx \notin U_r for any r1r \leq 1, so f(x)=1f(x) = 1.

Step 3: Continuity.

We verify f1([0,a))f^{-1}([0, a)) and f1((a,1])f^{-1}((a, 1]) are open for all a[0,1]a \in [0, 1]:

  • f1([0,a))=r<a,rDUrf^{-1}([0, a)) = \bigcup_{r < a, r \in D} U_r, which is a union of open sets, hence open.
  • f1((a,1])=r>a,rD(XUr)f^{-1}((a, 1]) = \bigcup_{r > a, r \in D} (X \setminus \overline{U_r}), since f(x)>af(x) > a iff xUrx \notin \overline{U_r} for some r>ar > a. This is a union of open sets, hence open.

Since sets of the form [0,a)[0, a) and (a,1](a, 1] form a subbasis for [0,1][0, 1], ff is continuous.


Applications

ExampleSeparating Closed Sets in $\mathbb{R}^n$

Since Rn\mathbb{R}^n is normal (it is metrizable), the Urysohn lemma applies. For disjoint closed sets A,BRnA, B \subseteq \mathbb{R}^n, there exists a smooth "bump function" separating them. The Urysohn lemma provides a continuous (not necessarily smooth) separator. With additional techniques (partitions of unity), one obtains smooth separators.

ExampleUrysohn Lemma for Metric Spaces

In a metric space (X,d)(X, d), the Urysohn function can be written explicitly: f(x)=d(x,A)d(x,A)+d(x,B).f(x) = \frac{d(x, A)}{d(x, A) + d(x, B)}. This is continuous (as d(,A)d(\cdot, A) and d(,B)d(\cdot, B) are continuous and their sum is positive on XX since AB=A \cap B = \emptyset and both are closed), equals 00 on AA, and equals 11 on BB.

This explicit formula is much simpler than the general construction, but it relies on having a metric.

RemarkUrysohn's Legacy

The Urysohn lemma (proved by Pavel Urysohn in 1925) is fundamental for:

  • The Tietze extension theorem (extending continuous functions from closed subsets).
  • The Urysohn metrization theorem (second-countable normal spaces are metrizable).
  • The Stone--Cech compactification (constructed using continuous functions to [0,1][0,1]).
  • Establishing that normal spaces are completely regular.