Skip to content

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

Prerequisite:The Grammar of Mathematics: Reading and Writing Sets and LogicCompleteness of the Real Numbers and Cauchy Sequences: The Absence of Gaps

Raw
  • The numerical value of a metric dd is used at exactly one place: in deciding which sets deserve the name open. Continuity, convergence, closure and the other basic notions of analysis can all be defined without a metric, provided a family of open sets is given.
  • The open sets of a metric space enjoy three properties: (O1) the empty set and the whole space belong to the family, (O2) the family is closed under arbitrary unions, (O3) it is closed under finite intersections. Adopting these three, and nothing else, as axioms yields the notion of a topological space.
  • The word “finite” in (O3) cannot be dropped. The identity n1(1/n,1/n)={0}\bigcap_{n\ge 1}(-1/n,\,1/n)=\{0\}, together with the fact that {0}\{0\} is not open, is the proof.
  • Not every topology comes from a metric. The indiscrete topology, the order topology and the Zariski topology (the cofinite topology) include topologies that no metric can ever produce.
  • Neighbourhoods, interiors, closures and boundaries are all definable from the family of open sets alone. The closure A\overline{A} has two faces — “the smallest closed set containing AA” and “the set of points every neighbourhood of which meets AA” — and moving freely between them is what makes computations in topology work.

1. Motivation: when the metric is discarded

Section titled “1. Motivation: when the metric is discarded”

When we defined continuity of a function in calculus, we used the ε\varepsilon-δ\delta argument. The statement “if xx is close enough to aa, then f(x)f(x) is close enough to f(a)f(a)” was written out as the pair of inequalities xa<δ|x-a| < \delta and f(x)f(a)<ε|f(x)-f(a)| < \varepsilon. The instrument that measures “close” here is the absolute value of a real number, that is, a distance.

Maurice Fréchet transplanted this structure to arbitrary sets: in his 1906 doctoral thesis he introduced an axiom system for a function assigning to two points of a set their “separation”. This is what we now call a metric space. With a metric at hand one can discuss convergence, continuity and compactness far away from the real line. So far the generalisation is a natural one.

In the twentieth century, however, kinds of “nearness” appeared one after another that a metric cannot handle. Here are three.

First, pointwise convergence of sequences of functions. On the enormous set of all real-valued functions on the interval [0,1][0,1], the nearness expressing uniform convergence is given by the supremum metric suptf(t)g(t)\sup_t |f(t)-g(t)| (see Sequences of functions and uniform convergence). But it is known that the nearness expressing pointwise convergence arises from no metric whatsoever. A notion of convergence exists, yet no metric generates it.

Second, the formation of quotients. Identify two points x,yx,y of the real line R\mathbb{R} whenever xyx-y is rational; the resulting quotient set carries a topology induced naturally from R\mathbb{R}, and that topology has only two open sets, the empty set and the whole space. In a metric space two distinct points can always be separated by disjoint open sets (Proposition 3.5), so this topology comes from no metric at all.

Third, algebraic geometry. Over a field kk, declare the sets expressible as common zero sets of polynomials to be the closed sets; these too satisfy the axioms for a topology (the Zariski topology). In one variable, the non-empty open sets are exactly the complements of finite sets, and any two non-empty open sets necessarily meet. This is far removed from metric intuition, but in a world where figures can only be cut out by polynomials, this is the correct notion of nearness.

Meanwhile, rereading proofs written for metric spaces, one notices that the actual value of d(x,y)d(x,y) is hardly ever used. What is used is invariably an assertion of the form “a sufficiently small ball centred at xx fits entirely inside UU”. In other words, the metric serves only to specify which sets are “sets with room to spare around each of their points”. If so, we may as well hand over that family of “sets with room to spare” from the outset. This reversal of viewpoint is the topological space. Felix Hausdorff gave an axiomatisation via neighbourhood systems in his Grundzüge der Mengenlehre of 1914, and the equivalent formulation in terms of families of open sets later became standard.

The return on this abstraction has been large. Among the properties definable by a topology alone, compactness and connectedness are especially powerful. That a continuous function on a closed interval attains a maximum, and that it takes intermediate values, follow not from the fine structure of R\mathbb{R} but from the compactness and connectedness of [a,b][a,b] (Compactness, Connectedness). The former is proved as the extreme value theorem(Corollary 6.2)[コンパクト性], the latter as the intermediate value theorem(Theorem 6.1)[連結性], purely in the language of topology. As the starting point of all this, the present article assembles the definition of a topological space itself.

2. Metric spaces: measuring nearness by a number

Section titled “2. Metric spaces: measuring nearness by a number”

We begin by defining precisely the metric spaces we start from. Throughout, XX denotes a non-empty set.

Definition 2.1Metric space

A map d ⁣:X×XRd\colon X\times X\to\mathbb{R} on a set XX is called a metric on XX, and the pair (X,d)(X,d) a metric space, when the following three conditions hold.

  • (M1) For all x,yXx,y\in X, d(x,y)=0d(x,y)=0 if and only if x=yx=y.
  • (M2) For all x,yXx,y\in X, d(x,y)=d(y,x)d(x,y)=d(y,x).
  • (M3) For all x,y,zXx,y,z\in X, d(x,z)d(x,y)+d(y,z)d(x,z)\le d(x,y)+d(y,z) (the triangle inequality).

For xXx\in X and a real number r>0r>0 we call

Bd(x,r)={yX  :  d(x,y)<r}B_d(x,r)=\{\,y\in X \;:\; d(x,y) < r\,\}

the open ball of radius rr centred at xx. When the metric is clear from the context we write B(x,r)B(x,r).

Remark 2.2

Some books list non-negativity d(x,y)0d(x,y)\ge 0 as a fourth axiom, but it is a consequence of (M1)–(M3). Putting z=xz=x in (M3) gives d(x,x)d(x,y)+d(y,x)d(x,x)\le d(x,y)+d(y,x). The left-hand side is 00 by (M1) and the right-hand side is 2d(x,y)2d(x,y) by (M2), so 02d(x,y)0\le 2d(x,y), that is, d(x,y)0d(x,y)\ge 0.

Example 2.3Euclidean, Manhattan and Chebyshev metrics

Let X=RnX=\mathbb{R}^n and, for x=(x1,,xn)x=(x_1,\dots,x_n) and y=(y1,,yn)y=(y_1,\dots,y_n), set

d1(x,y)=i=1nxiyi,d2(x,y)=(i=1n(xiyi)2)1/2,d(x,y)=max1inxiyi.d_1(x,y)=\sum_{i=1}^{n}|x_i-y_i|,\qquad d_2(x,y)=\Bigl(\sum_{i=1}^{n}(x_i-y_i)^2\Bigr)^{1/2},\qquad d_\infty(x,y)=\max_{1\le i\le n}|x_i-y_i|.

These are called, in order, the Manhattan metric (the distance walked along a rectangular grid of streets), the Euclidean metric and the Chebyshev metric.

Let us verify (M1) for d1d_1. If d1(x,y)=0d_1(x,y)=0, then a finite sum of non-negative reals vanishes, so every term vanishes; that is, xi=yix_i=y_i for all ii, i.e. x=yx=y. The converse follows by substitution. For d2d_2 and dd_\infty the argument likewise reduces to “all coordinates agree”. Condition (M2) is immediate from xiyi=yixi|x_i-y_i|=|y_i-x_i|.

Now (M3). For d1d_1, apply the triangle inequality for real numbers, xizixiyi+yizi|x_i-z_i|\le |x_i-y_i|+|y_i-z_i|, coordinatewise and sum over i=1,,ni=1,\dots,n. For dd_\infty, for each ii we have

xizixiyi+yizid(x,y)+d(y,z),|x_i-z_i|\le |x_i-y_i|+|y_i-z_i|\le d_\infty(x,y)+d_\infty(y,z),

and since the right-hand side does not depend on ii, taking the maximum of the left-hand side gives d(x,z)d(x,y)+d(y,z)d_\infty(x,z)\le d_\infty(x,y)+d_\infty(y,z). For d2d_2, put a=xya=x-y and b=yzb=y-z and write a=(ai2)1/2\|a\|=(\sum a_i^2)^{1/2} and a,b=aibi\langle a,b\rangle=\sum a_ib_i; the Cauchy–Schwarz inequality a,bab\langle a,b\rangle\le\|a\|\,\|b\| yields

a+b2=a2+2a,b+b2a2+2ab+b2=(a+b)2,\|a+b\|^2=\|a\|^2+2\langle a,b\rangle+\|b\|^2\le \|a\|^2+2\|a\|\,\|b\|+\|b\|^2=(\|a\|+\|b\|)^2,

and taking square roots gives d2(x,z)=a+ba+b=d2(x,y)+d2(y,z)d_2(x,z)=\|a+b\|\le\|a\|+\|b\|=d_2(x,y)+d_2(y,z).

These three metrics are related by

d(x,y)    d2(x,y)    d1(x,y)    nd(x,y)d_\infty(x,y)\;\le\; d_2(x,y)\;\le\; d_1(x,y)\;\le\; n\,d_\infty(x,y)

for all x,yx,y. Indeed, putting ai=xiyia_i=|x_i-y_i|, the first inequality follows by taking square roots in maxiai2iai2\max_i a_i^2\le\sum_i a_i^2; the second by taking square roots in (iai)2=iai2+ijaiajiai2\bigl(\sum_i a_i\bigr)^2=\sum_i a_i^2+\sum_{i\ne j}a_ia_j\ge\sum_i a_i^2 (the cross terms are non-negative because ai0a_i\ge 0); and the third because each term is at most the maximum. This chain of inequalities will be used in the exercises.

d₁ (Manhattan)d₂ (Euclidean)d∞ (Chebyshev)
The unit balls of the three metrics in R^2, that is, the sets of points at distance less than 1 from the origin. Changing the metric changes the very shape of 'near'.

Example 2.4The discrete metric and metrics on function spaces

(1) The discrete metric. On an arbitrary set XX, set d(x,y)=0d(x,y)=0 if x=yx=y and d(x,y)=1d(x,y)=1 if xyx\ne y. Conditions (M1) and (M2) are the definition itself. For (M3): if x=zx=z the left-hand side is 00 and the right-hand side is non-negative, so the inequality holds. If xzx\ne z the left-hand side is 11. In that case yy differs from at least one of xx and zz (were y=xy=x and y=zy=z, we would get x=zx=z, a contradiction). Hence at least one of the two terms on the right equals 11 and the right-hand side is at least 11. So (M3) holds.

(2) The uniform metric on a space of continuous functions. Let C[0,1]C[0,1] be the set of all real-valued continuous functions on [0,1][0,1] and set d(f,g)=supt[0,1]f(t)g(t)d_\infty(f,g)=\sup_{t\in[0,1]}|f(t)-g(t)|. A continuous function on a bounded closed interval is bounded, so this supremum is a finite real number. Condition (M1) holds because ”f(t)=g(t)f(t)=g(t) for all tt” is precisely the definition of f=gf=g. For (M3), for each tt we have

f(t)h(t)f(t)g(t)+g(t)h(t)d(f,g)+d(g,h),|f(t)-h(t)|\le |f(t)-g(t)|+|g(t)-h(t)|\le d_\infty(f,g)+d_\infty(g,h),

and since the right-hand side does not depend on tt, it suffices to take the supremum of the left-hand side. Convergence in this metric is uniform convergence.

(3) A different metric on the same set. One may also equip the same C[0,1]C[0,1] with d1(f,g)=01f(t)g(t)dtd_1(f,g)=\int_0^1|f(t)-g(t)|\,dt. Condition (M3) is obtained by integrating the pointwise inequality, and (M1) follows from the fact that a continuous non-negative hh with 01h=0\int_0^1 h=0 satisfies h0h\equiv0 (if h(t0)>0h(t_0)>0, then by continuity h>h(t0)/2h>h(t_0)/2 on an interval of some length δ>0\delta>0 around t0t_0, so the integral would be at least δh(t0)/2>0\delta h(t_0)/2>0, a contradiction). These two metrics live on the same set yet give different notions of nearness (L^p spaces and an introduction to functional analysis).

3. Open sets in a metric space: where the metric really works

Section titled “3. Open sets in a metric space: where the metric really works”

We now translate the theory of metric spaces into the language of open sets. This is the bridge to topological spaces.

Definition 3.1Open and closed sets in a metric space

Let (X,d)(X,d) be a metric space. A subset UXU\subseteq X is open with respect to dd when

xU, r>0,B(x,r)U\forall x\in U,\ \exists r>0,\quad B(x,r)\subseteq U

holds; that is, every point of UU has room to spare without leaving UU. A subset FXF\subseteq X whose complement XFX\setminus F is open is called closed.

The empty set \emptyset is open: the assertion “for every xx\in\emptyset …” is vacuously true, since no xx satisfying the condition exists (for this way of handling quantifiers see The grammar of mathematics — sets and logic). Skipping this check leaves the reason for axiom (O1) obscure later on.

Proposition 3.2Open balls are open

Let (X,d)(X,d) be a metric space. For every xXx\in X and every r>0r>0, the open ball B(x,r)B(x,r) is open in the sense of Definition 3.1.

Proof(Proposition 3.2)

Let yB(x,r)y\in B(x,r) be arbitrary. By definition d(x,y)<rd(x,y) < r, so ρ:=rd(x,y)\rho := r-d(x,y) is a positive real number. We show that this ρ\rho does the job. If zB(y,ρ)z\in B(y,\rho), then the triangle inequality (M3) (Definition 2.1) gives

d(x,z)d(x,y)+d(y,z)<d(x,y)+ρ=d(x,y)+(rd(x,y))=r,d(x,z)\le d(x,y)+d(y,z) < d(x,y)+\rho = d(x,y) + \bigl(r-d(x,y)\bigr) = r,

so zB(x,r)z\in B(x,r). Hence B(y,ρ)B(x,r)B(y,\rho)\subseteq B(x,r), and since yy was arbitrary, B(x,r)B(x,r) is open.

This proposition guarantees that the name “open ball” is justified, and at the same time provides a basic tool used repeatedly in the proofs below. The next result is the main theorem of this section; the axioms for a topological space are extracted from it.

Theorem 3.3Properties of the family of open sets of a metric space

Let (X,d)(X,d) be a metric space and let Od\mathcal{O}_d be the family of all sets open with respect to dd. Then the following hold.

  • (O1) Od\emptyset\in\mathcal{O}_d and XOdX\in\mathcal{O}_d.
  • (O2) If Λ\Lambda is an arbitrary (not necessarily finite) index set and UλOdU_\lambda\in\mathcal{O}_d for each λΛ\lambda\in\Lambda, then λΛUλOd\bigcup_{\lambda\in\Lambda}U_\lambda\in\mathcal{O}_d.
  • (O3) If nn is a natural number and U1,,UnOdU_1,\dots,U_n\in\mathcal{O}_d, then k=1nUkOd\bigcap_{k=1}^{n}U_k\in\mathcal{O}_d.
Proof(Theorem 3.3)

(O1): That \emptyset is open was noted above, the condition being vacuously true. As for XX, every xXx\in X satisfies B(x,1)XB(x,1)\subseteq X, so XX is open.

(O2): Put U=λΛUλU=\bigcup_{\lambda\in\Lambda}U_\lambda and let xUx\in U. By the definition of a union there is λ0Λ\lambda_0\in\Lambda with xUλ0x\in U_{\lambda_0}. Since Uλ0U_{\lambda_0} is open, there is r>0r>0 with B(x,r)Uλ0B(x,r)\subseteq U_{\lambda_0}. As Uλ0UU_{\lambda_0}\subseteq U we get B(x,r)UB(x,r)\subseteq U. Since xx was arbitrary, UU is open. Note that the size of Λ\Lambda was never used.

(O3): First the case n=2n=2. Let xU1U2x\in U_1\cap U_2. Since U1U_1 and U2U_2 are open there exist r1>0r_1>0 and r2>0r_2>0 with B(x,r1)U1B(x,r_1)\subseteq U_1 and B(x,r2)U2B(x,r_2)\subseteq U_2. Put r=min{r1,r2}r=\min\{r_1,r_2\}; this is the minimum of finitely many positive reals, so r>0r>0. Then B(x,r)B(x,r1)U1B(x,r)\subseteq B(x,r_1)\subseteq U_1 and likewise B(x,r)U2B(x,r)\subseteq U_2, so B(x,r)U1U2B(x,r)\subseteq U_1\cap U_2.

The general case follows by induction on nn (the principle of mathematical induction(Theorem 3.2)[Techniques of Proof]). The case n=1n=1 is trivial. Assuming the statement for nn sets, we have k=1n+1Uk=(k=1nUk)Un+1\bigcap_{k=1}^{n+1}U_k=\bigl(\bigcap_{k=1}^{n}U_k\bigr)\cap U_{n+1}; the set in brackets is open by the induction hypothesis and Un+1U_{n+1} is open, so the whole is open by the case n=2n=2.

Finiteness entered the proof at exactly one place: in r=min{r1,,rn}>0r=\min\{r_1,\dots,r_n\}>0 in (O3). The infimum of infinitely many positive numbers may be 00, so the argument does not survive the passage to infinitely many sets.

Example 3.4An infinite intersection need not be open

Equip R\mathbb{R} with the usual metric d(x,y)=xyd(x,y)=|x-y| and put Un=(1/n,1/n)=B(0,1/n)U_n=(-1/n,\,1/n)=B(0,1/n) for n1n\ge 1. Each UnU_n is open by Proposition 3.2. Let us compute this infinite intersection.

If xn1Unx\in\bigcap_{n\ge1}U_n, then x<1/n|x| < 1/n for every n1n\ge 1. Were x>0|x|>0, then by the Archimedean property(Theorem 3.2)[Completeness of the Real Numbers and Cauchy Sequences] there would be a natural number nn with 1/n<x1/n < |x|, a contradiction. Hence x=0|x|=0, i.e. x=0x=0. Conversely 0Un0\in U_n for every nn, so n1Un={0}\bigcap_{n\ge 1}U_n=\{0\}.

But {0}\{0\} is not open. For any r>0r>0 the number r/2r/2 satisfies r/20=r/2<r|r/2-0|=r/2 < r and therefore lies in B(0,r)B(0,r), while r/20r/2\ne 0, so B(0,r)⊈{0}B(0,r)\not\subseteq\{0\}. Consequently the word “finite” cannot be removed from (O3) in Theorem 3.3.

Proposition 3.5Distinct points of a metric space can be separated

Let (X,d)(X,d) be a metric space and let x,yXx,y\in X with xyx\ne y. Then there exist open sets U,VU,V with xUx\in U, yVy\in V and UV=U\cap V=\emptyset.

Proof(Proposition 3.5)

From xyx\ne y and (M1) (Definition 2.1) we get d(x,y)0d(x,y)\ne 0, and by Remark 2.2 we have d(x,y)0d(x,y)\ge 0; hence d(x,y)>0d(x,y)>0. Put r=d(x,y)/2>0r=d(x,y)/2>0 and set U=B(x,r)U=B(x,r), V=B(y,r)V=B(y,r). These are open by Proposition 3.2, and d(x,x)=0<rd(x,x)=0 < r gives xUx\in U, similarly yVy\in V.

If some point zz belonged to UVU\cap V, then the triangle inequality (M3) together with symmetry (M2) would give

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

the contradiction d(x,y)<d(x,y)d(x,y) < d(x,y). Hence UV=U\cap V=\emptyset.

We shall use this proposition later as a device for recognising topologies that come from no metric. In a metric space two points can always be pulled apart by open sets, so a topology lacking this property cannot be metrisable.

Finally, let us see that the ε\varepsilon-δ\delta argument itself can be translated into the language of open sets. This is the decisive step towards axiomatisation.

Proposition 3.6Characterisation of continuity by open sets

Let (X,dX)(X,d_X) and (Y,dY)(Y,d_Y) be metric spaces and f ⁣:XYf\colon X\to Y a map. The following two conditions are equivalent.

  • (a) For every aXa\in X and every ε>0\varepsilon>0 there is δ>0\delta>0 such that dY(f(x),f(a))<εd_Y(f(x),f(a)) < \varepsilon for all xXx\in X with dX(x,a)<δd_X(x,a) < \delta.
  • (b) For every open set VV of YY, the preimage f1(V)f^{-1}(V) is open in XX.
Proof(Proposition 3.6)

(a) \Rightarrow (b): Let VYV\subseteq Y be open and let af1(V)a\in f^{-1}(V). Since f(a)Vf(a)\in V and VV is open, there is ε>0\varepsilon>0 with B(f(a),ε)VB(f(a),\varepsilon)\subseteq V. Applying (a) with this ε\varepsilon gives δ>0\delta>0 such that xB(a,δ)x\in B(a,\delta), i.e. dX(x,a)<δd_X(x,a) < \delta, implies dY(f(x),f(a))<εd_Y(f(x),f(a)) < \varepsilon, that is, f(x)B(f(a),ε)Vf(x)\in B(f(a),\varepsilon)\subseteq V. Hence B(a,δ)f1(V)B(a,\delta)\subseteq f^{-1}(V), and since aa was arbitrary, f1(V)f^{-1}(V) is open.

(b) \Rightarrow (a): Let aXa\in X and ε>0\varepsilon>0 be arbitrary. The set V=B(f(a),ε)V=B(f(a),\varepsilon) is open in YY by Proposition 3.2, so f1(V)f^{-1}(V) is open in XX by (b). Since dY(f(a),f(a))=0<εd_Y(f(a),f(a))=0 < \varepsilon we have af1(V)a\in f^{-1}(V), so by the definition of an open set there is δ>0\delta>0 with B(a,δ)f1(V)B(a,\delta)\subseteq f^{-1}(V). This says precisely that dX(x,a)<δd_X(x,a) < \delta implies f(x)Vf(x)\in V, i.e. dY(f(x),f(a))<εd_Y(f(x),f(a)) < \varepsilon.

Condition (b) mentions neither dXd_X nor dYd_Y, neither ε\varepsilon nor δ\delta. The only word occurring in it is “open set”. If continuity, the central notion of analysis, can be written using the family of open sets alone, then we may discard the metric and prescribe the family of open sets from the start. This is the motivation for the definition in the next section. The general theory of continuous maps, obtained by adopting condition (b) as the definition, is treated in Continuous maps and homeomorphisms (Definition 3.1[Continuous Maps and Homeomorphisms]).

We now adopt the three properties obtained in Theorem 3.3 as a starting point rather than as a theorem. Below, P(X)\mathfrak{P}(X) denotes the power set of XX, that is, the set of all subsets of XX.

Definition 4.1Topological space

Let XX be a set and OP(X)\mathcal{O}\subseteq\mathfrak{P}(X) a family of subsets of XX. When O\mathcal{O} satisfies the following three conditions, O\mathcal{O} is called a topology on XX and the pair (X,O)(X,\mathcal{O}) a topological space.

  • (O1) O\emptyset\in\mathcal{O} and XOX\in\mathcal{O}.
  • (O2) If Λ\Lambda is an arbitrary index set and UλOU_\lambda\in\mathcal{O} for each λΛ\lambda\in\Lambda, then λΛUλO\bigcup_{\lambda\in\Lambda}U_\lambda\in\mathcal{O}.
  • (O3) If U,VOU,V\in\mathcal{O}, then UVOU\cap V\in\mathcal{O}.

The members of O\mathcal{O} are called open sets, and a set whose complement is open is called a closed set.

Remark 4.2

Four remarks on the definition.

First, (O3) is stated for the intersection of two sets, but the same induction as in the proof of Theorem 3.3 shows that the intersection of finitely many U1,,UnOU_1,\dots,U_n\in\mathcal{O} is open. There is no extension to infinitely many (Example 3.4).

Second, “being open” is not a property inherent in a set; it depends on which O\mathcal{O} has been chosen. One and the same subset may be open or fail to be open once the topology is changed. Whenever we say ”AA is open”, the topology behind the statement should be kept in mind.

Third, open and closed are not mutually exclusive. The sets \emptyset and XX are always both open and closed (they are complementary to each other, and both are open by (O1)). On the other hand [0,1)R[0,1)\subseteq\mathbb{R} with its usual topology is neither open nor closed. It is not open because arbitrarily close to 00 there are points outside [0,1)[0,1), and its complement (,0)[1,)(-\infty,0)\cup[1,\infty) is not open for the same reason at the point 11.

Fourth, for a metric space (X,d)(X,d) the family Od\mathcal{O}_d is a topology by Theorem 3.3. We call it the topology determined by dd, and a topology arising in this way from some metric is called metrisable. The question of which topologies are metrisable is the subject of Separation axioms and metrisability; its most prominent sufficient condition is Urysohn's metrisation theorem(Theorem 7.2)[分離公理と距離づけ可能性].

Seen from the side of closed sets, the axioms turn upside down. Note how unions and intersections, and “finite” and “arbitrary”, exchange places.

Proposition 4.3Properties of the family of closed sets

Let (X,O)(X,\mathcal{O}) be a topological space and F\mathcal{F} the family of all closed sets. Then the following hold.

  • (C1) F\emptyset\in\mathcal{F} and XFX\in\mathcal{F}.
  • (C2) If Λ\Lambda\ne\emptyset is an arbitrary index set and FλFF_\lambda\in\mathcal{F} for each λΛ\lambda\in\Lambda, then λΛFλF\bigcap_{\lambda\in\Lambda}F_\lambda\in\mathcal{F}.
  • (C3) If F1,,FnFF_1,\dots,F_n\in\mathcal{F} (finitely many), then k=1nFkF\bigcup_{k=1}^{n}F_k\in\mathcal{F}.
Proof(Proposition 4.3)

In each case it suffices to translate into the language of open sets by De Morgan's laws for families of sets(Corollary 5.6)[The Grammar of Mathematics].

(C1): X=XOX\setminus\emptyset=X\in\mathcal{O}, so \emptyset is closed; XX=OX\setminus X=\emptyset\in\mathcal{O}, so XX is closed (both times we used (O1)).

(C2): XλFλ=λ(XFλ)X\setminus\bigcap_{\lambda}F_\lambda=\bigcup_{\lambda}(X\setminus F_\lambda), and each XFλX\setminus F_\lambda is open by the definition of a closed set, so the right-hand side is open by (O2). Hence λFλ\bigcap_\lambda F_\lambda is closed. The assumption Λ\Lambda\ne\emptyset was made because, in conventions that do not declare the intersection of the empty family to be XX, the expression λFλ\bigcap_{\lambda\in\emptyset}F_\lambda is undefined; if one does declare it to be XX, the case is absorbed into (C1).

(C3): Xk=1nFk=k=1n(XFk)X\setminus\bigcup_{k=1}^{n}F_k=\bigcap_{k=1}^{n}(X\setminus F_k), and the right-hand side is an intersection of finitely many open sets, hence open by (O3) (and induction). Therefore kFk\bigcup_k F_k is closed.

We now line up examples of topologies, beginning with the two extremes.

The discrete topology. Take O=P(X)\mathcal{O}=\mathfrak{P}(X), that is, declare every subset open. Unions and intersections of subsets are again subsets, so (O1), (O2) and (O3) all hold. This coincides with the topology determined by the discrete metric of Example 2.4. Indeed, for the discrete metric B(x,1)={x}B(x,1)=\{x\}, so every singleton is open, and any AXA\subseteq X can be written as A=xA{x}A=\bigcup_{x\in A}\{x\} and is therefore open by (O2). Hence the discrete topology is metrisable.

The indiscrete topology. Take O={,X}\mathcal{O}=\{\emptyset,X\}. Unions and intersections of these two sets are again \emptyset or XX, so all the axioms hold. When XX has at least two points, this topology is not metrisable. Take distinct points xyx\ne y; by Proposition 3.5, a metric topology would require disjoint open sets separating xx and yy, but the only non-empty open set is XX, and XX=XX\cap X=X\ne\emptyset. This is our first example outside the world of ε\varepsilon-δ\delta.

The Sierpiński space and the topologies on a two-point set. Let us enumerate all topologies on X={a,b}X=\{a,b\} (with aba\ne b). By (O1) both \emptyset and XX must belong, so it remains to examine the four possibilities of including {a}\{a\} or {b}\{b\}: each of {,X}\{\emptyset,X\} (the indiscrete topology), {,{a},X}\{\emptyset,\{a\},X\}, {,{b},X}\{\emptyset,\{b\},X\} and {,{a},{b},X}\{\emptyset,\{a\},\{b\},X\} (the discrete topology) satisfies the axioms. The middle two are the Sierpiński space, an asymmetric space in which {a}\{a\} is open but {b}\{b\} is not. This too fails to be metrisable (again by Proposition 3.5).

Comparing topologies. If two topologies O1,O2\mathcal{O}_1,\mathcal{O}_2 on the same set XX satisfy O1O2\mathcal{O}_1\subseteq\mathcal{O}_2, we say that O1\mathcal{O}_1 is coarser (weaker) than O2\mathcal{O}_2 and that O2\mathcal{O}_2 is finer (stronger) than O1\mathcal{O}_1. The indiscrete topology is the coarsest of all topologies and the discrete topology the finest. The more open sets there are, the more finely points can be distinguished.

5. Building topologies: bases, the order topology and the Zariski topology

Section titled “5. Building topologies: bases, the order topology and the Zariski topology”

Writing down every open set in order to specify a topology is laborious. In a metric space it sufficed to fix the open balls; the open sets were then recovered as “the sets containing a ball around each of their points”. The general form of this mechanism is a base.

Definition 5.1Base of a topology

Let (X,O)(X,\mathcal{O}) be a topological space. A subfamily BO\mathcal{B}\subseteq\mathcal{O} is a base (open base) for O\mathcal{O} when for every UOU\in\mathcal{O} and every xUx\in U there exists BBB\in\mathcal{B} with xBUx\in B\subseteq U.

This condition is equivalent to saying that every member of O\mathcal{O} is a union of members of B\mathcal{B}. Indeed, choosing for each point xx of UOU\in\mathcal{O} some BxBB_x\in\mathcal{B} with xBxUx\in B_x\subseteq U gives U=xUBxU=\bigcup_{x\in U}B_x; conversely, if U=iIBiU=\bigcup_{i\in I}B_i, then for xUx\in U there is an ii with xBiUx\in B_i\subseteq U. In a metric space the family of all open balls is a base (precisely because the definition of an open set has this shape).

The following proposition runs in the opposite direction: it manufactures a topology on a set not yet carrying one, starting from a candidate base. All the examples that follow use it.

Proposition 5.2Generating a topology from a base

Let XX be a set and suppose BP(X)\mathcal{B}\subseteq\mathfrak{P}(X) satisfies the following two conditions.

  • (B1) BBB=X\bigcup_{B\in\mathcal{B}}B=X; that is, for every xXx\in X there is BBB\in\mathcal{B} with xBx\in B.
  • (B2) For all B1,B2BB_1,B_2\in\mathcal{B} and every xB1B2x\in B_1\cap B_2 there exists B3BB_3\in\mathcal{B} with xB3B1B2x\in B_3\subseteq B_1\cap B_2.

Then

OB={UX  :  xU, BB, xBU}\mathcal{O}_{\mathcal{B}}=\{\,U\subseteq X \;:\; \forall x\in U,\ \exists B\in\mathcal{B},\ x\in B\subseteq U\,\}

is a topology on XX, and BOB\mathcal{B}\subseteq\mathcal{O}_{\mathcal{B}} with B\mathcal{B} a base for OB\mathcal{O}_{\mathcal{B}}.

Proof(Proposition 5.2)

(O1): OB\emptyset\in\mathcal{O}_{\mathcal{B}} because the condition is vacuously true. And XOBX\in\mathcal{O}_{\mathcal{B}} because for xXx\in X condition (B1) supplies BBB\in\mathcal{B} with xBx\in B, and BXB\subseteq X.

(O2): Let U=λΛUλU=\bigcup_{\lambda\in\Lambda}U_\lambda with each UλOBU_\lambda\in\mathcal{O}_{\mathcal{B}}, and let xUx\in U. There is λ0\lambda_0 with xUλ0x\in U_{\lambda_0}, so by the definition of OB\mathcal{O}_{\mathcal{B}} there is BBB\in\mathcal{B} with xBUλ0Ux\in B\subseteq U_{\lambda_0}\subseteq U. Hence UOBU\in\mathcal{O}_{\mathcal{B}}.

(O3): Let U,VOBU,V\in\mathcal{O}_{\mathcal{B}} and xUVx\in U\cap V. By definition there are B1,B2BB_1,B_2\in\mathcal{B} with xB1Ux\in B_1\subseteq U and xB2Vx\in B_2\subseteq V. Then xB1B2x\in B_1\cap B_2, so (B2) supplies B3BB_3\in\mathcal{B} with xB3B1B2UVx\in B_3\subseteq B_1\cap B_2\subseteq U\cap V. Hence UVOBU\cap V\in\mathcal{O}_{\mathcal{B}}. This is where (B2) was used essentially.

BOB\mathcal{B}\subseteq\mathcal{O}_{\mathcal{B}}: for BBB\in\mathcal{B} and xBx\in B, the set BB itself satisfies xBBx\in B\subseteq B. Finally, that B\mathcal{B} is a base is exactly the defining formula for OB\mathcal{O}_{\mathcal{B}}.

Example 5.3The order topology

Let (X,)(X,\le) be a totally ordered set with at least two elements. For a,bXa,b\in X put

(a,b)={xX:a<x<b},(,b)={xX:x<b},(a,)={xX:a<x}(a,b)=\{x\in X: a < x < b\},\qquad (\leftarrow,b)=\{x\in X: x < b\},\qquad (a,\rightarrow)=\{x\in X: a < x\}

and let B\mathcal{B} be the family of all of these (open intervals and open half-lines). Let us check (B1). Given xXx\in X, choose an element yy different from xx; by totality either y<xy < x or x<yx < y, and in the first case x(y,)x\in(y,\rightarrow), in the second x(,y)x\in(\leftarrow,y). Condition (B2) follows from the fact that the intersection of two members of B\mathcal{B} is again a member of B\mathcal{B} or is empty. For instance (a,b)(c,d)=(max{a,c},min{b,d})(a,b)\cap(c,d)=(\max\{a,c\},\min\{b,d\}) (in a totally ordered set the maximum and minimum of two elements exist), and if this is non-empty it may itself serve as B3B_3. The cases of two half-lines, or of a half-line and an interval, are similar. The resulting topology is called the order topology.

For X=RX=\mathbb{R} the order topology coincides with the topology determined by the Euclidean metric. Indeed, an open ball is the open interval B(x,r)=(xr,x+r)B(x,r)=(x-r,x+r); conversely an open interval is an open ball, (a,b)=B(a+b2,ba2)(a,b)=B\bigl(\frac{a+b}{2},\frac{b-a}{2}\bigr), and a half-line is a union of open intervals, (a,)=n1(a,a+n)(a,\rightarrow)=\bigcup_{n\ge1}(a,a+n) (by the Archimedean property, every real number greater than aa is less than some a+na+n). So each base is contained in the other topology and the two topologies agree.

For X=ZX=\mathbb{Z} the order topology is the discrete topology, since for every nZn\in\mathbb{Z} the basic open set (n1,n+1)(n-1,\,n+1) equals {n}\{n\}. Even under one and the same recipe, “the order topology”, the space produced depends entirely on the order one starts from.

Example 5.4The Zariski topology and the cofinite topology

Let kk be a field with infinitely many elements (R\mathbb{R} or C\mathbb{C} will do) and put X=kX=k. For a polynomial fk[T]f\in k[T] write V(f)={ak:f(a)=0}V(f)=\{a\in k: f(a)=0\} for its zero set. If f0f\ne 0, then V(f)V(f) is a finite set with at most degf\deg f elements; if f=0f=0, then V(0)=kV(0)=k. Conversely, a finite set {a1,,am}\{a_1,\dots,a_m\} is realised as the zero set of f(T)=i=1m(Tai)f(T)=\prod_{i=1}^{m}(T-a_i). Hence the collection of “zero sets of polynomials” coincides with the collection of “finite sets, together with all of kk”.

We declare these to be the closed sets. That is, UXU\subseteq X is called open when U=U=\emptyset or XUX\setminus U is finite. This is the Zariski topology in one variable, also called the cofinite topology. The axioms are easier to verify on the side of closed sets ((C1), (C2), (C3) of Proposition 4.3).

(C1): \emptyset is finite, hence closed; XX equals V(0)V(0), hence closed. (C2): given a family {Fλ}λΛ\{F_\lambda\}_{\lambda\in\Lambda} of closed sets with Λ\Lambda\ne\emptyset, if every FλF_\lambda equals XX then the intersection is XX, which is closed; if even one of them is finite, the intersection is a subset of that finite set, hence finite and therefore closed. (C3): for a union of finitely many closed sets, if all of them are finite then the union is a finite union of finite sets, hence finite; and if even one of them is XX then the union is XX. In either case the union is closed.

The striking feature of this topology is that, when XX is infinite, any two non-empty open sets meet. Indeed, for non-empty open U,VU,V the set X(UV)=(XU)(XV)X\setminus(U\cap V)=(X\setminus U)\cup(X\setminus V) is a union of two finite sets, hence finite, and since XX is infinite we get UVU\cap V\ne\emptyset. By Proposition 3.5 this topology is therefore not metrisable. Nevertheless every singleton is closed (being finite), and in algebraic geometry this is the right tool. In a world where only sets carved out by polynomials are “visible”, every open set is enormous.

In general, for nn variables one declares the common zero set V(S)={akn:fS, f(a)=0}V(S)=\{a\in k^n: \forall f\in S,\ f(a)=0\} of a family of polynomials Sk[T1,,Tn]S\subseteq k[T_1,\dots,T_n] to be closed. For n2n\ge2 the closed sets are no longer just the finite sets; for instance V(T1)V(T_1) is a line in k2k^2.

6. Neighbourhoods, interior, closure and boundary

Section titled “6. Neighbourhoods, interior, closure and boundary”

Once a topology is given, naive phrases such as “around a point”, “the inside of a set” and “the rim of a set” can be given exact meanings. Throughout this section (X,O)(X,\mathcal{O}) is a topological space.

Definition 6.1Neighbourhood

Let xXx\in X. A subset VXV\subseteq X is a neighbourhood of xx when there exists an open set UOU\in\mathcal{O} with xUVx\in U\subseteq V. The set of all neighbourhoods of xx is denoted N(x)\mathcal{N}(x). In particular an open set containing xx is a neighbourhood of xx, called an open neighbourhood of xx.

Remark 6.2

Some books define “neighbourhood” so as to mean an open set (their neighbourhoods are what we call open neighbourhoods). The statements below hold under either convention: if VN(x)V\in\mathcal{N}(x), one can choose an open neighbourhood UU with xUVx\in U\subseteq V, so every condition phrased in terms of neighbourhoods can be rephrased in terms of open neighbourhoods.

In a metric space, VV is a neighbourhood of xx if and only if B(x,r)VB(x,r)\subseteq V for some r>0r>0. Indeed, in the first case there is an open set UU with xUVx\in U\subseteq V, and by the definition of an open set (Definition 3.1) there is r>0r>0 with B(x,r)UVB(x,r)\subseteq U\subseteq V. In the second case B(x,r)B(x,r) is itself an open neighbourhood by Proposition 3.2.

Definition 6.3Interior, closure and boundary

For AXA\subseteq X put

A={UO:UA},A={FX:F is closed, AF},A=AAA^{\circ}=\bigcup\{\,U\in\mathcal{O} : U\subseteq A\,\},\qquad \overline{A}=\bigcap\{\,F\subseteq X : F \text{ is closed},\ A\subseteq F\,\},\qquad \partial A=\overline{A}\setminus A^{\circ}

and call these, in order, the interior, the closure and the boundary of AA. Members of AA^{\circ} are interior points of AA, members of A\overline{A} are adherent points, members of A\partial A are boundary points, and members of (XA)(X\setminus A)^{\circ} are exterior points.

The intersection defining the closure is not an intersection over the empty family: XX is closed and satisfies AXA\subseteq X, so the family contains at least XX. Consequently (C2) of Proposition 4.3 applies.

Theorem 6.4Basic properties of interior and closure

Let (X,O)(X,\mathcal{O}) be a topological space and AXA\subseteq X.

  1. AA^{\circ} is open with AAA^{\circ}\subseteq A, and if UU is open with UAU\subseteq A then UAU\subseteq A^{\circ}. That is, AA^{\circ} is the largest open set contained in AA. In particular AA is open if and only if A=AA=A^{\circ}.
  2. A\overline{A} is closed with AAA\subseteq\overline{A}, and if FF is closed with AFA\subseteq F then AF\overline{A}\subseteq F. That is, A\overline{A} is the smallest closed set containing AA. In particular AA is closed if and only if A=AA=\overline{A}.
  3. xAx\in A^{\circ} if and only if AA is a neighbourhood of xx.
  4. xAx\in\overline{A} if and only if VAV\cap A\ne\emptyset for every neighbourhood VV of xx.
  5. XA=(XA)X\setminus\overline{A}=(X\setminus A)^{\circ} and XA=XAX\setminus A^{\circ}=\overline{X\setminus A}.
  6. XX is partitioned into the three pairwise disjoint parts AA^{\circ}, A\partial A and (XA)(X\setminus A)^{\circ}.
Proof(Theorem 6.4)

(1) AA^{\circ} is a union of a family of open sets, hence open by (O2) (Definition 4.1). Each UU occurring in the union satisfies UAU\subseteq A, so AAA^{\circ}\subseteq A. And if UU is open with UAU\subseteq A, then UU is one of the terms of the union, so UAU\subseteq A^{\circ}. If AA is open we may take U=AU=A, giving AAAA\subseteq A^{\circ}\subseteq A, i.e. A=AA=A^{\circ}. Conversely, if A=AA=A^{\circ} then AA is open.

(2) A\overline{A} is an intersection of a (non-empty) family of closed sets, hence closed by (C2) of Proposition 4.3. Each FF occurring in the intersection satisfies AFA\subseteq F, so AAA\subseteq\overline{A}. If FF is closed with AFA\subseteq F, then FF is one of the terms of the intersection, so AF\overline{A}\subseteq F. If AA is closed we may take F=AF=A, giving AAA\overline{A}\subseteq A\subseteq\overline{A}, i.e. A=AA=\overline{A}. Conversely, if A=AA=\overline{A} then AA is closed.

(3) If AA is a neighbourhood of xx, there is an open UU with xUAx\in U\subseteq A, and by (1) UAU\subseteq A^{\circ}, so xAx\in A^{\circ}. Conversely, if xAx\in A^{\circ}, then AA^{\circ} is open by (1) and satisfies xAAx\in A^{\circ}\subseteq A, so AA is a neighbourhood of xx by Definition 6.1.

(4) It suffices to prove that xAx\notin\overline{A} if and only if there is a neighbourhood VV of xx with VA=V\cap A=\emptyset; the assertion then follows by contraposition.

If xAx\notin\overline{A}, then by the definition of the intersection there is a closed set FF with AFA\subseteq F and xFx\notin F. Put U=XFU=X\setminus F; then UU is open with xUx\in U, and AFA\subseteq F gives UAUF=U\cap A\subseteq U\cap F=\emptyset. This UU is a neighbourhood of xx.

Conversely, suppose VN(x)V\in\mathcal{N}(x) satisfies VA=V\cap A=\emptyset. Choose an open UU with xUVx\in U\subseteq V; then UAVA=U\cap A\subseteq V\cap A=\emptyset. The set F=XUF=X\setminus U is closed, and UA=U\cap A=\emptyset gives AFA\subseteq F, so by the minimality in (2) we get AF\overline{A}\subseteq F. Since xUx\in U, i.e. xFx\notin F, we conclude xAx\notin\overline{A}.

(5) Closed sets FF and open sets U=XFU=X\setminus F correspond bijectively, and AFA\subseteq F is equivalent to UXAU\subseteq X\setminus A (just take complements on both sides). Hence by De Morgan’s laws

XA=X{F:F closed, AF}={XF:F closed, AF}={UO:UXA}=(XA),X\setminus\overline{A}=X\setminus\bigcap\{F : F \text{ closed},\ A\subseteq F\}=\bigcup\{X\setminus F : F \text{ closed},\ A\subseteq F\}=\bigcup\{U\in\mathcal{O} : U\subseteq X\setminus A\}=(X\setminus A)^{\circ},

which proves the first identity. For the second, replace AA by XAX\setminus A in the first identity to get XXA=(X(XA))=AX\setminus\overline{X\setminus A}=(X\setminus(X\setminus A))^{\circ}=A^{\circ}, and take complements on both sides.

(6) By the first identity in (5) we have XA=(XA)X\setminus\overline{A}=(X\setminus A)^{\circ}, so XX is the disjoint union of A\overline{A} and (XA)(X\setminus A)^{\circ}. Moreover AAAA^{\circ}\subseteq A\subseteq\overline{A} (by (1) and (2)), so by the definition A=AA\partial A=\overline{A}\setminus A^{\circ} the set A\overline{A} is the disjoint union of AA^{\circ} and A\partial A. Combining the two, XX is the disjoint union of the three sets AA^{\circ}, A\partial A and (XA)(X\setminus A)^{\circ}.

Statement (4) may be read as: the closure is the set of points at which AA is visible no matter how small a neighbourhood one peers through. The definition (the smallest closed set) is convenient for computation and (4) for verification, and the ability to pass back and forth between the two is the source of computational power in topology. In a metric space one may replace neighbourhoods by open balls and translate further into the language of sequences.

Corollary 6.5Closure and sequences in a metric space

Let (X,d)(X,d) be a metric space, AXA\subseteq X and xXx\in X. The following three conditions are equivalent.

  • (a) xAx\in\overline{A}.
  • (b) B(x,r)AB(x,r)\cap A\ne\emptyset for every r>0r>0.
  • (c) There exists a sequence (an)n1(a_n)_{n\ge1} in AA with d(an,x)0d(a_n,x)\to 0.
Proof(Corollary 6.5)

(a) \Leftrightarrow (b): This follows from (4) of Theorem 6.4 together with the equivalence, valid in metric spaces, of ”VV is a neighbourhood of xx” and ”B(x,r)VB(x,r)\subseteq V for some r>0r>0” (Remark 6.2). Indeed, assuming (a), each B(x,r)B(x,r) is a neighbourhood of xx and therefore meets AA; assuming (b), every neighbourhood VV contains some B(x,r)B(x,r), so VAB(x,r)AV\cap A\supseteq B(x,r)\cap A\ne\emptyset.

(b) \Rightarrow (c): For each n1n\ge1 we have B(x,1/n)AB(x,1/n)\cap A\ne\emptyset, so choose a point ana_n from it (this uses the axiom of countable choice). Since d(an,x)<1/nd(a_n,x) < 1/n, we get d(an,x)0d(a_n,x)\to0.

(c) \Rightarrow (b): Given r>0r>0, from d(an,x)0d(a_n,x)\to0 there is an nn with d(an,x)<rd(a_n,x) < r. This ana_n belongs to B(x,r)AB(x,r)\cap A.

In particular, AA is closed if and only if the limit of every convergent sequence in AA lies in AA (by (2) of Theorem 6.4 together with the equivalence above). The habit in analysis of testing closedness by limits of sequences rests on this corollary (Completeness of the real numbers and Cauchy sequences). This sequential criterion, however, is available because we are in a metric space; it fails in a general topological space.

Example 6.6Computing closures, interiors and boundaries

(1) Q\mathbb{Q} inside R\mathbb{R} (usual topology). For every xRx\in\mathbb{R} and every r>0r>0 the interval (xr,x+r)(x-r,x+r) contains a rational number (density of the rationals(Theorem 5.2)[Completeness of the Real Numbers and Cauchy Sequences]). Hence xQx\in\overline{\mathbb{Q}} by (b) of Corollary 6.5, and Q=R\overline{\mathbb{Q}}=\mathbb{R}. On the other hand, every non-empty open set contains an open interval, and every open interval contains an irrational number, so no non-empty open set is contained in Q\mathbb{Q}. Hence Q=\mathbb{Q}^{\circ}=\emptyset. Therefore Q=QQ=R\partial\mathbb{Q}=\overline{\mathbb{Q}}\setminus\mathbb{Q}^{\circ}=\mathbb{R}, and Q\mathbb{Q} is a set all of whose points are boundary points.

(2) The same set, different topologies. We examine A={0}RA=\{0\}\subseteq\mathbb{R} under four topologies.

TopologyA\overline{A}AA^{\circ}A\partial A
usual (Euclidean){0}\{0\}\emptyset{0}\{0\}
discrete{0}\{0\}{0}\{0\}\emptyset
indiscreteR\mathbb{R}\emptysetR\mathbb{R}
cofinite{0}\{0\}\emptyset{0}\{0\}

Here are the reasons, in order. In the usual topology R{0}=(,0)(0,)\mathbb{R}\setminus\{0\}=(-\infty,0)\cup(0,\infty) is open, so {0}\{0\} is closed and A=A\overline{A}=A; and no non-empty open set is contained in {0}\{0\}, so A=A^{\circ}=\emptyset. In the discrete topology every set is both open and closed. In the indiscrete topology the only closed sets are \emptyset and R\mathbb{R}, so A=R\overline{A}=\mathbb{R}, and the only open set contained in AA is \emptyset. In the cofinite topology finite sets are closed, so A=A\overline{A}=A, and non-empty open sets are infinite, hence not contained in {0}\{0\}, so A=A^{\circ}=\emptyset. Neither closure nor interior is determined by the set alone; both depend on the topology.

(3) The closed disc in the plane. Equip R2\mathbb{R}^2 with the Euclidean metric and put A={pR2:p1}A=\{p\in\mathbb{R}^2:\|p\|\le1\}. If p<1\|p\| < 1, then for r=1p>0r=1-\|p\|>0 and qB(p,r)q\in B(p,r) we have qp+qp<p+r=1\|q\|\le\|p\|+\|q-p\| < \|p\|+r=1, so B(p,r)AB(p,r)\subseteq A and pp is an interior point. If p=1\|p\|=1, then for every r>0r>0 we have pB(p,r)Ap\in B(p,r)\cap A, while q=(1+r/2)pq=(1+r/2)p satisfies qp=r/2<r\|q-p\|=r/2 < r and q=1+r/2>1\|q\|=1+r/2>1, so B(p,r)B(p,r) also contains points outside AA. Hence pp is a boundary point. If p>1\|p\|>1, the same computation with r=p1r=\|p\|-1 gives B(p,r)A=B(p,r)\cap A=\emptyset, so pp is an exterior point. In summary, A={p<1}A^{\circ}=\{\|p\| < 1\}, A=A\overline{A}=A and A={p=1}\partial A=\{\|p\|=1\}.

x₁ (interior)x₂ (boundary)x₃ (exterior)A
An interior point x1, a boundary point x2 and an exterior point x3 for the closed disc A. The dashed circles are sufficiently small open balls around each point. A ball around an interior point is contained in A, a ball around an exterior point misses A, and a ball around a boundary point meets both A and its complement no matter how small it is.

Exercise 7.1Easy

Equip R\mathbb{R} with the usual topology and put A=(0,1){2}([3,4]Q)A=(0,1)\cup\{2\}\cup\bigl([3,4]\cap\mathbb{Q}\bigr). Determine AA^{\circ}, A\overline{A} and A\partial A.

Solution

Interior. The set (0,1)(0,1) is open and contained in AA, so (0,1)A(0,1)\subseteq A^{\circ} by (1) of Theorem 6.4. Conversely we show A(0,1)A^{\circ}\subseteq(0,1). The point 22 is not an interior point: for every r>0r>0 the number 2+min{r,1}/22+\min\{r,1\}/2 lies in B(2,r)B(2,r), but it is greater than 22 and less than 33, hence not in AA. No point xx of [3,4]Q[3,4]\cap\mathbb{Q} is an interior point either: for every r>0r>0 the ball B(x,r)=(xr,x+r)B(x,r)=(x-r,x+r) contains an irrational number, and no irrational number lies in AA here (the only irrationals in AA are those in (0,1)(0,1), but x3x\ge3, so taking r1r\le 1 gives B(x,r)(0,1)=B(x,r)\cap(0,1)=\emptyset). Hence A=(0,1)A^{\circ}=(0,1).

Closure. Using the result of Exercise 7.3 (the closure of a finite union is the union of the closures), A=(0,1){2}[3,4]Q\overline{A}=\overline{(0,1)}\cup\overline{\{2\}}\cup\overline{[3,4]\cap\mathbb{Q}}. First, (0,1)=[0,1]\overline{(0,1)}=[0,1]: the set [0,1][0,1] is closed and contains (0,1)(0,1), so (0,1)[0,1]\overline{(0,1)}\subseteq[0,1], and conversely every neighbourhood of 00 or of 11 meets (0,1)(0,1), so both are adherent points. Next, {2}\{2\} is closed, so {2}={2}\overline{\{2\}}=\{2\}. Finally [3,4]Q=[3,4]\overline{[3,4]\cap\mathbb{Q}}=[3,4]: the set [3,4][3,4] is closed and contains [3,4]Q[3,4]\cap\mathbb{Q}, and conversely every neighbourhood of a point x[3,4]x\in[3,4] contains an interval around xx, which contains a rational number lying in [3,4][3,4] (density of the rationals; even for x=3x=3 or x=4x=4 a rational can be taken on the [3,4][3,4] side). Hence A=[0,1]{2}[3,4]\overline{A}=[0,1]\cup\{2\}\cup[3,4].

Boundary. A=AA=([0,1]{2}[3,4])(0,1)={0,1,2}[3,4]\partial A=\overline{A}\setminus A^{\circ}=\bigl([0,1]\cup\{2\}\cup[3,4]\bigr)\setminus(0,1)=\{0,1,2\}\cup[3,4].

Exercise 7.2Standard

Show that the three metrics d1d_1, d2d_2 and dd_\infty on Rn\mathbb{R}^n (Example 2.3) determine one and the same family of open sets.

Solution

We first record a lemma. Let dd and dd' be metrics on XX and suppose there is a constant C>0C>0 with d(x,y)Cd(x,y)d(x,y)\le C\,d'(x,y) for all x,yx,y. Then every dd-open set is dd'-open. Indeed, let UU be dd-open and xUx\in U; there is r>0r>0 with Bd(x,r)UB_d(x,r)\subseteq U. If d(x,y)<r/Cd'(x,y) < r/C, then d(x,y)Cd(x,y)<rd(x,y)\le C\,d'(x,y) < r, so Bd(x,r/C)Bd(x,r)UB_{d'}(x,r/C)\subseteq B_d(x,r)\subseteq U and UU is dd'-open.

Apply the lemma to the chain dd2d1ndd_\infty\le d_2\le d_1\le n\,d_\infty established in Example 2.3. From d1d2d_\infty\le 1\cdot d_2 every dd_\infty-open set is d2d_2-open; from d21d1d_2\le 1\cdot d_1 every d2d_2-open set is d1d_1-open; from d1ndd_1\le n\,d_\infty every d1d_1-open set is dd_\infty-open. That is,

OdOd2Od1Od,\mathcal{O}_{d_\infty}\subseteq\mathcal{O}_{d_2}\subseteq\mathcal{O}_{d_1}\subseteq\mathcal{O}_{d_\infty},

a cycle of inclusions, so all three coincide. The unit balls of the three metrics have different shapes, yet the topologies they determine are the same. That “which metric one uses” can be invisible at the level of topology is an important phenomenon.

Exercise 7.3Standard

Let (X,O)(X,\mathcal{O}) be a topological space and A,BXA,B\subseteq X.

  1. Show that AB=AB\overline{A\cup B}=\overline{A}\cup\overline{B}.
  2. Show that ABAB\overline{A\cap B}\subseteq\overline{A}\cap\overline{B}, and give an example in which equality fails.
Solution

As a preparation we prove monotonicity. If ABA\subseteq B, then ABBA\subseteq B\subseteq\overline{B} and B\overline{B} is closed, so the minimality in (2) of Theorem 6.4 gives AB\overline{A}\subseteq\overline{B}.

1. (\supseteq) From AABA\subseteq A\cup B and monotonicity, AAB\overline{A}\subseteq\overline{A\cup B}, and likewise BAB\overline{B}\subseteq\overline{A\cup B}, so the union is contained as well. (\subseteq) The set AB\overline{A}\cup\overline{B} is a union of two closed sets, hence closed by (C3) of Proposition 4.3, and it contains ABA\cup B. So the minimality in (2) gives ABAB\overline{A\cup B}\subseteq\overline{A}\cup\overline{B}. This proves equality. The same argument extends by induction to finitely many sets, but it fails for infinitely many: in Q=qQ{q}\mathbb{Q}=\bigcup_{q\in\mathbb{Q}}\{q\} each term has closure {q}\{q\} and the union of these closures is Q\mathbb{Q}, whereas the closure on the left is R\mathbb{R}.

2. From ABAA\cap B\subseteq A and monotonicity, ABA\overline{A\cap B}\subseteq\overline{A}, and likewise ABB\overline{A\cap B}\subseteq\overline{B}, so ABAB\overline{A\cap B}\subseteq\overline{A}\cap\overline{B}. For an example where equality fails, take A=(0,1)A=(0,1) and B=(1,2)B=(1,2) in R\mathbb{R} with its usual topology. Since AB=A\cap B=\emptyset, the left-hand side is =\overline{\emptyset}=\emptyset, while the right-hand side is [0,1][1,2]={1}[0,1]\cap[1,2]=\{1\}. A more extreme example is A=QA=\mathbb{Q}, B=RQB=\mathbb{R}\setminus\mathbb{Q}, where the left-hand side is \emptyset and the right-hand side is RR=R\mathbb{R}\cap\mathbb{R}=\mathbb{R}.

Exercise 7.4Hard

Let XX be an infinite set with the cofinite topology (Example 5.4).

  1. Show that for every AXA\subseteq X one has A=A\overline{A}=A if AA is finite and A=X\overline{A}=X if AA is infinite.
  2. Show that every non-empty open set UU is dense, that is, U=X\overline{U}=X.
  3. Show that although every singleton is closed, two distinct points cannot be separated by disjoint open sets.
Solution

1. If AA is finite, it is closed by the definition of the cofinite topology, so A=A\overline{A}=A by (2) of Theorem 6.4. Now suppose AA is infinite. Let FF be a closed set with AFA\subseteq F; then FF is either finite or equal to XX. If FF were finite, its subset AA would be finite too, contrary to hypothesis. Hence F=XF=X is the only possibility, and as an intersection of closed sets A=X\overline{A}=X.

2. Let UU be a non-empty open set, so that XUX\setminus U is finite. If UU were finite, then X=U(XU)X=U\cup(X\setminus U) would be a union of two finite sets, contradicting the infinitude of XX. Hence UU is infinite, and by part 1, U=X\overline{U}=X.

3. A singleton {x}\{x\} is finite, hence closed (this property is called the T1T_1 axiom). On the other hand, for distinct points xyx\ne y, take open sets with xUx\in U and yVy\in V; both are non-empty, so UVU\cap V\ne\emptyset as shown in Example 5.4. Hence separation is impossible. Combined with Proposition 3.5, this confirms once more that the topology is not metrisable. In other words, “points are closed” is only a weak fragment of what holds in a metric space. The framework that measures the strength of separation in stages is treated in Separation axioms and metrisability.

  • Matsuzaka Kazuo, Shūgō・Isō Nyūmon (Introduction to Sets and Topology), Iwanami Shoten, 1968 (in Japanese) — a standard Japanese text building carefully from the preliminaries on set theory up through metric and topological spaces. The material of this article corresponds to its chapter on topological spaces.
  • Uchida Fuichi, Shūgō to Isō (Sets and Topology), Shokabo, 1986 (in Japanese) — explains the passage from open sets in a metric space to the axioms for a topology, with many examples.
  • J. R. Munkres, Topology, 2nd ed., Prentice Hall, 2000 — Chapter 2 (Topological Spaces and Continuous Functions). Its treatment of bases, the order topology, closures and limit points is close to the organisation of this article, and it is rich in exercises.
  • J. L. Kelley, General Topology, Van Nostrand, 1955 — Chapter 1. Collects the characterisations of a topology by closure operators and by neighbourhood systems.
  • M. Fréchet, “Sur quelques points du calcul fonctionnel”, Rendiconti del Circolo Matematico di Palermo 22 (1906), 1–74 — the original paper introducing the notion of a metric space.
  • C. Kuratowski, “Sur l’opération A\overline{A} de l’Analysis Situs”, Fundamenta Mathematicae 3 (1922) — the original paper on the closure axioms treated in the Appendix.

Appendix: Building a topology from the closure operator

Section titled “Appendix: Building a topology from the closure operator”

There is more than one way to specify a topology. In the main text we specified a topology by giving a family of open sets, but giving a family of closed sets amounts to the same thing. Every step in the proof of Proposition 4.3 is an equivalence obtained from De Morgan’s laws, so the argument can be run backwards: given a family F\mathcal{F} satisfying (C1), (C2) and (C3), the family O={XF:FF}\mathcal{O}=\{X\setminus F : F\in\mathcal{F}\} is a topology whose closed sets are exactly F\mathcal{F}. Hausdorff’s 1914 definition by neighbourhood systems is likewise equivalent. Here we present the approach that axiomatises the operation of taking closures itself, due to Kuratowski in 1922.

Theorem 7.5Kuratowski's closure axioms

Let XX be a set and suppose c ⁣:P(X)P(X)c\colon\mathfrak{P}(X)\to\mathfrak{P}(X) satisfies the following four conditions.

  • (K1) c()=c(\emptyset)=\emptyset.
  • (K2) Ac(A)A\subseteq c(A) for every AXA\subseteq X.
  • (K3) c(c(A))=c(A)c(c(A))=c(A) for every AXA\subseteq X.
  • (K4) c(AB)=c(A)c(B)c(A\cup B)=c(A)\cup c(B) for all A,BXA,B\subseteq X.

Then there is exactly one topology on XX whose family of closed sets is F={AX:c(A)=A}\mathcal{F}=\{A\subseteq X : c(A)=A\}, and the closure A\overline{A} with respect to that topology coincides with c(A)c(A) for every AXA\subseteq X.

Proof(Theorem 7.5)

We begin by deriving monotonicity. If ABA\subseteq B, then B=ABB=A\cup B, so (K4) gives c(B)=c(AB)=c(A)c(B)c(A)c(B)=c(A\cup B)=c(A)\cup c(B)\supseteq c(A).

Next we show that F\mathcal{F} satisfies (C1), (C2) and (C3) of Proposition 4.3.

(C1): By (K1) we have c()=c(\emptyset)=\emptyset, so F\emptyset\in\mathcal{F}. Also c(X)Xc(X)\subseteq X because the values of cc lie in P(X)\mathfrak{P}(X), and Xc(X)X\subseteq c(X) by (K2); hence c(X)=Xc(X)=X, that is, XFX\in\mathcal{F}.

(C3): If F1,F2FF_1,F_2\in\mathcal{F}, then (K4) gives c(F1F2)=c(F1)c(F2)=F1F2c(F_1\cup F_2)=c(F_1)\cup c(F_2)=F_1\cup F_2, so F1F2FF_1\cup F_2\in\mathcal{F}. The case of finitely many sets follows by induction.

(C2): Let {Fλ}λΛF\{F_\lambda\}_{\lambda\in\Lambda}\subseteq\mathcal{F} with Λ\Lambda\ne\emptyset and put F=λFλF=\bigcap_\lambda F_\lambda. For each λ\lambda we have FFλF\subseteq F_\lambda, so monotonicity gives c(F)c(Fλ)=Fλc(F)\subseteq c(F_\lambda)=F_\lambda. As this holds for every λ\lambda, we get c(F)λFλ=Fc(F)\subseteq\bigcap_\lambda F_\lambda=F. Together with Fc(F)F\subseteq c(F) from (K2) this gives c(F)=Fc(F)=F, that is, FFF\in\mathcal{F}.

Hence O={XF:FF}\mathcal{O}=\{X\setminus F : F\in\mathcal{F}\} is a topology, and its family of closed sets is F\mathcal{F}.

The closures agree. Take AXA\subseteq X and write A\overline{A} for its closure in this topology. By (K3) we have c(c(A))=c(A)c(c(A))=c(A), so c(A)Fc(A)\in\mathcal{F}; that is, c(A)c(A) is closed, and Ac(A)A\subseteq c(A) by (K2). Hence the minimality in (2) of Theorem 6.4 gives Ac(A)\overline{A}\subseteq c(A). Conversely, A\overline{A} is closed, i.e. AF\overline{A}\in\mathcal{F}, and AAA\subseteq\overline{A}, so monotonicity gives c(A)c(A)=Ac(A)\subseteq c(\overline{A})=\overline{A}. Combining the two, c(A)=Ac(A)=\overline{A}.

Uniqueness. A topology is determined by its family of closed sets. If the closure operator of a topology O\mathcal{O}' agrees with cc, then by (2) of Theorem 6.4 the closed sets of O\mathcal{O}' are exactly the sets equal to their own closure, that is, the members of F\mathcal{F}; hence O=O\mathcal{O}'=\mathcal{O}.

Four entrances lead into the same building. Whether one starts from a metric, a family of open sets, a neighbourhood system or a closure operator, one arrives at the same structure, the topological space. Which of them to adopt as the definition is a matter of convenience; open sets are adopted because continuity can then be written most concisely, in the form of Proposition 3.6. In the next article we define such continuous maps between arbitrary topological spaces and go on to homeomorphisms, which supply the notion of “sameness” for topological spaces (Continuous maps and homeomorphisms).

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

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