11.1 Topologies: Bases, Subspace, Order, Product, Quotient and Metric
Open sets without distance: topologies and the standard examples, closure and interior, bases and subbases, the lower limit, order and metric topologies, continuity and homeomorphisms, and the three ways of building new spaces — subspaces, products (and the box topology) and quotients.
In §4.1 every notion of a metric space — open set, closure, convergent sequence, continuous map — was defined through the distance $d$. Yet once the open sets are known, the distance is no longer needed: a map is continuous exactly when preimages of open sets are open, a sequence converges to $x$ exactly when it eventually enters every open set around $x$, and two metrics with the same open sets, such as $|x-y|$ and $\min\{|x-y|,1\}$, are indistinguishable for these purposes. A topology keeps only the open sets. The payoff is twofold. First, many natural spaces have open sets but no useful distance: spaces obtained by gluing (the circle as an interval with its ends joined, the torus of a video-game screen that wraps around), infinite products such as the space of all real sequences, and the "half-open" line $\mathbb{R}_\ell$ in which $[0,1)$ is open. Second, with less structure the proofs become shorter and the role of each hypothesis becomes visible.
GATE MA examines this material through quick judgements: is a family of sets a topology or a basis, is a set open, closed, both or neither in an unusual topology, what is the closure of a set in $\mathbb{R}_\ell$ or in the cofinite topology, is a given map continuous, are two spaces homeomorphic, what does a product or a quotient look like, and how many open sets does a small finite space have? This section builds the tools for all of these. Section 11.2 then studies the properties of spaces — connectedness, compactness, countability and separation — and Urysohn's lemma.
Topologies, Open Sets and Closed Sets
A topology on a set $X$ is a collection $\mathcal{T}$ of subsets of $X$ such that
The pair $(X,\mathcal{T})$ is a topological space and the members of $\mathcal{T}$ are its open sets. A set $C\subseteq X$ is closed if $X\setminus C$ is open, and clopen if it is both open and closed. An open neighbourhood of $x$ is an open set containing $x$.
"Closed" is not the opposite of "open". In every space $\varnothing$ and $X$ are clopen; in $\mathbb{R}$ the interval $[0,1)$ is neither open nor closed. By induction (O3) gives all finite intersections, and no more is asked: in $\mathbb{R}$ the open sets $(-\frac1n,\frac1n)$ have intersection $\{0\}$, which is not open.
A space is metrizable if its topology is the metric topology of some metric on $X$.
The axioms are quickly checked. For $\mathcal{T}_{\mathrm{cof}}$: if the $U_i$ are nonempty and cofinite, $X\setminus\bigcup_iU_i=\bigcap_i(X\setminus U_i)$ lies inside one finite set, and $X\setminus(U\cap V)=(X\setminus U)\cup(X\setminus V)$ is finite; empty members change nothing. The same words with "countable" in place of "finite" handle $\mathcal{T}_{\mathrm{coc}}$. For the right-ray topology, $\bigcup_i(a_i,\infty)=(\inf_ia_i,\infty)$ (which is $\mathbb{R}$ if the infimum is $-\infty$) and $(a,\infty)\cap(b,\infty)=(\max\{a,b\},\infty)$. On a finite set the cofinite topology is discrete, and on a countable set the cocountable topology is discrete; they are interesting on $\mathbb{R}$.
The discrete topology is the finest and the indiscrete topology the coarsest on any set. On $\mathbb{R}$, $\mathcal{T}_{\mathrm{cof}}\subsetneq\mathcal{T}_{\mathrm{coc}}$ and $\mathcal{T}_{\mathrm{cof}}\subsetneq$ standard (a finite set is closed in $\mathbb{R}$, so a cofinite set is open), while the standard and cocountable topologies are not comparable: $\mathbb{R}\setminus\mathbb{Q}$ is cocountable but contains no interval, and $(0,1)$ is open but its complement is uncountable. The right-ray topology is coarser than the standard one and not comparable with $\mathcal{T}_{\mathrm{cof}}$ ($(0,\infty)$ has an infinite complement; $\mathbb{R}\setminus\{0\}$ is not a ray).
In a topological space $X$: $\varnothing$ and $X$ are closed; any intersection of closed sets is closed; any finite union of closed sets is closed. Conversely, if a family $\mathcal{C}$ of subsets of $X$ has these three properties, then $\{X\setminus C:C\in\mathcal{C}\}$ is a topology, and it is the only topology whose closed sets are exactly the members of $\mathcal{C}$.
Proof. De Morgan's laws $X\setminus\bigcap_iC_i=\bigcup_i(X\setminus C_i)$ and $X\setminus(C\cup D)=(X\setminus C)\cap(X\setminus D)$ turn (O1)–(O3) into the three properties of closed sets and back. A topology is determined by its closed sets, since the open sets are their complements. ∎
This is often the quickest way to define a topology: on $\mathbb{R}$ "the closed sets are $\varnothing$, $\mathbb{R}$ and the rays $(-\infty,a]$" describes the right-ray topology. On a finite set a topology is just a finite list, and there are surprisingly many: a set with $1,2,3,4,5$ elements carries $1,4,29,355,6942$ topologies (the Research–Teaching Nexus below shows how to count them).
Let $A\subseteq X$. The interior $\operatorname{int}A$ (written $A^\circ$ in §4.1) is the union of all open sets contained in $A$; the closure $\overline{A}$ is the intersection of all closed sets containing $A$; the boundary is $\partial A=\overline{A}\setminus\operatorname{int}A$. A point $x$ is a limit point (accumulation point) of $A$ if every open neighbourhood of $x$ contains a point of $A$ other than $x$; the set of limit points is the derived set $A'$. A point of $A$ that is not a limit point of $A$ is an isolated point of $A$. The set $A$ is dense if $\overline{A}=X$.
A sequence $(x_n)$ converges to $x$, written $x_n\to x$, if every open neighbourhood $U$ of $x$ contains $x_n$ for all sufficiently large $n$.
- $\operatorname{int}A$ is the largest open set contained in $A$ and $\overline{A}$ is the smallest closed set containing $A$. So $A$ is open $\iff A=\operatorname{int}A$, and closed $\iff A=\overline{A}$.
- $x\in\overline{A}$ if and only if every open neighbourhood of $x$ meets $A$.
- $\overline{A}=A\cup A'$; hence $A$ is closed if and only if it contains all its limit points.
- $X\setminus\overline{A}=\operatorname{int}(X\setminus A)$ and $\partial A=\overline{A}\cap\overline{X\setminus A}$; in particular $\partial A$ is closed.
- $\overline{A\cup B}=\overline{A}\cup\overline{B}$ and $\overline{A\cap B}\subseteq\overline{A}\cap\overline{B}$, where the inclusion can be strict.
- If $x_n\to x$ with every $x_n\in A$, then $x\in\overline{A}$. (The converse can fail; see Example 2.)
Proof. (1) A union of open sets is open, so $\operatorname{int}A$ is open, and it contains every open subset of $A$ by definition. Dually $\overline{A}$ is closed by Theorem 11.1 and lies inside every closed superset of $A$.
(2) Suppose $x\notin\overline{A}$. Then $U=X\setminus\overline{A}$ is an open neighbourhood of $x$ missing $A$. Conversely, if some open $U\ni x$ misses $A$, then $X\setminus U$ is a closed set containing $A$, so $\overline{A}\subseteq X\setminus U$ and $x\notin\overline{A}$.
(3) By (2), a limit point of $A$ lies in $\overline{A}$, so $A\cup A'\subseteq\overline{A}$. If $x\in\overline{A}\setminus A$, every open neighbourhood of $x$ meets $A$ in a point that must differ from $x$, so $x\in A'$.
(4) $x\notin\overline{A}$ iff some open $U\ni x$ misses $A$, i.e. lies in $X\setminus A$, i.e. $x\in\operatorname{int}(X\setminus A)$. Then $\partial A=\overline{A}\setminus\operatorname{int}A=\overline{A}\cap(X\setminus\operatorname{int}A)=\overline{A}\cap\overline{X\setminus A}$, an intersection of two closed sets.
(5) $\overline{A}\cup\overline{B}$ is closed (a finite union) and contains $A\cup B$, so it contains $\overline{A\cup B}$; and $\overline{A}\subseteq\overline{A\cup B}$, $\overline{B}\subseteq\overline{A\cup B}$ because closure preserves inclusions. For intersections, $A=\mathbb{Q}$ and $B=\mathbb{R}\setminus\mathbb{Q}$ in $\mathbb{R}$ give $\overline{A\cap B}=\varnothing$ but $\overline{A}\cap\overline{B}=\mathbb{R}$.
(6) Every open $U\ni x$ contains some $x_n\in A$; apply (2). ∎
Bases and Subbases
Listing every open set is impractical; in a metric space we described them through balls instead. A basis plays the role of the balls.
A basis on a set $X$ is a collection $\mathcal{B}$ of subsets (the basic sets) such that
The topology generated by $\mathcal{B}$ is the family $\mathcal{T}_{\mathcal{B}}$ of all sets $U\subseteq X$ such that for every $x\in U$ there is $B\in\mathcal{B}$ with $x\in B\subseteq U$.
Proof. $\varnothing$ satisfies the defining condition vacuously and $X$ by (B1). If every $U_i\in\mathcal{T}_{\mathcal{B}}$ and $x\in\bigcup U_i$, then $x\in U_j$ for some $j$ and a basic set $B$ with $x\in B\subseteq U_j\subseteq\bigcup U_i$ exists. If $U,V\in\mathcal{T}_{\mathcal{B}}$ and $x\in U\cap V$, choose $x\in B_1\subseteq U$ and $x\in B_2\subseteq V$; (B2) gives $x\in B_3\subseteq B_1\cap B_2\subseteq U\cap V$. So $\mathcal{T}_{\mathcal{B}}$ is a topology.
Each $B\in\mathcal{B}$ lies in $\mathcal{T}_{\mathcal{B}}$ (use $B$ itself), so unions of basic sets do too. Conversely, for $U\in\mathcal{T}_{\mathcal{B}}$ choose for each $x\in U$ some $B_x$ with $x\in B_x\subseteq U$; then $U=\bigcup_{x\in U}B_x$. Finally, any topology containing $\mathcal{B}$ contains all unions of basic sets, i.e. contains $\mathcal{T}_{\mathcal{B}}$. ∎
- Let $(X,\mathcal{T})$ be a space and $\mathcal{C}\subseteq\mathcal{T}$ a family of open sets such that for every open $U$ and every $x\in U$ there is $C\in\mathcal{C}$ with $x\in C\subseteq U$. Then $\mathcal{C}$ is a basis and $\mathcal{T}_{\mathcal{C}}=\mathcal{T}$.
- Let $\mathcal{B}$ and $\mathcal{B}'$ be bases generating $\mathcal{T}$ and $\mathcal{T}'$ on $X$. Then $\mathcal{T}\subseteq\mathcal{T}'$ if and only if for every $B\in\mathcal{B}$ and every $x\in B$ there is $B'\in\mathcal{B}'$ with $x\in B'\subseteq B$.
Proof. (1) (B1) follows by taking $U=X$. For (B2), $C_1\cap C_2$ is open, so some $C_3\in\mathcal{C}$ satisfies $x\in C_3\subseteq C_1\cap C_2$. Every $U\in\mathcal{T}$ satisfies the defining condition of $\mathcal{T}_{\mathcal{C}}$, so $\mathcal{T}\subseteq\mathcal{T}_{\mathcal{C}}$; and every member of $\mathcal{T}_{\mathcal{C}}$ is a union of members of $\mathcal{C}\subseteq\mathcal{T}$, so it is open.
(2) If $\mathcal{T}\subseteq\mathcal{T}'$ and $x\in B\in\mathcal{B}$, then $B\in\mathcal{T}'$, so by definition of $\mathcal{T}'=\mathcal{T}_{\mathcal{B}'}$ some $B'$ satisfies $x\in B'\subseteq B$. Conversely, given $U\in\mathcal{T}$ and $x\in U$, pick $B\in\mathcal{B}$ with $x\in B\subseteq U$ and then $B'\in\mathcal{B}'$ with $x\in B'\subseteq B\subseteq U$: so $U\in\mathcal{T}'$. ∎
Part (2) says: a finer topology has smaller basic sets around each point. Open discs, open squares and open diamonds in $\mathbb{R}^2$ each fit inside the others around any point, so they generate the same (standard) topology — Interactive 1 lets you test this. The intervals $(a,b)$ with $a,b\in\mathbb{Q}$ form a countable basis of $\mathbb{R}$, and the singletons form a basis of the discrete topology.
- The half-open intervals $[a,b)$, $a\lt b$, form a basis on $\mathbb{R}$ ((B1) is clear and $[a,b)\cap[c,d)=[\max\{a,c\},\min\{b,d\})$ is empty or basic). The topology they generate is the lower limit topology; $\mathbb{R}$ with it is the Sorgenfrey line $\mathbb{R}_\ell$.
- Let $K=\{\frac1n:n\in\mathbb{N}\}$. The open intervals $(a,b)$ together with the sets $(a,b)\setminus K$ form a basis; the topology they generate is the $K$-topology, and $\mathbb{R}$ with it is written $\mathbb{R}_K$.
- $\mathbb{R}_\ell$ and $\mathbb{R}_K$ are both strictly finer than the standard topology, and they are not comparable with each other.
- In $\mathbb{R}_\ell$ every interval $[a,b)$ and every ray $[a,\infty)$, $(-\infty,a)$ is clopen; no interval $(a,b]$, $[a,b]$ ($a\lt b$) and no singleton is open.
- In $\mathbb{R}_\ell$, $x_n\to x$ if and only if $x_n\to x$ in the usual sense and $x_n\ge x$ for all sufficiently large $n$.
- In $\mathbb{R}_K$ the set $K$ is closed, and $0\notin\overline{K}$; in $\mathbb{R}$, $\overline{K}=K\cup\{0\}$.
Proof. (1) Every standard basic set $(a,b)$ is open in both: $(a,b)=\bigcup_{a\lt x\lt b}[x,b)$, and $(a,b)$ is itself a $K$-basic set. The set $[0,1)$ is $\mathbb{R}_\ell$-open but not standard-open (no interval around $0$ fits), and $(-1,1)\setminus K$ is $\mathbb{R}_K$-open but not standard-open (every interval around $0$ contains points $\frac1n$). So both inclusions are strict. Next, $[0,1)$ is not open in $\mathbb{R}_K$: every $K$-basic set containing $0$ contains some $(-\delta,\delta)\setminus K$, which has negative points. And $(-1,1)\setminus K$ is not open in $\mathbb{R}_\ell$: every $[0,\varepsilon)$ contains points of $K$. By Theorem 11.4(2) neither topology contains the other.
(2) $[a,b)$ is basic, so open. Its complement $(-\infty,a)\cup[b,\infty)=\bigcup_{n}[a-n,a)\cup\bigcup_n[b,b+n)$ is open, so $[a,b)$ is also closed. The rays are unions of basic sets and are each other's complements. A basic set $[c,d)$ containing $b$ contains points greater than $b$, so none fits inside $(a,b]$ or $[a,b]$; and no $[x,x+\varepsilon)$ fits inside $\{x\}$.
(3) The sets $[x,x+\varepsilon)$ form a basis of neighbourhoods of $x$ (every open set containing $x$ contains one). So $x_n\to x$ in $\mathbb{R}_\ell$ iff for every $\varepsilon\gt0$, eventually $x\le x_n\lt x+\varepsilon$ — which is exactly the stated condition.
(4) $\mathbb{R}\setminus K$ is the union of the $K$-basic sets $(-n,n)\setminus K$, $n\in\mathbb{N}$, so it is open and $K$ is closed in $\mathbb{R}_K$. In $\mathbb{R}$, $\frac1n\to0$ gives $0\in\overline{K}$, and every other point of $\mathbb{R}\setminus K$ has an interval around it missing $K$. ∎
Proof. (B1) holds because $\bigcup\mathcal{S}=X$, and (B2) because the intersection of two finite intersections of members of $\mathcal{S}$ is again one (take $B_3=B_1\cap B_2$). By Theorem 11.3 the generated topology consists of the unions of members of $\mathcal{B}_{\mathcal{S}}$. Any topology containing $\mathcal{S}$ contains these finite intersections and their unions. ∎
Three subbases to remember: the open rays $(a,\infty)$ and $(-\infty,b)$ generate the standard topology of $\mathbb{R}$ (their pairwise intersections are the intervals $(a,b)$); the sets $\pi_1^{-1}(U)=U\times Y$ and $\pi_2^{-1}(V)=X\times V$ generate the product topology on $X\times Y$; and on $\{a,b,c\}$ the subbasis $\{\{a,b\},\{b,c\}\}$ generates $\{\varnothing,\{b\},\{a,b\},\{b,c\},X\}$ — note the new open set $\{b\}$, which is why a subbasis is in general not a basis.
- Find the basic neighbourhoods of a point: $[x,x+\varepsilon)$ in $\mathbb{R}_\ell$; $(x-\varepsilon,x+\varepsilon)$ and $(x-\varepsilon,x+\varepsilon)\setminus K$ in $\mathbb{R}_K$; $\mathbb{R}\setminus F$ ($F$ finite) in $\mathcal{T}_{\mathrm{cof}}$; $(a,\infty)$ with $a\lt x$ in the right-ray topology.
- Open? Check that every point of the set has a basic neighbourhood inside it. Closed? Do the same for the complement — or list the closed sets directly when they are simple (finite sets, countable sets, rays $(-\infty,a]$).
- Closure: $x\in\overline{A}$ iff every basic neighbourhood of $x$ meets $A$ (Theorem 11.2(2) together with Theorem 11.3). Test the points of the boundary of $A$ in the usual topology first — that is where topologies differ.
- Comparing topologies: use Theorem 11.4(2) and look for one set that is open in one topology but not the other.
The Order Topology and the Metric Topology
Let $X$ be a set with at least two elements and a simple order $\lt$ (a linear order: any two distinct elements are comparable, and $\lt$ is transitive and irreflexive). Write $(a,b)=\{x:a\lt x\lt b\}$, and similarly $[a,b)$, $(a,b]$, and the open rays $(a,+\infty)=\{x:x\gt a\}$, $(-\infty,b)=\{x:x\lt b\}$. The order topology on $X$ is generated by the basis consisting of
- all open intervals $(a,b)$;
- all intervals $[a_0,b)$, if $X$ has a smallest element $a_0$;
- all intervals $(a,b_0]$, if $X$ has a largest element $b_0$.
The dictionary order on $A\times B$ (both simply ordered) is $(a_1,b_1)\lt(a_2,b_2)$ iff $a_1\lt a_2$, or $a_1=a_2$ and $b_1\lt b_2$. The ordered square $I_o^2$ is $[0,1]\times[0,1]$ with the dictionary order topology.
- The sets listed in Definition 11.8 form a basis, and the open rays form a subbasis of the order topology. Open rays are open and closed rays $[a,+\infty)$, $(-\infty,b]$ are closed.
- The order topology of $\mathbb{R}$ is the standard topology. The order topologies of $\mathbb{N}$ and of $\mathbb{Z}$ are discrete.
- The dictionary order topology on $\mathbb{R}\times\mathbb{R}$ has as a basis the vertical open segments $\{a\}\times(c,d)$. It is the product $\mathbb{R}_d\times\mathbb{R}$ of the discrete and the standard line (Definition 11.11), and it is strictly finer than the standard topology of $\mathbb{R}^2$.
Proof. (1) Every element lies in a basic set: if $x$ is neither the smallest nor the largest element, pick $a\lt x\lt b$; the extreme elements are covered by $[a_0,b)$ and $(a,b_0]$. The intersection of two basic sets is again an interval of one of the listed kinds (or empty), e.g. $(a,b)\cap(c,d)=(\max\{a,c\},\min\{b,d\})$, which gives (B2). An open ray $(a,+\infty)$ is the union of the basic sets $(a,b)$, $b\gt a$ (together with $(a,b_0]$ if there is a largest element), and $(a,b)=(a,+\infty)\cap(-\infty,b)$, $[a_0,b)=(-\infty,b)$, $(a,b_0]=(a,+\infty)$; so the rays form a subbasis. A closed ray is the complement of an open ray.
(2) For $\mathbb{R}$ the basis consists of the open intervals. In $\mathbb{N}$, $\{1\}=[1,2)$ and $\{n\}=(n-1,n+1)$ for $n\ge2$ are basic, so all singletons are open; in $\mathbb{Z}$, $\{n\}=(n-1,n+1)$.
(3) If $(a,c)\lt(b,d)$ with $a=b$, the interval between them is the segment $\{a\}\times(c,d)$; if $a\lt b$ the interval contains the segment $\{a\}\times(c,c+1)$ around any of its points with first coordinate $a$, and similarly for its other points. By Theorem 11.4(1) the vertical segments form a basis, and they are precisely the products $\{a\}\times(c,d)$ of a basic set of $\mathbb{R}_d$ and one of $\mathbb{R}$. A standard open disc around a point contains a vertical segment around it, but the segment $\{0\}\times(-1,1)$ contains no disc, so the dictionary topology is strictly finer. ∎
- Two metrics $d,\rho$ on $X$ give the same topology if and only if every $d$-ball around a point $x$ contains a $\rho$-ball around $x$ and vice versa. In particular $d$, $\min\{d,1\}$ and $\dfrac d{1+d}$ give the same topology, so every metrizable space has a bounded metric.
- The discrete metric gives the discrete topology.
- In a metric space distinct points have disjoint neighbourhoods, and every point has the countable family of neighbourhoods $B(x,\frac1n)$, such that every open set containing $x$ contains one of them.
- Consequently a space with two points that cannot be separated by disjoint open sets is not metrizable: the indiscrete topology on a set with two or more points, the cofinite topology on an infinite set, the cocountable topology on $\mathbb{R}$, the right-ray topology and the Sierpiński space are not metrizable.
Proof. (1) is Theorem 11.4(2) applied to the two bases of balls (balls are basic sets around their own points, by the triangle inequality as in §4.1). For $\min\{d,1\}$ the balls of radius $r\le1$ coincide with the $d$-balls; for $\rho=\frac d{1+d}$, $\rho\lt r$ iff $d\lt\frac r{1-r}$ when $r\lt1$, so $B_\rho(x,r)=B_d(x,\frac r{1-r})$ and $B_d(x,s)=B_\rho(x,\frac s{1+s})$. (2) $B(x,1)=\{x\}$. (3) If $d(x,y)=\delta\gt0$, the balls $B(x,\frac\delta2)$ and $B(y,\frac\delta2)$ are disjoint by the triangle inequality; and an open $U\ni x$ contains a ball $B(x,r)\supseteq B(x,\frac1n)$ for $\frac1n\lt r$. (4) In each listed space any two nonempty open sets meet: the indiscrete case is clear; two cofinite (or cocountable) subsets of an infinite (uncountable) set have cofinite (cocountable), hence nonempty, intersection; two rays $(a,\infty)$, $(b,\infty)$ meet; and in the Sierpiński space every nonempty open set contains $1$. ∎
Continuity and Homeomorphisms
Let $X,Y$ be spaces. A map $f:X\to Y$ is continuous if $f^{-1}(V)$ is open in $X$ for every open $V\subseteq Y$, and continuous at $x$ if for every open $V\ni f(x)$ there is an open $U\ni x$ with $f(U)\subseteq V$. It is
- an open map (closed map) if $f(U)$ is open (closed) for every open (closed) $U\subseteq X$;
- a homeomorphism if it is a bijection and both $f$ and $f^{-1}$ are continuous — equivalently, a continuous open bijection. Then $X$ and $Y$ are homeomorphic, $X\cong Y$;
- an embedding if it is a homeomorphism of $X$ onto the subspace $f(X)$ of $Y$.
A property of spaces is topological if it is preserved by homeomorphisms.
For $f:X\to Y$ the following are equivalent:
- $f$ is continuous;
- $f^{-1}(B)$ is open for every $B$ in some basis (or some subbasis) of $Y$;
- $f^{-1}(C)$ is closed for every closed $C\subseteq Y$;
- $f(\overline{A})\subseteq\overline{f(A)}$ for every $A\subseteq X$;
- $f$ is continuous at every point.
Moreover a continuous map preserves convergence of sequences: $x_n\to x$ implies $f(x_n)\to f(x)$.
Proof. (1)⇒(2) is clear. (2)⇒(1): an open $V$ is a union of basic sets (Theorem 11.3), or a union of finite intersections of subbasic sets (Theorem 11.6), and preimages commute with unions and intersections. (1)⇔(3): $f^{-1}(Y\setminus C)=X\setminus f^{-1}(C)$.
(3)⇒(4): $f^{-1}(\overline{f(A)})$ is closed and contains $A$, hence contains $\overline{A}$. (4)⇒(3): let $C$ be closed and $A=f^{-1}(C)$. Then $f(\overline{A})\subseteq\overline{f(A)}\subseteq\overline{C}=C$, so $\overline{A}\subseteq f^{-1}(C)=A$ and $A$ is closed.
(1)⇒(5): take $U=f^{-1}(V)$. (5)⇒(1): if $V$ is open and $x\in f^{-1}(V)$, choose an open $U_x\ni x$ with $f(U_x)\subseteq V$; then $f^{-1}(V)=\bigcup_xU_x$ is open. For sequences: given an open $V\ni f(x)$, the open set $f^{-1}(V)\ni x$ contains $x_n$ for large $n$, so $f(x_n)\in V$. ∎
- Constant maps, identity maps and composites of continuous maps are continuous; restricting the domain to a subspace or the codomain to a subspace containing the image keeps continuity.
- Pasting lemma. If $X=A\cup B$ with $A,B$ both closed (or both open), and $f:A\to Y$, $g:B\to Y$ are continuous and agree on $A\cap B$, then the map $h$ equal to $f$ on $A$ and $g$ on $B$ is continuous. The same holds for finitely many closed sets, or any number of open sets.
- Every map out of a discrete space and every map into an indiscrete space is continuous. The identity $(X,\mathcal{T})\to(X,\mathcal{T}')$ is continuous if and only if $\mathcal{T}'\subseteq\mathcal{T}$.
- $f:\mathbb{R}_\ell\to\mathbb{R}$ is continuous if and only if $f$ is right-continuous at every point: $f(x^+)=f(x)$.
- $f:(\mathbb{R},\mathcal{T}_{\mathrm{cof}})\to(\mathbb{R},\mathcal{T}_{\mathrm{cof}})$ is continuous if and only if $f$ is constant or every fibre $f^{-1}(y)$ is finite. A map $f$ from standard $\mathbb{R}$ to $(\mathbb{R},\mathcal{T}_{\mathrm{cof}})$ is continuous if and only if every fibre is closed in $\mathbb{R}$.
Proof. (1) $(g\circ f)^{-1}(W)=f^{-1}(g^{-1}(W))$; the statements about subspaces follow from the description of open sets of a subspace in Theorem 11.11 below. (2) For closed $C\subseteq Y$, $h^{-1}(C)=f^{-1}(C)\cup g^{-1}(C)$. Here $f^{-1}(C)$ is closed in $A$, i.e. $f^{-1}(C)=A\cap F$ with $F$ closed in $X$, so it is closed in $X$ because $A$ is; similarly for $g^{-1}(C)$. A union of two closed sets is closed. The open case is the same with open sets and arbitrary unions. (3) All subsets are open in a discrete space; in an indiscrete codomain the preimages of $\varnothing$ and $Y$ are $\varnothing$ and $X$. The identity is continuous iff every $\mathcal{T}'$-open set is $\mathcal{T}$-open.
(4) Suppose $f$ is continuous and $\varepsilon\gt0$. The set $f^{-1}\big((f(x)-\varepsilon,f(x)+\varepsilon)\big)$ is open in $\mathbb{R}_\ell$ and contains $x$, so it contains some $[x,x+\delta)$: that is right-continuity at $x$. Conversely, if $f$ is right-continuous and $V$ is open with $f(x)\in V$, pick $\varepsilon$ with $(f(x)-\varepsilon,f(x)+\varepsilon)\subseteq V$ and then $\delta$; $[x,x+\delta)\subseteq f^{-1}(V)$. So $f^{-1}(V)$ is open in $\mathbb{R}_\ell$.
(5) The open sets of the codomain are $\varnothing$ and the sets $\mathbb{R}\setminus F$, $F$ finite, and $f^{-1}(\mathbb{R}\setminus F)=\mathbb{R}\setminus f^{-1}(F)$. In the cofinite domain this is open iff $f^{-1}(F)$ is finite or all of $\mathbb{R}$. Taking $F=\{y\}$: each fibre is finite or $\mathbb{R}$ (and a fibre equal to $\mathbb{R}$ means $f$ is constant); conversely, finite fibres make every $f^{-1}(F)$ finite. In the standard domain, $\mathbb{R}\setminus f^{-1}(F)$ is open iff $f^{-1}(F)$ is closed, and a finite union of closed fibres is closed. ∎
Homeomorphic spaces are "the same space with the points renamed". Some homeomorphisms to know: any two open intervals are homeomorphic (affine maps), $(-1,1)\cong\mathbb{R}$ via $x\mapsto\frac x{1-|x|}$ with inverse $y\mapsto\frac y{1+|y|}$, and the circle minus a point is homeomorphic to $\mathbb{R}$ (stereographic projection). On the other hand a continuous bijection need not be a homeomorphism: $t\mapsto(\cos t,\sin t)$ from $[0,2\pi)$ onto the circle $S^1$ is continuous and bijective, but the image of the open set $[0,1)$ is an arc containing one endpoint, which is not open in $S^1$. Similarly $\mathrm{id}:\mathbb{R}_\ell\to\mathbb{R}$ is a continuous bijection but not a homeomorphism.
Subspaces, Products and Quotients
- If $Y\subseteq X$, the subspace topology on $Y$ is $\mathcal{T}_Y=\{U\cap Y:U\text{ open in }X\}$.
- The product topology on $X\times Y$ is generated by the basis of open boxes $U\times V$, $U$ open in $X$, $V$ open in $Y$. The projections are $\pi_1(x,y)=x$, $\pi_2(x,y)=y$.
Let $Y\subseteq X$ carry the subspace topology.
- $\mathcal{T}_Y$ is a topology. If $\mathcal{B}$ is a basis of $X$, then $\{B\cap Y:B\in\mathcal{B}\}$ is a basis of $Y$.
- The closed sets of $Y$ are the sets $C\cap Y$, $C$ closed in $X$, and for $A\subseteq Y$ the closure of $A$ in $Y$ is $\overline{A}\cap Y$.
- If $Y$ is open in $X$, every set open in $Y$ is open in $X$; if $Y$ is closed in $X$, every set closed in $Y$ is closed in $X$.
- The inclusion $Y\hookrightarrow X$ is continuous, and $\mathcal{T}_Y$ is the coarsest topology on $Y$ with this property. A map $f:Z\to Y$ is continuous if and only if it is continuous as a map into $X$.
- If $Y$ is a convex subset of a simply ordered set $X$ (with $a,b\in Y$, $a\lt x\lt b$ implying $x\in Y$), the order topology of $Y$ equals its subspace topology.
Proof. (1) $(\bigcup U_i)\cap Y=\bigcup(U_i\cap Y)$ and $(U\cap Y)\cap(V\cap Y)=(U\cap V)\cap Y$. If $U\cap Y$ is open in $Y$ and $y\in U\cap Y$, choose $B$ with $y\in B\subseteq U$; then $y\in B\cap Y\subseteq U\cap Y$, and Theorem 11.4(1) applies.
(2) $Y\setminus(U\cap Y)=(X\setminus U)\cap Y$. The set $\overline{A}\cap Y$ is closed in $Y$ and contains $A$; any set closed in $Y$ containing $A$ has the form $C\cap Y$ with $C\supseteq A$ closed in $X$, so it contains $\overline{A}\cap Y$.
(3) $U\cap Y$ is an intersection of two open sets of $X$; likewise for closed sets. (4) The preimage of $U$ under the inclusion is $U\cap Y$; any topology making the inclusion continuous must contain these sets. For $f:Z\to Y$, $f^{-1}(U\cap Y)=f^{-1}(U)$.
(5) Both topologies are generated by rays (Theorem 11.7(1) and part (1)). For $a\in Y$ the ray $\{y\in Y:y\gt a\}$ of $Y$ equals $(a,+\infty)\cap Y$, so the order topology of $Y$ is contained in the subspace topology. Conversely, take a ray $(a,+\infty)$ of $X$. If $a\in Y$, its trace on $Y$ is a ray of $Y$. If $a\notin Y$, then by convexity $a$ cannot lie between two points of $Y$, so either $a$ is below all of $Y$ (trace $Y$) or above all of $Y$ (trace $\varnothing$). The same holds for rays $(-\infty,b)$, so the subspace topology is contained in the order topology. ∎
The convexity in (5) matters: Example 4(a) is a non-convex subset where the two topologies differ. In practice: "$[0,1)$ is open in $Y=[0,1)\cup[2,3]$" ($[0,1)=(-1,1)\cap Y$) — openness depends on the ambient space.
- If $\mathcal{B}$ and $\mathcal{C}$ are bases of $X$ and $Y$, the products $B\times C$ form a basis of $X\times Y$. The sets $U\times Y$ and $X\times V$ ($U,V$ open) form a subbasis.
- The product topology on $\mathbb{R}\times\mathbb{R}$ (and on $\mathbb{R}^n$) is the standard Euclidean topology.
- The projections are continuous and open, but in general not closed. A map $f=(f_1,f_2):Z\to X\times Y$ is continuous if and only if $f_1$ and $f_2$ are.
- $\overline{A\times B}=\overline{A}\times\overline{B}$ and $\operatorname{int}(A\times B)=\operatorname{int}A\times\operatorname{int}B$.
- If $A\subseteq X$ and $B\subseteq Y$ are subspaces, the product topology on $A\times B$ equals its subspace topology from $X\times Y$.
Proof. (1) Given an open box $U\times V$ and $(x,y)$ in it, choose $x\in B\subseteq U$ and $y\in C\subseteq V$; by Theorem 11.4(1) the sets $B\times C$ form a basis. Also $U\times V=(U\times Y)\cap(X\times V)$. (2) By (1) the open squares $(a,b)\times(c,d)$ form a basis of the product topology; a square around a point contains a disc around it and vice versa, so Theorem 11.4(2) gives equality. (3) $\pi_1^{-1}(U)=U\times Y$ is open, and $\pi_1(\bigcup U_i\times V_i)=\bigcup_{V_i\ne\varnothing}U_i$ is open. The hyperbola $H=\{xy=1\}$ is closed in $\mathbb{R}^2$ but $\pi_1(H)=\mathbb{R}\setminus\{0\}$ is not closed. For the last statement, $f^{-1}(U\times V)=f_1^{-1}(U)\cap f_2^{-1}(V)$ and $f_i=\pi_i\circ f$.
(4) If $(x,y)\in\overline{A}\times\overline{B}$ and $U\times V$ is a basic neighbourhood, then $U$ meets $A$ and $V$ meets $B$, so $U\times V$ meets $A\times B$. Conversely, $\overline{A}\times\overline{B}=(\overline{A}\times Y)\cap(X\times\overline{B})$ is closed (complement $((X\setminus\overline{A})\times Y)\cup(X\times(Y\setminus\overline{B}))$) and contains $A\times B$. The interior statement is similar. (5) $(U\times V)\cap(A\times B)=(U\cap A)\times(V\cap B)$: both topologies have the same basis. ∎
Let $(X_\alpha)_{\alpha\in J}$ be spaces and $\prod_\alpha X_\alpha$ the set of all families $x=(x_\alpha)$ with $x_\alpha\in X_\alpha$; $\pi_\beta(x)=x_\beta$. For $J=\mathbb{N}$ and $X_n=\mathbb{R}$ this is the set $\mathbb{R}^\omega$ of real sequences.
- The product topology is generated by the subbasis $\{\pi_\beta^{-1}(U):\beta\in J,\ U\text{ open in }X_\beta\}$; its basic sets are $\prod_\alpha U_\alpha$ with $U_\alpha$ open and $U_\alpha=X_\alpha$ for all but finitely many $\alpha$.
- The box topology has as basis all $\prod_\alpha U_\alpha$ with every $U_\alpha$ open.
For finitely many factors the two coincide with Definition 11.11; for infinitely many nontrivial factors (spaces with an open set other than $\varnothing$ and the whole space) the box topology is strictly finer.
- With the product topology, $f:Z\to\prod X_\alpha$ is continuous if and only if every coordinate $f_\alpha=\pi_\alpha\circ f$ is continuous. This fails for the box topology: $t\mapsto(t,t,t,\dots)$ from $\mathbb{R}$ to $\mathbb{R}^\omega$ is not box-continuous.
- In the product topology a sequence converges if and only if it converges in every coordinate.
- $\mathbb{R}^\omega$ with the product topology is metrizable, by $D(x,y)=\sup_n\dfrac{\min\{|x_n-y_n|,1\}}{n}$. With the box topology it is not even first countable (hence not metrizable).
Proof. (1) If $f$ is continuous, so is $\pi_\alpha\circ f$ ($\pi_\alpha$ is continuous since $\pi_\alpha^{-1}(U)$ is subbasic). Conversely, $f^{-1}(\pi_\beta^{-1}(U))=f_\beta^{-1}(U)$ is open, and by Theorem 11.9(2) checking subbasic sets suffices. For the box topology, the preimage of the box $\prod_n(-\frac1n,\frac1n)$ under $t\mapsto(t,t,\dots)$ is $\{t:|t|\lt\frac1n\text{ for all }n\}=\{0\}$, not open, although every coordinate is the identity.
(2) If $x^{(k)}\to x$ then $\pi_\alpha(x^{(k)})\to x_\alpha$ by continuity of $\pi_\alpha$. Conversely, a basic neighbourhood $\prod U_\alpha$ of $x$ restricts only finitely many coordinates $\alpha_1,\dots,\alpha_m$; for each $i$ the coordinate sequence enters $U_{\alpha_i}$ from some index $N_i$ on, and from $\max_iN_i$ on the whole sequence lies in the neighbourhood.
(3) (Sketch.) $D$ is a metric. Given $0\lt\varepsilon\le1$, choose $N$ with $\frac1{N+1}\lt\varepsilon$; the basic set $\prod_{n\le N}(x_n-\frac\varepsilon2,x_n+\frac\varepsilon2)\times\prod_{n\gt N}\mathbb{R}$ lies in the $D$-ball $B_D(x,\varepsilon)$, because its points have $D(x,y)\le\max\{\frac\varepsilon2,\frac1{N+1}\}\lt\varepsilon$. Conversely, a basic neighbourhood restricting coordinates $1,\dots,m$ to $(x_n-\varepsilon,x_n+\varepsilon)$, $\varepsilon\le1$, contains $B_D(x,\frac\varepsilon m)$: there $\min\{|x_n-y_n|,1\}\lt\frac{n\varepsilon}m\le\varepsilon$ for $n\le m$. By Theorem 11.4(2) the topologies agree. For the box topology, suppose $B_k=\prod_n(-a_{k,n},a_{k,n})$, $k\in\mathbb{N}$, were a countable family of neighbourhoods of $0$ with every neighbourhood of $0$ containing one. The box $\prod_n(-\frac{a_{n,n}}2,\frac{a_{n,n}}2)$ contains none of them: $B_k$ is not inside it because of the $k$-th coordinate. (General neighbourhoods contain boxes of this form, so this suffices.) ∎
Concretely, in $\mathbb{R}^\omega$: $x^{(k)}=(\frac1k,\frac1k,\frac1k,\dots)$ and $e^{(k)}=(0,\dots,0,1,0,\dots)$ (a $1$ in place $k$) both converge to $0$ in the product topology (every coordinate tends to $0$), and neither converges in the box topology (the box $\prod_n(-\frac1n,\frac1n)$ contains no $x^{(k)}$, and the box $\prod_n(-\frac12,\frac12)$ contains no $e^{(k)}$).
Let $X$ be a space and $q:X\to Y$ a surjection onto a set $Y$. The quotient topology on $Y$ is $\{V\subseteq Y:q^{-1}(V)\text{ is open in }X\}$. A surjection between spaces is a quotient map if $Y$ carries exactly this topology. For an equivalence relation $\sim$ on $X$, the quotient space $X/{\sim}$ is the set of classes with the quotient topology of $q(x)=[x]$; a set $U\subseteq X$ is saturated if it is a union of classes, and the open sets of $X/{\sim}$ correspond to the saturated open sets of $X$. Collapsing a subset $A$ to a point gives $X/A$.
Gluing the square $[0,1]^2$: the cylinder $(0,y)\sim(1,y)$; the Möbius band $(0,y)\sim(1,1-y)$; the torus $(0,y)\sim(1,y)$ and $(x,0)\sim(x,1)$; the Klein bottle $(0,y)\sim(1,y)$ and $(x,0)\sim(1-x,1)$; the real projective plane $(0,y)\sim(1,1-y)$ and $(x,0)\sim(1-x,1)$. Collapsing the boundary circle of the closed disc gives the sphere: $D^2/S^1\cong S^2$.
- The quotient topology is a topology, and it is the finest topology on $Y$ for which $q$ is continuous.
- A continuous surjection that is an open map, or a closed map, is a quotient map. (The converse fails.)
- Characteristic property. If $q:X\to Y$ is a quotient map, a map $g:Y\to Z$ is continuous if and only if $g\circ q$ is continuous.
- If $f:X\to Z$ is a quotient map and $\sim$ is the relation "$f(x)=f(x')$", then $f$ induces a homeomorphism $X/{\sim}\cong Z$. In particular this applies when $f$ is a continuous surjection from a compact space onto a Hausdorff space (because $f$ is then closed, §11.2).
Proof. (1) Preimages commute with unions and intersections, and $q^{-1}(\varnothing)=\varnothing$, $q^{-1}(Y)=X$. A topology on $Y$ makes $q$ continuous iff all its members have open preimages, i.e. iff it is contained in the quotient topology. (2) If $q$ is open and $q^{-1}(V)$ is open, then $V=q(q^{-1}(V))$ (surjectivity) is open. For a closed map apply the same argument to $Y\setminus V$, whose preimage is closed. (3) $(g\circ q)^{-1}(W)=q^{-1}(g^{-1}(W))$ is open iff $g^{-1}(W)$ is open, by the definition of the quotient topology. (4) The induced map $\bar f:[x]\mapsto f(x)$ is a bijection; it is continuous by (3) since $\bar f\circ q=f$, and its inverse is continuous because a set $V\subseteq X/{\sim}$ is open iff $q^{-1}(V)=f^{-1}(\bar f(V))$ is open iff $\bar f(V)$ is open ($f$ being a quotient map). ∎
- Only finite intersections. $\bigcap_n(-\frac1n,\frac1n)=\{0\}$ is not open in $\mathbb{R}$. A family closed under finite unions and intersections but not arbitrary unions is not a topology: the finite subsets of $\mathbb{N}$ together with $\mathbb{N}$.
- "Not open" does not mean "closed". $[0,1)$ is neither in $\mathbb{R}$, and clopen in $\mathbb{R}_\ell$; in a discrete space every set is clopen.
- Not every cover is a basis: $\{(n,n+2):n\in\mathbb{Z}\}$ covers $\mathbb{R}$ but fails (B2) at $\frac32\in(0,2)\cap(1,3)$; the closed intervals $[a,b]$ fail (B2) at $1\in[0,1]\cap[1,2]$. A subbasis is not a basis: $\{\{a,b\},\{b,c\}\}$ generates the extra open set $\{b\}$.
- Limits need not be unique: in an indiscrete space every sequence converges to every point; in $\mathcal{T}_{\mathrm{cof}}$ on $\mathbb{R}$ the sequence $n$ converges to every real number; in $\{\varnothing,\{a\},\{a,b\},X\}$ the constant sequence $b$ converges to $b$ and to $c$.
- Sequences do not detect closure in general: in the cocountable topology $0\in\overline{\mathbb{R}\setminus\{0\}}$, yet only eventually constant sequences converge.
- The topology changes the answer: $\overline{(0,1)}$ is $[0,1]$, $[0,1)$, $(-\infty,1]$ or $\mathbb{R}$ in the standard, Sorgenfrey, right-ray and cofinite topologies; $-\frac1n\to0$ in $\mathbb{R}$ but not in $\mathbb{R}_\ell$; $\frac1n\to0$ in $\mathbb{R}$ but not in $\mathbb{R}_K$.
- Order topology $\ne$ subspace topology on non-convex sets: on $[0,1)\cup\{2\}$ the order topology makes $\{2\}$ non-open. The dictionary order on $\mathbb{R}\times\mathbb{R}$ is not the product topology $\mathbb{R}\times\mathbb{R}$ but $\mathbb{R}_d\times\mathbb{R}$.
- Continuity depends on both topologies: $\mathrm{id}:\mathbb{R}_\ell\to\mathbb{R}$ is continuous, $\mathrm{id}:\mathbb{R}\to\mathbb{R}_\ell$ is not; $x\mapsto-x$ is a homeomorphism of $\mathbb{R}$ but not continuous on $\mathbb{R}_\ell$; $\frac1x$ (with $0\mapsto0$) is continuous into the cofinite line.
- A continuous bijection need not be a homeomorphism: $[0,2\pi)\to S^1$; $\mathrm{id}$ from a discrete to an indiscrete space.
- Box $\ne$ product for infinitely many factors: $t\mapsto(t,t,\dots)$ is product-continuous but not box-continuous; $(\frac1k,\frac1k,\dots)\to0$ only in the product topology.
- Projections are open, not closed: $\pi_1(\{xy=1\})=\mathbb{R}\setminus\{0\}$.
- Quotients can destroy separation: collapsing the non-closed set $(1,2)$ in $[0,3]$ gives a non-$T_1$ space; $\mathbb{R}$ modulo $\mathbb{Q}$ is indiscrete. Quotient maps need not be open: collapsing $[1,2]$ in $[0,3]$ sends the open set $(0,\frac32)$ to a set whose preimage $(0,2]$ is not open.
- A subspace of a "nice" space can be strange: the anti-diagonal of the Sorgenfrey plane is an uncountable closed discrete subspace.
- Non-metrizable spaces are common: indiscrete, cofinite, cocountable, right-ray and Sierpiński spaces fail to separate points by disjoint open sets.
- CSIR Unit 2 · §9.1 Topological Spaces, Bases and Continuity — the closure and interior rules in full, limit points and isolated points, criteria for density, a five-way comparison of topologies on $\mathbb{R}$, local bases and the countability axioms (why $\mathbb{R}_\ell$ is separable and first countable but not second countable), all equivalent forms of continuity, and the homeomorphism invariants with worked "homeomorphic or not" problems.
- CSIR Unit 2 · §9.2 Subspace, Product and Quotient Topologies — the pasting lemma and when it fails, which properties pass to subspaces, closures and interiors in products, the Sorgenfrey plane, product versus box topology with the characteristic property proved, countable products, saturated sets, and the surfaces obtained by gluing a square.
- Metric spaces themselves (completeness, compactness and connectedness with a metric) are treated in §4.1 of this course.
Two Labs
Exercises
- 1 Which of these are topologies on $X=\{1,2,3,4\}$? (a) $\{\varnothing,\{1\},\{1,2\},\{1,2,3\},X\}$; (b) $\{\varnothing,\{1,2\},\{3,4\},X\}$; (c) $\{\varnothing,\{1\},\{2\},\{1,2\},\{3\},X\}$; (d) $\{\varnothing,\{2\},\{1,2\},\{2,3\},\{1,2,3\},X\}$.
- 2 List all topologies on a two-point set $\{a,b\}$. How many are there up to homeomorphism?
- 3 In $\mathbb{R}$ with the right-ray topology find $\overline{\{0\}}$, $\overline{(0,1)}$ and $\operatorname{int}[0,\infty)$, and decide whether $\mathbb{Z}$ and $\mathbb{N}$ are dense.
- 4 On $\mathbb{R}$ let $\mathcal{T}_0=\{\varnothing\}\cup\{U:0\in U\}$. Find $\overline{\{0\}}$ and $\overline{\{1\}}$, and describe the sequences converging to $0$ and to $1$.
- 5 Let $X$ be infinite with the cofinite topology. Prove that every infinite subset of $X$ is dense, and that any two nonempty open sets meet.
- 6 Prove $\operatorname{int}(A\cap B)=\operatorname{int}A\cap\operatorname{int}B$, and give subsets of $\mathbb{R}$ with $\operatorname{int}(A\cup B)\ne\operatorname{int}A\cup\operatorname{int}B$.
- 7 Give a set $A\subseteq\mathbb{R}$ with $\partial A=\mathbb{R}$, and a set $A\subseteq\mathbb{R}_\ell$ with $\varnothing\ne A\ne\mathbb{R}$ and $\partial A=\varnothing$.
- 8 List the topologies on $\{a,b,c\}$ in which both $\{a\}$ and $\{b\}$ are open.
- 9 Show that the intersection of two topologies on $X$ is a topology, and that the union need not be one.
- 1 Which are bases for a topology on $\mathbb{R}$? (a) $\{(a,b):a\lt b,\ a,b\in\mathbb{Q}\}$; (b) $\{[a,b]:a\lt b\}$; (c) $\{(a,b]:a\lt b\}$; (d) $\{(n,n+2):n\in\mathbb{Z}\}$; (e) $\{(-\infty,a):a\in\mathbb{R}\}$.
- 2 The upper limit topology on $\mathbb{R}$ is generated by the intervals $(a,b]$. Show that it is homeomorphic to $\mathbb{R}_\ell$.
- 3 In $\mathbb{R}_\ell$ find the closures of $\{-\frac1n:n\in\mathbb{N}\}$, of $\mathbb{Z}$ and of $(-\infty,0)$.
- 4 In $\mathbb{R}_K$ find $\overline{K}$, $\overline{(0,1)}$ and $\operatorname{int}\big([0,1]\setminus K\big)$.
- 5 On $X=\{1,2,3,4\}$ find the topology generated by the subbasis $\{\{1,2\},\{2,3\},\{3,4\}\}$: give the basis of Theorem 11.6 and count the open sets.
- 6 Show that the rays $(a,\infty)$ and $(-\infty,b)$ with $a,b\in\mathbb{Q}$ form a countable subbasis of the standard topology of $\mathbb{R}$.
- 7 In $\mathbb{R}\times\mathbb{R}$ with the dictionary order topology, is the line $\mathbb{R}\times\{0\}$ open? closed? What is its subspace topology?
- 8 Show that the dictionary order topology on $\mathbb{R}\times\mathbb{R}$ is metrizable. (Hint: try $d=1$ for points on different vertical lines.)
- 1 Which of these maps $\mathbb{R}_\ell\to\mathbb{R}$ are continuous? (a) $\mathbf{1}_{[0,\infty)}$; (b) $\mathbf{1}_{(0,\infty)}$; (c) $x-\lfloor x\rfloor$; (d) $|x|$.
- 2 Show that $\mathrm{id}:\mathbb{R}_K\to\mathbb{R}$ is continuous and $\mathrm{id}:\mathbb{R}\to\mathbb{R}_K$ is not.
- 3 Find all continuous maps from the Sierpiński space $S=\{0,1\}$ (open sets $\varnothing,\{1\},S$) to itself. Which are homeomorphisms?
- 4 Show that $f:X\to S$ is continuous iff $f^{-1}(1)$ is open. Deduce that for a finite space $X$ the number of continuous maps $X\to S$ equals the number of open sets of $X$.
- 5 Prove that every continuous map from $(\mathbb{R},\mathcal{T}_{\mathrm{coc}})$ to the standard line $\mathbb{R}$ is constant.
- 6 Show that $[0,1)$ and $\mathbb{R}$, as subspaces of $\mathbb{R}_\ell$, are homeomorphic.
- 7 Prove that a bijection $f:X\to Y$ is a homeomorphism if and only if $f(\overline{A})=\overline{f(A)}$ for every $A\subseteq X$.
- 8 Show that the open unit disc $D\subseteq\mathbb{R}^2$ is homeomorphic to $\mathbb{R}^2$, and that $S^1\setminus\{(0,1)\}$ is homeomorphic to $\mathbb{R}$.
- 1 In the subspace $Y=[0,1)\cup\{2\}\cup(3,4]$ of $\mathbb{R}$, which of $[0,1)$, $\{2\}$, $(3,4]$ are open in $Y$, and which are closed in $Y$?
- 2 Find the closure of $(0,1)$ in the subspace $(0,2)$ of $\mathbb{R}$, and the closure of $\mathbb{Q}\cap(0,\sqrt2)$ in the subspace $\mathbb{Q}$. Is $\mathbb{Q}\cap(-\infty,\sqrt2)$ clopen in $\mathbb{Q}$?
- 3 In $\mathbb{R}_\ell\times\mathbb{R}$, find the closure of the open unit disc.
- 4 How many open sets does $S\times S$ have, where $S$ is the Sierpiński space?
- 5 Let $\mathbb{R}^\infty\subseteq\mathbb{R}^\omega$ be the sequences with only finitely many nonzero terms. Show that $\mathbb{R}^\infty$ is dense in the product topology and closed in the box topology.
- 6 Show that the quotient of $\mathbb{R}^2$ by "$(x,y)\sim(x',y')\iff x^2+y^2=x'^2+y'^2$" is homeomorphic to $[0,\infty)$.
- 7 Identify the quotient of $[0,1]$ in which the three points $0,\frac12,1$ are identified (and nothing else).
- 8 Show that a continuous surjection $q:X\to Y$ with a continuous right inverse ($s:Y\to X$, $q\circ s=\mathrm{id}_Y$) is a quotient map. Apply this to $q=\pi_1$ restricted to the subset $A=\{(x,y):x\ge0\}\cup(\mathbb{R}\times\{0\})$ of $\mathbb{R}^2$, and show that this $q$ is neither open nor closed.
E1. GATE MA · MCQ Let $\mathbb{R}_\ell$ denote $\mathbb{R}$ with the topology generated by the intervals $[a,b)$. Which one of the following subsets of $\mathbb{R}_\ell$ is closed but not open? (A) $[0,1)$; (B) $(0,1)$; (C) $[0,1]$; (D) $(0,1]$.
E2. GATE MA · MCQ Which one of the following collections is a basis for a topology on $\mathbb{R}$? (A) $\{(n,n+2):n\in\mathbb{Z}\}$; (B) $\{[a,b]:a,b\in\mathbb{R},\ a\lt b\}$; (C) $\{(a,b]:a,b\in\mathbb{Q},\ a\lt b\}$; (D) $\{(-\infty,a):a\in\mathbb{R}\}\cup\{(b,\infty):b\in\mathbb{R}\}$.
E3. GATE MA · MSQ Which of the following maps are continuous? (One or more options may be correct.) (A) $f:\mathbb{R}_\ell\to\mathbb{R}$, $f(x)=x-\lfloor x\rfloor$; (B) $g:\mathbb{R}\to\mathbb{R}_\ell$, $g(x)=x$; (C) $h:(\mathbb{R},\mathcal{T}_{\mathrm{cof}})\to(\mathbb{R},\mathcal{T}_{\mathrm{cof}})$, $h(x)=x^2$; (D) $k:\mathbb{R}\to(\mathbb{R},\mathcal{T}_{\mathrm{cof}})$, $k=\mathbf{1}_{\mathbb{Q}}$ (the indicator of the rationals), with the standard topology on the domain.
E4. GATE MA · MSQ Let $\mathbb{R}^\omega$ be the set of real sequences. Which of the following statements are true? (One or more options may be correct.) (A) In the product topology the sequence $x^{(k)}=\big(\frac1k,\frac2k,\frac3k,\dots\big)$ converges to $0$. (B) In the box topology the same sequence converges to $0$. (C) $\mathbb{R}/{\sim}$, where $x\sim y\iff x-y\in\mathbb{Z}$, is homeomorphic to the circle $S^1$. (D) The projection $\pi_1:\mathbb{R}^2\to\mathbb{R}$ maps closed sets to closed sets.
E5. GATE MA · NAT Let $X=\{0,1\}$ with the topology $\{\varnothing,\{1\},X\}$ and $Y=\{a,b,c\}$ with the topology $\{\varnothing,\{a\},\{a,b\},Y\}$. The number of open sets in the product topology on $X\times Y$ is ______.
E6. GATE MA · NAT Let $A=(0,1)\cup(1,2)\cup\{3-\frac1n:n\ge2\}\subseteq\mathbb{R}$. Let $\overline{A}$ be its closure in the standard topology and $\overline{A}^{\,\ell}$ its closure in $\mathbb{R}_\ell$. The number of points in $\overline{A}\setminus\overline{A}^{\,\ell}$ is ______.
Suggested plan — 3 lectures × 60 min.
- Topologies and closures. Start from §4.1: "which notions need only the open sets?" Definitions 11.1–11.4 with the standard examples; Theorem 11.2 with proofs of (2) and (3). Do Example 1 on the board (a three-point space is the best laboratory) and Example 2 as a table filled in by the class. Mention the counts $1,4,29,355$.
- Bases and the special topologies. Definition 11.5, Theorems 11.3 and 11.4 with proofs; project Interactive 1 (discs versus squares; then the Sorgenfrey plane and the dictionary order with the half-plane and the segment). Definition 11.6 and Theorem 11.5, Example 3, subbases (Theorem 11.6), the order topology with Example 4(a) and (b). GATE corner E1 and E2.
- Continuity and new spaces. Theorems 11.9 and 11.10 (prove (4), right-continuity, in full), Examples 5 and 6; subspaces (Theorem 11.11), products (Theorem 11.12, then product versus box with the diagonal map), quotients (Theorem 11.14) and Example 7. Project Interactive 2 and let students predict when the F comes back mirrored. E3–E6 under a timer.
Discussion questions. (1) Two metrics with the same open sets: which notions of §4.1 survive (continuity, convergence, compactness) and which do not (completeness, boundedness)? (2) Why is the product topology defined with "all but finitely many factors equal to $X_\alpha$"? What would go wrong in Theorem 11.13(1) otherwise? (3) In Interactive 2, why can the F never come back mirrored on the torus, whatever its route?
Misconceptions to watch for. Treating "closed" as "not open"; thinking a subbasis is a basis; assuming limits are unique in every space; computing closures in $\mathbb{R}_\ell$ as in $\mathbb{R}$ (forgetting that only approach from the right counts); believing the dictionary order on $\mathbb{R}^2$ is the usual topology; assuming continuous bijections are homeomorphisms; confusing "open in $Y$" with "open in $X$"; assuming the box topology is "the" product topology.
Suggested homework. I(1, 3, 4, 7, 8), II(1, 3, 4, 7), III(1, 3, 5, 6), IV(1, 3, 4, 5, 8); GATE corner E2, E4, E6.
Research question. How many topologies does a set with $n$ points carry, and why do finite topologies appear in digital image processing?
Why it matters. A computer image is a finite grid of pixels, yet image-analysis software needs "continuous" notions: the boundary of a region, whether a region is in one piece, whether a curve separates the screen. Using the Euclidean plane leads to paradoxes on a grid (a diagonal line of pixels can be crossed by another diagonal line without the two sharing a pixel). Researchers in digital topology resolved this with finite, non-Hausdorff topologies such as the Khalimsky topology on $\mathbb{Z}$, in which the odd integers are open points and each even integer $2k$ has smallest neighbourhood $\{2k-1,2k,2k+1\}$. The same mathematics counts finite topologies, a question studied since the 1960s and still open in general (no closed formula is known).
What to do.
- For a finite space define $x\preceq y$ iff $x\in\overline{\{y\}}$. Show that $\preceq$ is reflexive and transitive (a preorder), that the open sets are exactly the sets $U$ with "$x\in U$ and $x\preceq y$ imply $y\in U$", and that every preorder arises from exactly one topology.
- Show that the topology is $T_0$ (§11.2) iff $\preceq$ is antisymmetric, i.e. a partial order.
- Write a program that counts preorders and partial orders on $\{1,\dots,n\}$ for $n\le5$ (loop over relations, or build them cleverly). Compare with the counts $1,4,29,355$ of this section.
- Describe the Khalimsky topology on $\{0,1,\dots,6\}$ by its preorder, draw its diagram, and find the closure of $\{3\}$ and the smallest open set containing $2$. Show that the Khalimsky line is connected (§11.2), although it is countable.
Tools: pen and paper for steps 1, 2 and 4; Python or any language for step 3.
Hand in: the two proofs; your program and a table of counts for $n=1,\dots,5$ (topologies and $T_0$ topologies); the Khalimsky diagram with your answers.
Going further. Look up the integer sequences of topologies and of labelled partial orders in the On-Line Encyclopedia of Integer Sequences, and read about how the Khalimsky plane gives a version of the Jordan curve theorem for digital images.
🧪 Self-check quiz
Q1. How many different topologies are there on a set with two elements?
Q2. In the Sorgenfrey line $\mathbb{R}_\ell$, which sequence converges to $0$?
Q3. The closure of $(0,1)$ in $\mathbb{R}$ with the cofinite topology is
Q4. The dictionary order topology on $\mathbb{R}\times\mathbb{R}$ is the same as the product topology
Q5. The diagonal map $t\mapsto(t,t,t,\dots)$ from $\mathbb{R}$ to $\mathbb{R}^\omega$ is