Let $M:G\to H$ be a homomorphism and let $x$ be in $G$. Suppose that $x$ has order $k$. Show that if $M$ is injective the order of $M(x)$ equals order of $x$.
My approach:
$M(x)^k=M(x^k)=M(e)=e'$, where e and e' are identity elements in $G$ and $H$ respectively. Then $|M(x)|$ divides $k$. $(|M(x)| \leq k)$
I'm stuck here, I tried to apply pigeonhole principle, but that seems to lead to nowhere.
Now use injectivity: if $M(x)^p=e'$ for $1\leqslant p\lt k$, then $M(x^p)=e'$ hence by injectivity of $M$, $x^p=e$ which is not possible.