This is the next problem fron Herstein's book:
(a) If the group $G$ has three elements, show it must be abelian.
(b) Do part (a) if $G$ has four elements.
My proof:
a) Since $|G|=3$ then $G=\{a,b,e\}$ and since $G$ is closed under group operation then $ab\in G$ and $ab\notin\{a,b\}$. Hence $ab=e$ and $ba=e$ and we get that $G$ is abelian group.
b) Since $|G|=4$ then $G=\{a,b,c,e\}$ and $ab\in G$ and it's easy to see that $ab\notin \{a,b\}$. The case $ab=e$ gives us the identity $ba=e$ and therefore $ab=ba$.
We need to consider the case $ab=c$. In this case $ba\in \{c,e\}$.
- If $ab=c$ and $ba=e$ then we derive $c=e$ which is contradiction.
- If $ab=c$ and $ba=c$ we get that $ab=ba$ and we have done.
The same reasoning can be applied for pairs $(a,c)$ and $(b,c)$.
Is above reasoning correct?
If any can suggest more shorter and elegant proof it would be great.