Skip to content

Continuous Maps and Homeomorphisms: Continuity Recast through Preimages of Open Sets

Prerequisite:Topological Spaces: What Remains of Nearness When the Metric Is Discarded

Raw
  • Continuity can be defined by a single requirement: that the preimage of every open set of the codomain be open in the domain. No distance, no ε\varepsilon, no δ\delta is needed.
  • For maps between metric spaces this definition agrees exactly with continuity in the ε\varepsilon-δ\delta sense (Theorem 4.1). The order of the quantifiers in the ε\varepsilon-δ\delta definition translates directly into the language of open sets.
  • We use preimages rather than images because taking preimages commutes with unions, intersections and complements. A continuous map need not send open sets to open sets (Example 3.8).
  • A homeomorphism is a continuous bijection whose inverse is also continuous. This last condition is independent of the others: drop it and the notion collapses (Example 5.7).
  • Two homeomorphic spaces share every property that can be stated using the topology alone. Conversely, one proves that two spaces are not homeomorphic by exhibiting a topological property possessed by only one of them.
  • We have R(0,1)\mathbb{R} \cong (0,1) but R≇[0,1]\mathbb{R} \not\cong [0,1]. The reason, however, is not boundedness: boundedness is not a topological property (Example 6.1 and the Appendix).

1. Motivation: does continuity survive the loss of distance?

Section titled “1. Motivation: does continuity survive the loss of distance?”

The definition of continuity one meets first in calculus goes back to Cauchy and Weierstrass and reads as follows. A function f:RRf : \mathbb{R} \to \mathbb{R} is continuous at a point aa if

ε>0, δ>0, xR,xa<δ    f(x)f(a)<ε.\forall \varepsilon > 0,\ \exists \delta > 0,\ \forall x \in \mathbb{R},\quad |x - a| < \delta \implies |f(x) - f(a)| < \varepsilon .

One may read this as a contract: if you want the error away from f(a)f(a) to stay below ε\varepsilon, then keep the distance from aa below δ\delta.

But the definition depends entirely on the absolute value xa|x - a| — that is, on a distance. Does this mean that continuity cannot be discussed where no distance is given in advance? In fact, situations with no distance, or with no canonical choice of one, occur throughout mathematics. The Zariski topology on the zero set of a family of polynomials, the quotient of a group by a subgroup, the topology of pointwise convergence on a set of functions — none of these is easy, or even possible, to define by a metric. Yet we speak freely of “continuous homomorphisms” and “continuous actions”.

So let us ask the question again: which part of the ε\varepsilon-δ\delta definition is genuinely needed? In the display above, the condition f(x)f(a)<ε|f(x) - f(a)| < \varepsilon says that f(x)f(x) lies in the open ball B(f(a),ε)B(f(a), \varepsilon) centred at f(a)f(a), and xa<δ|x - a| < \delta says that xx lies in the open ball B(a,δ)B(a,\delta). The definition therefore becomes

ε>0, δ>0,f(B(a,δ))B(f(a),ε).\forall \varepsilon > 0,\ \exists \delta > 0,\quad f\bigl(B(a,\delta)\bigr) \subset B\bigl(f(a), \varepsilon\bigr) .

Here the specific shape “ball of radius ε\varepsilon” is no longer used. What is used is only the relation “given an open set containing f(a)f(a), return an open set containing aa. Discard the numerical datum of a radius and keep only the family of open sets, and this condition can still be written down. That is the definition of continuity on a topological space.

We can go one step further. The global condition “continuous at every point” collapses into a strikingly compact form that requires no point-by-point inspection: the preimage of every open set is open. Why preimages and not images, and why this one line suffices — the article begins by checking these two matters carefully.

Once continuous maps are available, we can define what it means for two topological spaces to be isomorphic. Isomorphisms of sets are bijections; isomorphisms of groups are bijective homomorphisms. Isomorphisms of topological spaces are homeomorphisms: continuous bijections whose inverses are continuous as well. The familiar slogan that a coffee cup and a doughnut are the same object says precisely that this notion of isomorphism cannot tell them apart. Turning the slogan into a theorem is the goal of this article.

2. Preliminaries: notation and the algebra of preimages

Section titled “2. Preliminaries: notation and the algebra of preimages”

We use the definition of a topological space given in Topological spaces: definitions and basic notions (the definition of a topological space(Definition 4.1)[Topological Spaces]). Let us fix the notation.

A pair (X,OX)(X, \mathcal{O}_X) consisting of a set XX and a family OX2X\mathcal{O}_X \subset 2^{X} of subsets is a topological space if

  • (O1) OX\emptyset \in \mathcal{O}_X and XOXX \in \mathcal{O}_X;
  • (O2) the union of any number (possibly infinitely many) of members of OX\mathcal{O}_X again belongs to OX\mathcal{O}_X;
  • (O3) the intersection of finitely many members of OX\mathcal{O}_X again belongs to OX\mathcal{O}_X.

The members of OX\mathcal{O}_X are called open sets. A subset whose complement is open is called closed. The closure A\overline{A} of AXA \subset X is the intersection of all closed sets containing AA; it is the smallest closed set containing AA. When no confusion can arise we suppress OX\mathcal{O}_X and speak simply of “the topological space XX”.

A subset AXA \subset X carries the subspace topology OA={UA:UOX}\mathcal{O}_A = \{\, U \cap A : U \in \mathcal{O}_X \,\}. Throughout, subsets of R\mathbb{R} (intervals, in particular) always carry the subspace topology inherited from the usual topology of R\mathbb{R}.

For a map f:XYf : X \to Y and BYB \subset Y we define the preimage

f1(B):={xX:f(x)B}.f^{-1}(B) := \{\, x \in X : f(x) \in B \,\} .

Here f1f^{-1} is a piece of notation; it does not presuppose that ff is invertible. The reason preimages are so convenient is contained in the following three identities. Let {Bλ}λΛ\{B_\lambda\}_{\lambda \in \Lambda} be a family of subsets of YY and BYB \subset Y. Then

f1(λBλ)=λf1(Bλ),f1(λBλ)=λf1(Bλ),f1(YB)=Xf1(B).f^{-1}\Bigl(\bigcup_{\lambda} B_\lambda\Bigr) = \bigcup_{\lambda} f^{-1}(B_\lambda), \qquad f^{-1}\Bigl(\bigcap_{\lambda} B_\lambda\Bigr) = \bigcap_{\lambda} f^{-1}(B_\lambda), \qquad f^{-1}(Y \setminus B) = X \setminus f^{-1}(B) .

Each is proved by unwinding the definitions. For the first, say: xf1(λBλ)x \in f^{-1}(\bigcup_\lambda B_\lambda)     \iff f(x)λBλf(x) \in \bigcup_\lambda B_\lambda     \iff f(x)Bλf(x) \in B_\lambda for some λ\lambda     \iff xf1(Bλ)x \in f^{-1}(B_\lambda) for some λ\lambda     \iff xλf1(Bλ)x \in \bigcup_\lambda f^{-1}(B_\lambda). For the third: xf1(YB)x \in f^{-1}(Y \setminus B)     \iff f(x)Bf(x) \notin B     \iff xf1(B)x \notin f^{-1}(B).

Images, by contrast, have no such property. Take f:RRf : \mathbb{R} \to \mathbb{R}, f(x)=x2f(x) = x^{2}, and A=[1,0]A = [-1, 0], B=[0,1]B = [0,1]. Then AB={0}A \cap B = \{0\}, so f(AB)={0}f(A \cap B) = \{0\}; but f(A)=f(B)=[0,1]f(A) = f(B) = [0,1], so f(A)f(B)=[0,1]f(A) \cap f(B) = [0,1], and the two do not agree. In general one has only f(AB)f(A)f(B)f(A \cap B) \subset f(A) \cap f(B), and for complements not even an inclusion holds in either direction. Since the axioms (O2) and (O3) are conditions about unions and intersections, preimages — which commute with both — are the better fit.

Finally we recall the notion of a base (base of a topology(Definition 5.1)[Topological Spaces]). A family BOY\mathcal{B} \subset \mathcal{O}_Y is a base of the topology OY\mathcal{O}_Y if every open set VOYV \in \mathcal{O}_Y can be written as a union of members of B\mathcal{B}. For instance the family of all open intervals {(a,b):a<b}\{\, (a,b) : a < b \,\} is a base for the usual topology of R\mathbb{R}, and in a metric space (Y,d)(Y, d) the family of all open balls {Bd(y,r):yY, r>0}\{\, B_d(y, r) : y \in Y,\ r > 0 \,\} is a base.

3. Continuous maps: definition and equivalent conditions

Section titled “3. Continuous maps: definition and equivalent conditions”

Definition 3.1Continuous map

Let (X,OX)(X, \mathcal{O}_X) and (Y,OY)(Y, \mathcal{O}_Y) be topological spaces. A map f:XYf : X \to Y is continuous if

VOY,f1(V)OX,\forall V \in \mathcal{O}_Y,\quad f^{-1}(V) \in \mathcal{O}_X ,

that is, if the preimage of every open subset of YY is open in XX.

Note that both topologies, that of XX and that of YY, occur in the definition. Continuity is not a property of the map ff alone but of the triple consisting of ff together with the topologies chosen on the domain and codomain. The same map of sets may be continuous for one choice and not for another (Example 3.7).

Definition 3.2Continuity at a point

Let f:XYf : X \to Y be a map and xXx \in X. We say ff is continuous at the point xx if for every open set VYV \subset Y containing f(x)f(x) there exists an open set UXU \subset X containing xx with f(U)Vf(U) \subset V.

XYxf(x)f⁻¹(V) is openV is openftaking preimages (direction reverses)
Continuity says that each time an open set is specified in the codomain, an open set comes back in the domain. Note that the arrow f and the preimage arrow point in opposite directions

The next theorem is the foundation of the article. Thanks to it we may always pick whichever condition is most convenient. When open sets are awkward to handle — when we want to estimate a closure, say — condition (iv) serves; for arguments carried out point by point, condition (iii) does.

Theorem 3.3Characterisations of continuity

Let XX and YY be topological spaces and f:XYf : X \to Y a map. The following four conditions are equivalent.

  • (i) For every open set VYV \subset Y, the set f1(V)f^{-1}(V) is open in XX (that is, ff is continuous).
  • (ii) For every closed set FYF \subset Y, the set f1(F)f^{-1}(F) is closed in XX.
  • (iii) ff is continuous at every point of XX in the sense of Definition 3.2.
  • (iv) For every subset AXA \subset X we have f(A)f(A)f(\overline{A}) \subset \overline{f(A)}.
Proof(Theorem 3.3)

(i) \Rightarrow (iii). Let xXx \in X and let VYV \subset Y be an open set containing f(x)f(x). Put U:=f1(V)U := f^{-1}(V); by (i) this is open in XX. Since f(x)Vf(x) \in V we have xUx \in U, and moreover f(U)=f(f1(V))Vf(U) = f(f^{-1}(V)) \subset V (if uf1(V)u \in f^{-1}(V) then f(u)Vf(u) \in V by definition). Hence the condition of Definition 3.2 holds at xx. As xx was arbitrary, (iii) follows.

(iii) \Rightarrow (i). Let VYV \subset Y be open. If f1(V)=f^{-1}(V) = \emptyset, it is open by (O1). Otherwise, for each xf1(V)x \in f^{-1}(V) we have f(x)Vf(x) \in V, and VV is an open set containing f(x)f(x); so by (iii) there is an open set UxXU_x \subset X containing xx with f(Ux)Vf(U_x) \subset V. The inclusion f(Ux)Vf(U_x) \subset V is equivalent to Uxf1(V)U_x \subset f^{-1}(V). Consequently

f1(V)=xf1(V){x}xf1(V)Uxf1(V),f^{-1}(V) = \bigcup_{x \in f^{-1}(V)} \{x\} \subset \bigcup_{x \in f^{-1}(V)} U_x \subset f^{-1}(V) ,

so f1(V)=xUxf^{-1}(V) = \bigcup_{x} U_x. This is a union of open sets, hence open by (O2).

(i) \Leftrightarrow (ii). Let FYF \subset Y be closed, so that YFY \setminus F is open; by the complement rule for preimages from §2,

f1(YF)=Xf1(F).f^{-1}(Y \setminus F) = X \setminus f^{-1}(F) .

Assuming (i), the left-hand side is open, so f1(F)f^{-1}(F) is closed and (ii) follows. Conversely, assume (ii) and let VYV \subset Y be open. Then YVY \setminus V is closed, so f1(YV)=Xf1(V)f^{-1}(Y \setminus V) = X \setminus f^{-1}(V) is closed, whence f1(V)f^{-1}(V) is open and (i) follows. We used here that the correspondence ”FF closed     \iff YFY \setminus F open” is a bijection between the closed sets and the open sets.

(ii) \Rightarrow (iv). Let AXA \subset X be arbitrary and put C:=f(A)C := \overline{f(A)}. Since CC is closed in YY, (ii) gives that f1(C)f^{-1}(C) is closed in XX. From f(A)Cf(A) \subset C we get Af1(f(A))f1(C)A \subset f^{-1}(f(A)) \subset f^{-1}(C). Now A\overline{A} is the smallest closed set containing AA, and f1(C)f^{-1}(C) is a closed set containing AA, so Af1(C)\overline{A} \subset f^{-1}(C), that is, f(A)C=f(A)f(\overline{A}) \subset C = \overline{f(A)}.

(iv) \Rightarrow (ii). Let FYF \subset Y be closed and put A:=f1(F)A := f^{-1}(F). Then f(A)=f(f1(F))Ff(A) = f(f^{-1}(F)) \subset F, and since FF is closed, f(A)F=F\overline{f(A)} \subset \overline{F} = F. By (iv),

f(A)f(A)F,f(\overline{A}) \subset \overline{f(A)} \subset F ,

and passing to preimages on both sides gives Af1(F)=A\overline{A} \subset f^{-1}(F) = A. As always AAA \subset \overline{A}, so A=A\overline{A} = A: the set A=f1(F)A = f^{-1}(F) is closed.

We have proved (i) \Leftrightarrow (iii), (i) \Leftrightarrow (ii) and (ii) \Leftrightarrow (iv), so all four conditions are equivalent.

Condition (iv) is the topological version of the intuition that ff does not destroy limits. It says that if xx is an adherent point of AA (a point of A\overline{A}), then f(x)f(x) is an adherent point of f(A)f(A). Translated into the language of sequences it corresponds to ”xnxx_n \to x implies f(xn)f(x)f(x_n) \to f(x)”; but in a general topological space sequences alone do not characterise continuity, so the closure formulation is the correct generalisation.

Inspecting all open sets is laborious. In practice it suffices to inspect a base.

Lemma 3.4Continuity tested on a base

Let XX and YY be topological spaces and let B\mathcal{B} be a base for the topology of YY. A map f:XYf : X \to Y is continuous if and only if f1(B)f^{-1}(B) is open in XX for every BBB \in \mathcal{B}.

Proof(Lemma 3.4)

Necessity is immediate: BOY\mathcal{B} \subset \mathcal{O}_Y, so if ff is continuous we simply apply Definition 3.1 to BBB \in \mathcal{B}.

For sufficiency, let VYV \subset Y be any open set. Since B\mathcal{B} is a base, there are an index set Λ\Lambda and members BλBB_\lambda \in \mathcal{B} (λΛ)(\lambda \in \Lambda) with V=λΛBλV = \bigcup_{\lambda \in \Lambda} B_\lambda. By the commutation of preimages with unions from §2,

f1(V)=f1(λBλ)=λf1(Bλ).f^{-1}(V) = f^{-1}\Bigl(\bigcup_{\lambda} B_\lambda\Bigr) = \bigcup_{\lambda} f^{-1}(B_\lambda) .

By hypothesis each f1(Bλ)f^{-1}(B_\lambda) is open, so by (O2) their union is open. Hence ff is continuous.

Proposition 3.5Continuity of the identity and of composites

Let XX, YY, ZZ be topological spaces.

  1. The identity map idX:XX\mathrm{id}_X : X \to X is continuous.
  2. If f:XYf : X \to Y and g:YZg : Y \to Z are both continuous, then the composite gf:XZg \circ f : X \to Z is continuous.
Proof(Proposition 3.5)

(1) For every open set UXU \subset X we have idX1(U)=U\mathrm{id}_X^{-1}(U) = U, which is open.

(2) First we verify the set identity (gf)1(W)=f1(g1(W))(g \circ f)^{-1}(W) = f^{-1}(g^{-1}(W)): indeed x(gf)1(W)x \in (g\circ f)^{-1}(W)     \iff g(f(x))Wg(f(x)) \in W     \iff f(x)g1(W)f(x) \in g^{-1}(W)     \iff xf1(g1(W))x \in f^{-1}(g^{-1}(W)). Now let WZW \subset Z be open. By continuity of gg (Definition 3.1) the set g1(W)g^{-1}(W) is open in YY, and then by continuity of ff the set f1(g1(W))f^{-1}(g^{-1}(W)) is open in XX. By the identity above this equals (gf)1(W)(g\circ f)^{-1}(W), so gfg \circ f is continuous.

Proposition 3.5 is exactly the statement that topological spaces as objects and continuous maps as morphisms form a category Top\mathbf{Top}. What its isomorphisms are is the subject of §5.

Remark 3.6Maps into and out of a subspace

Let YY be a topological space, give AYA \subset Y the subspace topology, and let ι:AY\iota : A \to Y be the inclusion map. The following two facts will be used repeatedly in the examples below.

(1) The inclusion is continuous. If VYV \subset Y is open then ι1(V)=VA\iota^{-1}(V) = V \cap A, which is open in AA by the definition of the subspace topology.

(2) The codomain may be replaced by a subspace. Let XX be a topological space and f:XAf : X \to A a map. Then ff is continuous if and only if ιf:XY\iota \circ f : X \to Y is continuous. Indeed, the open sets of AA are those of the form VAV \cap A with VV open in YY, and the values of ff always lie in AA, so

f1(VA)={xX:f(x)V and f(x)A}={xX:f(x)V}=(ιf)1(V).f^{-1}(V \cap A) = \{\, x \in X : f(x) \in V \ \text{and}\ f(x) \in A \,\} = \{\, x \in X : f(x) \in V \,\} = (\iota \circ f)^{-1}(V) .

Hence the condition “the ff-preimage of every open set of AA is open” and the condition “the (ιf)(\iota \circ f)-preimage of every open set of YY is open” are, literally, conditions about the same family of sets.

In short: “continuous maps into R\mathbb{R} whose values lie in (0,1)(0,1)” and “continuous maps into (0,1)(0,1)” are the same thing.

Example 3.7Continuity under extreme topologies

Give a set XX the discrete topology OX=2X\mathcal{O}_X = 2^{X} (every subset is open). Then for any topological space YY and any map f:XYf : X \to Y, the set f1(V)f^{-1}(V) is a subset of XX and hence automatically open. So ff is continuous.

Give a set YY the indiscrete topology OY={,Y}\mathcal{O}_Y = \{\emptyset, Y\}. Then for any map f:XYf : X \to Y we have f1()=f^{-1}(\emptyset) = \emptyset and f1(Y)=Xf^{-1}(Y) = X, both open in XX by (O1). So ff is continuous.

A constant map fy0f \equiv y_0 is always continuous. If VYV \subset Y is open then f1(V)=Xf^{-1}(V) = X when y0Vy_0 \in V and f1(V)=f^{-1}(V) = \emptyset when y0Vy_0 \notin V, and both are open by (O1).

On the other hand, put the usual topology on X=RX = \mathbb{R} and the discrete topology on Y=RY = \mathbb{R}. Then the identity map id:XY\mathrm{id} : X \to Y is not continuous: the set {0}\{0\} is open in YY, but id1({0})={0}\mathrm{id}^{-1}(\{0\}) = \{0\} is not open in the usual topology of R\mathbb{R} (any open interval (δ,δ)(-\delta, \delta) containing 00 also contains points other than 00, so it is not contained in {0}\{0\}). The same map of sets loses continuity once the topology is changed.

Example 3.8A continuous map that is neither open nor closed

The map f:RRf : \mathbb{R} \to \mathbb{R}, f(x)=x2f(x) = x^{2}, is continuous (this is checked in Example 3.9). But the image of the open set (1,1)(-1,1) is

f((1,1))={x2:x<1}=[0,1).f\bigl((-1,1)\bigr) = \{\, x^{2} : |x| < 1 \,\} = [0, 1) .

The point 00 belongs to this image, yet for every δ>0\delta > 0 we have δ/2(δ,δ)-\delta/2 \in (-\delta, \delta) and δ/2[0,1)-\delta/2 \notin [0,1), so no neighbourhood of 00 is contained in [0,1)[0,1). Hence [0,1)[0,1) is not open and ff is not an open map.

Next consider g:RRg : \mathbb{R} \to \mathbb{R}, g(x)=1/(1+x2)g(x) = 1/(1 + x^{2}). The denominator never vanishes, since 1+x21>01 + x^{2} \ge 1 > 0, so this is a continuous rational function. The set R\mathbb{R} is closed in R\mathbb{R}; but x2x^{2} ranges over all of [0,)[0,\infty), so 1+x21 + x^{2} ranges over [1,)[1,\infty) and therefore

g(R)={11+x2:xR}=(0,1].g(\mathbb{R}) = \Bigl\{\, \tfrac{1}{1+x^{2}} : x \in \mathbb{R} \,\Bigr\} = (0, 1] .

Since 1/n(0,1]1/n \in (0,1] while 1/n0(0,1]1/n \to 0 \notin (0,1], the set (0,1](0,1] is not closed. Hence gg is not a closed map either.

These two examples show that continuity is not a condition about images.

Example 3.9Checking continuity on a base

Let us prove that f:RRf : \mathbb{R} \to \mathbb{R}, f(x)=x2f(x) = x^{2}, is continuous without using ε\varepsilon or δ\delta, by appealing to Lemma 3.4. Take the family of all open intervals as a base for the usual topology of R\mathbb{R} and compute f1((a,b))={xR:a<x2<b}f^{-1}((a,b)) = \{\, x \in \mathbb{R} : a < x^{2} < b \,\} for a<ba < b, distinguishing cases.

Case b0b \le 0. Since x20bx^{2} \ge 0 \ge b, no xx satisfies x2<bx^{2} < b. Hence f1((a,b))=f^{-1}((a,b)) = \emptyset, which is open by (O1).

Case a<0<ba < 0 < b. The inequality a<x2a < x^{2} holds automatically because x20>ax^{2} \ge 0 > a, so the condition reduces to x2<bx^{2} < b. This is equivalent to x<b|x| < \sqrt{b}, so f1((a,b))=(b,b)f^{-1}((a,b)) = (-\sqrt{b}, \sqrt{b}), which is open.

Case 0a<b0 \le a < b. The map ttt \mapsto \sqrt{t} is strictly increasing on [0,)[0,\infty), so a<x2<ba < x^{2} < b is equivalent to a<x<b\sqrt{a} < |x| < \sqrt{b}. Hence

f1((a,b))=(b,a)(a,b),f^{-1}\bigl((a,b)\bigr) = (-\sqrt{b}, -\sqrt{a}) \cup (\sqrt{a}, \sqrt{b}) ,

a union of two open intervals and therefore open by (O2). When a=0a = 0 this becomes (b,0)(0,b)(-\sqrt{b},0) \cup (0,\sqrt{b}).

In every case the preimage of a basic open set is open, so ff is continuous by Lemma 3.4. Observe that we never had to write down a single ε\varepsilon or δ\delta.

We now prove that Definition 3.1 generalises the notion of continuity from calculus. First we recall the topology of a metric space.

In a metric space (X,d)(X, d), for aXa \in X and r>0r > 0 we define the open ball Bd(a,r):={xX:d(a,x)<r}B_d(a, r) := \{\, x \in X : d(a,x) < r \,\}, and we call

Od:={UX:aU, r>0, Bd(a,r)U}\mathcal{O}_d := \{\, U \subset X : \forall a \in U,\ \exists r > 0,\ B_d(a,r) \subset U \,\}

the metric topology determined by dd. That Od\mathcal{O}_d satisfies the axioms of a topology (properties of the family of open sets of a metric space(Theorem 3.3)[Topological Spaces]), and that the family of all open balls is a base for Od\mathcal{O}_d, were verified in the previous article. Let us at least repeat the proof that open balls are open. Let xBd(a,r)x \in B_d(a,r) and put s:=rd(a,x)>0s := r - d(a,x) > 0. For yBd(x,s)y \in B_d(x,s) the triangle inequality gives

d(a,y)d(a,x)+d(x,y)<d(a,x)+s=r,d(a,y) \le d(a,x) + d(x,y) < d(a,x) + s = r ,

so Bd(x,s)Bd(a,r)B_d(x,s) \subset B_d(a,r). Hence Bd(a,r)OdB_d(a,r) \in \mathcal{O}_d.

Theorem 4.1Topological continuity agrees with ε-δ continuity

Let (X,dX)(X, d_X) and (Y,dY)(Y, d_Y) be metric spaces, each with its metric topology. For a map f:XYf : X \to Y the following two conditions are equivalent.

  • (i) ff is continuous in the sense of Definition 3.1; that is, f1(V)f^{-1}(V) is open in XX for every open set VYV \subset Y.
  • (ii) For every aXa \in X and every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that dY(f(x),f(a))<εd_Y(f(x), f(a)) < \varepsilon holds for all xXx \in X with dX(x,a)<δd_X(x, a) < \delta.
Proof(Theorem 4.1)

(i) \Rightarrow (ii). Let aXa \in X and ε>0\varepsilon > 0 be arbitrary and put V:=BdY(f(a),ε)V := B_{d_Y}(f(a), \varepsilon). As seen above, VV is open in YY, so f1(V)f^{-1}(V) is open in XX by (i). Since dY(f(a),f(a))=0<εd_Y(f(a), f(a)) = 0 < \varepsilon we have f(a)Vf(a) \in V, hence af1(V)a \in f^{-1}(V). Applying the definition of the metric topology OdX\mathcal{O}_{d_X} to U=f1(V)U = f^{-1}(V) and aa, we obtain δ>0\delta > 0 with BdX(a,δ)f1(V)B_{d_X}(a, \delta) \subset f^{-1}(V). This says precisely that dX(x,a)<δd_X(x,a) < \delta implies f(x)V=BdY(f(a),ε)f(x) \in V = B_{d_Y}(f(a), \varepsilon), that is, dY(f(x),f(a))<εd_Y(f(x), f(a)) < \varepsilon.

(ii) \Rightarrow (i). Let VYV \subset Y be open and let af1(V)a \in f^{-1}(V) be arbitrary. From f(a)Vf(a) \in V and the definition of the metric topology there is ε>0\varepsilon > 0 with BdY(f(a),ε)VB_{d_Y}(f(a), \varepsilon) \subset V. Applying (ii) to this ε\varepsilon and to aa yields δ>0\delta > 0 such that dX(x,a)<δd_X(x,a) < \delta implies dY(f(x),f(a))<εd_Y(f(x), f(a)) < \varepsilon, that is, f(x)BdY(f(a),ε)Vf(x) \in B_{d_Y}(f(a),\varepsilon) \subset V. In other words BdX(a,δ)f1(V)B_{d_X}(a, \delta) \subset f^{-1}(V). Since af1(V)a \in f^{-1}(V) was arbitrary, the definition of the metric topology shows that f1(V)f^{-1}(V) is open in XX. Hence ff is continuous.

Remark 4.2Dictionary of quantifiers

Reading the proof again makes it clear where each part of the ε\varepsilon-δ\delta definition went.

ε\varepsilon-δ\delta languageTopological language
for every ε>0\varepsilon > 0for every open set VV containing f(a)f(a)
there exists δ>0\delta > 0there exists an open set UU containing aa
dX(x,a)<δd_X(x,a) < \deltaxUx \in U
dY(f(x),f(a))<εd_Y(f(x), f(a)) < \varepsilonf(x)Vf(x) \in V

The order of quantifiers εδx\forall \varepsilon\, \exists \delta\, \forall x carries over verbatim to VUxU\forall V\, \exists U\, \forall x \in U. What the topology discards is only the numerical value ε\varepsilon; the logical structure — a target accuracy is prescribed first, and a tolerance is chosen afterwards — is preserved completely.

The condition that δ\delta may be chosen independently of aa (uniform continuity) cannot be expressed by this translation. The set UU is chosen for each aa separately, and topology has no way of saying “a UU of the same size”. See Continuous functions and uniform continuity and the Appendix of this article for details.

5. Homeomorphisms: what it means to be topologically the same

Section titled “5. Homeomorphisms: what it means to be topologically the same”

Definition 5.1Open maps and closed maps

Let f:XYf : X \to Y be a map between topological spaces. We call ff an open map if f(U)f(U) is open in YY for every open set UXU \subset X, and a closed map if f(F)f(F) is closed in YY for every closed set FXF \subset X.

As Example 3.8 shows, being continuous, being an open map and being a closed map are mutually independent conditions. A homeomorphism requires continuity and (as a consequence) openness at the same time.

Definition 5.2Homeomorphism

Let XX and YY be topological spaces. A map f:XYf : X \to Y is a homeomorphism if

  1. ff is a bijection,
  2. ff is continuous, and
  3. the inverse map f1:YXf^{-1} : Y \to X is continuous as well.

If a homeomorphism f:XYf : X \to Y exists we say that XX and YY are homeomorphic and write XYX \cong Y.

That condition 3 cannot be dropped is verified in Example 5.7. For groups and vector spaces the inverse of a bijective homomorphism is automatically a homomorphism, so no analogue of condition 3 was needed there. That this fails for topological spaces is the first surprise.

Proposition 5.3When a continuous bijection is a homeomorphism

Let XX and YY be topological spaces and f:XYf : X \to Y a continuous bijection. The following three conditions are equivalent.

  • (i) ff is a homeomorphism.
  • (ii) ff is an open map.
  • (iii) ff is a closed map.
Proof(Proposition 5.3)

Since ff is a bijection, the inverse map g:=f1:YXg := f^{-1} : Y \to X is defined. We first prove the key identity

g1(A)=f(A)(AX arbitrary).g^{-1}(A) = f(A) \qquad (A \subset X \text{ arbitrary}) .

If yg1(A)y \in g^{-1}(A) then g(y)Ag(y) \in A and y=f(g(y))f(A)y = f(g(y)) \in f(A). Conversely, if yf(A)y \in f(A) then y=f(a)y = f(a) for some aAa \in A, and g(y)=g(f(a))=aAg(y) = g(f(a)) = a \in A, so yg1(A)y \in g^{-1}(A). This proves the identity.

(i) \Leftrightarrow (ii). By Definition 3.1, continuity of gg means that g1(U)g^{-1}(U) is open in YY for every open set UXU \subset X. Taking A=UA = U in the identity above gives g1(U)=f(U)g^{-1}(U) = f(U), so this condition says that f(U)f(U) is open for every open UU, that is, that ff is an open map. Since ff is by hypothesis a continuous bijection, continuity of gg is equivalent to ff being a homeomorphism.

(ii) \Leftrightarrow (iii). Since ff is a bijection, f(XA)=Yf(A)f(X \setminus A) = Y \setminus f(A) holds for every AXA \subset X. Indeed, for yYy \in Y bijectivity of ff gives a unique x0Xx_0 \in X with y=f(x0)y = f(x_0), and yf(XA)    x0A    yf(A)y \in f(X\setminus A) \iff x_0 \notin A \iff y \notin f(A) (the second equivalence again uses uniqueness of x0x_0). Now assume (ii) and let FXF \subset X be closed. Then XFX \setminus F is open, so f(XF)=Yf(F)f(X\setminus F) = Y \setminus f(F) is open, hence f(F)f(F) is closed and (iii) follows. Conversely, if UXU \subset X is open then XUX\setminus U is closed, so f(XU)=Yf(U)f(X \setminus U) = Y \setminus f(U) is closed and therefore f(U)f(U) is open.

Proposition 5.4Being homeomorphic is an equivalence relation

On any collection of topological spaces, the relation "XYX \cong Y" is reflexive, symmetric and transitive.

Proof(Proposition 5.4)

Reflexivity. The map idX\mathrm{id}_X is a bijection, it is continuous by part (1) of Proposition 3.5, and its inverse is again idX\mathrm{id}_X, hence continuous. So idX\mathrm{id}_X is a homeomorphism and XXX \cong X.

Symmetry. Let f:XYf : X \to Y be a homeomorphism. Then g:=f1g := f^{-1} is a bijection, continuous by condition 3 of Definition 5.2, and g1=fg^{-1} = f is continuous by condition 2. So gg is a homeomorphism and YXY \cong X.

Transitivity. Let f:XYf : X \to Y and h:YZh : Y \to Z be homeomorphisms. Then hfh \circ f is a composite of bijections, hence a bijection, and continuous by part (2) of Proposition 3.5. Moreover (hf)1=f1h1(h\circ f)^{-1} = f^{-1} \circ h^{-1}, and both h1h^{-1} and f1f^{-1} are continuous, so part (2) of Proposition 3.5 again shows that (hf)1(h\circ f)^{-1} is continuous. Hence hfh \circ f is a homeomorphism and XZX \cong Z.

For equivalence relations in general see Relations and equivalence relations: what does “the same” mean?. By Proposition 5.4, the enterprise of classifying topological spaces up to homeomorphism is meaningful. A large part of topology is devoted to manufacturing tools that distinguish these equivalence classes.

Definition 5.5Topological property

A property PP of topological spaces is a topological property (a topologically invariant property) if XYX \cong Y and XX has PP together imply that YY has PP.

Any property defined using only the family of open sets is, by definition, a topological property. A homeomorphism ff induces via Uf(U)U \mapsto f(U) a bijection between OX\mathcal{O}_X and OY\mathcal{O}_Y (by part (ii) of Proposition 5.3 and its converse direction), so a statement phrased in the language of open sets holds in XX if and only if it holds in YY. Compactness (Compactness), connectedness (Connectedness) and the Hausdorff property (Separation axioms and metrisability) are all topological properties.

Example 5.6R is homeomorphic to the open interval (0,1)

Define h:R(0,1)h : \mathbb{R} \to (0,1) by

h(x):=12+x2(1+x).h(x) := \frac{1}{2} + \frac{x}{2(1 + |x|)} .

First we check the range. From x/(1+x)<1|x|/(1+|x|) < 1 we get x/(1+x)<1|x/(1+|x|)| < 1, hence h(x)(0,1)h(x) \in (0,1).

Next we compute the inverse explicitly. Put t=h(x)t = h(x) and u:=2t1=x/(1+x)u := 2t - 1 = x/(1+|x|). If x0x \ge 0 then u=x/(1+x)0u = x/(1+x) \ge 0 and u=u|u| = u, so from u(1+x)=xu(1+x) = x we get x=u/(1u)=u/(1u)x = u/(1-u) = u/(1-|u|). If x<0x < 0 then x=x|x| = -x, so u=x/(1x)<0u = x/(1-x) < 0 and u=u|u| = -u, and from u(1x)=xu(1-x) = x we get x=u/(1+u)=u/(1u)x = u/(1+u) = u/(1-|u|). In both cases we obtain the same formula

x=u1u,u=2t1.x = \frac{u}{1 - |u|}, \qquad u = 2t-1 .

If t(0,1)t \in (0,1) then 2t1<1|2t-1| < 1, so the denominator is positive and the formula makes sense.

Conversely, given u(1,1)u \in (-1,1), put x:=u/(1u)x := u/(1-|u|). Then x=u/(1u)|x| = |u|/(1-|u|), hence

1+x=(1u)+u1u=11u,x1+x=u1u(1u)=u.1 + |x| = \frac{(1-|u|) + |u|}{1-|u|} = \frac{1}{1-|u|}, \qquad \frac{x}{1+|x|} = \frac{u}{1-|u|}\cdot (1-|u|) = u .

Thus uu/(1u)u \mapsto u/(1-|u|) is a bijection (1,1)R(-1,1) \to \mathbb{R} with inverse xx/(1+x)x \mapsto x/(1+|x|). Consequently hh is a bijection and

h1(t)=2t112t1(0<t<1).h^{-1}(t) = \frac{2t-1}{1 - |2t-1|} \qquad (0 < t < 1) .

Now for continuity. The map xxx \mapsto |x| is continuous, since xyxy\bigl||x| - |y|\bigr| \le |x-y| (take δ=ε\delta = \varepsilon), and 1+x1>01 + |x| \ge 1 > 0, so the quotient xx/(1+x)x \mapsto x/(1+|x|) is continuous; composing with a continuous affine map shows that h:RRh : \mathbb{R} \to \mathbb{R} is continuous (Theorem 4.1 and Proposition 3.5). Since the values lie in (0,1)(0,1), part (2) of Remark 3.6 shows that h:R(0,1)h : \mathbb{R} \to (0,1) is continuous. Similarly t2t1t \mapsto 2t-1 is continuous, and uu/(1u)u \mapsto u/(1-|u|) is continuous on (1,1)(-1,1) because the denominator is positive there; combined with continuity of the inclusion (0,1)R(0,1) \hookrightarrow \mathbb{R} (part (1) of Remark 3.6) this gives that h1:(0,1)Rh^{-1} : (0,1) \to \mathbb{R} is continuous.

Hence hh is a homeomorphism and R(0,1)\mathbb{R} \cong (0,1). For a<ba < b the affine map sa+(ba)ss \mapsto a + (b-a)s gives (0,1)(a,b)(0,1) \cong (a,b), so by transitivity (Proposition 5.4) every bounded open interval is homeomorphic to R\mathbb{R}. One could reach the same conclusion using tan:(π/2,π/2)R\tan : (-\pi/2, \pi/2) \to \mathbb{R}, but the rational formula above is more elementary in that it assumes nothing about trigonometric functions.

Example 5.7A continuous bijection that is not a homeomorphism

Give S1:={(x,y)R2:x2+y2=1}S^{1} := \{\, (x,y) \in \mathbb{R}^{2} : x^{2}+y^{2} = 1 \,\} the subspace topology from R2\mathbb{R}^{2} and consider

f:[0,2π)S1,f(t)=(cost,sint)f : [0, 2\pi) \to S^{1}, \qquad f(t) = (\cos t, \sin t)

(where [0,2π)[0,2\pi) carries the subspace topology from R\mathbb{R}).

ff is a bijection. From cos2t+sin2t=1\cos^{2}t + \sin^{2}t = 1 the values lie in S1S^{1}. For surjectivity, let (x,y)S1(x,y) \in S^{1}; then x1|x| \le 1, and since cos\cos is a strictly decreasing bijection from [0,π][0,\pi] onto [1,1][-1,1], the number t0:=arccosx[0,π]t_0 := \arccos x \in [0,\pi] is defined. We have sint00\sin t_0 \ge 0 and sin2t0=1x2=y2\sin^{2} t_0 = 1 - x^{2} = y^{2}, so if y0y \ge 0 then t:=t0t := t_0 works, and if y<0y < 0 then t:=2πt0(π,2π)t := 2\pi - t_0 \in (\pi, 2\pi) works (because cos(2πt0)=cost0=x\cos(2\pi - t_0) = \cos t_0 = x and sin(2πt0)=sint0=y\sin(2\pi-t_0) = -\sin t_0 = y). Injectivity follows from the addition formulas: if f(s)=f(t)f(s) = f(t) with 0st<2π0 \le s \le t < 2\pi, then

cos(ts)=costcoss+sintsins=cos2s+sin2s=1,\cos(t-s) = \cos t \cos s + \sin t \sin s = \cos^{2}s + \sin^{2}s = 1 ,

and in the range 0ts<2π0 \le t - s < 2\pi the equation cosθ=1\cos\theta = 1 holds only for θ=0\theta = 0, so s=ts = t.

ff is continuous. Since cos\cos and sin\sin are continuous on R\mathbb{R}, the map t(cost,sint)t \mapsto (\cos t, \sin t) is continuous as a map RR2\mathbb{R} \to \mathbb{R}^{2} (this can be shown directly by an ε\varepsilon-δ\delta estimate componentwise); as the values lie in S1S^{1}, Remark 3.6 shows it is continuous as a map into S1S^{1}, and so is its restriction to [0,2π)[0,2\pi).

The inverse is not continuous. By Proposition 5.3 it suffices to show that ff is not an open map. Put U:=[0,π)U := [0, \pi). Since U=(π,π)[0,2π)U = (-\pi, \pi) \cap [0,2\pi), the set UU is open in [0,2π)[0,2\pi). Its image is

f(U)={(cost,sint):0t<π},f(U) = \{\, (\cos t, \sin t) : 0 \le t < \pi \,\} ,

and for 0t<π0 \le t < \pi we have sint0\sin t \ge 0, so f(U)f(U) contains no point with negative second coordinate. On the other hand, any open subset of S1S^{1} containing p:=(1,0)=f(0)f(U)p := (1,0) = f(0) \in f(U) contains, by the definition of the subspace topology, a set BR2(p,ε)S1B_{\mathbb{R}^{2}}(p, \varepsilon) \cap S^{1} for some ε>0\varepsilon > 0. Taking η>0\eta > 0 small, the point

qη:=(cos(2πη),sin(2πη))=(cosη,sinη)S1q_\eta := (\cos(2\pi - \eta), \sin(2\pi-\eta)) = (\cos \eta, -\sin \eta) \in S^{1}

converges to pp as η0+\eta \to 0^{+}, so for η\eta small enough qηBR2(p,ε)S1q_\eta \in B_{\mathbb{R}^{2}}(p,\varepsilon) \cap S^{1}. But the second coordinate of qηq_\eta is sinη<0-\sin\eta < 0, so qηf(U)q_\eta \notin f(U). Hence no open set containing pp is contained in f(U)f(U), and f(U)f(U) is not open in S1S^{1}.

Therefore ff is not an open map, and by Proposition 5.3 it is not a homeomorphism. Intuitively, ff glues the two ends of an interval together to form a circle. The gluing can be done continuously, but the operation of cutting the circle open (the inverse map) is discontinuous at the cut.

Remark 5.8A theorem that automates this verification

Checking by hand whether a continuous bijection is a homeomorphism is laborious. The theorem “a continuous bijection from a compact space to a Hausdorff space is a homeomorphism” (a continuous bijection from a compact space to a Hausdorff space is a homeomorphism(Corollary 6.5)[コンパクト性]), which we prove in a later article, removes the need for it. The reason we did not get a homeomorphism in Example 5.7 is that the domain [0,2π)[0,2\pi) is not compact. See Compactness and Separation axioms and metrisability for details.

6. How to prove that two spaces are not homeomorphic

Section titled “6. How to prove that two spaces are not homeomorphic”

To prove that two spaces are homeomorphic it is enough to construct a single map: an existence proof. To prove that they are not, one must establish the universal statement that no map whatsoever is a homeomorphism. An exhaustive search is out of the question, so we use Definition 5.5 instead. Find one topological property PP that XX has and YY lacks; then the assumption XYX \cong Y would force YY to have PP as well, a contradiction.

flowchart TD
Q["Are X and Y homeomorphic?"] --> A["Direction 1: construct an explicit bijection h"]
Q --> B["Direction 2: look for a topological property P"]
A --> A1["Check that h is continuous"]
A1 --> A2["Check that the inverse of h is continuous"]
A2 --> A3["Conclusion: X and Y are homeomorphic"]
B --> B1["X has P and Y does not have P"]
B1 --> B2["Conclusion: X and Y are not homeomorphic"]
Two directions for investigating homeomorphy. On the left one constructs a map (existence proof); on the right one separates the spaces by an invariant (non-existence proof)

Example 6.1R and [0,1], and [0,1] and [0,1), are not homeomorphic

(1) R≇[0,1]\mathbb{R} \not\cong [0,1]. Suppose a homeomorphism h:[0,1]Rh : [0,1] \to \mathbb{R} existed. In particular hh is a continuous real-valued function on the closed interval [0,1][0,1], so by the extreme value theorem of Weierstrass (the extreme value theorem(Theorem 4.2)[Continuous Functions and Uniform Continuity]) it attains a maximum: there is c[0,1]c \in [0,1] with h(s)h(c)=:Mh(s) \le h(c) =: M for all s[0,1]s \in [0,1]. Hence h([0,1])(,M]h([0,1]) \subset (-\infty, M]. But hh is surjective, so h([0,1])=Rh([0,1]) = \mathbb{R}, while M+1RM + 1 \in \mathbb{R} and M+1>MM + 1 > M give M+1(,M]M+1 \notin (-\infty, M] — a contradiction. Therefore R≇[0,1]\mathbb{R} \not\cong [0,1].

(2) [0,1]≇[0,1)[0,1] \not\cong [0,1). Suppose a homeomorphism h:[0,1][0,1)h : [0,1] \to [0,1) existed. As in (1), hh attains a maximum M=h(c)M = h(c) on [0,1][0,1], and by surjectivity h([0,1])=[0,1)h([0,1]) = [0,1), so MM would have to be a greatest element of the set [0,1)[0,1). But [0,1)[0,1) has no greatest element: for any t[0,1)t \in [0,1) put t:=(t+1)/2t' := (t+1)/2; then t<t<1t < t' < 1, so t[0,1)t' \in [0,1) and t>tt' > t, and tt cannot be greatest. This contradiction gives [0,1]≇[0,1)[0,1] \not\cong [0,1).

Another powerful invariant is connectedness. A topological space XX is connected if there is no decomposition X=V1V2X = V_1 \cup V_2 with V1V2=V_1 \cap V_2 = \emptyset, with V1V_1 and V2V_2 both open in XX, and with V1V_1 \ne \emptyset and V2V_2 \ne \emptyset. That continuous maps preserve this property follows at once from Definition 3.1 alone.

Theorem 6.2Connectedness is preserved by continuous surjections

Let XX and YY be topological spaces and f:XYf : X \to Y a continuous surjection. If XX is connected, then so is YY.

Proof(Theorem 6.2)

Suppose YY were not connected, and take a decomposition Y=V1V2Y = V_1 \cup V_2 with V1V2=V_1 \cap V_2 = \emptyset and with V1,V2V_1, V_2 nonempty open subsets of YY.

By continuity of ff (Definition 3.1), both f1(V1)f^{-1}(V_1) and f1(V2)f^{-1}(V_2) are open in XX. By the properties of preimages from §2,

f1(V1)f1(V2)=f1(V1V2)=f1(Y)=X,f1(V1)f1(V2)=f1(V1V2)=f1()=.f^{-1}(V_1) \cup f^{-1}(V_2) = f^{-1}(V_1 \cup V_2) = f^{-1}(Y) = X, \qquad f^{-1}(V_1) \cap f^{-1}(V_2) = f^{-1}(V_1 \cap V_2) = f^{-1}(\emptyset) = \emptyset .

Moreover, since ViV_i \ne \emptyset we may pick yiViy_i \in V_i, and by surjectivity of ff there is xiXx_i \in X with f(xi)=yif(x_i) = y_i. Then xif1(Vi)x_i \in f^{-1}(V_i), so f1(Vi)f^{-1}(V_i) \ne \emptyset.

Hence X=f1(V1)f1(V2)X = f^{-1}(V_1) \cup f^{-1}(V_2) is a decomposition contradicting the connectedness of XX. Therefore YY is connected.

Corollary 6.3Connectedness is a topological property

Connectedness is a topological property: if XYX \cong Y and XX is connected, then YY is connected.

Proof(Corollary 6.3)

Let f:XYf : X \to Y be a homeomorphism. By Definition 5.2, ff is continuous and bijective, in particular a continuous surjection. So Theorem 6.2 applies: if XX is connected, so is YY.

Theorem 6.2 is a theorem of wide application. Combined with the fact that intervals of R\mathbb{R} are connected (proved in Connectedness as the determination of the connected subsets of R(Theorem 4.1)[連結性]), it gives that the image of a continuous function on an interval is connected, hence an interval — and the intermediate value theorem follows as a corollary. That a basic theorem of analysis drops out of the general theory of topology is, I think, one of the rewards of this abstraction. In Exercise 7.4 we use this invariant to distinguish R\mathbb{R} from R2\mathbb{R}^{2}.

Exercise 7.1Standard

Let XX and YY be topological spaces and let A,BA, B be closed subsets of XX with X=ABX = A \cup B. Let f:XYf : X \to Y be a map. Show that if the restrictions fA:AYf|_A : A \to Y and fB:BYf|_B : B \to Y are both continuous (with AA and BB carrying the subspace topology), then ff is continuous (the pasting lemma).

Solution

First we record an auxiliary fact: if AA is closed in XX and CAC \subset A is closed in the subspace AA, then CC is closed in XX. Indeed, by the definition of the subspace topology the open sets of AA have the form UAU \cap A with UU open in XX, so the closed sets of AA have the form A(UA)=A(XU)A \setminus (U \cap A) = A \cap (X \setminus U), that is, they are intersections of AA with closed subsets of XX. Since AA is itself closed in XX, such a set is the intersection of two closed subsets of XX and hence closed in XX.

Now let FYF \subset Y be an arbitrary closed set. If xf1(F)x \in f^{-1}(F) then xX=ABx \in X = A \cup B, so xAx \in A or xBx \in B; in the first case x(fA)1(F)x \in (f|_A)^{-1}(F), in the second x(fB)1(F)x \in (f|_B)^{-1}(F). Conversely, if x(fA)1(F)x \in (f|_A)^{-1}(F) then xAXx \in A \subset X and f(x)=fA(x)Ff(x) = f|_A(x) \in F, so xf1(F)x \in f^{-1}(F); the same argument applies to (fB)1(F)(f|_B)^{-1}(F). Hence

f1(F)=(fA)1(F)(fB)1(F).f^{-1}(F) = (f|_A)^{-1}(F) \cup (f|_B)^{-1}(F) .

Since fAf|_A is continuous, part (ii) of Theorem 3.3 shows that (fA)1(F)(f|_A)^{-1}(F) is closed in AA, hence closed in XX by the auxiliary fact. Likewise (fB)1(F)(f|_B)^{-1}(F) is closed in XX. The union of two closed sets is closed (the dual of (O3), which says that the intersection of two open sets is open), so f1(F)f^{-1}(F) is closed in XX. As FF was arbitrary, the implication (ii) \Rightarrow (i) of Theorem 3.3 shows that ff is continuous.

The hypothesis that both AA and BB are closed cannot be dropped. Take X=[0,2]X = [0,2], A=[0,1]A = [0,1] (closed in XX) and B=(1,2]B = (1,2] (not closed in XX), and define f:XRf : X \to \mathbb{R} to be 00 on AA and 11 on BB. The restrictions fAf|_A and fBf|_B are constant maps, hence continuous by Example 3.7. But ff itself is not continuous: the set V:=(1/2,1/2)V := (-1/2, 1/2) is open in R\mathbb{R}, while f1(V)=[0,1]f^{-1}(V) = [0,1] is not open in X=[0,2]X = [0,2] (any open subset of XX containing 11 contains (1δ,1+δ)[0,2](1-\delta, 1+\delta) \cap [0,2] for some δ>0\delta > 0, and this set necessarily contains points greater than 11).

Exercise 7.2Standard

Write R\mathbb{R}_\ell (the lower limit topology, or Sorgenfrey line) for the space R\mathbb{R} equipped with the topology having the family of half-open intervals B={[a,b):a<b}\mathcal{B} = \{\, [a,b) : a < b \,\} as a base. Show that, with R\mathbb{R} carrying its usual topology, the identity map id:RR\mathrm{id} : \mathbb{R}_\ell \to \mathbb{R} is continuous, while id:RR\mathrm{id} : \mathbb{R} \to \mathbb{R}_\ell is not.

Solution

First part. We use Lemma 3.4. The open intervals form a base for the usual topology of R\mathbb{R}, so it suffices to show that id1((a,b))=(a,b)\mathrm{id}^{-1}((a,b)) = (a,b) is open in R\mathbb{R}_\ell for a<ba < b. Here

(a,b)=a<c<b[c,b).(a,b) = \bigcup_{a < c < b} [c, b) .

Indeed, each [c,b)[c,b) on the right is contained in (a,b)(a,b) because c>ac > a; conversely, if x(a,b)x \in (a,b) we may take c=xc = x, and then x[x,b)x \in [x, b) with a<x<ba < x < b. The right-hand side is a union of members of B\mathcal{B} and hence open in R\mathbb{R}_\ell. So id:RR\mathrm{id} : \mathbb{R}_\ell \to \mathbb{R} is continuous.

Second part. The set [0,1)B[0,1) \in \mathcal{B} is open in R\mathbb{R}_\ell, but id1([0,1))=[0,1)\mathrm{id}^{-1}([0,1)) = [0,1) is not open in the usual topology. Indeed, for 0[0,1)0 \in [0,1) and any δ>0\delta > 0 we have δ/2(δ,δ)-\delta/2 \in (-\delta, \delta) and δ/2[0,1)-\delta/2 \notin [0,1), so no open interval containing 00 is contained in [0,1)[0,1). Hence id:RR\mathrm{id} : \mathbb{R} \to \mathbb{R}_\ell is not continuous.

How to read the conclusion. The map id:RR\mathrm{id} : \mathbb{R}_\ell \to \mathbb{R} is a continuous bijection, but its inverse id:RR\mathrm{id} : \mathbb{R} \to \mathbb{R}_\ell is not continuous, so condition 3 of Definition 5.2 fails and it is not a homeomorphism. Alongside Example 5.7, this is further evidence that condition 3 is independent.

Exercise 7.3Standard

Show that the space S1{N}S^{1} \setminus \{N\}, obtained from S1={(x,y)R2:x2+y2=1}S^{1} = \{\, (x,y) \in \mathbb{R}^{2} : x^{2}+y^{2}=1 \,\} by removing the north pole N=(0,1)N = (0,1), is homeomorphic to R\mathbb{R}, using the stereographic projection π(x,y)=x/(1y)\pi(x,y) = x/(1-y).

Solution

For (x,y)S1{N}(x,y) \in S^{1}\setminus\{N\} we have y1y \ne 1, so π(x,y)=x/(1y)\pi(x,y) = x/(1-y) is defined. As a candidate for the inverse take

σ(t):=(2tt2+1, t21t2+1)(tR).\sigma(t) := \left( \frac{2t}{t^{2}+1},\ \frac{t^{2}-1}{t^{2}+1} \right) \qquad (t \in \mathbb{R}) .

The values of σ\sigma lie in S1{N}S^{1}\setminus\{N\}. Since (2t)2+(t21)2=4t2+t42t2+1=t4+2t2+1=(t2+1)2(2t)^{2} + (t^{2}-1)^{2} = 4t^{2} + t^{4} - 2t^{2} + 1 = t^{4}+2t^{2}+1 = (t^{2}+1)^{2}, the sum of the squares of the two coordinates of σ(t)\sigma(t) equals 11, so σ(t)S1\sigma(t) \in S^{1}. Moreover the second coordinate equals 11 only if t21=t2+1t^{2}-1 = t^{2}+1, that is 1=1-1 = 1, which never happens. Hence σ(t)N\sigma(t) \ne N.

πσ=idR\pi \circ \sigma = \mathrm{id}_{\mathbb{R}}. Since 1t21t2+1=(t2+1)(t21)t2+1=2t2+11 - \dfrac{t^{2}-1}{t^{2}+1} = \dfrac{(t^{2}+1)-(t^{2}-1)}{t^{2}+1} = \dfrac{2}{t^{2}+1}, we get

π(σ(t))=2t/(t2+1)2/(t2+1)=t.\pi(\sigma(t)) = \frac{2t/(t^{2}+1)}{2/(t^{2}+1)} = t .

σπ=id\sigma \circ \pi = \mathrm{id}. For (x,y)S1{N}(x,y) \in S^{1}\setminus\{N\} put t:=x/(1y)t := x/(1-y). Using x2=1y2x^{2} = 1-y^{2},

t2+1=x2+(1y)2(1y)2=(1y2)+12y+y2(1y)2=2(1y)(1y)2=21y,t^{2}+1 = \frac{x^{2} + (1-y)^{2}}{(1-y)^{2}} = \frac{(1-y^{2}) + 1 - 2y + y^{2}}{(1-y)^{2}} = \frac{2(1-y)}{(1-y)^{2}} = \frac{2}{1-y} ,

and hence t21=21y2=2y1yt^{2}-1 = \dfrac{2}{1-y} - 2 = \dfrac{2y}{1-y}. Substituting these,

2tt2+1=2x/(1y)2/(1y)=x,t21t2+1=2y/(1y)2/(1y)=y,\frac{2t}{t^{2}+1} = \frac{2x/(1-y)}{2/(1-y)} = x, \qquad \frac{t^{2}-1}{t^{2}+1} = \frac{2y/(1-y)}{2/(1-y)} = y ,

so σ(π(x,y))=(x,y)\sigma(\pi(x,y)) = (x,y). Therefore π\pi is a bijection with π1=σ\pi^{-1} = \sigma.

Continuity. The map π\pi is a rational expression whose denominator does not vanish on the open subset {(x,y):y1}\{\, (x,y) : y \ne 1 \,\} of R2\mathbb{R}^{2}, hence continuous there, and so is its restriction to S1{N}S^{1}\setminus\{N\} (composition with the inclusion; Remark 3.6 and Proposition 3.5). The map σ\sigma is continuous as a map RR2\mathbb{R} \to \mathbb{R}^{2} because t2+11>0t^{2}+1 \ge 1 > 0, and since its values lie in S1{N}S^{1}\setminus\{N\}, part (2) of Remark 3.6 shows that it is continuous as a map RS1{N}\mathbb{R} \to S^{1}\setminus\{N\}. Hence π\pi is a homeomorphism and S1{N}RS^{1}\setminus\{N\} \cong \mathbb{R}.

That removing a single point turns the circle into a line is exactly the “cutting open” of Example 5.7, made legitimate by deleting a point of the domain beforehand.

Exercise 7.4Hard

Show that R\mathbb{R} and R2\mathbb{R}^{2} are not homeomorphic. You may use, as results from Connectedness, that every nonempty interval of R\mathbb{R} is connected and that R2{p}\mathbb{R}^{2}\setminus\{p\} is connected for every pR2p \in \mathbb{R}^{2}.

Solution

Auxiliary fact (restrictions are homeomorphisms). If h:XYh : X \to Y is a homeomorphism and AXA \subset X, then hA:Ah(A)h|_A : A \to h(A) is a homeomorphism. Indeed, hh is injective, so hAh|_A is a bijection onto h(A)h(A). For continuity: the open sets of h(A)h(A) have the form Wh(A)W \cap h(A) with WW open in YY, and

(hA)1(Wh(A))=Ah1(W),(h|_A)^{-1}(W \cap h(A)) = A \cap h^{-1}(W) ,

which is open in AA because h1(W)h^{-1}(W) is open in XX by continuity of hh. Applying the same argument to h1:YXh^{-1} : Y \to X and h(A)Yh(A) \subset Y gives continuity of (hA)1(h|_A)^{-1}.

Main argument. Suppose RR2\mathbb{R} \cong \mathbb{R}^{2} and take a homeomorphism h:RR2h : \mathbb{R} \to \mathbb{R}^{2}. Put p:=h(0)p := h(0). Since hh is a bijection, h(R{0})=R2{p}h(\mathbb{R}\setminus\{0\}) = \mathbb{R}^{2}\setminus\{p\}, and by the auxiliary fact

hR{0}:R{0}R2{p}h|_{\mathbb{R}\setminus\{0\}} : \mathbb{R}\setminus\{0\} \longrightarrow \mathbb{R}^{2}\setminus\{p\}

is a homeomorphism.

But R{0}=(,0)(0,)\mathbb{R}\setminus\{0\} = (-\infty, 0) \cup (0, \infty), where (,0)(-\infty,0) and (0,)(0,\infty) are open in R\mathbb{R} and hence open in the subspace R{0}\mathbb{R}\setminus\{0\}; they are disjoint, and neither is empty (they contain 1-1 and 11 respectively). So R{0}\mathbb{R}\setminus\{0\} is not connected.

On the other hand, R2{p}\mathbb{R}^{2}\setminus\{p\} is connected by hypothesis. By Corollary 6.3 connectedness is a topological property, so it is impossible for one of two homeomorphic spaces to be connected and the other not. This is a contradiction, and therefore R≇R2\mathbb{R} \not\cong \mathbb{R}^{2}.

Remark. The same argument shows R≇Rn\mathbb{R} \not\cong \mathbb{R}^{n} for n2n \ge 2. It cannot be used to show R2≇R3\mathbb{R}^{2} \not\cong \mathbb{R}^{3}, however, since removing a point does not destroy connectedness in either case. The general statement Rm≇Rn\mathbb{R}^{m}\not\cong\mathbb{R}^{n} for mnm \ne n (invariance of dimension) requires stronger topological invariants, such as homology groups.

  • J. R. Munkres, Topology, 2nd edition, Prentice Hall, 2000 — Chapter 2, §18 “Continuous Functions”, collects the equivalent conditions, the pasting lemma and homeomorphisms treated here.
  • S. Willard, General Topology, Addison-Wesley, 1970 (reprinted by Dover, 2004) — a systematic treatment of the characterisations of continuous maps and homeomorphisms.
  • Kazuo Matsuzaka, Shugo, Iso Nyumon (Introduction to Sets and Topology), Iwanami Shoten, 1968 (in Japanese) — explains the passage from metric spaces to topological spaces in graded steps, for beginners.
  • Fuichi Uchida, Shugo to Iso (Sets and Topology), Shokabo, 1986 (in Japanese) — the chapters on continuous maps and homeomorphisms contain many examples along the same lines as this article.
  • Teiji Takagi, Kaiseki Gairon (Introduction to Analysis), revised 3rd ed., Iwanami Shoten, 1961 (in Japanese) — contains the proof of the Weierstrass theorem that a continuous function on a closed interval attains a maximum, which we used in Example 6.1.

Appendix: what topology cannot see — boundedness, completeness, uniform continuity

Section titled “Appendix: what topology cannot see — boundedness, completeness, uniform continuity”

Topology forgets how close things are. In Example 5.6 we proved R(0,1)\mathbb{R} \cong (0,1). From this single fact it follows immediately that several important metric notions are not topological properties.

Boundedness is not a topological property. The interval (0,1)(0,1) is bounded with respect to the usual metric (its diameter is 11), whereas R\mathbb{R} is not bounded; yet the two are homeomorphic. So the argument “bounded, or unbounded, therefore not homeomorphic” is invalid. Boundedness depends on the metric dd, and a different metric inducing the same topology can make a space bounded or unbounded at will. Indeed, d(x,y):=min{1,xy}d'(x,y) := \min\{1, |x-y|\} is a metric on R\mathbb{R} that determines the same family of open sets as the usual metric, and (R,d)(\mathbb{R}, d') is bounded.

Completeness is not a topological property either. The space R\mathbb{R} is complete for the usual metric, while (0,1)(0,1) is not: the sequence xn=1/(n+1)x_n = 1/(n+1) consists of points of (0,1)(0,1) and satisfies xnxm0|x_n - x_m| \to 0, so it is a Cauchy sequence, but its limit 00 does not belong to (0,1)(0,1). Nevertheless R(0,1)\mathbb{R} \cong (0,1). For completeness see Completeness of the real numbers and Cauchy sequences.

Uniform continuity is not a topological property. Consider the inverse h1:(0,1)Rh^{-1} : (0,1) \to \mathbb{R}, h1(t)=(2t1)/(12t1)h^{-1}(t) = (2t-1)/(1-|2t-1|), of the homeomorphism of Example 5.6. For t[1/2,1)t \in [1/2, 1) we have 2t102t-1 \ge 0, that is 2t1=2t1|2t-1| = 2t-1, so

h1(t)=2t11(2t1)=2t12(1t).h^{-1}(t) = \frac{2t-1}{1-(2t-1)} = \frac{2t-1}{2(1-t)} .

Put tn:=11/nt_n := 1 - 1/n and sn:=11/(2n)s_n := 1 - 1/(2n) for n2n \ge 2. Since 11/n1/21 - 1/n \ge 1/2 and 11/(2n)3/41 - 1/(2n) \ge 3/4, both lie in [1/2,1)[1/2,1), and

h1(tn)=2(11/n)12/n=12/n2/n=n21,h1(sn)=11/n21/(2n)=11/n1/n=n1.h^{-1}(t_n) = \frac{2(1-1/n)-1}{2/n} = \frac{1 - 2/n}{2/n} = \frac{n}{2} - 1, \qquad h^{-1}(s_n) = \frac{1 - 1/n}{2 \cdot 1/(2n)} = \frac{1-1/n}{1/n} = n - 1 .

We have tnsn=1/(2n)0|t_n - s_n| = 1/(2n) \to 0, whereas

h1(tn)h1(sn)=n21(n1)=n2.\bigl| h^{-1}(t_n) - h^{-1}(s_n) \bigr| = \Bigl| \frac{n}{2} - 1 - (n-1) \Bigr| = \frac{n}{2} \longrightarrow \infty .

So for ε=1\varepsilon = 1, no matter which δ>0\delta > 0 is chosen, any nn with 1/(2n)<δ1/(2n) < \delta gives tnsn<δ|t_n - s_n| < \delta and h1(tn)h1(sn)1|h^{-1}(t_n) - h^{-1}(s_n)| \ge 1. Hence h1h^{-1} is not uniformly continuous, while the identity map on R\mathbb{R} is. Uniform continuity is not preserved under homeomorphism.

To summarise, what a topology remembers is only the qualitative information of which sets lie near a point; the quantitative information of how large the distances are has been discarded. To handle uniform continuity, completeness or boundedness one must pass to a category of maps preserving a finer structure than the topology — a metric, or a uniformity. Conversely, a theorem proved using topological properties alone is robust: it survives any change of metric. Keeping this dividing line in mind makes it visible exactly where distance enters the arguments of Continuous functions and uniform continuity.

Report an error in this article ・Operated by: Mugen Giken LLCPricingTermsLegal notice

© 2026 夢現技研合同会社 ・Feeding the text to an LLM is welcome. Code samples are MIT licensed.