Basic Topology

Continuity, homeomorphisms, and the rubber sheet analogy

Welcome to Topology

Topology is the study of properties that remain unchanged under continuous deformations -- stretching, bending, and twisting, but not tearing or gluing. It is often called "rubber sheet geometry"because you can imagine shapes made of infinitely stretchy rubber.

In topology, a coffee cup and a donut are the same thing. This might sound counterintuitive, but through this lesson you will discover why that statement makes perfect mathematical sense.

The Classic: Coffee Cup to Donut

This is topology's most famous demonstration. A coffee cup and a donut are homeomorphic -- they can be continuously deformed into each other without tearing or gluing. Watch as we smoothly transform one into the other.

Coffee Cup0%Donut

Key insight: Both shapes have exactly one hole (genus = 1), which is preserved during the transformation. The cup's handle creates the hole, which becomes the donut's central hole. This is why they are topologically equivalent.

Homeomorphism Tester

Two shapes are homeomorphic if you can continuously deform one into the other without tearing or gluing. The key topological invariant is the genus (number of holes). Select two shapes and test whether they are homeomorphic.

Sphere
No holes - like a ball
Torus
One hole - like a donut

Key insight: Shapes with the same genus are always homeomorphic. A sphere and a cube are equivalent (both genus 0), and a coffee cup and donut are equivalent (both genus 1). You cannot turn a ball into a donut without making a hole.

Topological Invariants Calculator

Topological invariants are properties that remain unchanged under homeomorphisms. Select a surface to calculate its genus, Euler characteristic, orientability, and boundary components.

Sphere

The simplest closed surface - like a ball

Real-World Examples:
BasketballEarthBubble
Genus (g)
0
Number of "holes"
Euler Characteristic (χ)
2
χ = V - E + F
Orientability
Orientable
Boundary Components
0
Number of edges
How We Calculate χ

For closed surfaces without boundary:

χ = 2 - 2g = 2 - 2(0) = 2

where g = genus

Key insight: If two surfaces have different values for any of these invariants, they cannot be homeomorphic. These properties are preserved under continuous deformations, making them perfect tools for distinguishing surfaces.

The Rubber Sheet

Topology is often called "rubber sheet geometry." You can stretch, bend, and twist shapes, but you cannot tear or glue them. Click and drag on the grid to see continuous deformations in action.

Key insight: No matter how much you deform the grid, the pink circle stays a circle topologically. Its fundamental properties -- like being a closed loop with no holes -- are preserved. This is the essence of topology.

Key Takeaways

  • Continuous deformations — topology cares about properties that survive stretching and bending; a coffee cup can be continuously morphed into a donut
  • Homeomorphisms — two shapes are homeomorphic if they have the same topological properties, with the genus (number of holes) as the key invariant
  • Topological invariants — properties like genus, Euler characteristic, and orientability remain constant under continuous deformations
  • Rubber sheet geometry — topology allows stretching, bending, and twisting, but never tearing or gluing