Skip to content
Tutorials Center
My learning

Topics

Lesson 33 of 36 · Surfaces and the Fundamental Group

Homotopy and the Fundamental Group

Deform loops continuously, define the fundamental group, see why the circle has group Z via winding numbers, and compute them numerically.

Euler characteristic counts cells. The fundamental group takes a different view: it studies the loops in a space and asks which can be deformed into which. A loop in a disk can always be shrunk to a point; a loop that goes around the hole of a ring cannot. The fundamental group records that difference as an algebraic object, and it is the first invariant of algebraic topology.

Homotopy

Two continuous maps f, g: X → Y are homotopic if one can be continuously deformed into the other: there is a continuous H: X × [0, 1] → Y with H(x, 0) = f(x) and H(x, 1) = g(x). Think of H(·, t) as a movie that morphs f into g as t goes from 0 to 1.

For paths we ask more: a path homotopy between paths α and β with the same endpoints keeps those endpoints fixed throughout. A loop at a base point x₀ is a path from x₀ to x₀. Two loops are equivalent when there is a path homotopy between them. The equivalence class of γ is written [γ].

Examples:

  • In ℝⁿ (or any convex set), any two paths with the same endpoints are homotopic through the straight-line homotopy H(s, t) = (1 − t)α(s) + tβ(s).
  • In the plane minus the origin, the loop going once around the origin is not homotopic to the constant loop. Any deformation would have to cross the missing point.

The fundamental group

Let x₀ be a point of X. The fundamental group π₁(X, x₀) is the set of homotopy classes of loops at x₀, with the operation of concatenation: [α]·[β] is the class of "do α then do β" (each at double speed). The identity is the class of the constant loop. The inverse of [α] is the loop run backwards.

The group axioms hold up to homotopy: associativity, identity and inverse all come from explicit reparametrizations or homotopies. If X is path-connected, the group does not depend on the base point (up to isomorphism), so we may write π₁(X).

A space whose fundamental group is trivial is simply connected. Convex subsets of ℝⁿ, spheres Sⁿ with n ≥ 2 and the contractible spaces in general are simply connected.

Homotopy invariance

If f: X → Y is continuous, it sends loops in X to loops in Y and induces a group homomorphism f_*: π₁(X, x₀) → π₁(Y, f(x₀)). A homeomorphism induces an isomorphism, so homeomorphic spaces have isomorphic fundamental groups. More strongly, homotopy equivalent spaces (such as a solid cylinder and a circle) also have isomorphic groups. That makes π₁ a tool for proving two spaces are not homeomorphic: the plane minus a point has π₁ = ℤ, while the plane has π₁ = 0.

Space π₁
point, ℝⁿ, disk trivial
circle S¹ ℤ
sphere S² trivial
torus S¹ × S¹ ℤ × ℤ
ℝ² \ {0} ℤ
real projective plane ℤ/2
S¹ ∨ S¹ (figure eight) free group on two generators

For products, π₁(X × Y) ≅ π₁(X) × π₁(Y), which is why the torus gives ℤ × ℤ.

The circle: winding numbers

Every loop in S¹ has an integer winding number: how many times it goes around, counted positively for counterclockwise and negatively for clockwise. The theorem is

π₁(S¹) ≅ ℤ, with the isomorphism [γ] ↦ winding number of γ.

The standard loop γ_n(s) = (cos 2πns, sin 2πns) has winding number n. Two loops are homotopic exactly when their winding numbers are equal. Concatenating a loop of winding number m with one of winding number n gives winding number m + n, so the group law is addition.

How to compute the winding number numerically: sample the loop, compute the angle change between successive points (taking the shortest signed angle in (−π, π]), add up, and divide by 2π.

Python Winding number of a loop around the origin

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 wobbly loop is homotopic to the circle in the plane minus the origin, and the integers agree. The loop around (3, 0) never winds around the origin and is homotopic to a constant loop there.

A deformation that is blocked

Define the straight-line homotopy H(s, t) = (1 − t)α(s) + tβ(s) between two loops. If the segment from α(s) to β(s) always avoids the origin, the homotopy lives in ℝ² \ {0} and shows the loops have the same winding number. If the segment passes through the origin at some (s, t), the homotopy is not allowed in the punctured plane. The next program shows both situations: loop α is the unit circle; β is a slightly larger circle (homotopic), or the unit circle traversed the other way, which cannot be deformed to α.

Python Straight-line homotopy: allowed or blocked by the puncture?

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.

For the first pair the homotopy stays away from the origin (the closest approach is 1), so the loops are homotopic in the punctured plane. For the second pair the straight-line homotopy touches the origin (closest approach 0), so that particular homotopy is not allowed. The winding numbers +1 and −1 prove that no homotopy at all is possible.

Why this matters

The fundamental group gives short proofs of facts that are hard to prove by hand:

  • No retraction of the disk onto its boundary circle: such a retraction would force the identity map of ℤ to factor through the trivial group.
  • Brouwer's fixed point theorem in the plane: a continuous self-map of the closed disk has a fixed point (a consequence of the previous bullet).
  • The torus is not a sphere: π₁(T²) = ℤ × ℤ is not trivial, while π₁(S²) is.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What does it mean for two loops at x₀ to be homotopic as loops?

    A path homotopy deforms one loop into the other continuously while keeping the endpoints at the base point.
  2. 2. What is π₁ of the circle?

    Loops are classified by their integer winding number, and concatenation adds winding numbers.
  3. 3. Why can the circle's winding-number-1 loop not be shrunk to a point inside the circle?

    The integer winding number is a homotopy invariant, and 1 ≠ 0.
  4. 4. What is π₁ of the torus?

    The torus is S¹ × S¹, and π₁ of a product is the product of the π₁'s.

Summary

  • A homotopy is a continuous deformation; a path homotopy fixes the endpoints.
  • The fundamental group π₁(X, x₀) is the group of loop classes under concatenation.
  • Homeomorphic (even homotopy equivalent) spaces have isomorphic fundamental groups.
  • π₁(S¹) ≅ ℤ via the winding number; π₁(T²) ≅ ℤ × ℤ; π₁(S²) is trivial.
  • Winding numbers can be computed numerically by summing small angle changes.

Next: Practice: Compactness and Connectedness