Continuity and Homeomorphisms
4.1 Continuous Functions
Section titled “4.1 Continuous Functions”Definition. Let and be topological spaces. A function is continuous if the preimage of every open set is open: for all , .
Equivalently, is continuous if the preimage of every closed set is closed.
Proposition 4.1. The following are equivalent for :
- is continuous.
- is closed in for every closed .
- for every .
- for every .
Proof. (1) (2): for any , , so preimages of open sets being open is exactly preimages of closed sets being closed.
(2) (3): the closure of is the intersection of all closed supersets of , and preimages preserve intersections, so
By (2) each is closed in , and each contains . The closure is the smallest closed set containing , so it is contained in every member of the family on the right; in particular in their intersection, .
(3) (2): let be closed in and set . Then , where the last inclusion is extensivity of closure. So equals its closure and is closed.
(1) (4): let and let be any open neighbourhood of . By (1), is an open neighbourhood of , and , so . Pick in the intersection: then , so every open neighbourhood of meets , i.e. .
(4) (1): let be open in ; we show is open. Set . We claim : if were in , then by (4) , so the open neighbourhood of meets ; say for some . But then , a contradiction. Hence . Conversely . So , which is open.
Direction (3) is the one to be careful with: the inclusion runs from the closure of the preimage into the preimage of the closure, and it can be strict. For the constant map , , with : while .
Example 4.1. Every constant function is continuous.
Example 4.2. The identity map is always continuous.
Example 4.3. If and are topologies on with , then is continuous, but need not be.
Proposition 4.2. The composition of continuous functions is continuous: if and are continuous, then is continuous.
Proof. For open in , . The set is open in by continuity of ; its preimage under is open in by continuity of .
Continuity at a point. A function is continuous at if for every neighbourhood of , there exists a neighbourhood of such that . This local definition coincides with the global definition: is continuous iff it is continuous at every point.
Proposition 4.2.1. is continuous if and only if it is continuous at every point of .
Proof. () Let be a neighbourhood of . It contains an open set . Then is an open neighbourhood of with .
() Let be open in ; show is open. If , then is a neighbourhood of , so continuity at gives a neighbourhood of with . Shrinking to its open interior, is an interior point of . Every point of is interior, so is open.
Proposition 4.3 (Pasting Lemma). If where and are closed (or open) in , and , are continuous functions that agree on , then the function defined by and is continuous.
Proof. Closed case. Let be closed in . Then : indeed means , and is either or . Now is closed in (continuity of ) and is closed in , so is closed in ; likewise . A finite union of closed sets is closed, so is closed, and is continuous by Proposition 4.1(2).
Open case. Dually, let be open in . Then as above, each of , is open in the open (in ) subspace , resp. , hence open in , and their union is open.
Why the hypotheses matter: if one piece is closed and the other open, the argument breaks down in both cases at once; a set closed in a closed subspace is closed in , but a set open in a closed subspace need not be. The classic counterexample: on and on is continuous on each piece and the pieces agree on their (empty) intersection, but one piece is closed while the other is merely open; and is discontinuous at .
Example 4.4 (Piecewise functions). The absolute value function is continuous on by the pasting lemma: on it equals (continuous), on it equals (continuous), and the two agree at .
Example 4.5. The function for and is not continuous at , even though it satisfies the intermediate value property on every neighbourhood.
4.2 Open and Closed Maps
Section titled “4.2 Open and Closed Maps”Definition. A function is open if the image of every open set is open; it is closed if the image of every closed set is closed. Continuity does not imply openness: the constant function is continuous but not open (the image is not open in ). The projection is open but not necessarily closed.
Proposition 4.4. A bijective continuous function is a homeomorphism iff it is open (equivalently, closed).
Proof. Let be a continuous bijection. If is a homeomorphism, then is continuous, so for open the set is open in : is open. Conversely, if is open, then for open , is open in , which is exactly continuity of ; so is a homeomorphism.
For the equivalence with closed: given that is a bijection, maps complements to complements, , so is open iff is closed.
4.3 Homeomorphisms
Section titled “4.3 Homeomorphisms”Definition. A function is a homeomorphism if is bijective and both and are continuous. We write and say and are homeomorphic.
A topological property (or topological invariant) is a property preserved by homeomorphisms.
Example 4.6. is homeomorphic to via .
Example 4.7. Any two open intervals and in are homeomorphic via an affine map.
Example 4.8 (Coffee cup and donut). A coffee cup (with a handle) is homeomorphic to a torus via a continuous deformation. This illustrates that homeomorphisms permit stretching and bending but not tearing or gluing.
Proposition 4.5. Homeomorphism is an equivalence relation: reflexive, symmetric, and transitive.
Proof. Reflexive: is a bijection and its own continuous inverse. Symmetric: if is a homeomorphism then is a bijection with continuous, so is a homeomorphism. Transitive: if and are homeomorphisms, is a bijection with inverse , continuous by Proposition 4.2 applied to the continuous maps and .
4.4 Topological Properties
Section titled “4.4 Topological Properties”The following are topological invariants (preserved by homeomorphisms):
- Compactness
- Connectedness
- Separation axioms (, , , etc.)
- Countability axioms (first-countable, second-countable)
- The fundamental group
Proposition 4.6. “Boundedness” is not a topological property: is bounded but is homeomorphic to the unbounded .
Proof. The map of Example 4.6, , is a bijection with inverse ; both are continuous as compositions of continuous functions ( and are continuous on their domains, which the maps avoid leaving). So . If boundedness were a topological property, would be bounded; but is not bounded in its standard metric. Hence boundedness is a property of the metric, not of the topology it generates.
4.5 Embeddings and Quotient Maps
Section titled “4.5 Embeddings and Quotient Maps”Definition. An embedding is a homeomorphism onto its image: such that (with the subspace topology) is a homeomorphism.
Definition. A surjective continuous map is a quotient map if is open iff is open in . Quotient maps are used to construct spaces by gluing: if is an equivalence relation on , then with the quotient topology is the space of equivalence classes with the finest topology making the projection continuous.
Example 4.9. The unit interval with endpoints identified yields the circle : . The unit square with opposite edges identified yields the torus.
4.6 Worked Example: Proving Two Spaces are Not Homeomorphic
Section titled “4.6 Worked Example: Proving Two Spaces are Not Homeomorphic”Problem. Show that and are not homeomorphic.
Solution
Suppose is a homeomorphism. Then removing the point from leaves , which is connected. Removing from leaves , which is disconnected. Since connectedness is preserved by homeomorphisms, this is a contradiction.
4.7 Intuition: What Is a Homeomorphism?
Section titled “4.7 Intuition: What Is a Homeomorphism?”A homeomorphism is the topological version of “the same shape.” Two spaces are homeomorphic if there exists a continuous bijection between them whose inverse is also continuous. Informally, this means you can stretch, bend, and deform one space into the other, but you cannot tear or glue. A coffee cup and a donut are homeomorphic because they both have exactly one hole; a sphere and a torus are not homeomorphic because they have different numbers of holes.
The key insight is that homeomorphisms preserve topological properties such as compactness, connectedness, and the fundamental group. Properties that are not preserved by homeomorphisms, like “boundedness” or “being a subset of ,” are geometric rather than topological. The pasting lemma captures a practical criterion for constructing continuous functions: if you define a function separately on two closed (or open) pieces that agree on the overlap, the result is continuous. This is why absolute value, piecewise linear functions, and most “glued together” constructions in analysis turn out to be continuous.
4.8 Worked Example: Continuity of a Piecewise Function
Section titled “4.8 Worked Example: Continuity of a Piecewise Function”Problem. Determine whether defined by for and is continuous at .
Solution
For , . Given , choose . If , then . Therefore is continuous at (and everywhere on ). Note that unlike , the factor forces the oscillation amplitude to decay to zero.
4.9 Common Mistakes
Section titled “4.9 Common Mistakes”Mistake 1: Assuming that a continuous bijection is automatically a homeomorphism. A continuous bijection is not necessarily a homeomorphism. The inverse function must also be continuous. For example, the map defined by is a continuous bijection, but its inverse is not continuous at . A bijective continuous map is a homeomorphism if and only if it is open (or equivalently, closed).
Mistake 2: Confusing open maps with continuous maps. A function can be continuous without being open, and vice versa. The constant function is continuous but not open (the image of any open set is , which is not open). The projection is open but not closed (the image of the closed hyperbola is , which is not closed).
Mistake 3: Forgetting that homeomorphism is an equivalence relation. Homeomorphism is reflexive (the identity map is a homeomorphism), symmetric (the inverse of a homeomorphism is a homeomorphism), and transitive (the composition of homeomorphisms is a homeomorphism). Failing to check any of these can lead to errors when classifying spaces up to homeomorphism.
Mistake 4: Assuming that topological properties are preserved by continuous maps. Only homeomorphisms preserve all topological properties. A continuous map need not preserve compactness, connectedness, or separation axioms in both directions. For example, a continuous bijection from a compact space to a Hausdorff space is a homeomorphism, but this is a special case, not a general rule.
Mistake 5: Misapplying the pasting lemma. The pasting lemma requires that the two pieces agree on their intersection and that both pieces are either both closed or both open. If one piece is closed and the other is open, or if they disagree on the intersection, the resulting function may not be continuous.
Cross-References
Section titled “Cross-References”- Topological Spaces: Topological spaces provide the foundation for defining continuity and homeomorphisms.
- Compactness: Compactness is preserved by continuous functions and characterizes spaces where extreme value theorem holds.
- Connectedness: Connectedness is a topological invariant preserved by homeomorphisms and continuous images.