Skip to content
Tutorials Center
My learning

Topics

Lesson 16 of 36 Β· Continuity and Homeomorphism

Homeomorphisms

Learn the definition of a homeomorphism, see why a continuous bijection is not enough, stretch an interval onto the whole line, and count topologies up to renaming.

We now have the tools to say precisely what "the same shape" means. Two spaces are homeomorphic if there is a perfect, two-way translation between them that respects open sets. A homeomorphism is to topology what an isomorphism is to algebra: it says two spaces are indistinguishable by topological means.

The definition

A function f: X β†’ Y is a homeomorphism if:

  1. f is a bijection (one-to-one and onto);
  2. f is continuous;
  3. the inverse function f⁻¹: Y β†’ X is continuous.

Equivalently, f is a bijection that maps open sets of X exactly onto the open sets of Y: U is open in X if and only if f(U) is open in Y. We then say X and Y are homeomorphic and write X β‰… Y.

Being homeomorphic is an equivalence relation: the identity is a homeomorphism, the inverse of a homeomorphism is one, and compositions of homeomorphisms are homeomorphisms. So spaces fall into classes of mutually homeomorphic spaces, and the goal of topology is to understand those classes.

A continuous bijection is not automatically a homeomorphism. Condition 3 is a real requirement: the inverse must be continuous too.

A continuous bijection that is not a homeomorphism

Take a set X = {a, b} with the discrete topology and Y = {a, b} with the indiscrete topology, and let f be the identity. It is a bijection and it is continuous (from a discrete space everything is). But its inverse, the identity from the indiscrete to the discrete space, is not continuous: the preimage of the open set is , not open in the indiscrete topology. Indeed these two spaces cannot be homeomorphic at all: one has 4 open sets and the other has 2.

A famous infinite example is the map t ↦ (cos t, sin t) from [0, 2Ο€) to the unit circle. It is a continuous bijection. Its inverse is not continuous at the point (1, 0): points just below it on the circle map back to numbers near 2Ο€, while the point itself maps to 0. Indeed [0, 2Ο€) and the circle are not homeomorphic: removing a suitable point of the interval leaves two pieces, which can never happen for a circle (we will prove this with connectedness).

The code checks the three conditions on finite spaces.

Python A homeomorphism checker for finite spaces

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The first relabeling sends the open sets of X exactly onto the open sets of Y, so it is a homeomorphism; the second fails because it sends to , which is not open in Y.

Intervals and the whole line

Topology ignores size and boundedness. The open interval (βˆ’1, 1) is homeomorphic to the whole real line ℝ, even though one is bounded and the other is not. The map f(x) = tan(Ο€x / 2) is a continuous bijection from (βˆ’1, 1) to ℝ, and its inverse y ↦ (2/Ο€)Β·arctan(y) is continuous too. Likewise any two open intervals (a, b) and (c, d) are homeomorphic through a straight-line stretch, and so are (0, 1) and (0, ∞).

This confirms that boundedness and completeness are not topological properties: (βˆ’1, 1) is bounded but ℝ is not; ℝ is complete in the usual metric but (βˆ’1, 1) is not.

Python Stretching an interval onto the line

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The two tables are round trips: applying g after f returns the starting value, and vice versa. The points near the ends of the interval go off to ±∞ on the real line.

Counting topologies up to renaming

How many genuinely different topologies exist on n points if we ignore the names of the points? Two topologies on the same set are equivalent if some permutation of the points turns one into the other: that is the same as a homeomorphism between the two spaces. The known counts are 1, 3, 9, 33 and 139 for n = 1, 2, 3, 4, 5. We confirm the first four by canonical forms: for each topology we apply every permutation and keep the smallest result.

Python Topologies on n points up to homeomorphism

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check Β· 4 questions

of 4 answered You scored / 4 Β· perfect!

  1. 1. Which condition is NOT part of the definition of a homeomorphism?

    A homeomorphism is a continuous bijection with continuous inverse. Nothing is said about intervals.
  2. 2. Identity from X (discrete) to X (indiscrete) with at least two points is...

    It is continuous because X is discrete, but its inverse is not continuous (the topologies have different numbers of open sets).
  3. 3. Which pair of spaces is homeomorphic?

    tan(pi x / 2) is a homeomorphism from (-1, 1) onto R. The closed interval is compact while R is not.
  4. 4. Is 'being homeomorphic' an equivalence relation on topological spaces?

    Identity, inverse and composition of homeomorphisms are homeomorphisms.

Summary

  • A homeomorphism is a bijection that is continuous in both directions; it matches open sets exactly.
  • A continuous bijection need not be a homeomorphism (discrete to indiscrete, [0, 2Ο€) to the circle).
  • Bounded and unbounded sets can be homeomorphic: (βˆ’1, 1) β‰… ℝ.
  • Being homeomorphic is an equivalence relation; topologists classify spaces up to it.
  • There are 1, 3, 9 and 33 topologies on 1, 2, 3 and 4 points up to homeomorphism.

Next: Topological Properties and Invariants