Lemma (free product with amalgamation)

Let $G_1$ and $G_2$ be any groups, given by the presentations $\langle S_1 \mid R_1\rangle$ and $\langle S_2 \mid R_2\rangle$, where $S_1 \cap S_2 = \emptyset$.

Define the free product as $$ \begin{align*} G_1 * G_2 = \langle S_1 \cup S_2 \mid R_1 \cup R_2\rangle. \end{align*} $$

The inclusions $S_i\to S_1 \cup S_2 \to F(S_1 \cup S_2)\to G_1 * G_2$ induce canonical homomorphisms $G_1 \xrightarrow{j_1} G_1 * G_2 \xleftarrow{j_2} G_2$.

Given a group $H$ and homomorphisms $G_1 \xleftarrow{i_1} H \xrightarrow{i_2} G_2$, define the free product with amalgamation over $H$ to be the quotient $$ \begin{align*} G_1 *_H G_2 = (G_1 * G_2) \;/\; \langle \langle j_1(i_1(h)) \cdot (j_2(i_2(h)))\inv \mid h\in H\rangle\rangle. \end{align*} $$

The free product is the free product with amalgamation over the trivial group.

The construction ensures this commutes: