Chapter 11 · Topology

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

📘 Definition 11.1 — Topology, topological space, open and closed sets

A topology on a set $X$ is a collection $\mathcal{T}$ of subsets of $X$ such that

(O1)$\varnothing\in\mathcal{T}$ and $X\in\mathcal{T}$.
(O2) Arbitrary unionsthe union of any subfamily of $\mathcal{T}$ is in $\mathcal{T}$.
(O3) Finite intersections$U,V\in\mathcal{T}\Rightarrow U\cap V\in\mathcal{T}$.

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.

📘 Definition 11.2 — The standard examples
Discrete topology$\mathcal{P}(X)$: every subset is open (and closed).
Indiscrete (trivial) topology$\{\varnothing,X\}$ only.
Cofinite topology $\mathcal{T}_{\mathrm{cof}}$$\varnothing$ and the sets $U$ with $X\setminus U$ finite. Closed sets: the finite sets and $X$.
Cocountable topology $\mathcal{T}_{\mathrm{coc}}$$\varnothing$ and the sets $U$ with $X\setminus U$ countable. Closed sets: the countable sets and $X$.
Metric topologyfor a metric space $(X,d)$, the open sets of §4.1. On $\mathbb{R}^n$ with the Euclidean metric: the standard (usual) topology.
Right-ray topology on $\mathbb{R}$$\{\varnothing,\mathbb{R}\}\cup\{(a,\infty):a\in\mathbb{R}\}$.
Particular point topologyfix $p\in X$: $\varnothing$ and every set containing $p$. For $X=\{0,1\}$, $p=1$: the Sierpiński space $\{\varnothing,\{1\},\{0,1\}\}$.

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}$.

📘 Definition 11.3 — Finer and coarser topologies
If $\mathcal{T}\subseteq\mathcal{T}'$ are topologies on $X$, then $\mathcal{T}'$ is finer (larger, stronger) than $\mathcal{T}$, and $\mathcal{T}$ is coarser (smaller, weaker); "strictly" if $\mathcal{T}\ne\mathcal{T}'$. Two topologies are comparable if one contains the other.

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).

📐 Theorem 11.1 — The closed sets of a space

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).

📘 Definition 11.4 — Interior, closure, boundary, limit points, density, convergence

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$.

📐 Theorem 11.2 — Working with closure and interior
  1. $\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}$.
  2. $x\in\overline{A}$ if and only if every open neighbourhood of $x$ meets $A$.
  3. $\overline{A}=A\cup A'$; hence $A$ is closed if and only if it contains all its limit points.
  4. $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.
  5. $\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.
  6. 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). ∎

✏️ Example 1 — A three-point space
Let $X=\{a,b,c\}$. (a) Which of these families are topologies on $X$: $\mathcal{F}_1=\{\varnothing,\{a\},\{b\},X\}$, $\mathcal{F}_2=\{\varnothing,\{a\},\{a,b\},X\}$, $\mathcal{F}_3=\{\varnothing,\{a\},\{b\},\{a,b\},X\}$, $\mathcal{F}_4=\{\varnothing,\{a,b\},\{b,c\},X\}$? (b) In $\mathcal{T}=\mathcal{F}_2$, list the closed sets and find $\overline{\{a\}}$, $\overline{\{b\}}$, $\operatorname{int}\{b,c\}$ and $\partial\{a\}$. Which subsets are dense? (c) To which points does the constant sequence $b,b,b,\dots$ converge in $(X,\mathcal{T})$?
(a) $\mathcal{F}_1$ fails (O2): $\{a\}\cup\{b\}=\{a,b\}\notin\mathcal{F}_1$. $\mathcal{F}_2$ is a topology (it is a chain $\varnothing\subset\{a\}\subset\{a,b\}\subset X$, and a chain is closed under unions and intersections). $\mathcal{F}_3$ is a topology: every union and intersection of its members is again one of them. $\mathcal{F}_4$ fails (O3): $\{a,b\}\cap\{b,c\}=\{b\}\notin\mathcal{F}_4$.
(b) Closed sets The complements of $\varnothing,\{a\},\{a,b\},X$: namely $X,\{b,c\},\{c\},\varnothing$.
(b) Closures The only closed set containing $a$ is $X$, so $\overline{\{a\}}=X$: the single point $a$ is dense. The closed sets containing $b$ are $X$ and $\{b,c\}$, so $\overline{\{b\}}=\{b,c\}$. The open sets inside $\{b,c\}$: only $\varnothing$, so $\operatorname{int}\{b,c\}=\varnothing$. $\partial\{a\}=\overline{\{a\}}\setminus\operatorname{int}\{a\}=X\setminus\{a\}=\{b,c\}$.
(b) Dense sets $D$ is dense iff it meets every nonempty open set (Theorem 11.2(2)), iff $a\in D$ (because $\{a\}$ is open). So the dense sets are $\{a\},\{a,b\},\{a,c\},X$.
(c) The open neighbourhoods of $b$ are $\{a,b\}$ and $X$, both containing $b$: so $b_n\to b$. The only neighbourhood of $c$ is $X$: so $b_n\to c$ as well. The neighbourhood $\{a\}$ of $a$ misses $b$: $b_n\not\to a$. A sequence can converge to two different points — limits are unique only in Hausdorff spaces (§11.2).
✏️ Example 2 — One set, six topologies
Find the closures of $A=(0,1)$ and of $\mathbb{Z}$ in $\mathbb{R}$ with the standard, discrete, indiscrete, cofinite, cocountable and right-ray topologies. In the cofinite topology, to which points does $x_n=n$ converge? In the cocountable topology, show that $0\in\overline{\mathbb{R}\setminus\{0\}}$ but no sequence in $\mathbb{R}\setminus\{0\}$ converges to $0$.
Method The closure is the smallest closed superset, so list the closed sets of each topology and pick the smallest one containing the set.
Closures Standard: $\overline{A}=[0,1]$, $\overline{\mathbb{Z}}=\mathbb{Z}$. Discrete: every set is closed, so $A$ and $\mathbb{Z}$. Indiscrete: the only nonempty closed set is $\mathbb{R}$, so both closures are $\mathbb{R}$. Cofinite: the closed sets are the finite sets and $\mathbb{R}$; both sets are infinite, so both closures are $\mathbb{R}$. Cocountable: $\mathbb{Z}$ is countable, hence closed; $A$ is uncountable, so $\overline{A}=\mathbb{R}$. Right-ray: the nonempty closed sets are $(-\infty,a]$ and $\mathbb{R}$; so $\overline{A}=(-\infty,1]$, and $\overline{\mathbb{Z}}=\mathbb{R}$ since $\mathbb{Z}$ is not bounded above.
$x_n=n$, cofinite A neighbourhood of any $p$ is $\mathbb{R}\setminus F$ with $F$ finite. Because the terms are distinct, only finitely many of them lie in $F$, so all later terms lie in $\mathbb{R}\setminus F$. Hence $n\to p$ for every $p\in\mathbb{R}$.
Cocountable $\mathbb{R}\setminus\{0\}$ is uncountable, so its closure is $\mathbb{R}\ni0$. If $x_n\ne0$ for all $n$, then $U=\mathbb{R}\setminus\{x_1,x_2,\dots\}$ is cocountable, hence an open neighbourhood of $0$, and it contains no term. So $x_n\not\to0$. (The same argument shows that a sequence converges in $\mathcal{T}_{\mathrm{coc}}$ only if it is eventually constant.) Sequences are not enough to describe closures in general spaces; in first countable spaces they are (§11.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.

📘 Definition 11.5 — Basis for a topology

A basis on a set $X$ is a collection $\mathcal{B}$ of subsets (the basic sets) such that

(B1)every $x\in X$ lies in some $B\in\mathcal{B}$;
(B2)if $x\in B_1\cap B_2$ with $B_1,B_2\in\mathcal{B}$, there is $B_3\in\mathcal{B}$ with $x\in B_3\subseteq B_1\cap B_2$.

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$.

📐 Theorem 11.3 — The topology generated by a basis
If $\mathcal{B}$ is a basis on $X$, then $\mathcal{T}_{\mathcal{B}}$ is a topology; its members are exactly the unions of subfamilies of $\mathcal{B}$; and it is the coarsest topology on $X$ in which every member of $\mathcal{B}$ is open.

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}}$. ∎

📐 Theorem 11.4 — Recognising and comparing bases
  1. 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}$.
  2. 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.

📘 Definition 11.6 — The lower limit topology and the $K$-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$.
📐 Theorem 11.5 — Three topologies on the real line
  1. $\mathbb{R}_\ell$ and $\mathbb{R}_K$ are both strictly finer than the standard topology, and they are not comparable with each other.
  2. 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.
  3. 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$.
  4. 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$. ∎

📘 Definition 11.7 — Subbasis
A subbasis on $X$ is a collection $\mathcal{S}$ of subsets whose union is $X$. The topology generated by $\mathcal{S}$ consists of all unions of finite intersections of members of $\mathcal{S}$.
📐 Theorem 11.6 — The topology generated by a subbasis
If $\mathcal{S}$ is a subbasis, the finite intersections $S_1\cap\dots\cap S_k$ ($k\ge1$, $S_i\in\mathcal{S}$) form a basis $\mathcal{B}_{\mathcal{S}}$; the topology it generates is the coarsest topology on $X$ containing $\mathcal{S}$.

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.

🧭 Problem-solving strategy — open, closed, closure in an unfamiliar topology
  1. 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.
  2. 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]$).
  3. 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.
  4. Comparing topologies: use Theorem 11.4(2) and look for one set that is open in one topology but not the other.
✏️ Example 3 — Computing in the Sorgenfrey line
In $\mathbb{R}_\ell$: (a) find the closure and the interior of $(0,1)$, $(0,1]$ and $[0,1]$; (b) is $\mathbb{Q}$ dense? (c) decide whether $\frac1n$, $-\frac1n$ and $\frac{(-1)^n}{n}$ converge, and to what; (d) is the set $\{\frac1n:n\in\mathbb{N}\}$ closed?
(a) Closures A point $x$ is in the closure iff every $[x,x+\varepsilon)$ meets the set. For all three sets every $x\in[0,1)$ qualifies, and every $x\lt0$ or $x\gt1$ fails (take $\varepsilon$ small). The point $1$: $[1,1+\varepsilon)$ misses $(0,1)$ but contains $1\in(0,1]$. So $\overline{(0,1)}=[0,1)$ and $\overline{(0,1]}=\overline{[0,1]}=[0,1]$. (Compare: in $\mathbb{R}$ all three closures are $[0,1]$.)
(a) Interiors $x$ is interior iff some $[x,x+\varepsilon)$ lies in the set: $\operatorname{int}(0,1)=(0,1)$, $\operatorname{int}(0,1]=(0,1)$, $\operatorname{int}[0,1]=[0,1)$. Note that $[0,1)$ is clopen, so the boundary of $[0,1]$ is $\{1\}$ only.
(b) Yes: every $[x,x+\varepsilon)$ contains rationals. So $\mathbb{R}_\ell$ has a countable dense set, although (§11.2) it has no countable basis.
(c) By Theorem 11.5(3): $\frac1n\to0$ (the terms approach $0$ from above). $-\frac1n$ approaches $0$ from below, so it does not converge to $0$, and it cannot converge to any other point because it would then converge there in $\mathbb{R}$ as well. $\frac{(-1)^n}{n}$ has infinitely many negative terms, so it does not converge.
(d) Its only possible new limit point is $0$, and $0$ is a limit point ($[0,\varepsilon)$ contains $\frac1n$ for large $n$). So the set is not closed; its closure is $\{\frac1n\}\cup\{0\}$. (In $\mathbb{R}_K$, by contrast, $K$ is closed.)

The Order Topology and the Metric Topology

📘 Definition 11.8 — Order 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.

📐 Theorem 11.7 — Facts about order topologies
  1. 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.
  2. The order topology of $\mathbb{R}$ is the standard topology. The order topologies of $\mathbb{N}$ and of $\mathbb{Z}$ are discrete.
  3. 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. ∎

📘 Definition 11.9 — Metric topology
For a metric space $(X,d)$ the open balls $B(x,r)=\{y:d(x,y)\lt r\}$ form a basis; the topology they generate is the metric topology of $d$. Its open sets are exactly the open sets of §4.1 (sets containing a ball around each of their points).
📐 Theorem 11.8 — Metric topologies and metrizability
  1. 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.
  2. The discrete metric gives the discrete topology.
  3. 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.
  4. 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$. ∎

✏️ Example 4 — Order topologies are not always what you expect
(a) Let $Y=[0,1)\cup\{2\}\subseteq\mathbb{R}$ with the order inherited from $\mathbb{R}$. Is $\{2\}$ open in the order topology of $Y$? Compare with the topology $Y$ gets as a subset of $\mathbb{R}$ (open sets $U\cap Y$, Definition 11.11). (b) Give $X=\{1,2\}\times\mathbb{N}$ the dictionary order. Which points are isolated? (c) In the ordered square $I_o^2$, find the closures of $A=\{(\frac1n,\frac12):n\ge2\}$ and of $E=\{\frac12\}\times(0,1)$, and decide whether $E$ is open.
(a) $2$ is the largest element of $Y$, so its basic neighbourhoods are $(a,2]=(a,1)\cup\{2\}$ with $a\in Y$, $a\lt2$; each contains points of $[0,1)$. So $\{2\}$ is not open in the order topology: the points $1-\frac1n$ converge to $2$. As a subset of $\mathbb{R}$, however, $\{2\}=(1.5,2.5)\cap Y$ is open. The two topologies differ; in fact $y\mapsto y$ for $y\lt1$, $2\mapsto1$ is an order isomorphism of $Y$ onto $[0,1]$, so $Y$ with its order topology is homeomorphic to $[0,1]$.
(b) The order is $(1,1)\lt(1,2)\lt\cdots\lt(2,1)\lt(2,2)\lt\cdots$. $\{(1,1)\}=[(1,1),(1,2))$, $\{(i,n)\}=((i,n-1),(i,n+1))$ for $n\ge2$ are open. But $(2,1)$ has no immediate predecessor: every interval $((1,m),(2,2))$ around it contains $(1,k)$ for all $k\gt m$. So $(2,1)$ is the only non-isolated point, and $(1,n)\to(2,1)$. This space is homeomorphic to the subspace $\{1-\frac1n:n\in\mathbb{N}\}\cup\{1,2,3,\dots\}$ of $\mathbb{R}$.
(c) Neighbourhoods A point $(x,y)$ with $0\lt y\lt1$ has the vertical segments $\{x\}\times(y-\varepsilon,y+\varepsilon)$ as basic neighbourhoods. A point $(x,1)$ with $x\lt1$ has neighbourhoods $\big((x,1-\varepsilon),(x',\delta)\big)$ with $x'\gt x$, which contain whole vertical lines $\{t\}\times[0,1]$ for $x\lt t\lt x'$; symmetrically $(x,0)$ with $x\gt0$ has neighbourhoods containing whole vertical lines just to its left.
(c) Answers The points of $A$ move left towards $x=0$, so they enter every neighbourhood of $(0,1)$ — and of no other point. $\overline{A}=A\cup\{(0,1)\}$, although in the plane the limit would be $(0,\frac12)$. $E$ is the interval $\big((\frac12,0),(\frac12,1)\big)$, so it is open; its closure adds $(\frac12,0)$ and $(\frac12,1)$ (their neighbourhoods $\big((x',y'),(\frac12,\delta)\big)$ and $\big((\frac12,1-\varepsilon),(x',y')\big)$ contain points $(\frac12,t)$ of $E$): $\overline{E}=\{\frac12\}\times[0,1]$.

Continuity and Homeomorphisms

📘 Definition 11.10 — Continuous maps, homeomorphisms, open and closed maps

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.

📐 Theorem 11.9 — Equivalent forms of continuity

For $f:X\to Y$ the following are equivalent:

  1. $f$ is continuous;
  2. $f^{-1}(B)$ is open for every $B$ in some basis (or some subbasis) of $Y$;
  3. $f^{-1}(C)$ is closed for every closed $C\subseteq Y$;
  4. $f(\overline{A})\subseteq\overline{f(A)}$ for every $A\subseteq X$;
  5. $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$. ∎

📐 Theorem 11.10 — Building continuous maps; the pasting lemma
  1. 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.
  2. 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.
  3. 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}$.
  4. $f:\mathbb{R}_\ell\to\mathbb{R}$ is continuous if and only if $f$ is right-continuous at every point: $f(x^+)=f(x)$.
  5. $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.

✏️ Example 5 — Continuous or not?
Decide continuity: (a) $\lfloor x\rfloor:\mathbb{R}_\ell\to\mathbb{R}$; (b) $\lceil x\rceil:\mathbb{R}_\ell\to\mathbb{R}$; (c) $x\mapsto-x$ from $\mathbb{R}_\ell$ to $\mathbb{R}_\ell$, and $x\mapsto2x+1$ from $\mathbb{R}_\ell$ to $\mathbb{R}_\ell$; (d) $\sin x$ and $x^3-x$ as maps $(\mathbb{R},\mathcal{T}_{\mathrm{cof}})\to(\mathbb{R},\mathcal{T}_{\mathrm{cof}})$; (e) $f(x)=\frac1x$ for $x\ne0$, $f(0)=0$, as a map from standard $\mathbb{R}$ to $(\mathbb{R},\mathcal{T}_{\mathrm{cof}})$.
(a) Yes $\lfloor x\rfloor$ is constant on each $[n,n+1)$, so it is right-continuous everywhere; by Theorem 11.10(4) it is continuous on $\mathbb{R}_\ell$. Directly: the preimage of any set is a union of intervals $[n,n+1)$, all open in $\mathbb{R}_\ell$.
(b) No $\lceil 0\rceil=0$ but $\lceil x\rceil=1$ for $0\lt x\le1$: not right-continuous at $0$. Concretely $\lceil\cdot\rceil^{-1}\big((-\frac12,\frac12)\big)=(-1,0]$, which is not open in $\mathbb{R}_\ell$.
(c) $x\mapsto-x$: the preimage of the open set $[0,1)$ is $(-1,0]$, not open in $\mathbb{R}_\ell$ — not continuous, although it is a homeomorphism of $\mathbb{R}$. $x\mapsto2x+1$: the preimage of $[a,b)$ is $[\frac{a-1}2,\frac{b-1}2)$, so it is continuous, and so is its inverse $y\mapsto\frac{y-1}2$: a homeomorphism of $\mathbb{R}_\ell$. Increasing maps respect half-open intervals; decreasing ones turn them round.
(d) $\sin^{-1}(\{0\})=\pi\mathbb{Z}$ is infinite and $\sin$ is not constant, so $\sin$ is not continuous for the cofinite topologies (the preimage of the open set $\mathbb{R}\setminus\{0\}$ is $\mathbb{R}\setminus\pi\mathbb{Z}$, not cofinite). Every fibre of the cubic $x^3-x$ has at most three points, so it is continuous; the same holds for every nonconstant polynomial.
(e) Yes Every fibre is a single point (the fibre of $0$ is $\{0\}$, of $y\ne0$ is $\{\frac1y\}$), and points are closed in $\mathbb{R}$. By Theorem 11.10(5) $f$ is continuous — although it is wildly discontinuous as a map from $\mathbb{R}$ to $\mathbb{R}$. The cofinite topology is so coarse that it hardly constrains a map into it.
✏️ Example 6 — Homeomorphic or not?
Decide which pairs are homeomorphic: (a) $(0,1)$ and $\mathbb{R}$; (b) $\mathbb{N}$ and $\mathbb{Z}$ with their order topologies; (c) $\{0\}\cup\{\frac1n:n\in\mathbb{N}\}$ and $\mathbb{N}$ (both as subspaces of $\mathbb{R}$); (d) on $\{a,b,c\}$, $\mathcal{T}=\{\varnothing,\{a\},\{a,b\},X\}$ with $\mathcal{T}''=\{\varnothing,\{c\},\{b,c\},X\}$, and with $\mathcal{T}'=\{\varnothing,\{a\},\{b\},\{a,b\},X\}$; (e) $\mathbb{R}$ and $\mathbb{R}_\ell$.
(a) Yes $x\mapsto\tan\big(\pi x-\frac\pi2\big)$ is a continuous bijection with continuous inverse $y\mapsto\frac12+\frac1\pi\arctan y$.
(b) Yes Both are discrete (Theorem 11.7(2)) and countably infinite; any bijection between discrete spaces is a homeomorphism.
(c) No In the first space $0$ is not isolated (every neighbourhood contains $\frac1n$ for large $n$); every point of $\mathbb{N}$ is isolated. "Having a non-isolated point" is topological: a homeomorphism maps open singletons to open singletons.
(d) $a\mapsto c$, $b\mapsto b$, $c\mapsto a$ carries $\mathcal{T}$ onto $\mathcal{T}''$: homeomorphic. But $\mathcal{T}$ has $4$ open sets and $\mathcal{T}'$ has $5$; a homeomorphism induces a bijection between the topologies, so these are not homeomorphic.
(e) No $\mathbb{R}_\ell$ has the proper nonempty clopen set $[0,1)$. In $\mathbb{R}$ the only clopen sets are $\varnothing$ and $\mathbb{R}$ (connectedness, §11.2), and a homeomorphism carries clopen sets to clopen sets.

Subspaces, Products and Quotients

📘 Definition 11.11 — Subspace topology; product topology on $X\times Y$
  • 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$.
📐 Theorem 11.11 — Working in a subspace

Let $Y\subseteq X$ carry the subspace topology.

  1. $\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$.
  2. 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$.
  3. 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$.
  4. 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$.
  5. 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.

📐 Theorem 11.12 — Finite products
  1. 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.
  2. The product topology on $\mathbb{R}\times\mathbb{R}$ (and on $\mathbb{R}^n$) is the standard Euclidean topology.
  3. 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.
  4. $\overline{A\times B}=\overline{A}\times\overline{B}$ and $\operatorname{int}(A\times B)=\operatorname{int}A\times\operatorname{int}B$.
  5. 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. ∎

📘 Definition 11.12 — Arbitrary products: product and box topologies

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.

📐 Theorem 11.13 — Why the product topology is the right one
  1. 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.
  2. In the product topology a sequence converges if and only if it converges in every coordinate.
  3. $\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)}$).

📘 Definition 11.13 — Quotient topology, quotient maps, gluing

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$.

📐 Theorem 11.14 — Recognising quotient maps
  1. The quotient topology is a topology, and it is the finest topology on $Y$ for which $q$ is continuous.
  2. A continuous surjection that is an open map, or a closed map, is a quotient map. (The converse fails.)
  3. 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.
  4. 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). ∎

✏️ Example 7 — Four quotients and a product
(a) Show that $\mathbb{R}/{\sim}$, where $x\sim y\iff x-y\in\mathbb{Z}$, is homeomorphic to $S^1$. (b) Show that the quotient of $\mathbb{R}$ by $x\sim y\iff x-y\in\mathbb{Q}$ is indiscrete. (c) Identify $[-1,1]/{\sim}$ with $x\sim-x$. (d) In $[0,3]$ collapse the open interval $(1,2)$ to a point $*$. Is $\{*\}$ closed in the quotient? Can $*$ and the class of $1$ be separated by disjoint open sets? (e) In the Sorgenfrey plane $\mathbb{R}_\ell\times\mathbb{R}_\ell$, show that the anti-diagonal $L=\{(x,-x):x\in\mathbb{R}\}$ is closed and that its subspace topology is discrete.
(a) $p(x)=(\cos2\pi x,\sin2\pi x)$ is a continuous surjection $\mathbb{R}\to S^1$ with $p(x)=p(y)\iff x-y\in\mathbb{Z}$. It is an open map: an open interval of length less than $1$ goes onto an open arc, and every open set is a union of such intervals. So $p$ is a quotient map (Theorem 11.14(2)) and $\mathbb{R}/{\sim}\cong S^1$ by (4).
(b) Let $V$ be a nonempty open subset of the quotient; $U=q^{-1}(V)$ is a nonempty saturated open set. It contains an interval $(a,b)$, and saturation adds every translate $(a,b)+r$, $r\in\mathbb{Q}$. These cover $\mathbb{R}$ (the rationals are dense), so $U=\mathbb{R}$ and $V$ is everything. Only $\varnothing$ and the whole space are open.
(c) $f(x)=|x|$ maps the compact space $[-1,1]$ continuously onto the Hausdorff space $[0,1]$, and $f(x)=f(y)\iff y=\pm x$. By Theorem 11.14(4), $[-1,1]/{\sim}\cong[0,1]$.
(d) $q^{-1}(\{*\})=(1,2)$ is not closed in $[0,3]$, so $\{*\}$ is not closed. A saturated open set containing $1$ contains points of $(1,2)$, hence all of $(1,2)$, so it contains $*$'s class: every open set containing $[1]$ contains $*$. The two points cannot be separated, so the quotient of this Hausdorff space is not Hausdorff (not even $T_1$). Collapsing a closed set behaves better — collapsing $[1,2]$ gives a space homeomorphic to an interval.
(e) $L$ is closed in $\mathbb{R}^2$ (the zero set of $x+y$), and the Sorgenfrey topology is finer, so $L$ is closed there too. The basic open set $[x,x+1)\times[-x,-x+1)$ meets $L$ only in $(x,-x)$: a point $(t,-t)$ in it needs $t\ge x$ and $-t\ge-x$, i.e. $t=x$. So every singleton of $L$ is open in $L$: an uncountable closed discrete subspace. (This is the key to the failure of normality of the Sorgenfrey plane in §11.2.)
⚠️ Counterexamples and pitfalls
  1. 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}$.
  2. "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.
  3. 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\}$.
  4. 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$.
  5. Sequences do not detect closure in general: in the cocountable topology $0\in\overline{\mathbb{R}\setminus\{0\}}$, yet only eventually constant sequences converge.
  6. 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$.
  7. 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}$.
  8. 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.
  9. A continuous bijection need not be a homeomorphism: $[0,2\pi)\to S^1$; $\mathrm{id}$ from a discrete to an indiscrete space.
  10. 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.
  11. Projections are open, not closed: $\pi_1(\{xy=1\})=\mathbb{R}\setminus\{0\}$.
  12. 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.
  13. A subspace of a "nice" space can be strange: the anti-diagonal of the Sorgenfrey plane is an uncountable closed discrete subspace.
  14. Non-metrizable spaces are common: indiscrete, cofinite, cocountable, right-ray and Sierpiński spaces fail to separate points by disjoint open sets.
📚 Go deeper — full proofs in the CSIR NET course
  • 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

Interactive 1 — Is It Open? Testing a Set Against a Basis

A set $S$ (shaded green; solid edges belong to $S$, dashed edges do not) is open exactly when every point of $S$ has a basic set inside $S$ (Theorem 11.3). Choose a basis and a set and press Play: the probe visits points of $S$, especially awkward boundary points, and draws the largest basic set it can fit (blue), or turns red when no basic set fits. Compare discs with squares (the same topology), and the half-open rectangles of the Sorgenfrey plane with the vertical segments of the dictionary order.

probe point—
basic set found?—
size of basic set—
S open in this topology?—
Interactive 2 — Gluing a Square: Cylinder, Möbius Band, Torus, Klein Bottle, Projective Plane

In a quotient space, points of the square that are identified are the same point. Edges with matching arrows are glued so that the arrows agree; amber edges are not glued (they form the boundary). A small letter F travels in a straight line. When it leaves through a glued edge it re-enters through the partner edge — and if the arrows run in opposite directions it comes back mirrored. Press Play and watch the readouts: a surface is non-orientable exactly when some journey can bring the F back reversed.

position in the square—
crossings of glued edges—
the F is now—
boundary · orientable—

Exercises

I
Topologies, closure and interior, finite spaces.
  • 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 (a) Yes — a chain. (b) Yes: $\{1,2\}\cup\{3,4\}=X$, $\{1,2\}\cap\{3,4\}=\varnothing$. (c) No: $\{1\}\cup\{3\}=\{1,3\}$ is missing. (d) Yes: the only new unions and intersections are $\{1,2\}\cup\{2,3\}=\{1,2,3\}$ and $\{1,2\}\cap\{2,3\}=\{2\}$, both present.
2 $\{\varnothing,X\}$, $\{\varnothing,\{a\},X\}$, $\{\varnothing,\{b\},X\}$, $\mathcal{P}(X)$: four topologies. The middle two are homeomorphic by $a\leftrightarrow b$ (both are the Sierpiński space), so there are three up to homeomorphism.
3 The closed sets are $\varnothing$, $\mathbb{R}$ and the rays $(-\infty,a]$. So $\overline{\{0\}}=(-\infty,0]$ and $\overline{(0,1)}=(-\infty,1]$. The largest ray $(a,\infty)$ inside $[0,\infty)$ is $(0,\infty)$, so $\operatorname{int}[0,\infty)=(0,\infty)$. A set is dense iff it is not bounded above (otherwise it lies in a closed ray): $\mathbb{Z}$ and $\mathbb{N}$ are both dense.
4 The closed sets are $\mathbb{R}$ and the sets not containing $0$. So $\{1\}$ is closed, $\overline{\{1\}}=\{1\}$, while $\overline{\{0\}}=\mathbb{R}$. $\{0\}$ is open, so $x_n\to0$ iff $x_n=0$ eventually. The smallest open set containing $1$ is $\{0,1\}$, so $x_n\to1$ iff $x_n\in\{0,1\}$ for all large $n$ (e.g. $0,0,0,\dots$ converges to $1$ — and to every point).
5 If $A$ is infinite, the only closed set containing it is $X$ (closed sets other than $X$ are finite), so $\overline{A}=X$. If $U=X\setminus F$ and $V=X\setminus G$ are nonempty open, $U\cap V=X\setminus(F\cup G)$ is the complement of a finite set in an infinite set, hence nonempty.
6 $\operatorname{int}A\cap\operatorname{int}B$ is an open subset of $A\cap B$, so it lies in $\operatorname{int}(A\cap B)$; conversely $\operatorname{int}(A\cap B)$ is open and lies in $A$ and in $B$. For unions take $A=[0,1]$, $B=[1,2]$: $\operatorname{int}(A\cup B)=(0,2)\ni1$, but $\operatorname{int}A\cup\operatorname{int}B=(0,1)\cup(1,2)$. (Or $A=\mathbb{Q}$, $B=\mathbb{R}\setminus\mathbb{Q}$.)
7 $A=\mathbb{Q}$: $\overline{\mathbb{Q}}=\mathbb{R}$, $\operatorname{int}\mathbb{Q}=\varnothing$, so $\partial\mathbb{Q}=\mathbb{R}$. In $\mathbb{R}_\ell$, $A=[0,1)$ is clopen, so $\partial A=\overline{A}\setminus\operatorname{int}A=A\setminus A=\varnothing$.
8 Such a topology contains $\{a\},\{b\},\{a,b\}$. The remaining candidates are $\{c\},\{a,c\},\{b,c\}$; adding $\{a,c\}$ and $\{b,c\}$ together forces $\{c\}$ (their intersection). So there are exactly four: $\{\varnothing,\{a\},\{b\},\{a,b\},X\}$, the same with $\{a,c\}$ added, the same with $\{b,c\}$ added, and the discrete topology. (Adding $\{c\}$ alone also forces $\{a,c\},\{b,c\}$ by unions, giving the discrete topology.)
9 Each axiom holds in $\mathcal{T}_1$ and in $\mathcal{T}_2$, hence in $\mathcal{T}_1\cap\mathcal{T}_2$. On $\{a,b,c\}$, $\{\varnothing,\{a\},X\}\cup\{\varnothing,\{b\},X\}$ contains $\{a\}$ and $\{b\}$ but not $\{a,b\}$.
II
Bases, subbases and the special lines and planes.
  • 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 (a) Yes (the standard topology, with a countable basis). (b) No: $1\in[0,1]\cap[1,2]=\{1\}$ contains no $[a,b]$ with $a\lt b$. (c) Yes: $(a,b]\cap(c,d]=(\max,\min]$ is empty or basic. (d) No: $\frac32\in(0,2)\cap(1,3)=(1,2)$, which contains no basic set. (e) Yes: it covers $\mathbb{R}$ and $(-\infty,a)\cap(-\infty,b)=(-\infty,\min\{a,b\})$; it generates the left-ray topology.
2 $h(x)=-x$ is a bijection with $h^{-1}=h$, and it maps $[a,b)$ onto $(-b,-a]$ and back. So it maps basic sets to basic sets in both directions, and preimages of open sets are open both ways: a homeomorphism.
3 $\{-\frac1n\}$: its only limit point in $\mathbb{R}$ is $0$, and $[0,\varepsilon)$ misses the set, so it is already closed. $\mathbb{Z}$ is closed in $\mathbb{R}$, hence in the finer $\mathbb{R}_\ell$. $(-\infty,0)$ is clopen (Theorem 11.5(2)), so it is its own closure.
4 $K$ is closed (Theorem 11.5(4)), so $\overline{K}=K$. For $(0,1)$: $0$ is in the closure, since its basic neighbourhoods $(a,b)$ and $(a,b)\setminus K$ ($a\lt0\lt b$) contain points of $(0,b)\setminus K$; so $\overline{(0,1)}=[0,1]$, as in $\mathbb{R}$. For the interior: $(0,1)\setminus K$ is itself $K$-basic, hence open and contained in $[0,1]\setminus K$; the point $0$ is not interior (every neighbourhood has negative points) and $1\in K$ is excluded. So $\operatorname{int}([0,1]\setminus K)=(0,1)\setminus K$.
5 Finite intersections: $\{1,2\},\{2,3\},\{3,4\},\{2\},\{3\}$ (and $\varnothing$). Unions give $\varnothing$, $\{2\}$, $\{3\}$, $\{1,2\}$, $\{2,3\}$, $\{3,4\}$, $\{1,2,3\}$, $\{2,3,4\}$, $X$: nine open sets.
6 The rays are standard-open, so the topology $\mathcal{T}'$ they generate is coarser than the standard one. Conversely $(a,b)$ is the union of the sets $(p,\infty)\cap(-\infty,q)$ with $p,q\in\mathbb{Q}$ and $a\le p\lt q\le b$, so every standard open set is $\mathcal{T}'$-open.
7 Not open: a basic neighbourhood $\{x\}\times(-\varepsilon,\varepsilon)$ of $(x,0)$ leaves the line. Closed: a point $(x,y)$ with $y\ne0$ has the neighbourhood $\{x\}\times(y-\frac{|y|}2,y+\frac{|y|}2)$ missing the line. Subspace topology: $\{x\}\times(-\varepsilon,\varepsilon)$ meets the line in $\{(x,0)\}$, so it is discrete.
8 Put $d\big((x,y),(x',y')\big)=1$ if $x\ne x'$ and $\min\{|y-y'|,1\}$ if $x=x'$. The triangle inequality holds (if the first coordinates are not all equal, the right side is at least $1$). For $r\le1$ the ball $B((x,y),r)$ is the vertical segment $\{x\}\times(y-r,y+r)$, so the balls and the vertical segments generate the same topology (Theorem 11.4(2)).
III
Continuity and homeomorphisms.
  • 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 Use Theorem 11.10(4) (continuous iff right-continuous). (a) Yes: the only jump is at $0$, and the function takes the right-hand value $1$ there. (b) No: $\mathbf{1}_{(0,\infty)}(0)=0$ but the right limit is $1$. (c) Yes: it jumps only at integers and equals the right limit $0$ there. (d) Yes: continuous on $\mathbb{R}$, hence right-continuous.
2 $\mathbb{R}_K$ is finer than $\mathbb{R}$ (Theorem 11.5(1)), so the first identity is continuous by Theorem 11.10(3). The set $(-1,1)\setminus K$ is $K$-open but not standard-open, so the second identity is not continuous.
3 A map is continuous iff the preimage of $\{1\}$ is open, i.e. is $\varnothing$, $\{1\}$ or $S$: the constant map $0$, the identity, and the constant map $1$. The swap has $f^{-1}(1)=\{0\}$, not open. So there are $3$ continuous maps, and only the identity is a homeomorphism.
4 The open sets of $S$ are $\varnothing,\{1\},S$ with preimages $\varnothing$, $f^{-1}(1)$, $X$. So continuity means exactly that $f^{-1}(1)$ is open, and $f\mapsto f^{-1}(1)$ is a bijection from continuous maps onto open sets of $X$ (an open $U$ comes from $\mathbf{1}_U$).
5 Suppose $f$ takes two values $a\lt b$ and pick $a\lt c\lt b$. Then $f^{-1}((-\infty,c))$ and $f^{-1}((c,\infty))$ are disjoint, nonempty and open in $\mathcal{T}_{\mathrm{coc}}$. But two nonempty cocountable sets always meet (the union of two countable sets cannot be all of $\mathbb{R}$). Contradiction.
6 In $\mathbb{R}_\ell$, $\mathbb{R}=\bigcup_{n\in\mathbb{Z}}[n,n+1)$ and $[0,1)=\bigcup_{k\ge1}[1-\frac1k,1-\frac1{k+1})$ are partitions into countably many clopen half-open intervals, and each $[a,b)$ is homeomorphic to $[0,1)$ by the increasing affine map. Match the pieces by a bijection $\mathbb{N}\to\mathbb{Z}$ and combine the affine maps; by the pasting lemma for open sets the combined bijection and its inverse are continuous.
7 If $f$ is a homeomorphism, Theorem 11.9(4) for $f$ gives $f(\overline{A})\subseteq\overline{f(A)}$ and for $f^{-1}$ applied to $f(A)$ gives $f^{-1}(\overline{f(A)})\subseteq\overline{A}$. Conversely the equality gives continuity of $f$ by Theorem 11.9(4), and it says that $f$ maps closed sets ($A=\overline{A}$) to closed sets, i.e. $f^{-1}$ is continuous.
8 $h(x)=\dfrac{x}{1-\|x\|}$ maps $D$ onto $\mathbb{R}^2$ with continuous inverse $y\mapsto\dfrac{y}{1+\|y\|}$. For the circle, stereographic projection from $(0,1)$, $(u,v)\mapsto\dfrac{u}{1-v}$, is continuous with continuous inverse $t\mapsto\Big(\dfrac{2t}{t^2+1},\dfrac{t^2-1}{t^2+1}\Big)$.
IV
Subspaces, products and quotients.
  • 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.
1 All three are clopen in $Y$: $[0,1)=(-1,1)\cap Y=[0,1]\cap Y$, $\{2\}=(1.5,2.5)\cap Y=[2,2]\cap Y$, $(3,4]=(3,5)\cap Y=[3,4]\cap Y$.
2 By Theorem 11.11(2): $\overline{(0,1)}\cap(0,2)=(0,1]$, and $\overline{\mathbb{Q}\cap(0,\sqrt2)}\cap\mathbb{Q}=[0,\sqrt2]\cap\mathbb{Q}=\mathbb{Q}\cap[0,\sqrt2)$ (as $\sqrt2\notin\mathbb{Q}$). Yes: $\mathbb{Q}\cap(-\infty,\sqrt2)=\mathbb{Q}\cap(-\infty,\sqrt2]$ is the trace of an open and of a closed set, so it is clopen in $\mathbb{Q}$.
3 Basic neighbourhoods are $[x,x+\varepsilon)\times(y-\varepsilon,y+\varepsilon)$. Every point of the closed disc except $(1,0)$ is in the closure: at a boundary point $(\cos\theta,\sin\theta)$ with $\sin\theta\ne0$ the points $(\cos\theta,\sin\theta\mp\delta)$ lie in the disc (for small $\delta$, with the sign towards the $x$-axis), and at boundary points with $x\le0$ one can move right into the disc. At $(1,0)$ every point $(x',y')$ with $x'\ge1$ has $x'^2+y'^2\ge1$. Answer: $\{x^2+y^2\le1\}\setminus\{(1,0)\}$.
4 The open boxes are $U\times V$ with $U,V\in\{\varnothing,\{1\},S\}$, and the open sets are their unions: $\varnothing$, $\{(1,1)\}$, $\{1\}\times S$, $S\times\{1\}$, their union $\{(1,1),(1,0),(0,1)\}$, and $S\times S$. That is $6$ open sets.
5 Product: a basic neighbourhood of $x$ restricts only coordinates $1,\dots,m$; the sequence $(x_1,\dots,x_m,0,0,\dots)\in\mathbb{R}^\infty$ lies in it. Box: if $x\notin\mathbb{R}^\infty$, let $U_n=(x_n-\frac{|x_n|}2,x_n+\frac{|x_n|}2)$ when $x_n\ne0$ and $U_n=\mathbb{R}$ otherwise; every point of $\prod U_n$ has infinitely many nonzero terms, so this box misses $\mathbb{R}^\infty$ and the complement is open.
6 $f(x,y)=x^2+y^2$ is a continuous surjection onto $[0,\infty)$ whose fibres are the classes. It is open: the image of the open disc of radius $r$ about $p$ is the interval of values $\big((|p|-r)^2,(|p|+r)^2\big)$, or $[0,(|p|+r)^2)$ if $|p|\lt r$, both open in $[0,\infty)$. So $f$ is a quotient map and Theorem 11.14(4) applies.
7 A figure eight (two circles joined at one point). Map $[0,\frac12]$ around one circle and $[\frac12,1]$ around another circle touching it at the image of $0,\frac12,1$; this is continuous by the pasting lemma, surjective, and identifies exactly $0,\frac12,1$. Compact onto Hausdorff, so it induces a homeomorphism (Theorem 11.14(4)).
8 If $q^{-1}(V)$ is open then $V=s^{-1}(q^{-1}(V))$ is open, by continuity of $s$. For the example $s(x)=(x,0)$. Not open: $U=A\cap(\mathbb{R}\times(1,2))=[0,\infty)\times(1,2)$ is open in $A$, but $q(U)=[0,\infty)$ is not open in $\mathbb{R}$. Not closed: $C=\{(x,\frac1x):x\gt0\}$ is closed in $A$ but $q(C)=(0,\infty)$ is not closed.
🎯 GATE corner GATE MA · MCQGATE MA · MSQGATE MA · NAT

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]$.

Idea Open: every point has some $[x,x+\varepsilon)$ inside. Closed: the complement is open. The trouble points are the endpoints.
Options (A) $[0,1)$ is clopen. (B) $(0,1)$ is open, but its closure is $[0,1)$, so it is not closed. (C) Not open: no $[1,1+\varepsilon)$ lies in $[0,1]$. Closed: the complement $(-\infty,0)\cup(1,\infty)$ is open even in $\mathbb{R}$. (D) Not open (at $1$) and not closed: $0$ is in the closure since $[0,\varepsilon)$ meets $(0,1]$.
Answer (C).

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}\}$.

Test (B2) (A) $\frac32\in(0,2)\cap(1,3)=(1,2)$, which contains no member. (B) $1\in[0,1]\cap[1,2]=\{1\}$, which contains no member. (D) $\frac12\in(-\infty,1)\cap(0,\infty)=(0,1)$, which contains no ray: (D) is a subbasis but not a basis.
(C) The sets cover $\mathbb{R}$ (each $x$ lies in $(p,q]$ for rationals $p\lt x\le q$), and $(a,b]\cap(c,d]=(\max\{a,c\},\min\{b,d\}]$ is empty or again a member. (It generates a topology strictly coarser than the upper limit topology — a real number $x$ has no basic set with right end $x$ unless $x\in\mathbb{Q}$ — but it is a basis.)
Answer (C).

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.

(A) Yes The fractional part is right-continuous everywhere (its jumps at integers go down to the value $0$ it takes there): Theorem 11.10(4).
(B) No $g^{-1}([0,1))=[0,1)$ is not open in $\mathbb{R}$.
(C) Yes Every fibre of $x^2$ has at most two points: Theorem 11.10(5).
(D) No The fibre $k^{-1}(1)=\mathbb{Q}$ is not closed in $\mathbb{R}$; concretely $k^{-1}(\mathbb{R}\setminus\{1\})=\mathbb{R}\setminus\mathbb{Q}$ is not open.
Answer (A) and (C).

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.

(A) True The $n$-th coordinate is $\frac nk\to0$ as $k\to\infty$ for each fixed $n$; product convergence is coordinatewise (Theorem 11.13(2)).
(B) False The box $\prod_n(-1,1)$ is a neighbourhood of $0$, and $x^{(k)}$ has $k$-th coordinate $1$, so no $x^{(k)}$ lies in it.
(C) True Example 7(a): $x\mapsto(\cos2\pi x,\sin2\pi x)$ is an open continuous surjection whose fibres are the classes.
(D) False $\{xy=1\}$ is closed and projects onto $\mathbb{R}\setminus\{0\}$.
Answer (A) and (C).

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 ______.

Idea Order the points by "$1$ before $0$" in $X$ and "$a$ before $b$ before $c$" in $Y$. Each open set of $X$ or $Y$ is an initial segment, so each open box $U\times V$ is a "lower-left rectangle", and an open set is a union of such rectangles: a set $W$ such that $(x,y)\in W$ implies every point that comes no later in both coordinates is in $W$ ("staircase" sets).
Count Arrange $X\times Y$ as a $2\times3$ grid (rows $1,0$; columns $a,b,c$). A staircase set is described by the numbers $r_1\ge r_0$ of cells taken in row $1$ and row $0$, with $0\le r_0\le r_1\le3$: there are $\binom{5}{2}=10$ such pairs.
Answer $10$ (an integer; accept exactly $10$).

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 ______.

Standard $\overline{A}=[0,2]\cup\{3-\frac1n:n\ge2\}\cup\{3\}$.
Sorgenfrey $x\in\overline{A}^{\,\ell}$ iff every $[x,x+\varepsilon)$ meets $A$. This holds for $x\in[0,2)$ (including $x=0$ and $x=1$, approached from the right) and for the points $3-\frac1n$ of $A$; it fails at $x=2$ and at $x=3$, which are approached only from the left.
Answer $\overline{A}\setminus\overline{A}^{\,\ell}=\{2,3\}$: the answer is $2$.
🧑‍🏫 For the teacher

Suggested plan — 3 lectures × 60 min.

  1. 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$.
  2. 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.
  3. 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–Teaching NexusResearch-tutored · optional, about 60 minutes

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.

  1. 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.
  2. Show that the topology is $T_0$ (§11.2) iff $\preceq$ is antisymmetric, i.e. a partial order.
  3. 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.
  4. 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.

Instructor note: the counts are $1,4,29,355,6942$ topologies and $1,3,19,219,4231$ $T_0$ topologies for $n=1,\dots,5$ (a brute-force loop over all $2^{20}$ relations for $n=5$ runs in seconds). In step 4, odd points are open and even points are closed; $\overline{\{3\}}=\{2,3,4\}$ and the smallest open set containing $2$ is $\{1,2,3\}$. Connectedness: a clopen set containing $k$ must contain $k\pm1$ (via those smallest neighbourhoods and closures).

🧪 Self-check quiz

0/5 correct

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