Chapter 2
Continuous functions
2.1. Continuous functions
In this section, and will denote topological spaces.
Definition 2.1.1. §
A function is said to be continuous if is open for every open subset of .
Definition 2.1.2. §
We say that between topological spaces is continuous at a point (or continuous at ) if for every open neighborhood of , there exists an open neighborhood of such that .
Remark 2.1.3. §
As every open subset is a union of open neighborhoods of its points, a function is continuous if and only if it is continuous at every point.
We can check continuity on basis elements of .
Proposition 2.1.4. §
Let and be fixed bases of the topologies on and , respectively. Let be a function.
- a.
-
A function is continuous if and only if is open in for all .
- b.
-
A function is continuous at if and only if for every basic open neighborhood of , there exists a basic open neighborhood of with ,
Proof.
If is continuous, then is open for all by definition. Conversely, suppose is open for all . As is a base, for any open subset of , there exists such that . Then , so is open as a union of open sets. Thus, we have proven part (a).
If is continuous at and is a basic open neighborhood of , then contains an open neighborhood of , and such an open neighborhood contains a basic open neighborhood of . Conversely, if for every with , the set contains a (basic) open neighborhood of , then for any open neighborhood of , we have that contains some such . Thus, is continuous at . □
Here is the fundamental example, which states that a map between metric spaces is continuous with respect to their metric topologies if and only if it is continuous in the usual sense.
Proposition 2.1.5. §
Let and be metric spaces, which we endow with their metric topologies. A function is continuous if and only if for every and , there exists such that .
Proof.
The sets and of open balls of positive radius in and , respectively, are bases for the metric topologies on and . The result is therefore a direct consequence of the equivalence of Proposition 2.1.4(b). □
We give a few more examples.
Examples 2.1.6. §
- a.
-
If is discrete, then any map is continuous.
- b.
-
If has the trivial topology, then any map is continuous.
- c.
-
If the set has two topologies and with finer than and is continuous for , then is continuous for .
- d.
-
If has two topologies and with finer than and is continuous for , then it is continuous for .
- e.
-
As a special case of the two latter examples, the identity map given by is continuous with potentially different topologies on the domain and codomain if and only if the topology of the domain is finer than the topology on the codomain.
We can also express continuity in terms of closed sets and closures.
Lemma 2.1.7. §
A function is continuous if and only if is closed for every closed subset of .
Proof.
We have , so is closed if and only if is open. The result follows since runs over the open sets of as runs over the closed sets. □
Proposition 2.1.8. §
A function is continuous if and only if for every , we have .
Proof.
If is continuous and , then is closed and , so . Thus
Conversely, suppose that for all . Take to be a closed subset of , and set . Then , and if , then . In other words, , so is closed. Therefore, is continuous. □
Examples 2.1.9. §
- a.
-
Constant functions are continuous.
- b.
-
The inclusion map of a subspace of a space is continuous. That is, if is open in , then is open in in the subspace topology.
- c.
-
A composition of continuous maps is continuous.
- d.
-
If is a continuous function, then its restriction to any subset of given by for all is continuous for the subspace topology on , since . (We say that restricts to on , that extends to , and that is an extension of from to .)
- e.
-
If is a continuous function, then the map is continuous for for all , where is endowed with the subspace topology from . If is open, then for some open subset of , so is open.
Definition 2.1.10. §
An open cover of a subset of a topological space is a collection of open subsets of that covers .
Lemma 2.1.11. §
A function is continuous if and only if there is an open cover of such that is continuous for all .
Proof.
We have seen that each is continuous if is. On the other hand, suppose is continuous for all . If is an open subset, then is open. Thus
is open, so is continuous. □
Lemma 2.1.12. §
If is a function, and are closed subspaces of such that , and and are continuous, then is continuous.
Proof.
Let be closed. Then , and is closed in and is closed in . Since and are closed in , the latter two inverse images are closed in , so is closed as a union of two closed sets. □
Definition 2.1.13. §
A function is a homeomorphism if it is a continuous bijection and its inverse is continuous as well.
Definition 2.1.14. §
Two spaces and are homeomorphic if there exists a homeomorphism .
We leave the following for the reader to verify.
Lemma 2.1.15. §
The relation on any set of topological spaces given by if is homeomorphic to is an equivalence relation.
Examples 2.1.16. §
- a.
-
The function given by is a homeomorphism, as it is continuous with continuous inverse .
- b.
-
The function given by is a homeomorphism (where has the subspace topology from ).
Definition 2.1.17. §
A function is an embedding if it is a homeomorphism onto its image with the subspace topology from .
Definition 2.1.18. §
A function is an open map, or open, if is open for every open subset of . A function is a closed map, or closed, if is closed for every closed subset of .
Remark 2.1.19. §
If is a bijection, then is open if and only if is closed.
By definition, homeomorphisms are open maps; that is, they are the continuous, open bijections. However, in general, continuous bijections may not be open.
Examples 2.1.20. §
- a.
-
Let be the natural embedding, where
Then is open in itself, but is not open in .
- b.
-
Let be a set with two topologies and with strictly finer than . Then the identity map with the domain having the topology and the codomain having the topology is continuous, but its inverse is not, so is not an open map. On the other hand, is an open map.
We next consider the behavior of continuous functions and sequences.
Proposition 2.1.21. §
Let be a function. If is continuous, then for every sequence in that converges to a point , the sequence converges to . If is a metrizable space such that for every sequence in that converges to some , then converges to , then is continuous.
Proof.
Suppose that is continuous. Let be a sequence in converging to . Let be an open neighborhood of in . Then is an open neighborhood of , so contains all for for some . Thus for all such , and therefore the sequence of converges to .
Now let be metrizable, and suppose that whenever converges to , the sequence converges to . Let be a subset of and . It suffices by Proposition 2.1.8 to show that . For this, we need only exhibit a sequence in converging to . Then is the limit of the . But such a sequence exists by the metrizability of and Proposition 1.6.21. □
Definition 2.1.22. §
Let be a sequence of functions from a set to a metric space with metric . The sequence converges uniformly to if for every there exists an integer such that for all and .
Remark 2.1.23. §
If is a metrizable topological space, then the notion of uniform convergence of a sequence is independent of the choice of metric on yielding the topology.
Proposition 2.1.24. §
Let be a topological space and be a metrizable space. Let be a sequence of continuous functions that converges uniformly to a function . Then is continuous.
Proof.
Let and . Choose such that for all and . By the continuity of , we can find an open neighborhood of such that if , then . For such , we then have
□
2.2. Product spaces
Proposition 2.2.1. §
Let be an indexing set, and for each , let be a topological space. Then the set of product sets with each open in and for all but finitely many forms a base of a topology on .
Proof.
Let and be two sets in . Then
each is open in , and all but finitely many equal . Thus . Since as well, it follows that is a base. □
Definition 2.2.2. §
Let be an indexing set, and for each , let be a topological space. The product topology on is the topology generated by the base of sets with each open in and all but finitely many .
Remark 2.2.3. §
The product topology on a finite product of topological spaces with has a base of open sets with open in for . I.e., the condition that all but finitely many be is vacuous, since is a finite set.
Definition 2.2.4. §
Let be an indexing set, and for each , let be a topological space. The th projection map for is the function defined by for .
The following proposition explains the seemingly strange choice of the product topology on .
Proposition 2.2.5. §
Let be an indexing set, and for each , let be a topological space. The product topology on is the coarsest topology on such that each projection map with is continuous.
Proof.
Let be elements for some , and for , let be an open subset. Then
with unless and open in if so. The collection of sets with and therefore forms a subbase for the product topology on . In other words, the product topology is the coarsest topology such that these sets are open in , which is to say such that every is continuous. □
Proposition 2.2.6. §
Let be a topological space, let be topological spaces for each in an indexing set , and endow with the product topology. A function is continuous if and only if each is continuous.
Proof.
If is continuous, then each is continuous, where is the projection map in the -coordinate. Conversely, suppose that each is continuous. For be a finite subset of , and for each , let be an open subset of . Let where we set for . Then
which is open as a finite intersection of open sets. Therefore is continuous. □
Proposition 2.2.7. §
Let be an indexing set, and let be a Hausdorff topological space for each . Then is Hausdorff in the product topology.
Proof.
Let and be distinct elements of , and let be such that . Let and be disjoint open neighborhoods of and . Then and are open in in the product topology, and . □
Remark 2.2.8. §
From our definition of the product topology on a direct product of topological spaces, it is not hard to see that if is any finite subset of and is any open subset of in the product topology, then is open in . However, not every open subset need have this form.
For instance, consider for any infinite set . Consider its open subsets
for . Then the union is open in but is not a product of the stated form, since it consists of all tuples with at least one coordinate in . To see this, consider an open set of the above form, where is an open set of (in the coordinates corresponding to , and is the product of in all coordinates in ). If , then since no condition is imposed on the th coordinates of elements of for , we must have . Take any , and note that the element of which is in all coordinates but the th and in the th coordinate is not in . Thus .
Remark 2.2.9. §
Just to speak of an element of an arbitrary product for an uncountable set and nonempty sets , we run into the issue of needing to make uncountably many choices. If we cannot, we may not be able to say that that contains a single element! That one can in fact do this is equivalent to an axiom of set theory, called the axiom of choice. It states that, given a collection of disjoint sets for some indexing set , there exists a function to the disjoint union of the sets such that for each . In other words, we can pick one element from each set .
There is a more simply described topology on a product that agrees with the product topology for finite products but is rather finer for infinite products. It might constitute a first guess at a natural topology on the product.
Definition 2.2.10. §
Let be a topological space for each in an indexing set , and set . The box topology on is the topology generated by the base consisting of products of open sets for each .
Remark 2.2.11. §
Suppose that is an infinite product of spaces that do not have the trivial topology. Then the box topology on is strictly finer than the product topology.
Proposition 2.2.12. §
Let be an indexing set. Let be a topological space and let be a subset of for each . The closure of in the box or product topology on is .
Proof.
If and is an open neighborhood of in the product (i.e., all but finitely many ) or box topologies, then is nonempty if and only if each is nonempty. So, if for all , then lies in the closure of . Conversely, if lies in the latter closure for all possible choices of , then for each . □
The following tells us when a product of maps is continuous.
Proposition 2.2.13. §
For each in an indexing set , let be a function between topological spaces. Set and and . Then is continuous with respect to the product (resp., box) topology on and if and only if each is continuous.
Proof.
Let be a finite subset of , and let be open in for each . Let where for . Then is open if and only if is open for every . Thus in the product topology, is continuous if and only if each is continuous. In the box topology, we may simply replace by in the above argument. □
Example 2.2.14. §
Consider . The metric topology for the uniform metric given by
is called the uniform topology. The reason for the name is as follows: the space of functions from a set to is in bijection with via the map which takes a function to . A sequence of functions with converges uniformly to some if and only if the corresponding sequence in converges to in the uniform topology.
Example 2.2.15. §
If is finite, the product, uniform, and box topologies on are all simply the Euclidean topology. If is infinite, then the box topology is strictly finer than the uniform topology, which is strictly finer than the product topology, as we next explain.
The product topology on has a basis of open neighborhoods of consisting of a product of open intervals in finitely many coordinates and in the others. The uniform topology has a basis of open balls of radius . We have , but contains no . The box topology has a basis of open neighborhoods consisting of products of open intervals centered at of lengths depending on the coordinates. Inside , we have the product of open intervals in every coordinate, which is open in the box topology. On the other hand, a product of open intervals centered at the infinimum of the lengths of which is contains no .
Proposition 2.2.16. §
Let be an indexing set. If is infinite, then with the box topology is not metrizable. The space with the product topology is metrizable if and only if is countable.
Proof.
For the first statement, it suffices to consider the case that is countable, which we can then take to be the set of positive integers. Consider the subset of in the box topology. The , as the reader can check. However, if is a sequence in and is its th coordinate, then the product is an open neighborhood of that does not contain any . By Proposition 1.6.21, the space with the box topology is not metrizable.
Now, take the product topology on with uncountable, and consider the set
Then , since any product of open intervals in finitely many coordinates and in the others clearly intersects . On other other hand, if is a sequence in , let be the subset of consisting of those such that the -coordinate of some is not . This is a countable set, so . But then there exists such that the -coordinate of is for all , which means in particular the neighborhood of that is in all coordinates but the -coordinate and in the -coordinate does not contain any .
For the product topology on with , the reader may check that we have a metric defined by
□
2.3. Quotient spaces
Recall that we say that a function is surjective (or a surjection) if .
Definition 2.3.1. §
A quotient map of topological spaces and is a surjection such that a subset of is open if and only if is open in .
The following is easily verified.
Lemma 2.3.2. §
A surjective map is a quotient map if and only if a subset of is closed if and only if is closed in .
Examples 2.3.3. §
Let be a topological space.
- a.
-
The identity map is a quotient map.
- b.
-
Any constant map from a nonempty is a quotient map onto its singleton image.
- c.
-
Let be a product of topological spaces. Then the projection maps are quotient maps, as the reader can check.
Example 2.3.4. §
Let denote the unit open circle in . Consider the map given by . Then is a quotient map.
The product map given by is a quotient map as well, realizing a torus (which has the shape of the surface of a donut) as a quotient of the plane. In fact, if we restrict this function to the square , the resulting map is also a quotient map. It satisfies and for all . In particular,
One may think of the quotient map as identifying the left and right sides of the square with each other and the top and bottom sides of the square with each other, which in the process identifies the four corners with each other.
The following example illustrates that quotient maps need not be open maps.
Example 2.3.5. §
Let be the subspace of consisting of points with -coordinate or . A subset of is open if and only if its intersection with each of the two lines in is open in the Euclidean topology.
Define by
Then is a quotient map. Let be the open subset of consisting of those with , or with and . Then , so is not open.
Now consider the restriction . It is a continuous surjection. However, , but is not open, so is not a quotient map.
Lemma 2.3.6. §
Let be a topological space, and let be a surjective function onto a set . There exists a unique topology on such that is a quotient map.
Proof.
The set of subsets of such that is open is easily seen to be a topology on , since commutes with the taking of intersections and unions. Moreover, this is the only topology such that is a quotient map, since being a quotient map means exactly that the such that is open are the open sets. □
Given Lemma 2.3.6, we may make the following definition.
Definition 2.3.7. §
Let be a topological space and a surjective function to a set . The quotient topology on is the unique topology on such that is a quotient map.
Definition 2.3.8. §
If is a quotient map between topological spaces, then is said to be a quotient space of .
Example 2.3.9. §
Let be the two-point set. Consider the function given by if and if . The quotient topology on is contains the sets , and but not , as is not open. Then is not Hausdorff, though is.
Proposition 2.3.10. §
Let be a quotient map. Let be a subset of and . Consider the map given by for .
- a.
-
If is open or closed in , then is a quotient map.
- b.
-
If is open or closed, then is a quotient map.
Proof.
By definition, is continuous and surjective. If is a subset of , then is open (resp., closed) in if and only if is open (resp., closed) in . If is open (resp., closed) in , then is open (resp., closed) in if and only if is open (resp., closed) in , and therefore, is a quotient map. Thus, we have part a.
As for part b, suppose that is open. If is such that is open in , then for some open in , and
the last step as . Since is open, is open in , and therefore is open in under the subspace topology. That is, is open in , so is a quotient map. The argument in the case that is closed proceeds in the same manner, replacing “open” by “closed” everywhere. □
The quotient map has a certain universality property, as expressed in the following theorem.
Theorem 2.3.11. §
Let be a quotient map, and let be any continuous map such that is constant on for all . Then there exists a unique function such that , and is continuous.
Proof.
The function is determined by where , which is well-defined by the constancy of on the nonempty set . Let be open in , and note that . The set is open in , so as is a quotient map, is open in . Thus, is continuous. □
Example 2.3.12. §
Let be a topological space, and let be a subset. Let as sets, and define by
We give the quotient topology. This is the space given by collapsing to a point. It may not be Hausdorff even if is: for instance, if we take and , then is in every open neighborhood of in . However, will be Hausdorff if for every , there exist disjoint open sets containing and containing .
Example 2.3.13. §
Let be a topological space. The cone on is the quotient space of (the cylinder) in which we collapse to a point. If , this is homeomorphic to a cone in , e.g.,
where is the unit circle in . Here, the homeomorphism takes to the image of in .
2.4. Disjoint unions
To give maps to a direct product of sets is to give a collection of maps to the individual sets, and if these sets are topological spaces, then with the product topology, we have seen in Proposition 2.2.13 that to give a continuous map to the product of topological spaces is to give a collection of continuous maps to the individual spaces. However, to give a function from a product of sets to a set is not the same as given a collection of maps from the individual set to the set. One might ask if there’s another set that does this, and the answer is yes, the disjoint union. In fact, when the individual sets are topological spaces, we can put a topology on the disjoint union so that we can make the same connection with continuous maps.
Definition 2.4.1. §
The disjoint union of a collection of sets is the set that contains the as mutually disjoint subsets and is equal to the union .
Remark 2.4.2. §
To give a function from a disjoint union of sets to a set is exactly to give a collection of maps . These satisfy for all , so determines the and conversely.
Definition 2.4.3. §
Let be a collection of topological spaces. The disjoint union of the spaces is the topological space with underlying set indicated disjoint union and with the topology under which a subset is open if and only if is open for all .
Remark 2.4.4. §
Under this definition, we have continuous inclusion maps given by for .
Proposition 2.4.5. §
Let be a collection of functions from topological spaces to a topological space . The map that restricts to on for all is continuous if and only if every is continuous.
Proof.
Let be an open subset of . Then , so is open if and only if is open for all . □
Lemma 2.4.6. §
Let be a disjoint union of topological spaces . Then each is open and closed in .
Proof.
We have if and , so is open in . As for its complement, we have
which is open as a union of open sets. □
Example 2.4.7. §
Any union of the two parallel lines in the plane is homeomorphic to .
This example generalizes considerably.
Lemma 2.4.8. §
Let be a collection of subspaces of a space . Then the continuous map with restriction to the embedding of as a subspace of is a homeomorphism if the are mutually disjoint with union and every is open (and therefore closed) in .
Proof.
The continuous map in the statement is onto if and only if and is one-to-one if and only if for all . If is open, then every is open in (and then closed as well, since is the complement of the union of the for ). Conversely, if every is both open and closed in and is open in , then is open as a union of open sets. □
Lemma 2.4.8 justifies the following terminology.
Terminology 2.4.9. §
If is a topological space and is a collection of disjoint open subsets with union , then we say that is the disjoint union of the subspaces and write .
Examples 2.4.10. §
- a.
-
The subspace of is the disjoint union of the lines and in the plane.
- b.
-
Any discrete spaces is the disjoint union of its singleton subsets.
Example 2.4.11. §
Let be a collection of topological spaces, and choose for each . We have a quotient of given by collapsing the subset to a point. This will be a Hausdorff space if is. This space is called a one-point union of the spaces . In the case, for instance, that , we get a finite collection of circles joined at a point.