I have the following task:
Be $G$ a group with $\forall g \in G: g^2=1_G$
Prove that $G$ is abelian.
I proved it this way:
$\forall g \in G: g^2=1_G$ implies $\forall g \in G: g=g^{-1}$
Be $g,h \in G$.
It is $gh \in G$ and $(gh)^{-1} = h^{-1}g^{-1}$ since $(g(hh^{-1})g^{-1})=1_G=(h^{-1}(g^{-1}g)h)$
Hence:
$$gh = (gh)^{-1} = h^{-1}g^{-1} = hg \quad \square$$
This is the first proof with groups I've ever done in my life, hence I am a bit unsure if everything is correct. It would be nice when someone could tell me if my proof is complete.