Skip to content

Continuity and Homeomorphisms

Definition. Let (X,τX)(X, \tau_X) and (Y,τY)(Y, \tau_Y) be topological spaces. A function f:X→Yf : X \to Y is continuous if the preimage of every open set is open: for all U∈τYU \in \tau_Y, f−1(U)∈τXf^{-1}(U) \in \tau_X.

Equivalently, ff is continuous if the preimage of every closed set is closed.

Proposition 4.1. The following are equivalent for f:X→Yf : X \to Y:

  1. ff is continuous.
  2. f−1(V)f^{-1}(V) is closed in XX for every closed V⊆YV \subseteq Y.
  3. f−1(B‾)⊆f−1(B)‾f^{-1}(\overline{B}) \subseteq \overline{f^{-1}(B)} for every B⊆YB \subseteq Y.
  4. f(A‾)⊆f(A)‾f(\overline{A}) \subseteq \overline{f(A)} for every A⊆XA \subseteq X.

Example 4.1. Every constant function f:X→Yf : X \to Y is continuous.

Example 4.2. The identity map id⁡:X→X\operatorname{id} : X \to X is always continuous.

Example 4.3. If τ1\tau_1 and τ2\tau_2 are topologies on XX with τ1⊆τ2\tau_1 \subseteq \tau_2, then id⁡:(X,τ2)→(X,τ1)\operatorname{id} : (X, \tau_2) \to (X, \tau_1) is continuous, but id⁡:(X,τ1)→(X,τ2)\operatorname{id} : (X, \tau_1) \to (X, \tau_2) need not be.

Proposition 4.2. The composition of continuous functions is continuous: if f:X→Yf : X \to Y and g:Y→Zg : Y \to Z are continuous, then g∘f:X→Zg \circ f : X \to Z is continuous.

Continuity at a point. A function f:X→Yf : X \to Y is continuous at x0∈Xx_0 \in X if for every neighbourhood VV of f(x0)f(x_0), there exists a neighbourhood UU of x0x_0 such that f(U)⊆Vf(U) \subseteq V. This local definition coincides with the global definition: ff is continuous iff it is continuous at every point.

Proposition 4.3 (Pasting Lemma). If X=A∪BX = A \cup B where AA and BB are closed (or open) in XX, and f:A→Yf : A \to Y, g:B→Yg : B \to Y are continuous functions that agree on A∩BA \cap B, then the function h:X→Yh : X \to Y defined by h∣A=fh|_A = f and h∣B=gh|_B = g is continuous.

Example 4.4 (Piecewise functions). The absolute value function f(x)=∣x∣f(x) = |x| is continuous on R\mathbb{R} by the pasting lemma: on (−∞,0](-\infty, 0] it equals −x-x (continuous), on [0,∞)[0, \infty) it equals xx (continuous), and the two agree at x=0x = 0.

Example 4.5. The function f(x)=sin⁡(1/x)f(x) = \sin(1/x) for x≠0x \neq 0 and f(0)=0f(0) = 0 is not continuous at 00, even though it satisfies the intermediate value property on every neighbourhood.

Definition. A function f:X→Yf : X \to Y is open if the image of every open set is open; it is closed if the image of every closed set is closed. Continuity does not imply openness: the constant function f(x)=cf(x) = c is continuous but not open (the image {c}\{c\} is not open in R\mathbb{R}). The projection π:X×Y→X\pi : X \times Y \to X is open but not necessarily closed.

Proposition 4.4. A bijective continuous function is a homeomorphism iff it is open (equivalently, closed).

Definition. A function f:X→Yf : X \to Y is a homeomorphism if ff is bijective and both ff and f−1f^{-1} are continuous. We write X≅YX \cong Y and say XX and YY are homeomorphic.

A topological property (or topological invariant) is a property preserved by homeomorphisms.

Example 4.6. (0,1)(0, 1) is homeomorphic to R\mathbb{R} via f(x)=tan⁡(πx−π2)f(x) = \tan\left(\pi x - \frac{\pi}{2}\right).

Example 4.7. Any two open intervals (a,b)(a, b) and (c,d)(c, d) in R\mathbb{R} are homeomorphic via an affine map.

Example 4.8 (Coffee cup and donut). A coffee cup (with a handle) is homeomorphic to a torus S1×S1S^1 \times S^1 via a continuous deformation. This illustrates that homeomorphisms permit stretching and bending but not tearing or gluing.

Proposition 4.5. Homeomorphism is an equivalence relation: reflexive, symmetric, and transitive.

The following are topological invariants (preserved by homeomorphisms):

  • Compactness
  • Connectedness
  • Separation axioms (T0T_0, T1T_1, T2T_2, etc.)
  • Countability axioms (first-countable, second-countable)
  • The fundamental group π1(X)\pi_1(X)

Proposition 4.6. “Boundedness” is not a topological property: (0,1)(0, 1) is bounded but is homeomorphic to the unbounded R\mathbb{R}.

Definition. An embedding is a homeomorphism onto its image: f:X→Yf : X \to Y such that f:X→f(X)f : X \to f(X) (with the subspace topology) is a homeomorphism.

Definition. A surjective continuous map q:X→Yq : X \to Y is a quotient map if U⊆YU \subseteq Y is open iff q−1(U)q^{-1}(U) is open in XX. Quotient maps are used to construct spaces by gluing: if ∼\sim is an equivalence relation on XX, then X/∼X/{\sim} with the quotient topology is the space of equivalence classes with the finest topology making the projection continuous.

Example 4.9. The unit interval [0,1][0, 1] with endpoints identified yields the circle S1S^1: [0,1]/{0∼1}≅S1[0, 1] / \{0 \sim 1\} \cong S^1. The unit square with opposite edges identified yields the torus.

4.6 Worked Example: Proving Two Spaces are Not Homeomorphic

Section titled “4.6 Worked Example: Proving Two Spaces are Not Homeomorphic”

Problem. Show that (0,1)(0, 1) and [0,1][0, 1] are not homeomorphic.

Solution

Suppose f:[0,1]→(0,1)f : [0, 1] \to (0, 1) is a homeomorphism. Then removing the point 00 from [0,1][0, 1] leaves [0,1]∖{0}=(0,1][0, 1] \setminus \{0\} = (0, 1], which is connected. Removing f(0)f(0) from (0,1)(0, 1) leaves (0,1)∖{f(0)}=(0,f(0))∪(f(0),1)(0, 1) \setminus \{f(0)\} = (0, f(0)) \cup (f(0), 1), which is disconnected. Since connectedness is preserved by homeomorphisms, this is a contradiction.

■\blacksquare

4.7 Worked Example: Continuity of a Piecewise Function

Section titled “4.7 Worked Example: Continuity of a Piecewise Function”

Problem. Determine whether f:R→Rf : \mathbb{R} \to \mathbb{R} defined by f(x)=xsin⁡(1/x)f(x) = x\sin(1/x) for x≠0x \neq 0 and f(0)=0f(0) = 0 is continuous at x=0x = 0.

Solution

For x≠0x \neq 0, ∣f(x)∣=∣xsin⁡(1/x)∣≤∣x∣|f(x)| = |x\sin(1/x)| \leq |x|. Given ε>0\varepsilon > 0, choose δ=ε\delta = \varepsilon. If ∣x−0∣<δ|x - 0| < \delta, then ∣f(x)−f(0)∣=∣xsin⁡(1/x)∣≤∣x∣<ε|f(x) - f(0)| = |x\sin(1/x)| \leq |x| < \varepsilon. Therefore ff is continuous at 00 (and everywhere on R\mathbb{R}). Note that unlike sin⁡(1/x)\sin(1/x), the factor xx forces the oscillation amplitude to decay to zero.

■\blacksquare