11  Constructions on Topological Spaces

Given a topological space, one routinely builds new ones from it. Subsets inherit topologies, products assemble spaces coordinatewise, and equivalence relations collapse points into single objects. Each construction is determined by a universal property — a description of exactly which maps into or out of the new space are continuous — and these characterisations are more useful in practice than the formal definitions. The formal definitions are still needed to verify that the universal properties hold.

11.1 Subspace topology

A subset of a topological space inherits a natural topology from the ambient space.

Definition 11.1 (Subspace topology) Let \((X,\mathscr{T})\) be a topological space and \(A \subset X\). The subspace topology on \(A\) is \[ \mathscr{T}_A := \{U \cap A : U \in \mathscr{T}\}. \]

That \(\mathscr{T}_A\) is a topology is immediate: \(\varnothing = \varnothing \cap A\) and \(A = X \cap A\) are both in \(\mathscr{T}_A\), and arbitrary unions and finite intersections distribute over intersection with \(A\).

The subspace topology is the coarsest topology on \(A\) making the inclusion \(\iota : A \hookrightarrow X\) continuous. This is its universal property: a map \(f : Z \to A\) is continuous precisely when \(\iota \circ f : Z \to X\) is continuous. One does not need to know anything about \(A\) beyond the inclusion; continuity into \(A\) is entirely determined by continuity into \(X\).

Closed sets in the subspace are intersections of closed sets of \(X\) with \(A\): a set \(F \subset A\) is closed in \(A\) iff \(F = C \cap A\) for some closed \(C \subset X\). This follows immediately from De Morgan’s laws and the definition.

Open sets in the subspace need not be open in the ambient space. The set \((0,1]\) is open in \((0,2)\) with the subspace topology inherited from \(\mathbb{R}\) — it equals \((0,2) \cap (-1, \tfrac{3}{2})\) — although it is not open in \(\mathbb{R}\) itself. Open-in-\(A\) is always a relative statement.

Proposition 11.1 (Subspaces of metric spaces) Let \((X,d)\) be a metric space and \(A \subset X\). The subspace topology on \(A\) coincides with the metric topology induced by the restricted metric \(d|_A : A \times A \to \mathbb{R}\).

Proof. For \(x \in A\) and \(r > 0\), \[ B_r^A(x) = \{a \in A : d(x,a) < r\} = B_r(x) \cap A. \] Every metric ball in \(A\) is therefore open in the subspace topology. Conversely, every set of the form \(U \cap A\) with \(U\) open in \(X\) is a union of such restricted balls. The two topologies coincide. \(\square\)

Subspaces of metric spaces are automatically metric spaces. No additional structure is required, and no axioms need to be re-verified.

Exercise. Show that if \(A\) is open in \(X\), then \(U \subset A\) is open in \(A\) if and only if it is open in \(X\).

If \(U\) is open in \(A\), write \(U = V \cap A\) for some open \(V \subset X\). Since \(A\) is open in \(X\), \(U = V \cap A\) is an intersection of two open sets in \(X\), hence open in \(X\).

Conversely, if \(U \subset A\) is open in \(X\), then \(U = U \cap A\), so \(U\) is open in the subspace topology. \(\square\)

The hypothesis that \(A\) is open is essential. When \(A\) is not open, a set can be open in \(A\) without being open in \(X\) — the whole point of the subspace topology is that openness is relative. The case \(A\) open is the one where the relative and absolute notions agree.

11.2 Product topology

The product topology encodes coordinatewise continuity. It is, by design, the topology that makes a map into \(X \times Y\) continuous iff each coordinate map is continuous separately.

Definition 11.2 (Product topology) Let \((X,\mathscr{T}_X)\) and \((Y,\mathscr{T}_Y)\) be topological spaces. The product topology on \(X \times Y\) is the topology generated by the basis \[ \mathscr{B} = \{U \times V : U \in \mathscr{T}_X,\ V \in \mathscr{T}_Y\}. \]

That \(\mathscr{B}\) is a basis: \(X \times Y \in \mathscr{B}\) covers the space, and \[ (U_1 \times V_1) \cap (U_2 \times V_2) = (U_1 \cap U_2) \times (V_1 \cap V_2) \in \mathscr{B}. \] So \(\mathscr{B}\) is closed under finite intersection and the product topology is well-defined.

The product topology is the coarsest topology on \(X \times Y\) making the coordinate projections \[ \pi_X : X \times Y \to X, \qquad \pi_Y : X \times Y \to Y \] continuous. Its universal property: a map \(f : Z \to X \times Y\) is continuous iff both \(\pi_X \circ f\) and \(\pi_Y \circ f\) are continuous. Continuity into a product reduces to continuity into each factor.

For an arbitrary product \(\prod_{\alpha \in \Lambda} X_\alpha\), the product topology is generated by the subbasis of cylinder sets \[ \pi_\alpha^{-1}(U_\alpha), \qquad U_\alpha \subset X_\alpha \text{ open}, \] which restrict only a single coordinate at a time. Finite intersections of cylinder sets form a basis. For finite products this coincides with the basis \(\{U_1 \times \cdots \times U_n\}\) of box-open sets; for infinite products the two diverge, and the product topology is strictly coarser than the box topology. The product topology is the correct one — it is the one for which the universal property holds.

Proposition 11.2 (Products of metric spaces) Let \((X,d_X)\) and \((Y,d_Y)\) be metric spaces. The metrics \[ d_1\bigl((x_1,y_1),(x_2,y_2)\bigr) = d_X(x_1,x_2) + d_Y(y_1,y_2) \] and \[ d_\infty\bigl((x_1,y_1),(x_2,y_2)\bigr) = \max\{d_X(x_1,x_2),\, d_Y(y_1,y_2)\} \] both generate the product topology on \(X \times Y\).

Proof. Consider \(d_\infty\). A ball \(B_r^{d_\infty}((x,y))\) consists of pairs with \(d_X(x,x') < r\) and \(d_Y(y,y') < r\) simultaneously, so \[ B_r^{d_\infty}((x,y)) = B_r(x) \times B_r(y), \] which is a basis element for the product topology.

Conversely, given a basis neighbourhood \(U \times V\) of \((x,y)\), choose \(r_X, r_Y > 0\) with \(B_{r_X}(x) \subset U\) and \(B_{r_Y}(y) \subset V\). Setting \(r = \min(r_X, r_Y)\) gives \[ B_r^{d_\infty}((x,y)) \subset U \times V. \] The \(d_\infty\)-topology and product topology coincide. The argument for \(d_1\) is the same up to constants, using the equivalence \(d_\infty \leq d_1 \leq 2d_\infty\). \(\square\)

In particular, \(\mathbb{R}^n = \mathbb{R} \times \cdots \times \mathbb{R}\) with the Euclidean metric topology is precisely the product of \(n\) copies of \(\mathbb{R}\). The choice of metric on a product does not matter for topological purposes — use whichever is convenient.

Convergence in product spaces is coordinatewise, exactly as the universal property predicts.

Proposition 11.3 (Convergence in products) A sequence \((x_n, y_n)\) in \(X \times Y\) converges to \((x,y)\) if and only if \(x_n \to x\) and \(y_n \to y\).

Proof. If \((x_n, y_n) \to (x,y)\), then \(x_n = \pi_X(x_n,y_n) \to \pi_X(x,y) = x\) by continuity of \(\pi_X\), and similarly \(y_n \to y\).

Conversely, suppose \(x_n \to x\) and \(y_n \to y\). Given any basis neighbourhood \(U \times V\) of \((x,y)\), eventually \(x_n \in U\) and eventually \(y_n \in V\), so eventually \((x_n,y_n) \in U \times V\). \(\square\)

Proposition 11.4 (Products preserve Hausdorffness) If \(X\) and \(Y\) are Hausdorff, then \(X \times Y\) is Hausdorff.

Proof. Let \((x_1,y_1) \neq (x_2,y_2)\). Then either \(x_1 \neq x_2\) or \(y_1 \neq y_2\). Suppose \(x_1 \neq x_2\). Since \(X\) is Hausdorff, there exist disjoint open sets \(U_1 \ni x_1\) and \(U_2 \ni x_2\). Then \(U_1 \times Y\) and \(U_2 \times Y\) are disjoint open neighbourhoods of the two points in \(X \times Y\). \(\square\)

Exercise. Let \(f : Z \to X \times Y\) be defined by \(f(z) = (f_1(z), f_2(z))\). Show directly from the universal property that \(f\) is continuous iff \(f_1\) and \(f_2\) are both continuous.

By the universal property of the product topology, \(f\) is continuous iff \(\pi_X \circ f = f_1\) and \(\pi_Y \circ f = f_2\) are both continuous. That is the claim. \(\square\)

This is the template for verifying continuity into any product: check each coordinate separately. The universal property reduces the problem, and one never needs to work with the basis elements \(U \times V\) directly.

11.3 Quotient topology

The quotient topology identifies points according to an equivalence relation. It is the construction responsible for some of the most important spaces in analysis — and, when handled carelessly, some of the most pathological.

Definition 11.3 (Quotient topology) Let \((X,\mathscr{T})\) be a topological space and \(\sim\) an equivalence relation on \(X\). Let \(\pi : X \to X/{\sim}\) be the canonical projection sending each point to its equivalence class. The quotient topology on \(X/{\sim}\) is \[ \mathscr{T}_{X/{\sim}} := \{U \subset X/{\sim} : \pi^{-1}(U) \in \mathscr{T}\}. \]

That \(\mathscr{T}_{X/{\sim}}\) is a topology: \(\pi^{-1}(\varnothing) = \varnothing\) and \(\pi^{-1}(X/{\sim}) = X\) are both in \(\mathscr{T}\), and preimages commute with arbitrary unions and finite intersections by Proposition 3.1.

The quotient topology is the finest topology on \(X/{\sim}\) making \(\pi\) continuous — the opposite direction from the subspace and product topologies, which were the coarsest making certain maps continuous. Its universal property runs the other way: a map \(f : X/{\sim} \to Z\) is continuous iff \(f \circ \pi : X \to Z\) is continuous. To define a continuous map out of a quotient, define a continuous map on \(X\) that is constant on equivalence classes; it descends automatically.

The quotient topology behaves more subtly than the others. A quotient of a Hausdorff space need not be Hausdorff — compactness is preserved under quotients, but separation is not in general. A sufficient condition for the quotient to be Hausdorff: the equivalence relation should be a closed subset of \(X \times X\).

Example 11.1 (Quotients in analysis)  

  1. The real numbers, in the Cauchy sequence construction, are precisely a quotient of the space of rational Cauchy sequences by the relation \[ (x_n) \sim (y_n) \iff |x_n - y_n| \to 0. \]

  2. The circle is obtained from the interval by identifying the endpoints: \[ S^1 \cong [0,1]/{\sim}, \qquad 0 \sim 1. \]

  3. The spaces \(L^p(\Omega)\) arise as quotients of measurable functions modulo equality almost everywhere.

Quotients appear throughout analysis wherever two objects that differ only in a way irrelevant to the problem at hand — two Cauchy sequences with the same limit, two functions equal off a null set, two paths with the same endpoints — are to be treated as the same object.

11.4 Homeomorphisms and topological invariants

A homeomorphism is a bijective continuous map \(f : X \to Y\) whose inverse \(f^{-1} : Y \to X\) is also continuous. Two spaces related by a homeomorphism are topologically identical — no topological property distinguishes them.

Properties preserved by homeomorphisms are called topological invariants. Hausdorffness, compactness, connectedness, and second-countability are all invariants of this kind. The constructions developed in this chapter interact naturally with these properties:

  • Subspaces of Hausdorff spaces are Hausdorff; subspaces of metrisable spaces are metrisable.
  • Finite products preserve Hausdorffness and compactness.
  • Quotients preserve compactness; quotients of Hausdorff spaces need not remain Hausdorff.

The cleanest way to recognise that two spaces are homeomorphic is often to exhibit a continuous bijection from a compact space to a Hausdorff space — such a map is automatically a homeomorphism, since the image of a compact set under a continuous map is compact, and in a Hausdorff space compact sets are closed. This argument recurs constantly.

Exercise. Show that \([0,1]/{\sim}\), with \(0 \sim 1\), is homeomorphic to the circle \(S^1 \subset \mathbb{R}^2\).

Define \(f : [0,1] \to S^1\) by \(f(t) = (\cos 2\pi t, \sin 2\pi t)\). This is continuous. Since \(f(0) = f(1) = (1,0)\), the map is constant on equivalence classes and descends to a continuous map \(\widetilde{f} : [0,1]/{\sim} \to S^1\) by the universal property of the quotient.

The map \(\widetilde{f}\) is bijective: different equivalence classes in \([0,1]/{\sim}\) correspond to different values of \(t \in [0,1)\), and \(t \mapsto (\cos 2\pi t, \sin 2\pi t)\) is injective on \([0,1)\) and surjective onto \(S^1\).

Since \([0,1]\) is compact, its quotient \([0,1]/{\sim}\) is compact, and \(S^1 \subset \mathbb{R}^2\) is Hausdorff. A continuous bijection from a compact space to a Hausdorff space is a homeomorphism. \(\square\)

The argument avoids constructing the inverse explicitly — one instead appeals to the compact-to-Hausdorff principle. This pattern appears repeatedly: recognise the compact domain and Hausdorff codomain, exhibit the continuous bijection, and conclude.