Let $X$ be the space obtained by attaching two discs to the circle $S^1$. The first disc is attached by its boundary via the map $z \mapsto z^3$ and the second disc is attached by its boundary via the map $z\mapsto z^5$. How do I compute the fundamental group and the first homology group.
I understand that I need to use the Seifert-van Kapen theorem.
Call the discs $U_1,U_2.$ we want to know the fundamental group of $X=U_1\cup U_2.$ and will use Seifert-van Kampen. From Wikipedia:
Let $\pi_1(U_1\cap U_2)=\langle a\rangle, \pi_1(U_1)=1, \pi_1(U_2)=1.$ Then we get $i_1 : a\mapsto 1,$ and $i_2 : a\mapsto 1.$ and we can write down:
$$\pi_1 X = 1 \ast_{\Bbb Z} 1 = \langle a | a =1, a = 1\rangle = 1.$$
But then we probably could have guessed that answer without working it out.