Dummit and Foote (D&F) Section 1.2 Dihedral Groups, exercise 1(b) reads as follows:

Compute the order of each of the elements of $\displaystyle D_8$.

D&F give the following as one presentation of $\displaystyle D_{2n}$ :

$\displaystyle D_{2n}$ = < r,s | $\displaystyle r^n$ = $\displaystyle s^2$ = 1, rs = $\displaystyle sr^{-1}$>

Following this notation I proceeded to compute r, s and sr and (among other elements) was going to determine the order of sr. I proceeded as follows:

Given the set-up mentioned for the square - see attached pages from D&F on the Dihedral Groups - i defined r and s as follows:

r = $\displaystyle \left(\begin{array}{cccc} 1&2&3&4 \\ 2&3&4&1 \end{array}\right) $

s = $\displaystyle \left(\begin{array}{cccc} 1&2&3&4 \\ 1&4&3&2 \end{array}\right) $

Thus

sr = $\displaystyle \left(\begin{array}{cccc} 1&2&3&4 \\ 4&3&2&1 \end{array}\right) $

So from these permutations I calculated that

$\displaystyle (sr)^2$ = $\displaystyle \left(\begin{array}{cccc} 1&2&3&4 \\ 1&2&3&4 \end{array}\right) $ = 1

BUT!! from the relations given by D&F we have $\displaystyle s^2$ = 1 and so we can proceed thus to find $\displaystyle (sr)^2$

$\displaystyle (sr)^2$ = $\displaystyle s^2$$\displaystyle r^2$ = 1.$\displaystyle r^2$ ????

Can anyone help?