I am having trouble with this problem:
Assume that $(\mathbb{G}, *)$ is a finite group and there exists a positive integer $n$ such that gcd($n, |\mathbb{G}|)=1$.
Prove that the function $F_n: \mathbb{G} \rightarrow \mathbb{G} $ defined $(\forall x)(F_n(x)=x^n)$ is one-to-one.
I know that since $n$ and $|\mathbb{G}|$ are relatively prime $\exists x,y \in \mathbb{Z}$ such that $nx + |\mathbb{G}|y=1$. I'm just not sure how to use that to prove that $F_n$ is one-to-one.
At first I thought that using the above equation would allow me to solve for $x, y$ and then allow me to somehow show that $x=y \Rightarrow x^n = y^n \Rightarrow F_n(x)=F_n(y)$, therefore $F_n$ is one-to-one. I don't think that will work, though.
Help? Can someone point me in the right direction?
Suppose we had two elements $g, h$ such that $F_n(g) = F_n(h)$; that is, $g^n = h^n$. It follows that \begin{align*} g^{nx} &= g^{1 - |G|y} \\ &= g \cdot \left(g^{|G|}\right)^{-y} \\ &= g \end{align*} after using the fact that $g^{|G|} = e$ for every $g \in G$. Make the same computation for $h$ to conclude that
$$g = g^{nx} = h^{nx} = h$$