The Fundamental Group
Can you tell a circle apart from a disk using only continuous maps? This must happen with no reference to dimension or distance. This sounds like it should require calculus or measurement. Yet the answer comes from a purely algebraic gadget built out of loops. Given a space and a basepoint , we look at all loops starting and ending at . We declare two loops "the same" if one can be continuously deformed into the other. This deformation must keep the endpoint fixed. We then multiply loops by concatenation. The result is a group, the fundamental group . It is a topological invariant: homeomorphic spaces have isomorphic fundamental groups. The idea matters because it converts a geometric question into an algebraic one. Does this loop bound a disk? Is this space simply connected? Can this map be lifted? These become questions about group presentations, generators, and relations. This is the founding idea of algebraic topology. It assigns algebraic invariants to spaces in a way that respects continuous maps. This way, impossible-looking topological problems become computable. Such problems include distinguishing spaces, proving non-embeddability, and computing degrees of maps. The big picture is that is the first and simplest member of a hierarchy. This hierarchy includes homotopy groups, homology, and cohomology. These invariants measure "holes" of various kinds. The fundamental group specifically detects one-dimensional holes. These are loops that cannot be contracted to a point. A disk has trivial fundamental group because every loop in it contracts. A circle does not, because a loop that winds around the hole cannot be undone without cutting it. This article builds the fundamental group from scratch. It covers homotopy of paths rel endpoints, and the well-definedness of concatenation on homotopy classes. It also covers the group axioms. It gives the precise dependence of on the basepoint when is path-connected. We prove every group axiom directly from explicit reparametrizing homotopies. We also prove the change-of-basepoint isomorphism theorem completely. The article closes by pointing toward covering space theory. There, becomes the algebraic key to classifying all coverings of a space.
- Loops at a basepoint , up to homotopy rel endpoints, form a set .
- Concatenation of loops descends to a well-defined operation on homotopy classes.
- This operation makes a group: identity = constant loop, inverses = reversed loops.
- If is path-connected, for any two basepoints, via conjugation by a path.
- is a homotopy invariant: homeomorphic (even just homotopy-equivalent) spaces have isomorphic .
- Key idea: algebraic structure (a group) can be extracted from purely topological data (loops up to continuous deformation), and this structure is rigid enough to distinguish spaces.
Where this lives today
The fundamental group is the entry point to covering space theory: subgroups of correspond bijectively to covering spaces of (for reasonably nice ), turning classification of coverings into subgroup classification — the Galois correspondence of topology. It underlies the classification of branched covers and Riemann surfaces in complex analysis, where of the punctured plane governs monodromy of multivalued functions like and . In knot theory, the fundamental group of the knot complement (the knot group) is a powerful invariant distinguishing knots that homology cannot tell apart. In geometric group theory, of a space realizes any group as a fundamental group, linking group presentations to topological spaces via presentation complexes. In physics, of the configuration space of a system governs the statistics of indistinguishable particles (bosons vs. fermions vs. anyons come from of configuration spaces of points in the plane versus higher dimensions) and classifies topological defects and solitons in field theory (domain walls, vortices, monopoles correspond to nontrivial elements of of order-parameter spaces). In robotics and configuration-space planning, of the free configuration space detects topologically distinct classes of paths a robot arm can take around obstacles. In cryptography and complexity, the algorithmic difficulty of deciding triviality of elements in fundamental groups of certain complexes (the word problem) connects to undecidability results and to security assumptions in some group-based cryptosystems.
:::quiz[In the proof of associativity of , why can and fail to be equal as functions on ?]
- Because is not actually well defined
- Because they run the three loops on different subintervals at different speeds, only agreeing after reparametrization ✓
- Because concatenation is not continuous
- Because , , must be based at different points
Ask the tutor: How does the covering space let you actually prove using path lifting?
Let be a topological space. A path in is a continuous map . Two paths with the same endpoints (, ) are path-homotopic, written , if there exists a continuous map
such that for all ,
Such is called a path homotopy; it deforms to while fixing both endpoints throughout the deformation. A loop based at is a path with . Path-homotopy is an equivalence relation on the set of loops based at (proved below). The fundamental group is the set of path-homotopy classes of loops based at , equipped with the operation
Intuition
Picture the based loops at as elastic bands pinned at a single point but otherwise free to move through . Path-homotopy says two bands represent the same element of exactly when one can be slid continuously into the other, the pin at never released. In the plane, or in any convex or star-shaped region, every band can be reeled straight in to the pin — there is only one homotopy class, the trivial one, and is the trivial group. On a circle , or an annulus, or the plane-minus-a-point, some bands are snagged: a loop winding once counterclockwise around the missing point cannot be reeled in without breaking, because at every stage of a hypothetical homotopy the loop would have to cross the hole. The winding number turns out to be a complete invariant here: , with the isomorphism sending a loop to its net winding number. This is the fact that ultimately explains why and are not homeomorphic, and it is proved rigorously using covering spaces, foreshadowed at the end of this article. Concatenation is "do at double speed, then at double speed." The reparametrization is exactly what makes the group axioms work: associativity and identity laws hold only up to homotopy, never on the nose as functions, and the entire technical content of the group-axiom proofs below is the construction of explicit homotopies reconciling different reparametrizations of .
Let be a topological space and . Then: 1. Path-homotopy is an equivalence relation on loops based at . 2. Concatenation is well defined on path-homotopy classes: if and then . 3. This operation is associative: . 4. The constant loop satisfies for every loop at . 5. Every has an inverse , where , satisfying . Consequently , with operation , is a group.
We prove each part by exhibiting explicit continuous homotopies; this is the standard technique for path-homotopy statements and it is what makes the whole theorem non-circular — every claim is verified by writing down a formula for and checking the four defining conditions directly from Homotopy of paths, the fundamental group.
(1) Equivalence relation. Reflexive: (constant in ) is continuous (a composition of with the projection ) and satisfies , , for all . So . Symmetric: if is a path homotopy from to , define . This is continuous as a composition of with the continuous map . Then , , and (endpoints of agree since requires equal endpoints), similarly . So . Transitive: suppose is a path homotopy and is a path homotopy . Define
On the overlap both formulas give , so is well defined; it is continuous because is the union of the two closed sets and on which agrees with continuous functions and the two definitions agree on the (closed) intersection — this is the pasting lemma for closed sets. Checking boundary values: , , equals or in either range, similarly . So .
(2) Well-definedness of . Suppose is a path homotopy and is a path homotopy (all loops based at , so all boundary values equal ). Define
At : for every , since are homotopies of based loops, so the two formulas agree on the overlap and is continuous by the pasting lemma. One checks , , and , for all . Hence , so is well defined on homotopy classes.
(3) Associativity. The functions and are generally different functions — they run at different speeds and on different subintervals — but they are path-homotopic via an explicit reparametrization. Concretely, traverses on , on , on (each at quadruple/double speed as appropriate), while traverses on , on , on . Define the piecewise-linear, continuous, surjective reparametrizing map interpolating between these two break-point schedules as goes from to : explicitly let
which is continuous in jointly (each piece is a jointly continuous rational function of on its domain with keeping denominators bounded away from , and the pieces agree at the two junctions by direct computation), with giving the break points (matching ) and giving break points (matching ), and for every . Setting
gives a continuous map (composition of continuous maps) with , (direct substitution and comparison of the piecewise formulas on matching subintervals), and , for all . This is a path homotopy, so , i.e. . (In practice one usually just invokes the general reparametrization lemma: if is continuous with , then via the straight-line homotopy , which is continuous since it is a composition of continuous maps, and one checks the boundary conditions directly. Associativity, the identity laws, and the coherence of concatenation with reparametrized loops all reduce to this lemma plus the pasting argument above; we gave the fully explicit above to make the non-circularity of the argument completely transparent.)
(4) Identity. We show ; the other equality is symmetric. Both and have the same image and are related by the reparametrization
since for all (direct check on each subinterval, using ). Here is continuous (pasting lemma, the two pieces agree at : both give ), with . By the reparametrization lemma, via ; continuity of is immediate as a composition, and , for all since . Hence , so .
(5) Inverses. We must show (the proof that is identical with the roles swapped). Define
At both formulas give , so is well defined and continuous by the pasting lemma (each piece is a composition of with a jointly continuous function of ). We check the four boundary conditions:
- : for , since on is ; for , , and for is — matches.
- for all (both branches), which is .
- for all .
- for all (second branch at gives ).
So is a path homotopy from to , giving .
Conclusion. By (2), is a well-defined binary operation on ; by (3) it is associative; by (4) is a two-sided identity; by (5) every element has a two-sided inverse. These are exactly the group axioms, so is a group.
∎Let be path-connected and let . Choose any path from to . Define
where . Then is a group isomorphism. In particular, for path-connected the isomorphism type of does not depend on the choice of basepoint , and one may write "" when only the isomorphism class matters.
We use the reparametrization/pasting technique established above, applied to concatenations of , , and loops. Well-defined on classes: if (both loops at ) via homotopy , then via the concatenation-of-homotopies construction from part (2) of the theorem above (concatenate the constant homotopy on , then reparametrized into the middle third, then the constant homotopy on ); this is a direct three-piece pasting-lemma argument identical in spirit to the proof of part (2), so depends only on . Homomorphism: We must check , i.e.
The right side traverses each at appropriate multiplied speed, with the middle segment path-homotopic to the constant loop by part (5) of the theorem above (with in place of , noting , so ; here we use is a loop at ). Inserting this path-homotopy into the six-fold concatenation, using part (2) to replace a segment of a concatenation by a path-homotopic segment while fixing the rest, and then using the identity law (part 4) to delete the resulting constant loop, and reparametrizing (reparametrization lemma) the remaining back to standard thirds, yields
Hence is a homomorphism. Bijectivity: Let be defined the same way using the reverse path in place of , i.e. . Then for a loop at ,
Using (part 5) at both ends and the identity law (part 4) to cancel them (via the same "replace a segment, then delete constant loop" argument as above), this reduces to . So , and symmetrically . Hence is a bijective homomorphism, i.e. a group isomorphism.
∎Worked examples
Example 1: an explicit path homotopy for a "kinked" reparametrization. Let and . Consider two loops at :
Rather than use an artificial , take the cleaner asymmetric pair: let traverse the unit circle centered at once counterclockwise starting/ending at the origin, as above, and let
which is for the reparametrizing function . Note , , is continuous (a polynomial), on so is monotonic, non-constant-speed (it starts and ends slowly, at , and moves fastest at where ). Geometrically and trace the same circle, but dawdles near the basepoint and rushes through the middle. By the reparametrization lemma used repeatedly above, define
This is continuous: is a polynomial hence continuous (values lie in since it's a convex combination of and , both in ), and is continuous, so is a composition of continuous maps. Check boundary conditions: ; ; for all ; for all . All four conditions of Homotopy of paths, the fundamental group hold, so is a genuine path homotopy and , i.e. in — confirming concretely that reparametrization never changes the class, exactly the fact used silently throughout the proof of associativity and the identity law above.
Example 2: computing with the change-of-basepoint isomorphism on an explicit non-abelian-looking setup. Let be the wedge of two circles ("figure eight"), realized concretely as
two unit circles tangent at the origin . It is a standard fact (provable with the Seifert–van Kampen theorem, beyond our present scope) that is the free group on two generators, where is the class of the loop once around the right circle and once around the left circle, both counterclockwise, based at . This group is non-abelian: as elements of , since and are already distinct reduced words. Now pick a different, asymmetric basepoint , the rightmost point of the right circle, and a path from to given by traveling along the right circle counterclockwise from to through the upper half, i.e.
This is continuous (composition of continuous trig functions), with and , so it is a genuine path in from to (its image lies on the right circle, which is ). By the Corollary, , , is an isomorphism. Apply it to (the class of "go around the right loop, then the left loop," based at the origin): its image is
which concretely is the class, based at , of the loop: walk back along the upper right semicircle to the origin (), go once around the right circle (), go once around the left circle (), then walk forward along the upper right semicircle back to (). Since is an isomorphism, this element has infinite order in exactly when has infinite order in — and indeed it does, since is a nontrivial reduced word in the free group , so for all . This illustrates the Corollary's real content: an isomorphism of abstract groups is produced by an entirely geometric device (conjugating by a connecting path), and algebraic facts (infinite order of ) transport faithfully to the new basepoint's fundamental group without recomputation.
The Corollary requires path-connected so that a connecting path from to exists at all — but one might ask whether the conclusion (" for all ") could still hold by some other mechanism even without path-connectedness. It cannot, in general: the isomorphism claim can fail entirely once the hypothesis is dropped, because is only ever built from loops confined to the path-component of . Let
the disjoint union of the unit circle and a single isolated point, with the subspace topology from . This is not path-connected: any path has connected image (continuous image of the connected set ), but 's two pieces, the circle and the point , are each open and closed in (the point is isolated, hence is open in , and its complement — the circle — is also open in since minus an isolated point is open), so is disconnected and any connected subset of lies entirely in one piece; thus no path can join a point of the circle to . Take on the circle and the isolated point. Every loop based at is the constant loop (its image is a connected subset of containing , forced to be since is a whole path-component), so
the trivial group. But is the fundamental group of the circle based at , which is (a fact provable via covering space theory), a nontrivial infinite group. Hence
so the conclusion of the Corollary genuinely fails once path-connectedness is dropped. The failure occurs precisely because there is no path from to to build the isomorphism from — the proof's very first ingredient is unavailable, not merely some inessential convenience.
Scope, edge cases & common traps
| Situation | What happens | Why |
|---|---|---|
| path-connected | independent of up to isomorphism | Corollary (change of basepoint) |
| not path-connected | can differ (even in cardinality) between components | counterexample above |
| simply connected (path-connected, trivial) | isomorphism still needs a path, but target group is trivial regardless of path chosen | trivial group has only one element |
| path-connected but not abelian | depends on the homotopy class of , not just on | different 's differ by conjugation by a loop at |
| Confusing homotopy of paths with homotopy of maps in general | path-homotopy fixes endpoints; general homotopy does not | definitions differ in the boundary conditions on |
The mathematician behind it
Origins · 1 minHenri Poincaré and how this was discovered
Henri Poincaré introduced the fundamental group (which he called the groupe fondamental, later also the first homotopy group) in his 1895 memoir Analysis Situs, the founding text of algebraic topology. Working before topological spaces were axiomatized (Hausdorff's definitions came in 1914, and the full modern point-set framework crystallized only later through Kuratowski, and was systematized pedagogically much later still, e.g. by Munkres), Poincaré worked with manifolds built from combinatorial data (simplicial complexes) and used loops and their deformations to probe connectivity properties invisible to Betti numbers alone. He recognized, crucially, that this invariant could be non-abelian, unlike the homology groups he had also introduced, making strictly finer information for distinguishing spaces — a fact central to his later Poincaré conjecture, itself phrased in terms of (a simply connected closed 3-manifold is homeomorphic to ).
Why do we need to fix endpoints in the definition of path-homotopy, rather than allowing them to move?
If endpoints were allowed to move during the homotopy, any two paths in a path-connected space would become homotopic to each other (slide both endpoints anywhere), collapsing all the interesting structure. Fixing the endpoints is what lets detect genuinely topological obstructions: a loop that cannot be contracted to the constant loop while staying anchored at is telling you something real about holes in near that basepoint. Free-endpoint homotopy of loops is a different, coarser equivalence relation, closely related to (but not identical with) the notion of "free homotopy classes of loops," which classifies conjugacy classes in rather than elements.
Is always a group, or only sometimes?
It is always a group, for any topological space and any basepoint — path-connectedness of is not needed for this part. The group axioms (associativity, identity, inverses) are proved purely from reparametrization homotopies of loops based at the single point , entirely internal to the path-component of . Path-connectedness of only becomes relevant when you want to compare at different basepoints, which is the content of the change-of-basepoint Corollary.
What does it mean for to be a "homotopy invariant" or "topological invariant"?
It means that if is a continuous map with , there is an induced homomorphism , , and this assignment respects composition and identities (, ). Consequently, if is a homeomorphism (or more generally a homotopy equivalence), is a group isomorphism. This is precisely what lets you conclude, for example, that and are not homeomorphic: their fundamental groups, and , are not isomorphic, and any homeomorphism would force an isomorphism.
How is actually computed, since this article only proves the group axioms?
The computation requires more machinery than the group-axiom proof alone: one uses the covering map , , and two key facts about it (path lifting and homotopy lifting), to show every loop in lifts uniquely (given a starting point) to a path in , and the endpoint of the lift is an integer recording the winding number. This is exactly the covering-space machinery foreshadowed at the end of this article; the group-axiom proof here is a prerequisite for that computation, not a substitute for it.
Does depend on which loops we consider "the same," i.e. could a coarser or finer equivalence relation than path-homotopy give a different, equally valid theory?
Path-homotopy is the specific equivalence relation that makes concatenation well-defined and yields a group (as proved in the central theorem); using ordinary pointwise equality of loops as functions would not even be an equivalence relation compatible with concatenation being associative, since and are literally different functions. One could ask about freely homotopic loops (endpoints not fixed), but that relation is too coarse to define a group operation via concatenation, since concatenating loops with different basepoints isn't even meaningful without a matching endpoint. Path-homotopy is the coarsest relation fine enough to remember basepoints yet coarse enough to make associative and invertible.
Why is it acceptable to write without a basepoint, and when is that dangerous?
It's acceptable, as an abuse of notation, exactly when is path-connected and one only cares about the isomorphism class of the group, since the Corollary guarantees all basepoints give isomorphic groups. It's dangerous when (a) is not path-connected, since then different basepoints can give non-isomorphic groups (see the counterexample above), or (b) one needs the specific isomorphism (not just its existence), since that isomorphism depends on a choice of connecting path and, when is non-abelian, on which homotopy class of path is chosen.
What is the relationship between being trivial ("simply connected") and being path-connected?
These are logically independent conditions that are both required in the standard definition of "simply connected": is simply connected if it is path-connected and is trivial for some (equivalently, by the Corollary, every) . Path-connectedness alone says nothing about (e.g. is path-connected with ), and triviality of at one basepoint of a disconnected space says nothing about other components (as the counterexample shows, an isolated point trivially has trivial while a disjoint circle does not).