Prove that every element of a finite group has an order I was reading Nielsen and Chuang's "Quantum Computation and Quantum Information" and in the appendices was a group theory refresher. In there, I found this question: 

Exercise A2.1 Prove that for any element $g$ of a finite group, there always exists a positive integer $r$ such that $g^r=e$. That is, every element of such a group has an order. 

My first thought was to look at small groups and try an inductive argument. So, for the symmetric groups of small order e.g. $S_1, S_2, S_3$ the integer $r$ is less than or equal to the order of the group. I know this because the groups are small enough to calculate without using a general proof. 
For example, in $S_3$ there is an element that rearranges the identity $\langle ABC \rangle$ element by shifting one character to the left e.g. $s_1 = \langle BCA \rangle$. Multiplying this element by itself produces the terms $s_1^2 = \langle CAB \rangle$; and $s_1^3 = \langle ABC \rangle$ which is the identity element, so this element is equal to the order of the group, which is three. 
I have no idea if this relation holds for $S_4$ which means I am stuck well before I get to the general case. 
There's a second question I'd like to ask related to the first. Is the order or period of any given element always less than or equal to the order of the group it belongs to? 

Sometimes it is much clearer to argue the general case.  Consider any $g \in G$, a finite group.  Since $G$ is a group, we know that $g\cdot g = g^2 \in G$.  Similarly, $g^n \in G$ for any $n$.  So there is a sequence of elements,
$$g, g^2, g^3, g^4, g^5, \ldots, g^n, \ldots $$
in $G$.
Now since $G$ is finite, there must be a pair of number $m \neq n$ such that $g^m = g^n$ (well, there are many of these, but that's irrelevant to this proof).
Can you finish the proof from this point?  What does $g^m = g^n$ imply in a group?
Hope this helps!
