Skip to content

Topological Spaces

Definition. A topological space is a pair (X,τ)(X, \tau) where XX is a set and τ\tau is a collection of subsets of XX called open sets, satisfying:

  1. τ\emptyset \in \tau and XτX \in \tau.
  2. The union of any sub-collection of τ\tau is in τ\tau (arbitrary unions of open sets are open).
  3. The intersection of any finite sub-collection of τ\tau is in τ\tau (finite intersections of open sets are open).

The collection τ\tau is called a topology on XX.

Example 2.1. Let X={a,b,c}X = \{a, b, c\}. The collection

τ={,{a},{a,b},{a,b,c}}\tau = \{\emptyset, \{a\}, \{a, b\}, \{a, b, c\}\}

is a topology on XX.

Example 2.2 (Discrete topology). For any set XX, let τd=P(X)\tau_d = \mathcal{P}(X) (all subsets of XX). This is the discrete topology — every subset is open.

Example 2.3 (Indiscrete topology). For any set XX, let τi={,X}\tau_i = \{\emptyset, X\}. This is the indiscrete topology (or trivial topology).

Example 2.4 (Cofinite topology). For any infinite set XX, let τc\tau_c consist of \emptyset and all subsets UXU \subseteq X such that XUX \setminus U is finite. This is the cofinite topology.

Example 2.5 (Standard topology on R\mathbb{R}). A subset URU \subseteq \mathbb{R} is open if for every xUx \in U there exists ε>0\varepsilon > 0 such that (xε,x+ε)U(x - \varepsilon, x + \varepsilon) \subseteq U. The collection of all such open sets is the standard topology on R\mathbb{R}.

Definition. A basis for a topology τ\tau on XX is a collection Bτ\mathcal{B} \subseteq \tau such that every open set is a union of elements of B\mathcal{B}.

Equivalently, B\mathcal{B} is a basis if and only if:

  1. For each xXx \in X, there exists BBB \in \mathcal{B} with xBx \in B.
  2. If B1,B2BB_1, B_2 \in \mathcal{B} and xB1B2x \in B_1 \cap B_2, then there exists B3BB_3 \in \mathcal{B} with xB3B1B2x \in B_3 \subseteq B_1 \cap B_2.

Example 2.6. The collection of all open intervals (a,b)(a, b) in R\mathbb{R} forms a basis for the standard topology.

Example 2.7. The collection of all open balls Br(p)={xRn:xp<r}B_r(p) = \{x \in \mathbb{R}^n : \|x - p\| < r\} forms a basis for the standard topology on Rn\mathbb{R}^n.

Definition. Let (X,τ)(X, \tau) be a topological space and YXY \subseteq X. The subspace topology on YY is

τY={UY:Uτ}.\tau_Y = \{U \cap Y : U \in \tau\}.

Proposition 2.1. If B\mathcal{B} is a basis for τ\tau, then {BY:BB}\{B \cap Y : B \in \mathcal{B}\} is a basis for the subspace topology on YY.

Example 2.8. The subspace topology on [0,1]R[0, 1] \subseteq \mathbb{R} (with the standard topology) has [0,1/2)[0, 1/2) as an open set (since [0,1/2)=(1/2,1/2)[0,1][0, 1/2) = (-1/2, 1/2) \cap [0, 1]).

Definition. Let τ1\tau_1 and τ2\tau_2 be topologies on XX. We say τ1\tau_1 is coarser (weaker) than τ2\tau_2 (or τ2\tau_2 is finer (stronger) than τ1\tau_1) if τ1τ2\tau_1 \subseteq \tau_2.

For any set XX: indiscrete \subseteq cofinite \subseteq standard (if X=RX = \mathbb{R}) \subseteq discrete.

TopologyBasisSeparationProperties
Discrete{{x}:xX}\{\{x\} : x \in X\}Completely normalEvery function from XX is continuous
Indiscrete{X}\{X\}Not T0T_0Every function to XX is continuous
Cofinite{XF:F finite}\{X \setminus F : F\text{ finite}\}T1T_1 but not T2T_2Compact (any XX)
Standard (R\mathbb{R}){(a,b):a<b}\{(a,b) : a<b\}T4T_4 (normal)Connected, separable, Lindelöf
Subspace{BY:BBX}\{B \cap Y : B \in \mathcal{B}_X\}Inherits T0,T1,T2T_0,T_1,T_2Open sets = intersections with YY

These examples span the spectrum from finest (discrete, many open sets) to coarsest (indiscrete, few open sets).

  • Assuming all topologies are metric. The cofinite topology on an infinite set is not Hausdorff (T2T_2) and cannot arise from a metric. Fix: Metric spaces are a proper subclass of topological spaces; many useful topologies are non-metrisable.
  • Thinking arbitrary intersections of open sets are open. Only finite intersections are guaranteed. Fix: Counterexample: in R\mathbb{R}, n=1(1/n,1/n)={0}\bigcap_{n=1}^\infty (-1/n, 1/n) = \{0\}, which is not open.
  • Confusing open and closed sets. A set can be both (clopen: \emptyset and XX), neither, or one without the other. Fix: Topology defines open sets; closed sets are complements. Check the definition, not intuition from R\mathbb{R}.
  • Assuming the subspace topology is intuitive. A set can be open in YXY \subseteq X without being open in XX. Fix: [0,1/2)[0, 1/2) is open in [0,1][0,1] with subspace topology because [0,1/2)=(1/2,1/2)[0,1][0,1/2) = (-1/2, 1/2) \cap [0,1].
  • Data analysis (persistent homology): Topological data analysis uses simplicial complexes and persistent homology to study shape in high-dimensional data, with the Vietoris-Rips complex topology.
  • Network theory: Graphs are 1-dimensional CW complexes; topological invariants like the fundamental group detect holes and cycles in communication and social networks.
  • Robot motion planning: The configuration space of a robotic arm is a topological space; its connected components determine reachable configurations and its fundamental group encodes obstacles.
  • Quantum computing: The topology of quantum error-correcting codes (surface codes, toric codes) determines their error thresholds; logical qubits correspond to non-contractible loops on the code manifold.
  • General relativity: Spacetime is a 4-dimensional Lorentzian manifold (a topological space locally modelled on R4\mathbb{R}^4); global topology determines possible causal structures and singularities.

2.9 Worked Example: Comparing Topologies on a Finite Set

Section titled “2.9 Worked Example: Comparing Topologies on a Finite Set”

Problem. Let X={1,2,3}X = \{1,2,3\}. List all possible topologies on XX that are strictly finer than τ1={,X}\tau_1 = \{\emptyset, X\} and strictly coarser than τ2=P(X)\tau_2 = \mathcal{P}(X). How many are there?

Solution. τ1\tau_1 is the indiscrete topology (2 open sets). τ2\tau_2 is the discrete topology (8 open sets). Any topology strictly between them must have at least 3 and at most 7 open sets.

We need τ\tau such that τ1ττ2\tau_1 \subsetneq \tau \subsetneq \tau_2. By checking all collections that satisfy the three axioms, we find three such topologies:

  • τa={,{1},X}\tau_a = \{\emptyset, \{1\}, X\} (coarsest refinement)
  • τb={,{1,2},X}\tau_b = \{\emptyset, \{1,2\}, X\}
  • τc={,{1},{2},{1,2},X}\tau_c = \{\emptyset, \{1\}, \{2\}, \{1,2\}, X\} (contains two singletons)

Each is strictly finer than the indiscrete topology (adds at least one non-trivial open set) and strictly coarser than the discrete topology (omits at least one singleton). There are three distinct intermediate topologies up to relabelling of points.

\blacksquare

AxiomRequirementWhy finite matters
,Xτ\emptyset, X \in \tauThe empty set and whole space are openProvides base and top elements
Arbitrary unionsAny union of open sets is openEnsures topology is closed under “or”
Finite intersectionsFinite intersections of open sets are openPrevents pathological singleton limits