Here is the question that I want an answer to it using commutative diagrams (as small number of them as possible):
Prove that the free product of $ \langle g_1, \dots ,g_m | r_1, \dots ,r_n \rangle$ and $ \langle h_1, \dots ,h_k| s_1, \dots ,s_l \rangle$ is isomorphic to $\langle g_1, \dots ,g_m,h_1, \dots ,h_k|r_1, \dots ,r_n,s_1, \dots ,s_l \rangle.$
I had an incomplete proof for it where I ignored the relations, which is off course a mistake. I showed that the free group of a disjoint union $F(A\amalg B)$ is isomorphic to the free product of the corresponding free groups $F(A)*F(B)$.
Now, my question is:
How can I prove this problem using the Universal property of free product?
The Universal property of free product is:
Note that the free product is the "coproduct in the category of groups." The universal property is:
If $G_1$ and $G_2$ are two groups,then for any group $G$ and for any pair of homomorphisms $\varphi_1:G_1 \to G$ and $\varphi_2:G_2 \to G$ there is a unique homomorphism $G_1 * G_2$ that on words representatives' of length one agrees with $\varphi_1$ and $\varphi_2.$
Any help will be greatly appreciated!
Probably you want to use a different definition of presentation: A group $G$ with presentation $\langle S| R \rangle$ is the quotient $F/N(R)$ where $F$ is the free group generated on $S$ and $N(R)$ is the smallest normal subgroup generated by $R$.
Now for $\langle F(S_i) \mid N(R_i)\rangle:=G_i$ you want to figure out their coproduct.
Here's a sketch of how I think the argument should go. No promises, but the flavor is probably something similar.
Well note that there are maps $F(S_i) \to (F(S_1 \cup S_2)/N(R_1 \cup R_2):=H)$ induced by just sending $S_i \to S_i$ and since $N(R_i)$ is killed in the image, we get induced maps $G_i \to H$ so by the universal property of coproducts a unique map $G_1*G_2 \to H$. First show that this map is surjective and $N(R_1 \cup R_2)$ is contained in the kernel. Then use uniqueness to deduce that it's exactly the kernel
since you tagged this algebraic topology:
Let $G_i$ have presentation complex given by the wedge of $S_i$ circles with a two cell glued in for each element of $R_i$. Then the coproduct in pointed spaces is the wedge sum and use Van Kampen's theorem (Pushouts are sent to pushouts in good circumstances) to deduce the result.