Romyar SharifiLECTURE NOTES
READING EDITIONPDF

LECTURE NOTES / Chapter 1

Point-Set Topology

Romyar Sharifi

Chapter 1 Topological spaces

Book contents

Chapter 1
Topological spaces

1.1. Topologies

We begin by defining topological spaces.

Definition 1.1.1.

A topology on a set X is a set 𝒯 of subsets of X such that

i.

the empty set and the set X are contained in 𝒯 ,

ii.

if 𝒰 is a subset of 𝒯 , then U𝒰U 𝒯 , and

iii.

if U1,,Un 𝒯 for some n 1, then U1 Un 𝒯 .

In other words, a topology 𝒯 is a collection of subsets of X containing ,X and which is closed under arbitrary unions and finite intersections.

Definition 1.1.2.

A topological space is a pair (X,𝒯 ) consisting of a set X and a topology 𝒯 on X.

Definition 1.1.3.

Let X be a set.

a.

The discrete topology on X is the topology equal to the set of all subsets (i.e., the power set) of X. We say that a topological space X is discrete if its topology is the discrete topology on X.

b.

The trivial topology on X is the topology {,X}.

Definition 1.1.4.

Let (X,𝒯 ) be a topological space. A subset U of a topological space X is called open if U 𝒯 .

Terminology 1.1.5.

We often omit the notation of a topology 𝒯 on a topological space X and simply refer to X as a topological space when its topology 𝒯 is understood. At times, we say that a topological space X is endowed with (or has) a topology 𝒯 . We sometimes refer to a topological space more simply as a space.

Definition 1.1.6.

An element of a topological space X is called a point of X.

Example 1.1.7.

A topological space X has the discrete topology if and only if every subset of X is open.

Examples 1.1.8.

a.

Let X = {a,b} be a two-point set. Then there are 4 distinct topologies on X, all equal to {,X}S, where S is some subset of {{a},{b}}.

b.

Let X = {a,b,c} be a three-point set. Then {,{a},{b},X} is not a topology on X, as it is not closed under unions, while {,{a,b},{a,c},X} is not a topology on X, as it is not closed under finite intersections.

Definition 1.1.9.

A set X has a topology under which a nonempty subset U is open if and only if its complement X U = {x XxU} is finite. This topology is known as the finite complement topology on X.

Example 1.1.10.

The Euclidean topology on is the unique topology under which a set is open if it is a union of open intervals. This is a topology as both and are open intervals, any union of unions of open intervals is a union of open intervals, and any finite intersection of open intervals is an open interval (which, as the reader will check, implies that any finite intersection of unions of open intervals is a union of open intervals).

Definition 1.1.11.

If 𝒯 and 𝒯 are topologies on a set X with 𝒯 𝒯 , we say that 𝒯 is finer (or stronger) than 𝒯 , and 𝒯 is coarser (or weaker) than 𝒯 . If, in addition, 𝒯 𝒯 , we say that 𝒯 is strictly finer (or strictly stronger) than 𝒯 , and 𝒯 is strictly coarser (or strictly weaker) than 𝒯 .

Remark 1.1.12.

We think of a topology with more open sets as being finer in that we think of open sets as separating points from each other, so a topology with more open sets is more “fine-grained”, in a sense. The discrete topology is the finest topology on any set, while the trivial topology is the coarsest.

Remark 1.1.13.

The terminology of a “finer” topology including one that may be the same is in some sense unfortunate, but it is the most standard usage.

Example 1.1.14.

Consider the three-point set X = {a,b,c} with topologies 𝒯 1 = {,X}, 𝒯 2 = {,{a},X}, 𝒯 3 = {,{a},{b},{a,b},X}, and 𝒯 4 the discrete topology. Then 𝒯 i+1 is strictly finer than 𝒯 i for each 1 i 3. If we set 𝒯 3 = {,{a},{a,b},{a,c},X}, then 𝒯 3 is strictly finer than 𝒯 1 and 𝒯 2 and strictly coarser than 𝒯 4 but has no such relation with 𝒯 3.

Definition 1.1.15.

An open neighborhood of a point x in a topological space X is an open set containing x. We say that an open neighborhood V of x is an open neighborhood of V in a subset A if V is contained in A.

Lemma 1.1.16.

A subset U of a topological space X is open if and only if every point of U has an open neighborhood in U.

Proof.

If U is open and x U, then U is an open neighborhood of x in U. Conversely, if every point x of a subset U of X has an open neighborhood Vx in U, then U = xUVx, so U is open as a union of open sets in X.

At times, we may wish to speak of closed neighborhoods, in which case the following definition is useful.

Definition 1.1.17.

A neighborhood of a point x in a topological space X is any subset of X containing an open neighborhood of x.

Proposition 1.1.18.

A set of subsets 𝒯 of X is a topology on X if and only if ,X 𝒯 , the set 𝒯 is closed under arbitrary unions, and for all U1,,Un 𝒯 with n 1 and x i=1nUi, there exists an open neighborhood of x contained in i=1nUi.

Proof.

Suppose that U1,,Un 𝒯 for some n 1, and set W = i=1nUi. If 𝒯 is a topology, then W is open, so we may take W to be the open neighborhood of the proposition. If on the other hand we have that for each x W, there exists an open neighborhood Vx of x in W, then W = xW Vx is an element of 𝒯 if 𝒯 is closed under unions. Thus, 𝒯 is a topology under the conditions of the proposition.

Notation 1.1.19.

Given a set X and a subset A, we write Ac for the complement X A of A when X is understood.

Definition 1.1.20.

A subset A of a topological space X is closed, or a closed subset of X, if its complement X A is a open.

Examples 1.1.21.

a.

Every subset of a discrete space is closed.

b.

The only closed subsets of a space X with the trivial topology are and X.

c.

In with its Euclidean topology, closed intervals are closed subsets, as are their finite unions. Some but not all infinite unions of closed intervals are also closed: e.g., the set of integers inside is an infinite union of closed intervals of length zero that is closed.

Proposition 1.1.22.

Let X be a set. A set 𝒯 of subsets of X forms topology on X if and only if the set 𝒞 = {UcU 𝒯 } has the properties that it contains and X, intersections of elements of 𝒞 are contained in 𝒞, and finite unions of elements of 𝒞 are contained in 𝒞.

Proof.

Let 𝒯 be a set of subsets of X and 𝒞 be the set of complements of elements of 𝒯 . We have = Xc and X = Xc, so ,X 𝒞 if and only if ,X 𝒯 . We have

( A𝒞A)c = A𝒞Ac,

so 𝒞 is closed under intersections if and only if 𝒯 is closed under unions. If A1,,An 𝒞 for some n 1, then

( i=1nA i)c = i=1nA ic,

so 𝒞 is closed under finite unions if and only if 𝒯 is closed under finite intersections. Thus, 𝒯 is a topology if and only if 𝒞 satisfies the conditions of the proposition.

1.2. Subspaces

Definition 1.2.1.

Let (X,𝒯 ) be a topological space and A be a subset of X. The subspace topology on A is the set 𝒯 A = {U AU 𝒯 } of subsets of A.

Definition 1.2.2.

A topological space A with underlying set a subset of a topological space X is called a subspace if its topology is the subspace topology from X.

We verify that the subspace topology on a topological space is in fact a topology.

Proposition 1.2.3.

Let X be a topological space and A be a subset of X. Then the subspace topology on A is a topology on A.

Proof.

Let 𝒯 denote the topology on X and 𝒯 A the subspace topology on A. We have = A 𝒯 A and A = X A 𝒯 A, so 𝒯 A satisfies property (i) of a topology.

If 𝒱 𝒯 A, then for each V 𝒱, there exists UV 𝒯 with V = UV A. We then have

V𝒱V = V𝒱(UV A) = ( V𝒱UV )A 𝒯 A

since V𝒱UV 𝒯 as 𝒯 is a topology. Thus, 𝒯 A satisfies property (ii) of a topology.

If V1,,Vn 𝒯 A for some n 1, then Vi = UiA for some Ui 𝒯 for 1 i n. We then have

i=1nV i = i=1n(U iA) = ( i=1nU i)A 𝒯 A,

since i=1nUi 𝒯 as 𝒯 is a topology. Thus, 𝒯 A satisfies property (iii) of a topology.

The subspace topology on an open subset of a topological space is a subset of the topology on the space.

Proposition 1.2.4.

If X is a topological space and U is an open subset of X, then the subspace topology on U is the set of open subsets of X that are contained in U.

Proof.

If V is an open subset of U, then V = W U for some open subset W of X, so V is open in X as an intersection of two of its open subsets. Conversely, if V is an open subset of X contained in U, then V = V U, so V is open in U as well.

Examples 1.2.5.

a.

Every subspace of a discrete space X is discrete.

b.

The subspace topology on an open interval (a,b) with a < b consists of and all unions of open intervals (a,b) with a a b b.

c.

Consider the four-point set X = {a,b,c,d} with the topology {,{a},{b},{a,b},X}. Then the subspace topology on {a,b} is the discrete topology, while the subspace topology on {c,d} is the trivial topology.

The reader may check the following lemma.

Lemma 1.2.6.

Let A be a closed subset of a topological space X. Then the closed sets of A under the subspace topology are exactly the intersections of closed subsets of X with A.

Terminology 1.2.7.

An open (resp., closed) subset of a topological space X, when endowed with the subspace topology, is called an open (resp., closed) subspace of X.

1.3. Bases

Definition 1.3.1.

A subset B of a topology 𝒯 on a topological space X is said to be a base, or basis, for the topology 𝒯 on X if every open set U 𝒯 is a (possibly empty) union of elements of B.

Example 1.3.2.

The set of open intervals in is a base for the Euclidean topology on .

Example 1.3.3.

If X is a set with the discrete topology, then the set {{x}x X} is a base of the topology on X.

Definition 1.3.4.

We say that a set 𝒮 of subsets of X covers a subset A of X if A S𝒮S, and 𝒮 is a cover of A if 𝒮 covers A.

Theorem 1.3.5.

Let X be a set, and let B be a set of subsets of X such that

i.

B covers X and

ii.

for every U,V B and x U V, there exists W B with x W and W U V.

Then the collection

𝒯 = { U𝒞U𝒞 B}

of arbitrary unions of elements of B is a topology on X, and B is a base for the topology 𝒯 . Moreover, if X is a topological space and B is a base of open sets in X, then 𝒯 is the topology on X.

Proof.

If 𝒯 is a topology, then B will by definition be a base, so we need only verify that 𝒯 is a topology. Note that is the empty union of elements of B and X 𝒯 by property (i) of B. We also have that 𝒯 is closed under arbitrary unions, as its elements are just the arbitrary unions of elements of B. To check that 𝒯 is closed under finite intersections, it suffices by recursion to show that it is closed under intersections of two elements, so let U1,U2 𝒯 . Any x U1 U2 lies in the intersection of some V1 B contained in U1 and some V2 B contained in U2. So, by property (ii) of B, there exists W B with

x W V1 V2 U1 U2.

Since B 𝒯 , we have W 𝒯 as well. By Proposition 1.1.18, the set 𝒯 is a topology on X.

If X is a topological space with topology 𝒯 and B is a base of open sets in X, then both 𝒯 above and the topology 𝒯 are the set of unions of elements of B, the first by definition of 𝒯 , and the second by definition of a base, so 𝒯 = 𝒯 .

Definition 1.3.6.

The topology 𝒯 on a set X given by arbitrary unions of elements of a set of subsets B of X satisfying the two conditions of Theorem 1.3.5 is called the topology generated by the base B. We say that B generates the topology 𝒯 .

We may now easily define the Euclidean topology on n.

Example 1.3.7.

The Euclidean topology on n is the topology generated by the base consisting of open balls in n of finite radius. To see this is a topology, one need only note that around any point inside any nonempty intersection of two open balls, there exists another open ball.

Definition 1.3.8.

Let X be a topological space. A base of open neighborhoods of a point x is a set Bx of open neighborhoods of x such that for every open neighborhood U of x in X, there exists V Bx with V U. An element of Bx is said to be a basic open neighborhood of x.

Lemma 1.3.9.

Let X be a topological space, and for each x X, let Bx be a base of open neighborhoods of x. Then B = xXBx is a base for the topology on X.

Proof.

Since each Bx is nonempty, we have X = UBU. If U Bx and V By for some x,y X and z U V, then there exists W Bz with W U V. By Theorem 1.3.5, B is a base for a topology 𝒯 on X. We have 𝒯 𝒯 since every set in B is open and 𝒯 is closed under unions. We claim that 𝒯 is in fact the original topology 𝒯 .

Let W 𝒯 . For x W, since Bx is a base of open neighborhoods of x, there exists Ux Bx with Ux W. Then W 𝒯 by Lemma 1.1.16. Thus 𝒯 = 𝒯 .

Example 1.3.10.

In n, the set of open balls centered at a point x forms a base of open neighborhoods of x.

In fact, any set of subsets of X with union X gives rise to a topology on X.

Definition 1.3.11.

A set 𝒮 of open subsets of a topological space X is called a subbase, or subbasis, for the topology on X if every proper open set in X is a union of finite intersections of elements of 𝒮.

The following is an simple consequence of Theorem 1.3.5.

Proposition 1.3.12.

Let 𝒮 be a set of subsets of X. Let B be the set consisting of X and all finite intersections of elements of 𝒮. Then B is a base for a topology on X for which 𝒮 is a subbase.

Example 1.3.13.

The set of all intervals (a,) and (,b) with a,b is a subbase for the Euclidean topology on .

1.4. Closure

There is a smallest closed set containing a given subset of a topological space, known as its closure.

Definition 1.4.1.

The closure A¯ of a subset A of a topological space X is the intersection of all closed subsets of X containing A.

Lemma 1.4.2.

The closure A¯ of a subset A of X is the smallest closed subset of X containing A in the sense that A¯ is closed and contains A and, if B is a closed subset of X with A B, then A¯ B.

Proof.

First, we remark that A¯ is closed as an intersection of closed sets and contains A, as all of these closed sets contain A. Moreover, if B is closed and contains A, then B contains the intersection A¯ of all closed sets containing A, since B is one of the sets over which the intersection is taken.

Example 1.4.3.

The closure of an open interval (a,b) in is the closed interval [a,b], as [a,b] is a closed set containing (a,b), and none of (a,b), [a,b), and (a,b] is closed.

We have the following alternative characterization of the closure.

Proposition 1.4.4.

Let A be a subset of a topological space X. Then x A¯ if and only if every (open) neighborhood of x in X has nonempty intersection with A.

Proof.

We have x A¯ if and only if x B for all closed sets B containing A. The latter holds if and only if xU for all open sets U Ac. And this holds if and only if every open set U containing x is not contained in Ac, hence has nonempty intersection with A.

Example 1.4.5.

If x (a,b), then clearly every open neighborhood of x intersects (a,b), in particular in x. Any open interval of the form (a𝜖,a+𝜖) intersects (a,b) in {a+δ0 < δ < 𝜖}. Similarly, any interval (b𝜖,b+𝜖) intersects (a,b) in {bδ0 < δ < 𝜖}. On the other hand, if x > b or x < a, then there exists a sufficiently small interval centered at x that does not intersect (a,b). Since every open neighborhood of a point in contains an open interval (centered at the point), Proposition 1.4.4 again tells us that the closure of (a,b) is [a,b].

Definition 1.4.6.

A subset A of a topological space X is dense in X if A¯ = X.

Example 1.4.7.

The rational numbers are dense in with its Euclidean topology. That is, every open interval containing a real number contains a rational number, being that the interval has finite nonzero length.

We also have the notion of an interior of a set.

Definition 1.4.8.

The interior A of a subset A of a topological space X is the union of all open sets of X contained in A.

Note that A = (Ac¯)c by its definition. We then have the following as a consequence of Lemma 1.4.2.

Lemma 1.4.9.

The interior of a subset A of a topological space X is the largest open subset of X contained in A.

We also have a notion of boundary.

Definition 1.4.10.

The boundary ∂𝐴 of a subset A of X is the complement of the interior A of A in the closure A¯.

Example 1.4.11.

In , the closure of an open interval (a,b) with a,b and a < b is the closed interval [a,b], and the interior of [a,b] is (a,b). The boundary of (a,b), or [a,b], is {a}{b}.

Example 1.4.12.

In n, the closure of the open ball of radius 𝜖 about a point x is the closed ball of radius 𝜖 about the point x, while the boundary is the sphere of radius 𝜖 centered at x.

Example 1.4.13.

If X has the trivial topology, then the closure of any nonempty subset A is X, while the interior of A is empty unless A = X. So, any nonempty, proper subset A of X has boundary X, whereas the boundary of X is empty.

Example 1.4.14.

Consider the three-point set X = {a,b,c} with topology

𝒯 = {,{a},{a,b},{a,c},X}.

The closed sets of 𝒯 are , {b}, {c}, {b,c}, and X. Thus, the closure of {a} is X, while {b} and {c} are closed.

Remark 1.4.15.

The taking of subspaces can change interiors and closures. For instance, the interior of the closed interval [a,b] with a < b in is (a,b), but its interior in [a,b] is [a,b], since [a,b] is open in [a,b].

1.5. Limit points

Definition 1.5.1.

A point x in a topological space X is called a limit point of a subset A of X if every (open) neighborhood of x intersects A in a point other than x.

The following is a corollary of Proposition 1.4.4.

Lemma 1.5.2.

The closure of a subset A of a topological space X is the union of A and the set of its limit points.

Proof.

By Proposition 1.4.4, if x A¯, then every open neighborhood of x intersects A. If xA, these intersections cannot contain x, so x is a limit point.

Since closed sets are their own closures, we have the following.

Corollary 1.5.3.

Any closed subset A of a topological space contains all of its limit points.

Remark 1.5.4.

In Proposition 1.4.4, we may replace the condition on every open neighborhood with the same condition restricted to open neighborhoods in any base.

One might ask how the notion of a limit point compares to the notion of points to which sequences converge. For this, we need the following definition.

Definition 1.5.5.

A sequence (xn)n1 of points of a topological space X converges to a point x X if for every open neighborhood U of x, there exists N 1 such that xn U for all n N. The point x is said to be a limit of the sequence xn.

Remark 1.5.6.

By definition, a limit of a convergent sequence (xn)n1 that is not eventually constant is a limit point of the set {xnn 1}. However, the latter set may have more then one limit point even if (xn)n1 converges.

Example 1.5.7.

If X has the trivial topology, then every sequence in X converges to every point of X.

To avoid such pathologies as in the previous example, it is useful to put the following condition on a space.

Definition 1.5.8.

A topological space X is called is Hausdorff is for every two distinct points a,b X, there exist open neighborhoods U of a and V of b such that U V = .

More briefly, X is Hausdorff if every two distinct points of X have disjoint neighborhoods. In Hausdorff spaces, points are closed.

Lemma 1.5.9.

In a Hausdorff space X, every singleton set {x} for x X is closed.

Proof.

If x X and a X with xa, then there exists an open neighborhood Ua of a not containing x. As the union of all such open sets Ua is the complement of {x}, the set {x} is closed.

The property of being Hausdorff is stronger than that of points being closed, however.

Example 1.5.10.

In an infinite set X with the finite complement topology, points are closed as the complement of open sets. However, any two nonempty open sets in X intersect in all but finitely many elements of X, so X is not Hausdorff. Moreover, every non-repeating sequence (xn)n1 in X converges to every point of X, as the reader should check using the fact that open sets have finite complements.

Even better, in Hausdorff spaces, every convergent sequence has a unique limit.

Proposition 1.5.11.

Every convergent sequence in a Hausdorff space has a unique limit.

Proof.

If x X is a limit of a convergent sequence (xn)n1 in a Hausdorff space X, then for any y X {x}, we have have disjoint open neighborhoods U of x and V of y. For sufficiently large n, the point xn are all in U, hence not in V, and therefore y is not a limit point of the sequence.

The following is immediate from the definitions.

Lemma 1.5.12.

Every subspace of a Hausdorff space is Hausdorff.

The following characterization of the Hausdorff property is often useful.

Lemma 1.5.13.

A topological space X is Hausdorff if and only if for every two distinct points x,y X, there exists an open neighborhood U of x with yU¯.

Proof.

Let x and y be distinct points of X. We have disjoint open neighborhoods U and V of x and y, respectively, if and only if we have an open neighborhood U of x and a closed neighborhood A containing U and not containing y. That is, we simply take A and V to be complements of each other. But such an A exists if and only if we can take it to be the closure U¯, which is contained in any such A, being the smallest closed set containing U.

1.6. Metric spaces

Metric spaces, and the open balls inside of them, provide fundamental examples of topological spaces. We review the definition here.

Definition 1.6.1.

A metric on a set X is a function d: X ×X 0 such that for all a,b,c X, one has

i.

d(a,b) = 0 if and only if a = b,

ii.

d(a,b) = d(b,a), and

iii.

d(a,c) d(a,b)+d(b,c).

Terminology 1.6.2.

For a set X, the condition d(a,c) d(a,b)+d(b,c) on d: X ×X 0 for all a,b,c X is called the triangle inequality.

Definition 1.6.3.

A pair (X,d) consisting of a set X and a metric d on X is called a metric space.

Notation 1.6.4.

When the metric d on a metric space (X,d) is understood, we often write X for the metric space.

Example 1.6.5.

The set n is a metric space for the distance function d: n×n 0 defined by the Euclidean metric

d(x,y) = i=1 n (xi yi )2

for x = (xi)i=1n and y = (yi)i=1n. We remark that any three points x, y, and z form the vertices of a triangle, and the distances between them are the lengths of the sides, so the triangle inequality reduces to the usual triangle inequality of Euclidean geometry.

Definition 1.6.6.

In a metric space (X,d), the open ball of radius 𝜖 > 0 about a point (or with center) x X is the set

B(x,𝜖) = {y Xd(x,y) < 𝜖}.

The closed ball of radius 𝜖 is

B¯(x,𝜖) = {y Xd(x,y) 𝜖}.

Proposition 1.6.7.

The set of open balls in a metric space X forms a base of a topology on X, and the set of open balls with center x is a base of open neighborhoods of x in this topology.

Proof.

Clearly, the union of open balls in a metric space is X, so by Theorem 1.3.5, it suffices to show that for any two open balls U = B(x,𝜖) and V = B(y,δ) in X and any point z U V, there exists an open ball containing z and contained in U V. For this, choose any positive real number

ρ < min{𝜖 d(x,z),δ d(y,z)}.

Then B(z,ρ) U V by the triangle inequality. That is, if d(z,w) < ρ, then

d(w,x) d(w,z)+d(z,x) < ρ +d(x,z) < 𝜖,

and similarly d(w,y) d(w,z)+d(z,y) < δ. Thus the set of open balls in X form a base.

If x X and U is any open neighborhood of x, then it contains some basic open neighborhood B(y,𝜖) of x, i.e., with d(x,y) < 𝜖. Then B(x,𝜖 d(x,y)) U as in the above argument, so the balls centered at x form a base of open neighborhoods of x.

Definition 1.6.8.

The metric topology on a set X induced by a metric d on X is the topology on X generated by the set of open balls under d.

Lemma 1.6.9.

Let X be a metric space. Then every closed ball B¯(x,𝜖) is closed in the metric topology.

Proof.

It suffices to show that the complement of B¯(x,𝜖) is open. If yB¯(x,𝜖), then δ = d(x,y)𝜖 > 0, and B(y,δ) and B¯(x,𝜖) are disjoint by the triangle inequality. That is, if z B(y,δ), then d(x,z)+δ > d(x,z)+d(z,y) d(x,y), so d(x,z) > 𝜖. Thus, zB¯(x,𝜖).

Two different metrics on a set X can have the same metric topology. Take the following example.

Example 1.6.10.

Consider the Euclidean metric d on n and the box metric d on n defined by

d(x,y) = max{|x iyi|1 i n}

for x = (xi)i=1n,y = (yi)i=1n n. The reader should check that d(x,y) is in fact a metric.

We have bases B(x,𝜖) and B(x,𝜖) of open balls about a point x with respect to these respective metrics. For any y n, we have

max{|xiyi|21 i n} i=1n(x iyi)2 nmax{|x iyi|21 i n},

so

B(x,𝜖) B(x,𝜖) B(x,n𝜖)

for all 𝜖 > 0. Thus, the two metric topologies coincide.

We will often consider a metric space as a topological space endowed with the metric topology. We can then examine the topological properties of metric spaces.

Proposition 1.6.11.

Metric spaces are Hausdorff.

Proof.

Let X be a metric space, and suppose that x,y X are distinct points. Let 𝜖 = 1 2d(x,y). Then B(x,𝜖) and B(y,𝜖) are disjoint by the triangle inequality.

Definition 1.6.12.

A topological space (X,𝒯 ) is metrizable if there exists a metric d on X such that the metric topology induced by d is the topology 𝒯 on X.

The following is a direct corollary of Proposition 1.6.11.

Corollary 1.6.13.

If X is a metrizable topological space, then X is Hausdorff.

Discrete spaces are metric spaces as well.

Definition 1.6.14.

Let X be a set. The discrete metric d on X is defined by

d(x,y) = { 1if xy 0 if x = y.

We have the following.

Lemma 1.6.15.

The discrete metric on a set X is a metric, and the topology induced by this metric is the discrete topology.

Proof.

That d is a metric is straightforward. Since B(x, 1 2) = {x} for all x X, singleton sets are open in this topology, so X is discrete.

The following example shows that even metric spaces can defy our intuition from Euclidean geometry.

Example 1.6.16.

While in any metric space, the closure of the open ball B(x,𝜖) is contained in the closed ball B¯(x,𝜖), the closure of B(x,𝜖) can in fact be smaller. For instance, if (X,d) is a metric space with the discrete metric d, then the set B(x,1) = {x} is both open and closed (as are all subsets of X), while B¯(x,1) = X.

Definition 1.6.17.

A subset A of a metric space X is bounded if there exists N > 0 such that d(x,y) N for all x,y A.

This notion of boundedness is not a topological one.

Lemma 1.6.18.

If (X,d) is a metric space, then the function d: X ×X 0 given by

d(x,y) = min{d(x,y),1}

is a metric on X, and the metric topologies on X from d and d are the same.

Proof.

Let x,y,z X. If d(x,y) 1, then

d(x,y) = d(x,y) min{d(x,z)+d(z,y),1+d(z,y),d(x,z)+1,1+1} = d(x,z)+d(z,y),

by the triangle inequality for the first of the terms in the set and the fact that d(x,y) 1 for the others. If d(x,y) 1, then

d(x,y) = 1 min{d(x,z)+d(z,y),1+d(z,y),d(x,z)+1,1+1} = d(x,z)+d(z,y)

by the triangle inequality for the first term in the set (in that 1 d(x,y) d(x,z)+d(z,y)) and the fact that the other terms are clearly at least one. Thus, d satisfies the triangle inequality, and it clearly satisfies the other two conditions for being a metric.

The open balls of radius less than 1 form a base of any metric topology, as any open ball contains one of these. Since these sets of open balls coincide for d and d, these metrics induce the same topology on X.

Example 1.6.19.

Under the Euclidean metric, is not bounded, but it is with respect to the metric d(x,y) = min{|xy|,1} on . Nevertheless, both of these metrics induces the Euclidean topology.

Sequences in metric spaces behave as one might expect.

Proposition 1.6.20.

Let (X,d) be a metric space. A sequence (xn)n1 in X converges to a X if and only if limnd(a,xn) = 0.

Proof.

If U is an open neighborhood of a, then U contains some open ball B(a,𝜖). If limnd(a,xn) = 0, then there exists N 1 such that d(a,xn) < 𝜖 for all n N, so xn U. Conversely, if (xn)n1 converges to a, then for any 𝜖, there exists N 1 such that xn B(a,𝜖) for n N, which is to say d(a,xn) < 𝜖. Thus, the limit limnd(a,xn) is 0.

Proposition 1.6.21.

Let X be a metrizable space, let A X, and let x X. Then x A¯ if and only if it is the limit of a convergent sequence of elements of A.

Proof.

We need only see that any x A¯ is such a limit. Fix a metric d on X so that we may consider open balls in X. If x A¯, then for any n 1, there exists xn B(x, 1 n)A by definition of A¯. Then the xn converge to x by Proposition 1.6.20.

Find in the notes