JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Loops and the Fundamental Group

The Euler characteristic and the genus told you how many holes a surface has by counting. Now meet a tool that feels the holes from the inside: tie a loop of string on the space, see whether it can be pulled tight to a point, and you have begun to compute the fundamental group — the first algebraic invariant of topology.

A piece of string on a doughnut

Two guides back you learned to tell surfaces apart by counting: the Euler characteristic chi = V - E + F, and from it the genus g, the number of holes. That counting works beautifully, but it watches the surface from the outside, like an accountant tallying vertices and faces. This guide hands you a tool that probes a space from the inside, with nothing but a loop of string — and out of that string we are going to build, of all things, a group. The bridge from rubber-sheet pictures to algebra is one of the great moves in all of mathematics, and it is closer to hand than it sounds.

Here is the experiment. Pick a topological space — say the surface of a doughnut, a torus — and nail one end of an idea to a chosen point, call it the basepoint P. A loop is a path that starts at P, wanders around the surface however it likes, and returns to P. Now ask the only question that matters: can you slide and shrink this loop, keeping it on the surface and keeping its ends pinned at P, until it collapses down to the single point P? Some loops can. A tiny circle you scribble in one patch of the torus just shrinks to nothing, like a rubber band relaxing. But a loop that goes around the hole of the doughnut — threaded through the central ring — is trapped. No matter how you tug, the hole is in the way, and the loop can never tighten to a point.

Loops you can multiply

So far we have classes of loops. To get a group we need a way to combine them — a multiplication. It is the most natural thing in the world: given two loops a and b, both based at P, walk a first, the whole way around back to P, then immediately walk b. The result, written a * b, is one longer loop that does a's journey and then b's, also beginning and ending at P. We just concatenate: trace one, then the other. Multiplication of loops is nothing more than "do this, then do that."

Now check that this deserves to be called a group, because every group axiom shows up wearing a homotopy disguise. The identity is the lazy loop that never leaves P — concatenating it changes nothing up to homotopy. The inverse of a loop a is the same path walked backward, written a^(-1); travel out along a and straight back along its reverse, and the round trip can be reeled in to the constant loop, so a * a^(-1) is the identity. Associativity, (a * b) * c being the same as a * (b * c), holds because the only difference is the timing of where you change loops, and a homotopy can slide that timing freely. Crucially, all three facts hold up to homotopy — they would fail for the literal paths, but become exactly true once we work with homotopy classes.

Assemble all of this and you have the fundamental group of the space at the basepoint P, written pi_1(X, P) — the set of homotopy classes of loops at P, under the concatenation product. "pi_1" is read "pi one"; the 1 marks it as the first and most basic of a whole tower of such invariants. It is the single most important first invariant in topology, because it converts a floppy question about shapes you cannot pin down into a rigid question about a group, where you can actually compute.

Three spaces, three answers

Abstractions earn their keep on examples, so let us compute three. First the plane, or any disk — anything with no holes. Every loop, wherever it wanders, can be reeled straight back to the basepoint; there is nothing to catch on. So every loop is homotopic to the identity, and the fundamental group has exactly one element. We call such a space simply connected: its pi_1 is trivial. The sphere is the same story — a loop drawn on a globe can always be slid off to the side and shrunk, because a 2-dimensional loop cannot lasso a 2-dimensional sphere. The sphere is simply connected too.

Now the circle itself — just the rim, a one-dimensional loop of a space. A loop in the circle is a path that runs around the rim and comes home. The only thing a homotopy cannot change is the net number of times you wind around: clockwise once, counterclockwise once, around twice, or never. That whole number, the winding number, is the complete invariant, and winding numbers add when you concatenate (go around twice, then three more times, you have gone around five times). So the fundamental group of the circle is exactly the integers under addition, written Z. This little computation — pi_1(circle) = Z — is the seed crystal of the entire theory; almost everything richer is built by comparison with it.

These first answers already do real work. If two spaces have different fundamental groups, they cannot possibly be homeomorphic — pi_1 is a topological invariant, unchanged by any continuous stretching, so it is a passport that travels with the space. The disk (trivial group) and the circle (the integers Z) are therefore genuinely different shapes, proven apart by algebra. That is the payoff: a question about deforming rubber, which is slippery to settle by eye, becomes a question about comparing two groups, which is sharp.

When loops refuse to commute

Back to the doughnut, where the surprise lives. The torus has two independent ways to loop without shrinking: one going the long way around the tube (call it a), and one threaded through the central hole (call it b). Any loop on the torus is, up to homotopy, some number of a-trips and some number of b-trips, and here the two kinds slide past each other freely — doing a then b lands you in the same homotopy class as doing b then a. The fundamental group of the torus is therefore Z x Z, two independent integer counters, one per hole-direction, and it is abelian: order does not matter.

Now the twist that makes fundamental groups so powerful. Take a different surface — a sphere with two handles, the genus-2 "pretzel," or a plane with two points removed so loops can encircle either puncture. On these, going around hole A and then hole B is not homotopic to going around B and then A. The order in which you visit the holes leaves a permanent, undeformable trace. The fundamental group is non-abelian — a * b is not b * a — and that single fact is doing something the Euler characteristic simply cannot: it records not just how many holes there are, but how loops around them interleave. The algebra has grown a memory of structure that pure counting never sees.

Unrolling a space to see its loops

How does anyone actually prove pi_1(circle) = Z, rather than just believe it? The honest answer uses a beautiful companion idea, the covering space, and it is worth a glimpse even though the full proof lives a little above this rung. Picture an infinite helix, a spiral staircase, hovering above the circle, and let it cast a shadow straight down: every full turn of the spiral lands exactly on top of the circle, so the circle is wrapped infinitely many times by the spiral above it. The spiral is the covering space, and the downward shadow is the covering map.

Now the trick. A loop running around the circle can be lifted up onto the spiral, traced as a path on the staircase. A loop that winds around once lifts to a path that climbs exactly one full step up the helix; winding the other way descends a step; not winding at all stays on one landing. The loop closes back up downstairs, but its lift upstairs ends one whole floor away from where it started — and which floor it lands on is precisely the winding number. The spiral has unrolled the circle's tangled loops into honest integer heights you can simply read off. That is the engine behind pi_1(circle) = Z, and covering spaces are the standard machine for computing fundamental groups in general.

covering of the circle by the helix (real line over the circle)

  helix:  ... -2 ---- -1 ---- 0 ---- 1 ---- 2 ...   (integer floors)
                                 |   shadow straight down
                                 v
  circle:        a single loop, basepoint P

  loop winding +1  ->  lift climbs from floor 0 to floor 1
  loop winding -1  ->  lift drops from floor 0 to floor -1
  loop winding  0  ->  lift stays on floor 0

  ending floor = winding number  =>  pi_1(circle) = Z (integers, +)
The helix covers the circle. Each loop downstairs lifts to a path upstairs, and the floor it ends on reads off its winding number — turning a homotopy question into plain integer arithmetic.

Honest limits, and the road on

Let me be straight about what the fundamental group does and does not do, in the spirit this ladder is built on. First, it depends on a basepoint P — but for any space that is in one piece, a connected space, the group you get from one basepoint is the same (isomorphic) as from any other, so people freely write just pi_1(X). Second, pi_1 sees only one-dimensional loops; it is blind to higher-dimensional holes. The sphere has a perfectly trivial fundamental group even though it is plainly not a disk — its hollow inside is a two-dimensional cavity that loops of string cannot feel. Detecting that needs the higher invariants pi_2, pi_3, and the homology groups, the rest of the tower whose ground floor you are standing on.

And one caution against overselling. A trivial fundamental group does not, by itself, prove a space is a sphere — that it does so for surfaces is a genuine theorem, and the analogous statement one dimension up, the Poincaré conjecture for 3-spheres, resisted proof for a century until Perelman settled it in the 2000s. So pi_1 is a powerful detector, not an oracle: equal groups are strong evidence two spaces match, but the full classification needs more. Used honestly, though, it is astonishingly sharp — it already tells the disk, the circle, the torus, and the pretzel cleanly apart, which the eye alone struggles to do.

You have just crossed from counting to algebra. The Euler characteristic gave you a number for each surface; the fundamental group gives you a whole group, fine enough to feel the order in which loops braid around holes. Two doors open from here. One leads to knots, the final guide of this rung, where we will tell a knotted loop from an unknotted one by computing the fundamental group of the space complementary to the knot — and that group's non-commutativity is exactly what catches the knotting. The other, glimpsed far ahead, leads to geometric group theory, where the loop-groups of spaces become geometric objects in their own right. You came in able to count holes; you leave able to hear how they tangle.