The Seifert–van Kampen theorem
Statement
Let \(X\) be a topological space and let \(U, V \subseteq X\) be open subsets with \(X = U \cup V\), such that \(U\), \(V\) and \(U \cap V\) are all path-connected and nonempty. Fix a basepoint \(x_0 \in U \cap V\). Let \(i_U : U \cap V \to U\), \(i_V : U \cap V \to V\), \(j_U : U \to X\), \(j_V : V \to X\) be the inclusion maps. Then the homomorphism \[ \Phi : \pi_1(U,x_0) \ast \pi_1(V,x_0) \longrightarrow \pi_1(X,x_0) \] induced by \((j_U)_\ast\) and \((j_V)_\ast\) on the free product is surjective, and its kernel is the normal subgroup \(N\) generated by all elements \(i_U{}_\ast(\gamma)\, i_V{}_\ast(\gamma)^{-1}\) for \(\gamma \in \pi_1(U \cap V, x_0)\). Equivalently, \[ \pi_1(X,x_0) \;\cong\; \pi_1(U,x_0) \,\ast_{\pi_1(U\cap V,x_0)}\, \pi_1(V,x_0), \] the pushout of \(\pi_1(U,x_0) \xleftarrow{(i_U)_\ast} \pi_1(U\cap V,x_0) \xrightarrow{(i_V)_\ast} \pi_1(V,x_0)\) in the category of groups, i.e. the group with presentation obtained by taking presentations of \(\pi_1(U,x_0)\) and \(\pi_1(V,x_0)\) and adjoining the relations \(i_U{}_\ast(\gamma) = i_V{}_\ast(\gamma)\) for a generating set of \(\gamma \in \pi_1(U \cap V, x_0)\).
Why it matters
The fundamental group is defined via loops, a construction with no obvious way to "glue" — a loop in a union is not generally a loop in either piece. The Seifert–van Kampen theorem is the mechanism that repairs this: it converts an open cover of a space into an algebraic gluing recipe (a pushout of groups), turning geometric decomposition into computable group presentations. It is the single most productive tool for computing fundamental groups by hand: wedges of circles, surfaces from polygon identifications, complements of points and curves, and CW complexes all yield to it.
It is also the prototype for a much larger pattern in mathematics — the idea that a global invariant of a space glued from pieces is a colimit of the invariants of the pieces (compare Mayer–Vietoris in homology, or descent in sheaf theory). Understanding van Kampen well is understanding the shape of that pattern in its simplest, most concrete form.
Hypotheses
Proof
Result
Reading. Any loop in \(X\) can be cut into finitely many pieces each living in \(U\) or in \(V\), so every element of \(\pi_1(X)\) comes from \(\pi_1(U)\) and \(\pi_1(V)\); and the only relations forced between these pieces are the ones you'd expect — that a loop sitting in the overlap represents "the same" element whether you view it as living in \(U\) or in \(V\).
Scope. Applies to any space admitting an open cover by two path-connected sets with path-connected intersection sharing a common point; extends (via the fundamental groupoid) to covers by any number of open sets, or to \(U\cap V\) with several path components, at the cost of replacing the group pushout with a groupoid pushout/colimit. Does not by itself compute higher homotopy groups, which do not satisfy an analogous van Kampen theorem in general (though there are versions for \(n\)-connected covers and simplicial techniques).
Corollaries & converses
- If \(U\cap V\) is simply connected, the amalgamation collapses to a free product: \(\pi_1(X,x_0) \cong \pi_1(U,x_0) \ast \pi_1(V,x_0)\) (no relations imposed, since \(N\) is generated by the trivial group's image).
- If in addition \(U\) or \(V\) is simply connected, \(\pi_1(X,x_0)\) is a quotient of the other factor by the normal closure of \((i)_\ast(\pi_1(U\cap V))\); if both \(U,V,U\cap V\) are simply connected then \(X\) is simply connected.
- Attaching an \(n\)-cell (\(n\geq 3\)) to a space does not change \(\pi_1\) (take \(V\) a small neighbourhood of the cell, deformation retracting to the cell so simply connected once \(n\geq 3\) makes \(U\cap V \simeq S^{n-1}\) simply connected too); attaching a \(2\)-cell along a loop \(\gamma\) kills \(\gamma\) as a normal generator — this is exactly the group-presentation-from-CW-structure recipe.
- Converse: false as stated. Knowing \(\pi_1(X)\) is isomorphic to some amalgamated product \(A\ast_C B\) does not imply \(X\) splits as such a union with those groups as the pieces' fundamental groups — the algebraic decomposition of a group as an amalgam is far from unique (e.g. \(\mathbb{Z}\ast_{2\mathbb{Z}}\mathbb{Z}\) and other coincidences), and abstract group-theoretic amalgam decompositions carry no topological meaning without an accompanying open cover.
Fails without
- Openness dropped: cover \(S^1\) by two closed semicircular arcs \(A,B\) meeting only at their two shared endpoints. Both are contractible and \(A\cap B\) is two points (not path-connected, and not open), so no Lebesgue-number subdivision argument applies; there is no meaningful pushout statement to write down, and certainly \(\pi_1(S^1)=\mathbb{Z}\) is not recovered from any naive attempt.
- \(U\cap V\) path-connected dropped: \(S^1 = U\cup V\) with \(U,V\) open arcs each slightly more than a semicircle, so \(U\cap V\) is two disjoint arcs. Here \(U,V\) are contractible so \(\pi_1(U)=\pi_1(V)=1\); the (incorrect) formula \(1\ast_{\pi_1(U\cap V)}1\) would give the trivial group, but \(\pi_1(S^1)\cong\mathbb{Z}\neq 1\). The extra generator "\(\mathbb{Z}\)" comes precisely from having two disjoint copies of \(U\cap V\) to cross, information the group-pushout statement cannot see; the correct fix uses the fundamental groupoid on two basepoints, one in each component of \(U\cap V\).
- \(U,V\) path-connected dropped: let \(X=\mathbb{R}^2\), \(U = X\setminus\{(1,0)\}\), and pick \(V\) a small disc around \((1,0)\) union a disjoint small disc far away, so \(V\) is disconnected while \(U\cap V\) is only the first disc, path-connected, but \(V\) itself is not; the induced maps \((j_V)_\ast\) become ill-defined on the disconnected component not containing \(x_0\), and any loop passing through that stray piece of \(V\) is invisible to \(\pi_1(V,x_0)\), so \(\Phi\) can fail to be surjective onto \(\pi_1(X,x_0)\) once such a piece is attached in a way that actually threads through both.
Common errors
- Forgetting to check \(U\cap V\) is path-connected before quoting the theorem — the single most common error, since many natural covers (e.g. by two hemispheres of \(S^1\)) fail exactly this hypothesis.
- Amalgamating over the wrong group: writing \(\pi_1(X)\cong\pi_1(U)\ast\pi_1(V)\) (plain free product) when \(\pi_1(U\cap V)\) is nontrivial and its images in \(U\), \(V\) are not both trivial — the relations \(i_U{}_\ast(\gamma)=i_V{}_\ast(\gamma)\) are then essential and dropping them changes the answer, e.g. for the torus decomposition this error would give a nonabelian free group instead of \(\mathbb{Z}^2\).
- Confusing "\(U\cap V\) simply connected" with "\(U\cap V\) is a point" — simple connectivity is all that is needed for the amalgam to reduce to a free product, no contractibility of the overlap to a single point is required.
- Using closed sets instead of open sets in the cover (e.g. taking \(U,V\) to be the closed upper/lower hemispheres of \(S^n\)) — the theorem as stated genuinely requires openness for the subdivision argument; a common patch (replacing closed hemispheres by slightly enlarged open neighbourhoods that deformation retract onto them) is needed and often silently skipped.
- Applying the two-set theorem directly to a cover by more than two sets without correctly iterating it pairwise (or invoking the multi-set groupoid version), which can silently drop cross-terms between non-adjacent pieces of the cover.
Discussion
The theorem is named for Herbert Seifert and Egbert van Kampen, who independently proved versions of it in the 1930s (Seifert 1931, van Kampen 1933), in the broader project of using combinatorial/simplicial decompositions to compute topological invariants; van Kampen's original proof already handled the amalgamated-product statement essentially as given here, phrased in terms of generators and relations rather than the modern categorical pushout language.
Its structural role becomes clearer once one recognises \(\pi_1\) as a functor from pointed spaces to groups that does not preserve colimits on the nose — a union is a pushout of spaces (\(U \leftarrow U\cap V \to V\), with \(X\) the pushout), and van Kampen says this particular functor does take that pushout of spaces to the pushout of groups, provided the gluing region is connected enough to see. This is the same shape of theorem as Mayer–Vietoris in homology, which computes \(H_\ast(X)\) from a long exact sequence built out of \(H_\ast(U), H_\ast(V), H_\ast(U\cap V)\); van Kampen is the non-abelian, \(\pi_1\)-level analogue, and the reason it takes a pushout rather than an exact sequence is precisely that groups (unlike abelian groups) do not have a well-behaved notion of "difference" of two maps.
A cleaner modern proof route replaces the explicit grid-combinatorics of Steps 5–9 with the fundamental groupoid \(\Pi_1(X)\) on a suitable set of basepoints and a categorical van Kampen theorem for groupoids (due to Ronald Brown), which is a colimit statement requiring no connectivity hypothesis on \(U\cap V\) at all — the classical group-level theorem is recovered afterward by specialising to a single basepoint once \(U\cap V\) happens to be connected. This explains structurally why the group-level statement is so brittle to disconnected overlaps: the "right" object to take a colimit of was always the groupoid, and passing to \(\pi_1\) at one point only works when there is nothing lost in doing so.
Common misconception: that the theorem says \(\pi_1(U\cup V)\) is "built from" \(\pi_1(U)\) and \(\pi_1(V)\) alone, with \(U\cap V\) merely a technical convenience. In fact \(\pi_1(U\cap V)\) plays an equally load-bearing role: it is not the group \(\pi_1(U\cap V)\) itself that matters but the pair of homomorphisms out of it, and changing those homomorphisms (while keeping all three groups fixed) generally changes \(\pi_1(X)\) — the amalgam depends on the maps, not merely on the three groups in isolation.
Worked examples
Reading. Loops in a figure-eight are exactly words in the two loop-generators \(a\) (around the first circle) and \(b\) (around the second), with no relations forcing any word to simplify.
Reading. The sphere splits into two contractible caps overlapping in a connected annular region; since both caps individually kill all loops, no loop anywhere in \(S^n\) can survive, irrespective of the overlap's own fundamental group.
Problems
- Use the standard CW/polygon decomposition of the torus \(T^2\) (a square with edges identified \(aba^{-1}b^{-1}\)) to compute \(\pi_1(T^2)\) via the Seifert–van Kampen theorem, taking \(U\) a small open disc around the centre of the square and \(V\) the complement of the centre point (deformation retracting onto the wedge of two circles \(a,b\) from the boundary identification).
Solution
Let \(X=T^2\) with its usual identification of a square via \(aba^{-1}b^{-1}\); let \(x_0\) be the (single) vertex, which is where all four corners are glued. Take \(U\) a small open disc around the centre of the square (not touching the boundary), so \(U\) is contractible: \(\pi_1(U)=1\). Take \(V = X\setminus\{\text{centre}\}\), which deformation retracts onto the boundary edge-word, i.e. onto \(S^1\vee S^1\) with generators \(a,b\); so \(\pi_1(V,x_0)\cong F_2=\langle a,b\rangle\) (basepoint moved to the wedge point via the retraction). \(U\cap V\) is an annulus (disc minus its centre point... more precisely disc minus centre, deformation retracting onto a small circle around the centre), which is path-connected with \(\pi_1(U\cap V)\cong\mathbb{Z}\), generated by a loop \(\delta\) that traces once around the centre. Tracing \(\delta\) through the retraction of \(V\) onto the boundary word shows \(i_V{}_\ast(\delta)\) is exactly the boundary edge-path \(aba^{-1}b^{-1}\) (reading the square's boundary once around), while \(i_U{}_\ast(\delta)=1\) since \(\pi_1(U)\) is trivial. By the theorem, \(\pi_1(T^2)\cong \pi_1(U)\ast_{\pi_1(U\cap V)}\pi_1(V) = 1\ast_{\mathbb{Z}}F_2\), which forces the single relation \(i_V{}_\ast(\delta)=i_U{}_\ast(\delta)=1\), i.e. \(aba^{-1}b^{-1}=1\). So \(\pi_1(T^2)\cong\langle a,b\mid aba^{-1}b^{-1}\rangle\cong\mathbb{Z}\times\mathbb{Z}=\mathbb{Z}^2\). - Compute \(\pi_1(\mathbb{RP}^2,x_0)\) using the polygon decomposition of \(\mathbb{RP}^2\) as a square with edge word \(aa\) (i.e. \(a^2\)), by the same \(U\)/\(V\) split as in Problem 1.
Solution
As in Problem 1, take \(U\) a small disc around the centre (\(\pi_1(U)=1\)) and \(V\) the complement of the centre, retracting onto the boundary circle \(S^1\) with a single generator \(a\) (the square has only one edge-pair, glued as \(a a\)), so \(\pi_1(V,x_0)\cong\langle a\rangle\cong\mathbb{Z}\) freely (before imposing the relation from the overlap). The overlap generator \(\delta\) again maps under \(i_V{}_\ast\) to the boundary word read once around, which is \(a\cdot a = a^2\), while \(i_U{}_\ast(\delta)=1\). So the amalgam \(1\ast_{\mathbb{Z}}\mathbb{Z}\) imposes \(a^2=1\), giving \(\pi_1(\mathbb{RP}^2)\cong\langle a\mid a^2\rangle\cong\mathbb{Z}/2\mathbb{Z}\). - (Disconnected overlap.) Cover \(S^1\) by two open arcs \(U,V\) each covering more than a semicircle, so that \(U\cap V\) has two path components \(P_1\ni x_0\) and \(P_2\), with a point \(x_1\in P_2\). Explain precisely why the group-level Seifert–van Kampen theorem as stated cannot be applied directly to compute \(\pi_1(S^1,x_0)\), and use the groupoid idea (tracking a path \(\eta\) from \(x_0\) to \(x_1\) through \(U\), and separately through \(V\)) to recover \(\pi_1(S^1,x_0)\cong\mathbb{Z}\) informally.
Solution
The theorem as stated requires \(U\cap V\) path-connected; here it has two components \(P_1,P_2\), so the hypothesis fails and the pushout-of-groups conclusion is simply not asserted by the theorem (applying it anyway, as noted in "Fails without", would wrongly predict the trivial group since \(\pi_1(U)=\pi_1(V)=1\)). Informally: choose a path \(\eta_U\) from \(x_0\) to \(x_1\) inside \(U\), and a path \(\eta_V\) from \(x_0\) to \(x_1\) inside \(V\) (both exist since \(U,V\) are individually path-connected arcs). The loop \(\eta_U\cdot\eta_V^{-1}\) is a genuine loop at \(x_0\) in \(X=S^1\), and it is exactly one generator that neither \(\pi_1(U,x_0)\) nor \(\pi_1(V,x_0)\) alone can see, because it is built from crossing the overlap through two different components. One shows (this is the content of the groupoid van Kampen theorem) that \(\pi_1(S^1,x_0)\) is generated by this single class \([\eta_U\eta_V^{-1}]\) with no relations, i.e. it is infinite cyclic; this matches \(\pi_1(S^1)\cong\mathbb{Z}\), with the extra generator arising precisely from the second overlap component that the naive group-only statement discards. - Prove directly from the universal property of the pushout (not the explicit grid proof) that if \(\pi_1(U,x_0)=\pi_1(V,x_0)=1\) then \(\pi_1(U,x_0)\ast_{\pi_1(U\cap V,x_0)}\pi_1(V,x_0)=1\), for an arbitrary group \(\pi_1(U\cap V,x_0)\) and arbitrary homomorphisms into the trivial groups.
Solution
The pushout \(P\) of \(1 \xleftarrow{} C \xrightarrow{} 1\) (where \(C=\pi_1(U\cap V,x_0)\) and both maps are necessarily the unique homomorphism to the trivial group) is, by the universal property, the group \(P\) equipped with homomorphisms \(1\to P\), \(1\to P\) making the square commute, such that any other group \(Q\) with compatible maps from the two copies of \(1\) receives a unique map \(P\to Q\) making everything commute. But the trivial group \(1\) itself, with its unique maps, satisfies this universal property vacuously: for any \(Q\) there is a unique homomorphism \(1\to Q\) (sending the identity to the identity), so \(1\) already has the required unique factorisation property. By uniqueness of objects representing a universal property (up to unique isomorphism), \(P\cong 1\). Concretely this matches Step 3 of Worked Example 2: the amalgam of two trivial groups over anything is trivial. - Let \(X\) be the union of two circles glued at two distinct points (a "theta graph" \(\theta\), i.e. two vertices joined by three edges). Decompose \(X\) into two open sets \(U,V\) suitable for the Seifert–van Kampen theorem and compute \(\pi_1(X,x_0)\).
Solution
Label the two vertices \(p,q\) and the three edges \(e_1,e_2,e_3\), each an arc from \(p\) to \(q\); pick the basepoint \(x_0=p\). Let \(U\) be a small open neighbourhood of the union \(e_1\cup e_2\) (thickened slightly past \(q\) so it stays open), which deformation retracts onto the circle \(e_1\cup e_2\) (a loop through \(p\) and \(q\)); so \(\pi_1(U,x_0)\cong\mathbb{Z}\), generated by \(c_{12}=e_1 e_2^{-1}\) (go along \(e_1\) from \(p\) to \(q\), back along \(e_2\)). Let \(V\) be a small open neighbourhood of \(e_2\cup e_3\), similarly retracting onto a circle with \(\pi_1(V,x_0)\cong\mathbb{Z}\), generated by \(c_{23}=e_2e_3^{-1}\). Arrange the neighbourhoods so \(U\cap V\) is a small open neighbourhood of \(e_2\) together with small neighbourhoods of \(p,q\), which deformation retracts onto \(e_2\), an arc — contractible, so \(\pi_1(U\cap V,x_0)=1\). By the theorem (trivial overlap group, so free product as in Corollary 1), \(\pi_1(X,x_0)\cong\mathbb{Z}\ast\mathbb{Z}=F_2\), the free group on two generators \(c_{12},c_{23}\) — consistent with \(X\) being homotopy equivalent to a wedge of two circles (a graph with 2 vertices and 3 edges has Euler characteristic \(2-3=-1\), so it is homotopy equivalent to a wedge of \(1-\chi=2\) circles).