Let $G$ be a commutative group of odd order.
Show that the map $f(a)=a^2$ is an isomorphism of groups from G to itself.
$f(ab)=(ab)^2=a^2b^2=f(a)f(b)$ so clearly its a homomorphism.
Now suppose $f(a)=f(b)$.
Then $a^2=b^2$.
Multiply on the left by $a$.
$a^3=ab^2$ and since G is odd, $a^3 =e$.
So $e=ab^2$. Then multiplying by $b$ on the right,
$eb=ab^3$ and $b^3 = 1$ so $a=b$. It is injective.
How do we show it is surjective?