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 XX and a basepoint x0x_0, we look at all loops starting and ending at x0x_0. 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 π1(X,x0)\pi_1(X, x_0). 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 π1\pi_1 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 π1(X,x0)\pi_1(X,x_0) on the basepoint x0x_0 when XX 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, π1\pi_1 becomes the algebraic key to classifying all coverings of a space.

Key takeaways
  • Loops at a basepoint x0x_0, up to homotopy rel endpoints, form a set π1(X,x0)\pi_1(X,x_0).
  • Concatenation of loops descends to a well-defined operation on homotopy classes.
  • This operation makes π1(X,x0)\pi_1(X,x_0) a group: identity = constant loop, inverses = reversed loops.
  • If XX is path-connected, π1(X,x0)≅π1(X,x1)\pi_1(X,x_0) \cong \pi_1(X,x_1) for any two basepoints, via conjugation by a path.
  • π1\pi_1 is a homotopy invariant: homeomorphic (even just homotopy-equivalent) spaces have isomorphic π1\pi_1.
  • 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 π1(X,x0)\pi_1(X,x_0) correspond bijectively to covering spaces of XX (for reasonably nice XX), 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 π1\pi_1 of the punctured plane governs monodromy of multivalued functions like log⁡z\log z and z\sqrt{z}. 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, π1\pi_1 of a K(G,1)K(G,1) space realizes any group GG as a fundamental group, linking group presentations to topological spaces via presentation complexes. In physics, π1\pi_1 of the configuration space of a system governs the statistics of indistinguishable particles (bosons vs. fermions vs. anyons come from π1\pi_1 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 π0,π1,π2\pi_0, \pi_1, \pi_2 of order-parameter spaces). In robotics and configuration-space planning, π1\pi_1 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 (f⋅g)⋅h(f\cdot g)\cdot h and f⋅(g⋅h)f\cdot(g\cdot h) fail to be equal as functions on [0,1][0,1]?]

  • 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 ff, gg, hh must be based at different points

Ask the tutor: How does the covering space R→S1\mathbb{R} \to S^1 let you actually prove π1(S1)≅Z\pi_1(S^1) \cong \mathbb{Z} using path lifting?

DefinitionHomotopy of paths, the fundamental group

Let XX be a topological space. A path in XX is a continuous map f:[0,1]→Xf : [0,1] \to X. Two paths f,g:[0,1]→Xf, g : [0,1] \to X with the same endpoints (f(0)=g(0)f(0)=g(0), f(1)=g(1)f(1) = g(1)) are path-homotopic, written f≃pgf \simeq_p g, if there exists a continuous map

H:[0,1]×[0,1]→XH : [0,1] \times [0,1] \to X

such that for all s,t∈[0,1]s, t \in [0,1],

H(s,0)=f(s),H(s,1)=g(s),H(0,t)=f(0),H(1,t)=f(1).H(s,0) = f(s), \quad H(s,1) = g(s), \quad H(0,t) = f(0), \quad H(1,t) = f(1).

Such HH is called a path homotopy; it deforms ff to gg while fixing both endpoints throughout the deformation. A loop based at x0∈Xx_0 \in X is a path ff with f(0)=f(1)=x0f(0) = f(1) = x_0. Path-homotopy is an equivalence relation on the set of loops based at x0x_0 (proved below). The fundamental group π1(X,x0)\pi_1(X, x_0) is the set of path-homotopy classes [f][f] of loops based at x0x_0, equipped with the operation

[f]∗[g]=[f⋅g],(f⋅g)(s)={f(2s)0≤s≤1/2g(2s−1)1/2≤s≤1.[f] * [g] = [f \cdot g], \qquad (f \cdot g)(s) = \begin{cases} f(2s) & 0 \le s \le 1/2 \\ g(2s-1) & 1/2 \le s \le 1. \end{cases}

Intuition

Picture the based loops at x0x_0 as elastic bands pinned at a single point x0x_0 but otherwise free to move through XX. Path-homotopy says two bands represent the same element of π1\pi_1 exactly when one can be slid continuously into the other, the pin at x0x_0 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 π1\pi_1 is the trivial group. On a circle S1S^1, 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: π1(S1,x0)≅Z\pi_1(S^1, x_0) \cong \mathbb{Z}, with the isomorphism sending a loop to its net winding number. This is the fact that ultimately explains why R2∖{0}\mathbb{R}^2 \setminus \{0\} and R2\mathbb{R}^2 are not homeomorphic, and it is proved rigorously using covering spaces, foreshadowed at the end of this article. Concatenation f⋅gf \cdot g is "do ff at double speed, then gg 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 [0,1][0,1].

Figure
A loop that cannot be contracted on the punctured plane, versus one that can on the plane
0 x₀ π₁(ℝ²∖{0}, x₀) ≅ ℤ: loop is snagged x₀ π₁(ℝ², x₀) = {e}: loop reels in
TheoremThe fundamental group is a group

Let XX be a topological space and x0∈Xx_0 \in X. Then: 1. Path-homotopy ≃p\simeq_p is an equivalence relation on loops based at x0x_0. 2. Concatenation [f]∗[g]:=[f⋅g][f]*[g] := [f\cdot g] is well defined on path-homotopy classes: if f≃pf′f \simeq_p f' and g≃pg′g \simeq_p g' then f⋅g≃pf′⋅g′f \cdot g \simeq_p f' \cdot g'. 3. This operation is associative: ([f]∗[g])∗[h]=[f]∗([g]∗[h])([f]*[g])*[h] = [f]*([g]*[h]). 4. The constant loop ex0(s)≡x0e_{x_0}(s) \equiv x_0 satisfies [ex0]∗[f]=[f]=[f]∗[ex0][e_{x_0}] * [f] = [f] = [f]*[e_{x_0}] for every loop ff at x0x_0. 5. Every [f][f] has an inverse [fˉ][\bar f], where fˉ(s)=f(1−s)\bar f(s) = f(1-s), satisfying [f]∗[fˉ]=[ex0]=[fˉ]∗[f][f]*[\bar f] = [e_{x_0}] = [\bar f]*[f]. Consequently π1(X,x0)\pi_1(X, x_0), with operation ∗*, is a group.

Proof

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 H(s,t)H(s,t) and checking the four defining conditions directly from Homotopy of paths, the fundamental group.

(1) Equivalence relation. Reflexive: H(s,t)=f(s)H(s,t) = f(s) (constant in tt) is continuous (a composition of ff with the projection [0,1]×[0,1]→[0,1][0,1]\times[0,1]\to[0,1]) and satisfies H(s,0)=H(s,1)=f(s)H(s,0)=H(s,1)=f(s), H(0,t)=f(0)H(0,t)=f(0), H(1,t)=f(1)H(1,t)=f(1) for all tt. So f≃pff \simeq_p f. Symmetric: if HH is a path homotopy from ff to gg, define H′(s,t)=H(s,1−t)H'(s,t) = H(s,1-t). This is continuous as a composition of HH with the continuous map (s,t)↦(s,1−t)(s,t)\mapsto(s,1-t). Then H′(s,0)=H(s,1)=g(s)H'(s,0)=H(s,1)=g(s), H′(s,1)=H(s,0)=f(s)H'(s,1)=H(s,0)=f(s), and H′(0,t)=H(0,1−t)=f(0)=g(0)H'(0,t)=H(0,1-t)=f(0)=g(0) (endpoints of f,gf,g agree since f≃pgf\simeq_p g requires equal endpoints), similarly H′(1,t)=f(1)=g(1)H'(1,t)=f(1)=g(1). So g≃pfg \simeq_p f. Transitive: suppose HH is a path homotopy f≃pgf\simeq_p g and KK is a path homotopy g≃phg \simeq_p h. Define

J(s,t)={H(s,2t)0≤t≤1/2K(s,2t−1)1/2≤t≤1.J(s,t) = \begin{cases} H(s,2t) & 0 \le t \le 1/2 \\ K(s, 2t-1) & 1/2 \le t \le 1. \end{cases}

On the overlap t=1/2t=1/2 both formulas give H(s,1)=g(s)=K(s,0)H(s,1) = g(s) = K(s,0), so JJ is well defined; it is continuous because [0,1]×[0,1][0,1]\times[0,1] is the union of the two closed sets [0,1]×[0,1/2][0,1]\times[0,1/2] and [0,1]×[1/2,1][0,1]\times[1/2,1] on which JJ agrees with continuous functions and the two definitions agree on the (closed) intersection — this is the pasting lemma for closed sets. Checking boundary values: J(s,0)=H(s,0)=f(s)J(s,0)=H(s,0)=f(s), J(s,1)=K(s,1)=h(s)J(s,1)=K(s,1)=h(s), J(0,t)J(0,t) equals H(0,2t)=f(0)H(0,2t)=f(0) or K(0,2t−1)=g(0)=f(0)K(0,2t-1)=g(0)=f(0) in either range, similarly J(1,t)≡f(1)J(1,t)\equiv f(1). So f≃phf \simeq_p h.

(2) Well-definedness of ∗*. Suppose HH is a path homotopy f≃pf′f \simeq_p f' and KK is a path homotopy g≃pg′g \simeq_p g' (all loops based at x0x_0, so all boundary values equal x0x_0). Define

L(s,t)={H(2s,t)0≤s≤1/2K(2s−1,t)1/2≤s≤1.L(s,t) = \begin{cases} H(2s, t) & 0 \le s \le 1/2 \\ K(2s-1, t) & 1/2 \le s \le 1. \end{cases}

At s=1/2s = 1/2: H(1,t)=f(1)=x0=g(0)=K(0,t)H(1,t) = f(1) = x_0 = g(0) = K(0,t) for every tt, since H,KH, K are homotopies of based loops, so the two formulas agree on the overlap and LL is continuous by the pasting lemma. One checks L(s,0)=(f⋅g)(s)L(s,0) = (f\cdot g)(s), L(s,1)=(f′⋅g′)(s)L(s,1) = (f'\cdot g')(s), and L(0,t)=H(0,t)=x0L(0,t) = H(0,t) = x_0, L(1,t)=K(1,t)=x0L(1,t) = K(1,t) = x_0 for all tt. Hence f⋅g≃pf′⋅g′f\cdot g \simeq_p f'\cdot g', so ∗* is well defined on homotopy classes.

(3) Associativity. The functions (f⋅g)⋅h(f\cdot g)\cdot h and f⋅(g⋅h)f \cdot (g\cdot h) are generally different functions [0,1]→X[0,1]\to X — they run f,g,hf, g, h at different speeds and on different subintervals — but they are path-homotopic via an explicit reparametrization. Concretely, (f⋅g)⋅h(f\cdot g)\cdot h traverses ff on [0,1/4][0,1/4], gg on [1/4,1/2][1/4,1/2], hh on [1/2,1][1/2,1] (each at quadruple/double speed as appropriate), while f⋅(g⋅h)f\cdot(g\cdot h) traverses ff on [0,1/2][0,1/2], gg on [1/2,3/4][1/2,3/4], hh on [3/4,1][3/4,1]. Define the piecewise-linear, continuous, surjective reparametrizing map φt:[0,1]→[0,1]\varphi_t : [0,1]\to[0,1] interpolating between these two break-point schedules as tt goes from 00 to 11: explicitly let

φt(s)={4st+1,0≤s≤t+14s+1−t4,t+14≤s≤t+241−4(1−s)2−t,t+24≤s≤1\varphi_t(s) = \begin{cases} \dfrac{4s}{t+1}, & 0 \le s \le \dfrac{t+1}{4} \\[4pt] s + \dfrac{1-t}{4}, & \dfrac{t+1}{4} \le s \le \dfrac{t+2}{4} \\[4pt] 1 - \dfrac{4(1-s)}{2-t}, & \dfrac{t+2}{4} \le s \le 1 \end{cases}

which is continuous in (s,t)(s,t) jointly (each piece is a jointly continuous rational function of (s,t)(s,t) on its domain with t∈[0,1]t\in[0,1] keeping denominators bounded away from 00, and the pieces agree at the two junctions by direct computation), with φ0(s)\varphi_0(s) giving the break points 1/4,1/21/4, 1/2 (matching (f⋅g)⋅h(f\cdot g)\cdot h) and φ1(s)\varphi_1(s) giving break points 1/2,3/41/2,3/4 (matching f⋅(g⋅h)f\cdot(g\cdot h)), and φt(0)=0,φt(1)=1\varphi_t(0)=0,\varphi_t(1)=1 for every tt. Setting

H(s,t)=((f⋅g)⋅h)(φt(s))H(s,t) = \big((f\cdot g)\cdot h\big)\big(\varphi_t(s)\big)

gives a continuous map (composition of continuous maps) with H(s,0)=((f⋅g)⋅h)(s)H(s,0) = ((f\cdot g)\cdot h)(s), H(s,1)=(f⋅(g⋅h))(s)H(s,1) = (f\cdot(g\cdot h))(s) (direct substitution and comparison of the piecewise formulas on matching subintervals), and H(0,t)=((f⋅g)⋅h)(0)=f(0)=x0H(0,t) = ((f\cdot g)\cdot h)(0) = f(0) = x_0, H(1,t)=x0H(1,t) = x_0 for all tt. This is a path homotopy, so (f⋅g)⋅h≃pf⋅(g⋅h)(f\cdot g)\cdot h \simeq_p f\cdot(g\cdot h), i.e. ([f]∗[g])∗[h]=[f]∗([g]∗[h])([f]*[g])*[h] = [f]*([g]*[h]). (In practice one usually just invokes the general reparametrization lemma: if φ:[0,1]→[0,1]\varphi:[0,1]\to[0,1] is continuous with φ(0)=0,φ(1)=1\varphi(0)=0,\varphi(1)=1, then f≃pf∘φf\simeq_p f\circ\varphi via the straight-line homotopy H(s,t)=f((1−t)s+tφ(s))H(s,t) = f\big((1-t)s + t\varphi(s)\big), 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 φt\varphi_t above to make the non-circularity of the argument completely transparent.)

(4) Identity. We show [f]∗[ex0]=[f][f]*[e_{x_0}] = [f]; the other equality is symmetric. Both f⋅ex0f \cdot e_{x_0} and ff have the same image and are related by the reparametrization

φ(s)={2s0≤s≤1/211/2≤s≤1,\varphi(s) = \begin{cases} 2s & 0 \le s \le 1/2 \\ 1 & 1/2 \le s \le 1, \end{cases}

since (f⋅ex0)(s)=f(φ(s))(f\cdot e_{x_0})(s) = f(\varphi(s)) for all ss (direct check on each subinterval, using ex0(2s−1)=x0=f(1)e_{x_0}(2s-1)=x_0=f(1)). Here φ\varphi is continuous (pasting lemma, the two pieces agree at s=1/2s=1/2: both give 11), with φ(0)=0,φ(1)=1\varphi(0)=0,\varphi(1)=1. By the reparametrization lemma, f∘φ≃pff \circ \varphi \simeq_p f via H(s,t)=f((1−t)s+tφ(s))H(s,t) = f((1-t)s + t\varphi(s)); continuity of HH is immediate as a composition, and H(0,t)=f(0)=x0H(0,t)=f(0)=x_0, H(1,t)=f(1)=x0H(1,t) = f(1)=x_0 for all tt since φ(0)=0,φ(1)=1\varphi(0)=0,\varphi(1)=1. Hence f⋅ex0≃pff\cdot e_{x_0} \simeq_p f, so [f]∗[ex0]=[f][f]*[e_{x_0}]=[f].

(5) Inverses. We must show f⋅fˉ≃pex0f \cdot \bar f \simeq_p e_{x_0} (the proof that fˉ⋅f≃pex0\bar f \cdot f \simeq_p e_{x_0} is identical with the roles swapped). Define

H(s,t)={f(2s(1−t))0≤s≤1/2f(2(1−s)(1−t))1/2≤s≤1.H(s,t) = \begin{cases} f(2s(1-t)) & 0 \le s \le 1/2 \\ f\big(2(1-s)(1-t)\big) & 1/2 \le s \le 1. \end{cases}

At s=1/2s=1/2 both formulas give f(1−t)f(1-t), so HH is well defined and continuous by the pasting lemma (each piece is a composition of ff with a jointly continuous function of (s,t)(s,t)). We check the four boundary conditions:

  • H(s,0)H(s,0): for s≤1/2s\le 1/2, H(s,0)=f(2s)=(f⋅fˉ)(s)H(s,0) = f(2s) = (f\cdot\bar f)(s) since f⋅fˉf\cdot\bar f on [0,1/2][0,1/2] is f(2s)f(2s); for s≥1/2s\ge 1/2, H(s,0)=f(2(1−s))=f(2−2s)H(s,0) = f(2(1-s)) = f(2-2s), and (f⋅fˉ)(s)(f\cdot \bar f)(s) for s≥1/2s \ge 1/2 is fˉ(2s−1)=f(1−(2s−1))=f(2−2s)\bar f(2s-1) = f(1-(2s-1)) = f(2-2s) — matches.
  • H(s,1)=f(0)=x0H(s,1) = f(0) = x_0 for all ss (both branches), which is ex0(s)e_{x_0}(s).
  • H(0,t)=f(0)=x0H(0,t) = f(0) = x_0 for all tt.
  • H(1,t)=f(0)=x0H(1,t) = f(0) = x_0 for all tt (second branch at s=1s=1 gives f(2⋅0⋅(1−t))=f(0)f(2\cdot 0\cdot(1-t)) = f(0)).

So HH is a path homotopy from f⋅fˉf\cdot \bar f to ex0e_{x_0}, giving [f]∗[fˉ]=[ex0][f]*[\bar f] = [e_{x_0}].

Conclusion. By (2), ∗* is a well-defined binary operation on π1(X,x0)\pi_1(X,x_0); by (3) it is associative; by (4) [ex0][e_{x_0}] is a two-sided identity; by (5) every element has a two-sided inverse. These are exactly the group axioms, so (π1(X,x0),∗)(\pi_1(X,x_0), *) is a group. ■\blacksquare

∎
CorollaryChange of basepoint

Let XX be path-connected and let x0,x1∈Xx_0, x_1 \in X. Choose any path γ\gamma from x0x_0 to x1x_1. Define

γ^:π1(X,x0)→π1(X,x1),γ^([f])=[γˉ⋅f⋅γ],\hat\gamma : \pi_1(X, x_0) \to \pi_1(X, x_1), \qquad \hat\gamma([f]) = [\bar\gamma \cdot f \cdot \gamma],

where γˉ(s)=γ(1−s)\bar\gamma(s) = \gamma(1-s). Then γ^\hat\gamma is a group isomorphism. In particular, for path-connected XX the isomorphism type of π1(X,x0)\pi_1(X,x_0) does not depend on the choice of basepoint x0x_0, and one may write "π1(X)\pi_1(X)" when only the isomorphism class matters.

Proof

We use the reparametrization/pasting technique established above, applied to concatenations of γ\gamma, γˉ\bar\gamma, and loops. Well-defined on classes: if f≃pf′f \simeq_p f' (both loops at x0x_0) via homotopy HH, then γˉ⋅f⋅γ≃pγˉ⋅f′⋅γ\bar\gamma \cdot f \cdot \gamma \simeq_p \bar\gamma \cdot f' \cdot \gamma via the concatenation-of-homotopies construction from part (2) of the theorem above (concatenate the constant homotopy on γˉ\bar\gamma, then HH reparametrized into the middle third, then the constant homotopy on γ\gamma); this is a direct three-piece pasting-lemma argument identical in spirit to the proof of part (2), so γ^([f])\hat\gamma([f]) depends only on [f][f]. Homomorphism: We must check γ^([f]∗[g])=γ^([f])∗γ^([g])\hat\gamma([f]*[g]) = \hat\gamma([f]) * \hat\gamma([g]), i.e.

γˉ⋅(f⋅g)⋅γ  ≃p  (γˉ⋅f⋅γ)⋅(γˉ⋅g⋅γ).\bar\gamma \cdot (f\cdot g)\cdot \gamma \;\simeq_p\; (\bar\gamma\cdot f\cdot \gamma)\cdot(\bar\gamma \cdot g \cdot \gamma).

The right side traverses γˉ,f,γ,γˉ,g,γ\bar\gamma, f, \gamma, \bar\gamma, g, \gamma each at appropriate multiplied speed, with the middle segment γ⋅γˉ\gamma\cdot\bar\gamma path-homotopic to the constant loop ex1e_{x_1} by part (5) of the theorem above (with γ\gamma in place of ff, noting γˉ‾=γ\overline{\bar\gamma} = \gamma, so γ⋅γˉ≃pex1\gamma \cdot \bar\gamma \simeq_p e_{x_1}; here we use γ⋅γˉ\gamma\cdot\bar\gamma is a loop at x1x_1). 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 γˉ,f,γ\bar\gamma, f, \gamma back to standard thirds, yields

(γˉ⋅f⋅γ)⋅(γˉ⋅g⋅γ)  ≃p  γˉ⋅(f⋅g)⋅γ.(\bar\gamma\cdot f\cdot \gamma)\cdot(\bar\gamma \cdot g \cdot \gamma) \;\simeq_p\; \bar\gamma \cdot(f\cdot g)\cdot\gamma.

Hence γ^\hat\gamma is a homomorphism. Bijectivity: Let γ^−1 ⁣:π1(X,x1)→π1(X,x0)\hat\gamma^{-1}\!: \pi_1(X,x_1)\to\pi_1(X,x_0) be defined the same way using the reverse path γˉ\bar\gamma in place of γ\gamma, i.e. γ^−1([h])=[γ⋅h⋅γˉ]\hat\gamma^{-1}([h]) = [\gamma \cdot h \cdot \bar\gamma]. Then for a loop ff at x0x_0,

γ^−1(γ^([f]))=[γ⋅γˉ⋅f⋅γ⋅γˉ].\hat\gamma^{-1}(\hat\gamma([f])) = [\gamma \cdot \bar\gamma \cdot f \cdot \gamma \cdot \bar\gamma].

Using γ⋅γˉ≃pex0\gamma\cdot\bar\gamma \simeq_p e_{x_0} (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 [f][f]. So γ^−1∘γ^=id\hat\gamma^{-1}\circ\hat\gamma = \mathrm{id}, and symmetrically γ^∘γ^−1=id\hat\gamma \circ \hat\gamma^{-1} = \mathrm{id}. Hence γ^\hat\gamma is a bijective homomorphism, i.e. a group isomorphism. ■\blacksquare

∎

Worked examples

Example 1: an explicit path homotopy for a "kinked" reparametrization. Let X=R2X = \mathbb{R}^2 and x0=(0,0)x_0 = (0,0). Consider two loops at x0x_0:

f(s)=(cos⁡(2πs)−1, sin⁡(2πs)),g(s)=(cos⁡(4πs(1−s))−1, sin⁡(4πs(1−s)))⋅1[0,1/2] extended below,f(s) = \big(\cos(2\pi s) - 1,\ \sin(2\pi s)\big), \qquad g(s) = \big(\cos(4\pi s(1-s))-1,\ \sin(4\pi s(1-s))\big)\cdot\mathbb 1_{[0,1/2]} \ \text{extended below},

Rather than use an artificial gg, take the cleaner asymmetric pair: let ff traverse the unit circle centered at (−1,0)(-1,0) once counterclockwise starting/ending at the origin, as above, and let

g(s)=(cos⁡(2πψ(s))−1, sin⁡(2πψ(s))),ψ(s)=3s2−2s3,g(s) = \big(\cos(2\pi\psi(s)) - 1,\ \sin(2\pi \psi(s))\big), \qquad \psi(s) = 3s^2 - 2s^3,

which is g=f∘ψg = f\circ\psi for the reparametrizing function ψ(s)=3s2−2s3\psi(s) = 3s^2-2s^3. Note ψ(0)=0\psi(0)=0, ψ(1)=1\psi(1)=1, ψ\psi is continuous (a polynomial), ψ′(s)=6s(1−s)≥0\psi'(s) = 6s(1-s) \ge 0 on [0,1][0,1] so ψ\psi is monotonic, non-constant-speed (it starts and ends slowly, at ψ′(0)=ψ′(1)=0\psi'(0)=\psi'(1)=0, and moves fastest at s=1/2s=1/2 where ψ′(1/2)=3/2\psi'(1/2) = 3/2). Geometrically ff and gg trace the same circle, but gg dawdles near the basepoint and rushes through the middle. By the reparametrization lemma used repeatedly above, define

H(s,t)=f((1−t)s+tψ(s)).H(s,t) = f\big((1-t)s + t\psi(s)\big).

This is continuous: (s,t)↦(1−t)s+tψ(s)(s,t) \mapsto (1-t)s+t\psi(s) is a polynomial hence continuous [0,1]2→[0,1][0,1]^2 \to [0,1] (values lie in [0,1][0,1] since it's a convex combination of ss and ψ(s)\psi(s), both in [0,1][0,1]), and ff is continuous, so HH is a composition of continuous maps. Check boundary conditions: H(s,0)=f(s)H(s,0) = f(s); H(s,1)=f(ψ(s))=g(s)H(s,1) = f(\psi(s)) = g(s); H(0,t)=f((1−t)⋅0+t⋅0)=f(0)=x0H(0,t) = f((1-t)\cdot 0 + t\cdot 0) = f(0) = x_0 for all tt; H(1,t)=f((1−t)⋅1+t⋅1)=f(1)=x0H(1,t) = f((1-t)\cdot 1 + t\cdot 1) = f(1) = x_0 for all tt. All four conditions of Homotopy of paths, the fundamental group hold, so HH is a genuine path homotopy and f≃pgf \simeq_p g, i.e. [f]=[g][f] = [g] in π1(R2,x0)\pi_1(\mathbb{R}^2, x_0) — 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 XX be the wedge of two circles ("figure eight"), realized concretely as

X={(x,y)∈R2:(x−1)2+y2=1}∪{(x,y)∈R2:(x+1)2+y2=1},X = \{(x,y) \in \mathbb{R}^2 : (x-1)^2+y^2 = 1\} \cup \{(x,y)\in\mathbb{R}^2 : (x+1)^2+y^2=1\},

two unit circles tangent at the origin x0=(0,0)x_0 = (0,0). It is a standard fact (provable with the Seifert–van Kampen theorem, beyond our present scope) that π1(X,x0)\pi_1(X,x_0) is the free group F2=⟨a,b⟩F_2 = \langle a, b\rangle on two generators, where aa is the class of the loop once around the right circle and bb once around the left circle, both counterclockwise, based at x0x_0. This group is non-abelian: ab≠baab \ne ba as elements of F2F_2, since abab and baba are already distinct reduced words. Now pick a different, asymmetric basepoint x1=(2,0)x_1 = (2,0), the rightmost point of the right circle, and a path γ\gamma from x0x_0 to x1x_1 given by traveling along the right circle counterclockwise from (0,0)(0,0) to (2,0)(2,0) through the upper half, i.e.

γ(s)=(1−cos⁡(πs), sin⁡(πs)),s∈[0,1].\gamma(s) = \big(1-\cos(\pi s),\ \sin(\pi s)\big), \qquad s\in[0,1].

This is continuous (composition of continuous trig functions), with γ(0)=(0,0)=x0\gamma(0) = (0,0)=x_0 and γ(1)=(2,0)=x1\gamma(1) = (2,0)=x_1, so it is a genuine path in XX from x0x_0 to x1x_1 (its image lies on the right circle, which is ⊂X\subset X). By the Corollary, γ^:π1(X,x0)→π1(X,x1)\hat\gamma : \pi_1(X,x_0) \to \pi_1(X,x_1), γ^([f])=[γˉ⋅f⋅γ]\hat\gamma([f]) = [\bar\gamma\cdot f\cdot\gamma], is an isomorphism. Apply it to [a][b]∈π1(X,x0)[a][b] \in \pi_1(X,x_0) (the class of "go around the right loop, then the left loop," based at the origin): its image is

γ^([a]∗[b])=[γˉ⋅(a⋅b)⋅γ]∈π1(X,x1),\hat\gamma([a]*[b]) = [\bar\gamma \cdot (a\cdot b) \cdot \gamma] \in \pi_1(X, x_1),

which concretely is the class, based at x1=(2,0)x_1=(2,0), of the loop: walk back along the upper right semicircle to the origin (γˉ\bar\gamma), go once around the right circle (aa), go once around the left circle (bb), then walk forward along the upper right semicircle back to x1x_1 (γ\gamma). Since γ^\hat\gamma is an isomorphism, this element has infinite order in π1(X,x1)\pi_1(X,x_1) exactly when [a]∗[b][a]*[b] has infinite order in π1(X,x0)\pi_1(X,x_0) — and indeed it does, since abab is a nontrivial reduced word in the free group F2F_2, so (ab)n≠e(ab)^n \ne e for all n≥1n\ge 1. 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 abab) transport faithfully to the new basepoint's fundamental group without recomputation.

CounterexamplePath-connectedness cannot be dropped from the change-of-basepoint theorem

The Corollary requires XX path-connected so that a connecting path γ\gamma from x0x_0 to x1x_1 exists at all — but one might ask whether the conclusion ("π1(X,x0)≅π1(X,x1)\pi_1(X,x_0)\cong \pi_1(X,x_1) for all x0,x1x_0,x_1") 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 π1(X,x0)\pi_1(X,x_0) is only ever built from loops confined to the path-component of x0x_0. Let

X={(x,y)∈R2:x2+y2=1} ⊔ {(2,0)}⊂R2,X = \{(x,y)\in\mathbb{R}^2 : x^2+y^2 = 1\} \ \sqcup\ \{(2,0)\} \subset \mathbb{R}^2,

the disjoint union of the unit circle and a single isolated point, with the subspace topology from R2\mathbb{R}^2. This XX is not path-connected: any path f:[0,1]→Xf:[0,1]\to X has connected image (continuous image of the connected set [0,1][0,1]), but XX's two pieces, the circle and the point {(2,0)}\{(2,0)\}, are each open and closed in XX (the point is isolated, hence {(2,0)}\{(2,0)\} is open in XX, and its complement — the circle — is also open in XX since XX minus an isolated point is open), so XX is disconnected and any connected subset of XX lies entirely in one piece; thus no path can join a point of the circle to (2,0)(2,0). Take x0=(1,0)x_0 = (1,0) on the circle and x1=(2,0)x_1 = (2,0) the isolated point. Every loop based at x1x_1 is the constant loop (its image is a connected subset of XX containing x1x_1, forced to be {x1}\{x_1\} since {x1}\{x_1\} is a whole path-component), so

π1(X,x1)={[ex1]},\pi_1(X, x_1) = \{[e_{x_1}]\},

the trivial group. But π1(X,x0)\pi_1(X, x_0) is the fundamental group of the circle based at (1,0)(1,0), which is Z\mathbb{Z} (a fact provable via covering space theory), a nontrivial infinite group. Hence

π1(X,x0)≅Z ≇ {e}≅π1(X,x1),\pi_1(X,x_0) \cong \mathbb{Z} \ \not\cong\ \{e\} \cong \pi_1(X,x_1),

so the conclusion of the Corollary genuinely fails once path-connectedness is dropped. The failure occurs precisely because there is no path γ\gamma from x0x_0 to x1x_1 to build the isomorphism γ^\hat\gamma from — the proof's very first ingredient is unavailable, not merely some inessential convenience.

Scope, edge cases & common traps

SituationWhat happensWhy
XX path-connectedπ1(X,x0)\pi_1(X,x_0) independent of x0x_0 up to isomorphismCorollary (change of basepoint)
XX not path-connectedπ1\pi_1 can differ (even in cardinality) between componentscounterexample above
XX simply connected (path-connected, π1\pi_1 trivial)isomorphism γ^\hat\gamma still needs a path, but target group is trivial regardless of path chosentrivial group has only one element
XX path-connected but not abelian π1\pi_1γ^\hat\gamma depends on the homotopy class of γ\gamma, not just on x0,x1x_0,x_1different γ\gamma's differ by conjugation by a loop at x0x_0
Confusing homotopy of paths with homotopy of maps in generalpath-homotopy fixes endpoints; general homotopy does notdefinitions differ in the boundary conditions on H(0,t),H(1,t)H(0,t), H(1,t)

The mathematician behind it

Origins · 1 minHenri Poincaré and how this was discovered
HP
Henri Poincaré
1854–1912 · Founder of algebraic topology, Analysis Situs, 1895

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 π1\pi_1 strictly finer information for distinguishing spaces — a fact central to his later Poincaré conjecture, itself phrased in terms of π1\pi_1 (a simply connected closed 3-manifold is homeomorphic to S3S^3).

History
- 1895 — Poincaré's Analysis Situs defines the fundamental group via loops up to deformation.
- 1904 — Poincaré poses the Poincaré conjecture, framed in terms of trivial π1\pi_1 implying S3S^3.
- 1930s — Reidemeister and Seifert develop combinatorial and covering-space methods (Seifert–van Kampen theorem) for computing π1\pi_1 of spaces built from simpler pieces.
- 1950s — the modern point-set formulation (path-homotopy, quotient by an equivalence relation on maps out of [0,1][0,1]) becomes standard textbook material, notably in texts following Munkres' treatment.
- 2002–2003 — Grigori Perelman proves the Poincaré conjecture using Ricci flow, resolving the century-old question originally phrased in the language π1\pi_1 made precise.
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 π1(X,x0)\pi_1(X,x_0) detect genuinely topological obstructions: a loop that cannot be contracted to the constant loop while staying anchored at x0x_0 is telling you something real about holes in XX 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 π1\pi_1 rather than elements.

Is π1(X,x0)\pi_1(X,x_0) always a group, or only sometimes?

It is always a group, for any topological space XX and any basepoint x0∈Xx_0 \in X — path-connectedness of XX 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 x0x_0, entirely internal to the path-component of x0x_0. Path-connectedness of XX only becomes relevant when you want to compare π1\pi_1 at different basepoints, which is the content of the change-of-basepoint Corollary.

What does it mean for π1\pi_1 to be a "homotopy invariant" or "topological invariant"?

It means that if f:X→Yf : X \to Y is a continuous map with f(x0)=y0f(x_0) = y_0, there is an induced homomorphism f∗:π1(X,x0)→π1(Y,y0)f_* : \pi_1(X,x_0) \to \pi_1(Y,y_0), f∗[γ]=[f∘γ]f_*[\gamma] = [f\circ\gamma], and this assignment respects composition and identities ((idX)∗=id(\mathrm{id}_X)_* = \mathrm{id}, (g∘f)∗=g∗∘f∗(g\circ f)_* = g_*\circ f_*). Consequently, if ff is a homeomorphism (or more generally a homotopy equivalence), f∗f_* is a group isomorphism. This is precisely what lets you conclude, for example, that R2\mathbb{R}^2 and R2∖{0}\mathbb{R}^2\setminus\{0\} are not homeomorphic: their fundamental groups, {e}\{e\} and Z\mathbb{Z}, are not isomorphic, and any homeomorphism would force an isomorphism.

How is π1(S1)\pi_1(S^1) actually computed, since this article only proves the group axioms?

The computation π1(S1,x0)≅Z\pi_1(S^1,x_0)\cong\mathbb{Z} requires more machinery than the group-axiom proof alone: one uses the covering map p:R→S1p:\mathbb{R}\to S^1, p(t)=(cos⁡2πt,sin⁡2πt)p(t) = (\cos 2\pi t,\sin 2\pi t), and two key facts about it (path lifting and homotopy lifting), to show every loop in S1S^1 lifts uniquely (given a starting point) to a path in R\mathbb{R}, 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 π1(X,x0)\pi_1(X,x_0) 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 (f⋅g)⋅h(f\cdot g)\cdot h and f⋅(g⋅h)f\cdot (g\cdot h) 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 π1(X)\pi_1(X) without a basepoint, and when is that dangerous?

It's acceptable, as an abuse of notation, exactly when XX 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) XX 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 π1\pi_1 is non-abelian, on which homotopy class of path is chosen.

What is the relationship between π1\pi_1 being trivial ("simply connected") and XX being path-connected?

These are logically independent conditions that are both required in the standard definition of "simply connected": XX is simply connected if it is path-connected and π1(X,x0)\pi_1(X,x_0) is trivial for some (equivalently, by the Corollary, every) x0x_0. Path-connectedness alone says nothing about π1\pi_1 (e.g. S1S^1 is path-connected with π1=Z\pi_1 = \mathbb{Z}), and triviality of π1(X,x0)\pi_1(X,x_0) at one basepoint of a disconnected space says nothing about other components (as the counterexample shows, an isolated point trivially has trivial π1\pi_1 while a disjoint circle does not).

Before this

Where this leads