Chapter 1
Topological spaces
1.1. Topologies
We begin by defining topological spaces.
Definition 1.1.1. §
A topology on a set is a set of subsets of such that
- i.
-
the empty set and the set are contained in ,
- ii.
-
if is a subset of , then , and
- iii.
-
if for some , then .
In other words, a topology is a collection of subsets of containing and which is closed under arbitrary unions and finite intersections.
Definition 1.1.2. §
A topological space is a pair consisting of a set and a topology on .
Definition 1.1.3. §
Let be a set.
- a.
-
The discrete topology on is the topology equal to the set of all subsets (i.e., the power set) of . We say that a topological space is discrete if its topology is the discrete topology on .
- b.
-
The trivial topology on is the topology .
Definition 1.1.4. §
Let be a topological space. A subset of a topological space is called open if .
Terminology 1.1.5. §
We often omit the notation of a topology on a topological space and simply refer to as a topological space when its topology is understood. At times, we say that a topological space 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 is called a point of .
Example 1.1.7. §
A topological space has the discrete topology if and only if every subset of is open.
Examples 1.1.8. §
- a.
-
Let be a two-point set. Then there are distinct topologies on , all equal to , where is some subset of .
- b.
-
Let be a three-point set. Then is not a topology on , as it is not closed under unions, while is not a topology on , as it is not closed under finite intersections.
Definition 1.1.9. §
A set has a topology under which a nonempty subset is open if and only if its complement is finite. This topology is known as the finite complement topology on .
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 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 with topologies , , , and the discrete topology. Then is strictly finer than for each . If we set , then is strictly finer than and and strictly coarser than but has no such relation with .
Definition 1.1.15. §
An open neighborhood of a point in a topological space is an open set containing . We say that an open neighborhood of is an open neighborhood of in a subset if is contained in .
Lemma 1.1.16. §
A subset of a topological space is open if and only if every point of has an open neighborhood in .
Proof.
If is open and , then is an open neighborhood of in . Conversely, if every point of a subset of has an open neighborhood in , then , so is open as a union of open sets in . □
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 in a topological space is any subset of containing an open neighborhood of .
Proposition 1.1.18. §
A set of subsets of is a topology on if and only if , the set is closed under arbitrary unions, and for all with and , there exists an open neighborhood of contained in .
Proof.
Suppose that for some , and set . If is a topology, then is open, so we may take to be the open neighborhood of the proposition. If on the other hand we have that for each , there exists an open neighborhood of in , then 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 and a subset , we write for the complement of when is understood.
Definition 1.1.20. §
A subset of a topological space is closed, or a closed subset of , if its complement is a open.
Examples 1.1.21. §
- a.
-
Every subset of a discrete space is closed.
- b.
-
The only closed subsets of a space with the trivial topology are and .
- 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 be a set. A set of subsets of forms topology on if and only if the set has the properties that it contains and , intersections of elements of are contained in , and finite unions of elements of are contained in .
Proof.
Let be a set of subsets of and be the set of complements of elements of . We have and , so if and only if . We have
so is closed under intersections if and only if is closed under unions. If for some , then
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 be a topological space and be a subset of . The subspace topology on is the set of subsets of .
Definition 1.2.2. §
A topological space with underlying set a subset of a topological space is called a subspace if its topology is the subspace topology from .
We verify that the subspace topology on a topological space is in fact a topology.
Proposition 1.2.3. §
Let be a topological space and be a subset of . Then the subspace topology on is a topology on .
Proof.
Let denote the topology on and the subspace topology on . We have and , so satisfies property (i) of a topology.
If , then for each , there exists with . We then have
since as is a topology. Thus, satisfies property (ii) of a topology.
If for some , then for some for . We then have
since as is a topology. Thus, 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 is a topological space and is an open subset of , then the subspace topology on is the set of open subsets of that are contained in .
Proof.
If is an open subset of , then for some open subset of , so is open in as an intersection of two of its open subsets. Conversely, if is an open subset of contained in , then , so is open in as well. □
Examples 1.2.5. §
- a.
-
Every subspace of a discrete space is discrete.
- b.
-
The subspace topology on an open interval with consists of and all unions of open intervals with .
- c.
-
Consider the four-point set with the topology . Then the subspace topology on is the discrete topology, while the subspace topology on is the trivial topology.
The reader may check the following lemma.
Lemma 1.2.6. §
Let be a closed subset of a topological space . Then the closed sets of under the subspace topology are exactly the intersections of closed subsets of with .
Terminology 1.2.7. §
An open (resp., closed) subset of a topological space , when endowed with the subspace topology, is called an open (resp., closed) subspace of .
1.3. Bases
Definition 1.3.1. §
A subset of a topology on a topological space is said to be a base, or basis, for the topology on if every open set is a (possibly empty) union of elements of .
Example 1.3.2. §
The set of open intervals in is a base for the Euclidean topology on .
Example 1.3.3. §
If is a set with the discrete topology, then the set is a base of the topology on .
Definition 1.3.4. §
We say that a set of subsets of covers a subset of if , and is a cover of if covers .
Theorem 1.3.5. §
Let be a set, and let be a set of subsets of such that
- i.
-
covers and
- ii.
-
for every and , there exists with and .
Then the collection
of arbitrary unions of elements of is a topology on , and is a base for the topology . Moreover, if is a topological space and is a base of open sets in , then is the topology on .
Proof.
If is a topology, then will by definition be a base, so we need only verify that is a topology. Note that is the empty union of elements of and by property (i) of . We also have that is closed under arbitrary unions, as its elements are just the arbitrary unions of elements of . 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 . Any lies in the intersection of some contained in and some contained in . So, by property (ii) of , there exists with
Since , we have as well. By Proposition 1.1.18, the set is a topology on .
If is a topological space with topology and is a base of open sets in , then both above and the topology are the set of unions of elements of , the first by definition of , and the second by definition of a base, so . □
Definition 1.3.6. §
The topology on a set given by arbitrary unions of elements of a set of subsets of satisfying the two conditions of Theorem 1.3.5 is called the topology generated by the base . We say that generates the topology .
We may now easily define the Euclidean topology on .
Example 1.3.7. §
The Euclidean topology on is the topology generated by the base consisting of open balls in 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 be a topological space. A base of open neighborhoods of a point is a set of open neighborhoods of such that for every open neighborhood of in , there exists with . An element of is said to be a basic open neighborhood of .
Lemma 1.3.9. §
Let be a topological space, and for each , let be a base of open neighborhoods of . Then is a base for the topology on .
Proof.
Since each is nonempty, we have . If and for some and , then there exists with . By Theorem 1.3.5, is a base for a topology on . We have since every set in is open and is closed under unions. We claim that is in fact the original topology .
Let . For , since is a base of open neighborhoods of , there exists with . Then by Lemma 1.1.16. Thus . □
Example 1.3.10. §
In , the set of open balls centered at a point forms a base of open neighborhoods of .
In fact, any set of subsets of with union gives rise to a topology on .
Definition 1.3.11. §
A set of open subsets of a topological space is called a subbase, or subbasis, for the topology on if every proper open set in 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 . Let be the set consisting of and all finite intersections of elements of . Then is a base for a topology on for which is a subbase.
Example 1.3.13. §
The set of all intervals and with 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 of a subset of a topological space is the intersection of all closed subsets of containing .
Lemma 1.4.2. §
The closure of a subset of is the smallest closed subset of containing in the sense that is closed and contains and, if is a closed subset of with , then .
Proof.
First, we remark that is closed as an intersection of closed sets and contains , as all of these closed sets contain . Moreover, if is closed and contains , then contains the intersection of all closed sets containing , since is one of the sets over which the intersection is taken. □
Example 1.4.3. §
The closure of an open interval in is the closed interval , as is a closed set containing , and none of , , and is closed.
We have the following alternative characterization of the closure.
Proposition 1.4.4. §
Let be a subset of a topological space . Then if and only if every (open) neighborhood of in has nonempty intersection with .
Proof.
We have if and only if for all closed sets containing . The latter holds if and only if for all open sets . And this holds if and only if every open set containing is not contained in , hence has nonempty intersection with . □
Example 1.4.5. §
If , then clearly every open neighborhood of intersects , in particular in . Any open interval of the form intersects in . Similarly, any interval intersects in . On the other hand, if or , then there exists a sufficiently small interval centered at that does not intersect . 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 is .
Definition 1.4.6. §
A subset of a topological space is dense in if .
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 of a subset of a topological space is the union of all open sets of contained in .
Note that 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 of a topological space is the largest open subset of contained in .
We also have a notion of boundary.
Definition 1.4.10. §
The boundary of a subset of is the complement of the interior of in the closure .
Example 1.4.11. §
In , the closure of an open interval with and is the closed interval , and the interior of is . The boundary of , or , is .
Example 1.4.12. §
In , the closure of the open ball of radius about a point is the closed ball of radius about the point , while the boundary is the sphere of radius centered at .
Example 1.4.13. §
If has the trivial topology, then the closure of any nonempty subset is , while the interior of is empty unless . So, any nonempty, proper subset of has boundary , whereas the boundary of is empty.
Example 1.4.14. §
Consider the three-point set with topology
The closed sets of are , , , , and . Thus, the closure of is , while and are closed.
Remark 1.4.15. §
The taking of subspaces can change interiors and closures. For instance, the interior of the closed interval with in is , but its interior in is , since is open in .
1.5. Limit points
Definition 1.5.1. §
A point in a topological space is called a limit point of a subset of if every (open) neighborhood of intersects in a point other than .
The following is a corollary of Proposition 1.4.4.
Lemma 1.5.2. §
The closure of a subset of a topological space is the union of and the set of its limit points.
Proof.
By Proposition 1.4.4, if , then every open neighborhood of intersects . If , these intersections cannot contain , so is a limit point. □
Since closed sets are their own closures, we have the following.
Corollary 1.5.3. §
Any closed subset 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 of points of a topological space converges to a point if for every open neighborhood of , there exists such that for all . The point is said to be a limit of the sequence .
Remark 1.5.6. §
By definition, a limit of a convergent sequence that is not eventually constant is a limit point of the set . However, the latter set may have more then one limit point even if converges.
Example 1.5.7. §
If has the trivial topology, then every sequence in converges to every point of .
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 is called is Hausdorff is for every two distinct points , there exist open neighborhoods of and of such that .
More briefly, is Hausdorff if every two distinct points of have disjoint neighborhoods. In Hausdorff spaces, points are closed.
Lemma 1.5.9. §
In a Hausdorff space , every singleton set for is closed.
Proof.
If and with , then there exists an open neighborhood of not containing . As the union of all such open sets is the complement of , the set is closed. □
The property of being Hausdorff is stronger than that of points being closed, however.
Example 1.5.10. §
In an infinite set with the finite complement topology, points are closed as the complement of open sets. However, any two nonempty open sets in intersect in all but finitely many elements of , so is not Hausdorff. Moreover, every non-repeating sequence in converges to every point of , 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 is a limit of a convergent sequence in a Hausdorff space , then for any , we have have disjoint open neighborhoods of and of . For sufficiently large , the point are all in , hence not in , and therefore 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 is Hausdorff if and only if for every two distinct points , there exists an open neighborhood of with .
Proof.
Let and be distinct points of . We have disjoint open neighborhoods and of and , respectively, if and only if we have an open neighborhood of and a closed neighborhood containing and not containing . That is, we simply take and to be complements of each other. But such an exists if and only if we can take it to be the closure , which is contained in any such , being the smallest closed set containing . □
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 is a function such that for all , one has
- i.
-
if and only if ,
- ii.
-
, and
- iii.
-
.
Terminology 1.6.2. §
For a set , the condition on for all is called the triangle inequality.
Definition 1.6.3. §
A pair consisting of a set and a metric on is called a metric space.
Notation 1.6.4. §
When the metric on a metric space is understood, we often write for the metric space.
Example 1.6.5. §
The set is a metric space for the distance function defined by the Euclidean metric
for and . We remark that any three points , , and 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 , the open ball of radius about a point (or with center) is the set
The closed ball of radius is
Proposition 1.6.7. §
The set of open balls in a metric space forms a base of a topology on , and the set of open balls with center is a base of open neighborhoods of in this topology.
Proof.
Clearly, the union of open balls in a metric space is , so by Theorem 1.3.5, it suffices to show that for any two open balls and in and any point , there exists an open ball containing and contained in . For this, choose any positive real number
Then by the triangle inequality. That is, if , then
and similarly . Thus the set of open balls in form a base.
If and is any open neighborhood of , then it contains some basic open neighborhood of , i.e., with . Then as in the above argument, so the balls centered at form a base of open neighborhoods of . □
Definition 1.6.8. §
The metric topology on a set induced by a metric on is the topology on generated by the set of open balls under .
Lemma 1.6.9. §
Let be a metric space. Then every closed ball is closed in the metric topology.
Proof.
It suffices to show that the complement of is open. If , then , and and are disjoint by the triangle inequality. That is, if , then , so . Thus, . □
Two different metrics on a set can have the same metric topology. Take the following example.
Example 1.6.10. §
Consider the Euclidean metric on and the box metric on defined by
for . The reader should check that is in fact a metric.
We have bases and of open balls about a point with respect to these respective metrics. For any , we have
so
for all . 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 be a metric space, and suppose that are distinct points. Let . Then and are disjoint by the triangle inequality. □
Definition 1.6.12. §
A topological space is metrizable if there exists a metric on such that the metric topology induced by is the topology on .
The following is a direct corollary of Proposition 1.6.11.
Corollary 1.6.13. §
If is a metrizable topological space, then is Hausdorff.
Discrete spaces are metric spaces as well.
Definition 1.6.14. §
Let be a set. The discrete metric on is defined by
We have the following.
Lemma 1.6.15. §
The discrete metric on a set is a metric, and the topology induced by this metric is the discrete topology.
Proof.
That is a metric is straightforward. Since for all , singleton sets are open in this topology, so 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 is contained in the closed ball , the closure of can in fact be smaller. For instance, if is a metric space with the discrete metric , then the set is both open and closed (as are all subsets of ), while .
Definition 1.6.17. §
A subset of a metric space is bounded if there exists such that for all .
This notion of boundedness is not a topological one.
Lemma 1.6.18. §
If is a metric space, then the function given by
is a metric on , and the metric topologies on from and are the same.
Proof.
Let . If , then
by the triangle inequality for the first of the terms in the set and the fact that for the others. If , then
by the triangle inequality for the first term in the set (in that ) and the fact that the other terms are clearly at least one. Thus, satisfies the triangle inequality, and it clearly satisfies the other two conditions for being a metric.
The open balls of radius less than form a base of any metric topology, as any open ball contains one of these. Since these sets of open balls coincide for and , these metrics induce the same topology on . □
Example 1.6.19. §
Under the Euclidean metric, is not bounded, but it is with respect to the metric on . Nevertheless, both of these metrics induces the Euclidean topology.
Sequences in metric spaces behave as one might expect.
Proposition 1.6.20. §
Let be a metric space. A sequence in converges to if and only if .
Proof.
If is an open neighborhood of , then contains some open ball . If , then there exists such that for all , so . Conversely, if converges to , then for any , there exists such that for , which is to say . Thus, the limit is . □
Proposition 1.6.21. §
Let be a metrizable space, let , and let . Then if and only if it is the limit of a convergent sequence of elements of .
Proof.
We need only see that any is such a limit. Fix a metric on so that we may consider open balls in . If , then for any , there exists by definition of . Then the converge to by Proposition 1.6.20. □