# Van Kampen’s theorem

Van Kampen’s theorem for fundamental groups may be stated as follows:

###### Theorem 1.

Let $X$ be a topological space which is the union of the interiors of two path connected subspaces $X_{1},X_{2}$. Suppose $X_{0}:=X_{1}\cap X_{2}$ is path connected. Let further $*\in X_{0}$ and $i_{k}\colon\thinspace\pi_{1}(X_{0},*)\to\pi_{1}(X_{k},*)$, $j_{k}\colon\thinspace\pi_{1}(X_{k},*)\to\pi_{1}(X,*)$ be induced by the inclusions for $k=1,2$. Then $X$ is path connected and the natural morphism

 $\pi_{1}(X_{1},*)\bigstar_{\pi_{1}(X_{0},*)}\pi_{1}(X_{2},*)\to\pi_{1}(X,*)\,,$

is an isomorphism, that is, the fundamental group of $X$ is the free product of the fundamental groups of $X_{1}$ and $X_{2}$ with amalgamation of $\pi_{1}(X_{0},*)$.

Usually the morphisms induced by inclusion in this theorem are not themselves injective, and the more precise version of the statement is in terms of pushouts of groups.

The notion of pushout in the category of groupoids allows for a version of the theorem for the non path connected case, using the fundamental groupoid $\pi_{1}(X,A)$ on a set $A$ of base points, [rb1]. This groupoid consists of homotopy classes rel end points of paths in $X$ joining points of $A\cap X$. In particular, if $X$ is a contractible space, and $A$ consists of two distinct points of $X$, then $\pi_{1}(X,A)$ is easily seen to be isomorphic to the groupoid often written $\mathcal{I}$ with two vertices and exactly one morphism between any two vertices. This groupoid plays a role in the theory of groupoids analogous to that of the group of integers in the theory of groups.

###### Theorem 2.

Let the topological space $X$ be covered by the interiors of two subspaces $X_{1},X_{2}$ and let $A$ be a set which meets each path component of $X_{1},X_{2}$ and $X_{0}:=X_{1}\cap X_{2}$. Then $A$ meets each path component of $X$ and the following diagram of morphisms induced by inclusion