Basic Topology

Continuity, homeomorphisms, and the rubber sheet analogy

Welcome to Topology

Imagine every shape is made of infinitely stretchy rubber: you may stretch, bend, and twist it, but never tear or glue. Topology studies what survives, which is why a coffee cup and a donut count as the same thing.

The Classic: Coffee Cup to Donut

Press play and watch the coffee cup morph into a donut. The cup's handle becomes the donut's hole, and nothing is ever torn or glued.

Coffee Cup0%Donut
Go deeper:The Classic: Coffee Cup to Donut

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.

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.

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

Select two shapes and test whether they are homeomorphic. Compare their genus (number of holes): a sphere matches a cube, but never a donut.

Sphere
No holes - like a ball
≟
Torus
One hole - like a donut
Go deeper: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.

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

Select a surface to see its genus, Euler characteristic, orientability, and boundary components. If any one value differs, two surfaces cannot be the same.

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

Go deeper: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.

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

Click and drag on the grid to stretch it. However hard you pull, the pink circle stays a closed loop with no holes.

Go deeper: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

  • A coffee cup can be continuously morphed into a donut without tearing or gluing.
  • Shapes with the same genus (number of holes) are homeomorphic.
  • Genus, Euler characteristic, and orientability never change under deformation.
  • Topology allows stretching, bending, and twisting, but never tearing or gluing.

Spot a mistake or have an idea?

Search