Introduction to Modern Algebra

Contents › Chapter 1. Symmetry and groups

1.4 Polygons, permutations and matrices

Three families of groups supply most examples in group theory: the symmetries of regular polygons, the rearrangements of finitely many objects, and invertible matrices. The square’s symmetries belong to the first family, and the shuffles of a deck of cards to the second.

The order of a group

Definition 1.4.1 (Order of a group).

The order of a group GG, written ∣G∣\lvert G \rvert, is the number of its elements. The group GG is finite if ∣G∣\lvert G \rvert is finite, and infinite otherwise.

Among the groups of clock arithmetic, ∣Z/nZ∣=n\lvert \mathbb{Z}/n\mathbb{Z} \rvert = n and ∣(Z/8Z)×∣=4\lvert (\mathbb{Z}/8\mathbb{Z})^\times \rvert = 4, while Z\mathbb{Z} and R×\mathbb{R}^\times are infinite.

Symmetries of regular polygons

The square’s symmetries extend to every regular polygon. Place a regular nn-gon on a clock with nn positions, as the square sat on a clock with four. The positions are then the classes of Z/nZ\mathbb{Z}/n\mathbb{Z}, and a turn by kk notches adds [k][k].

Example 1.4.2 (Dihedral groups).Not yet reviewed

Let n≥3n \ge 3, and place a regular nn-gon with its center at the center of a clock and its corners at the positions 0,1,…,n−10, 1, \dots, n - 1, counting clockwise from 00 at the top; positions are counted modulo nn. Its symmetries form a group of order 2n2n, the dihedral group DnD_n. Its elements are:

  • the rotations e,r,r2,…,rn−1e, r, r^2, \dots, r^{n-1}, where rr turns the polygon one notch clockwise (through the angle 2π/n2\pi/n), so that rkr^k sends position xx to x+kx + k;
  • the reflections s,rs,r2s,…,rn−1ss, rs, r^2s, \dots, r^{n-1}s, where ss is the reflection in the line through position 00 and the center, so that rksr^ks sends position xx to k−xk - x.

Composing these formulas gives every product. For example, (ras)(rbs)(r^as)(r^bs) first sends xx to b−xb - x and then to a−(b−x)=x+(a−b)a - (b - x) = x + (a - b). In the same way, with exponents counted modulo nn,

rarb=ra+b,ra(rbs)=ra+bs,(ras)rb=ra−bs,(ras)(rbs)=ra−b.\begin{aligned} r^ar^b &= r^{a + b}, & r^a(r^bs) &= r^{a + b}s, \\ (r^as)r^b &= r^{a - b}s, & (r^as)(r^bs) &= r^{a - b}. \end{aligned}

In particular rn=er^n = e, s2=es^2 = e and srs=r−1=rn−1srs = r^{-1} = r^{n-1}. Also sr=rn−1ssr = r^{n-1}s, which is not rsrs because n−1≢1(modn)n - 1 \not\equiv 1 \pmod n when n≥3n \ge 3; so DnD_n is not abelian. The rotations multiply exactly as Z/nZ\mathbb{Z}/n\mathbb{Z} adds: rarb=ra+br^ar^b = r^{a+b} matches [a]+[b]=[a+b][a] + [b] = [a + b].

Some books write D2nD_{2n} for this group, naming it by its order rather than by its polygon, and call the group of the square, of order 88, D8D_8 rather than D4D_4.

Why the symmetries of the polygon are exactly these 2n2n, and form a group.

Idea. As for the square: a symmetry sends corners to corners, there are only 2n2n ways to place the corners, and where the corners go decides the whole symmetry. Only the way corners are recognized changes. Let ff be a symmetry of the nn-gon, and name the corners at positions 00, 11 and 22 as A, B and C.

  1. ff sends corners to corners.

    A point QQ lies on the segment from PP to RR exactly when d(P,Q)+d(Q,R)=d(P,R)d(P, Q) + d(Q, R) = d(P, R), and the corners are the points of the polygon that do not lie on the segment between two other points of the polygon. Let XX be a corner, and suppose f(X)f(X) lay on the segment between two other points of the polygon. Since ff carries the polygon onto itself, those points are f(P)f(P) and f(R)f(R) for some points PP and RR of the polygon, both different from XX. Since ff keeps distances, d(f(P),f(X))+d(f(X),f(R))=d(f(P),f(R))d(f(P), f(X)) + d(f(X), f(R)) = d(f(P), f(R)) gives d(P,X)+d(X,R)=d(P,R)d(P, X) + d(X, R) = d(P, R), so XX would lie on the segment between PP and RR, which it does not. So f(X)f(X) is a corner.

  2. The corners f(A)f(\mathrm{A}), f(B)f(\mathrm{B}), f(C)f(\mathrm{C}) can be placed in at most 2n2n ways.

    The shortest distance between two corners is the length of a side, and the corners at that distance from a given corner are its two neighbors. The corner f(A)f(\mathrm{A}) is one of nn. Then f(B)f(\mathrm{B}) is a side’s length from f(A)f(\mathrm{A}), so it is one of the two neighbors of f(A)f(\mathrm{A}): at most n×2=2nn \times 2 = 2n choices. And f(C)f(\mathrm{C}) is a side’s length from f(B)f(\mathrm{B}) but is not f(A)f(\mathrm{A}), since d(f(A),f(C))=d(A,C)>0d(f(\mathrm{A}), f(\mathrm{C})) = d(\mathrm{A}, \mathrm{C}) > 0; so it is the other neighbor of f(B)f(\mathrm{B}).

  3. So the polygon has at most 2n2n symmetries.

    As in the proof for the square (Example 1.1.2), a point of the plane is pinned down by its distances to three points not on one line, such as A, B and C, so ff is decided by f(A)f(\mathrm{A}), f(B)f(\mathrm{B}) and f(C)f(\mathrm{C}), and therefore by the at most 2n2n choices of f(A)f(\mathrm{A}) and f(B)f(\mathrm{B}).

  4. The 2n2n symmetries listed are all different, so they are all the symmetries.

    rkr^k sends A to position kk and B to k+1k + 1, while rksr^ks sends A to kk and B to k−1k - 1, and k+1≢k−1k + 1 \not\equiv k - 1 since n≥3n \ge 3.

  5. DnD_n is a group under composition.

    Two symmetries composed give a symmetry (§1.1), so Closure holds. Composition of functions is associative, and ee is an identity. For inverses, rkr^k is undone by rn−kr^{n-k}, since rkrn−k=rn=er^kr^{n-k} = r^n = e, and each reflection undoes itself, since (rks)(rks)=rk−k=e(r^ks)(r^ks) = r^{k - k} = e.

□

Permutations

A function f:X→Xf : X \to X is a bijection exactly when it has an inverse function f−1f^{-1}, with f∘f−1=f−1∘f=idXf \circ f^{-1} = f^{-1} \circ f = \mathrm{id}_X, the identity function of XX; and a composite of bijections is a bijection.

Definition 1.4.3 (Symmetric group).

Let XX be a set. A permutation of XX is a bijection X→XX \to X. The symmetric group SXS_X is the set of all permutations of XX, with the product στ=σ∘τ\sigma\tau = \sigma \circ \tau: first τ\tau, then σ\sigma. For X={1,2,…,n}X = \{1, 2, \dots, n\} it is written SnS_n, and a permutation σ\sigma in SnS_n is written as a table with σ(k)\sigma(k) under kk:

σ=(12⋯nσ(1)σ(2)⋯σ(n)).\sigma = \begin{pmatrix} 1 & 2 & \cdots & n \\ \sigma(1) & \sigma(2) & \cdots & \sigma(n) \end{pmatrix}.

SXS_X is a group. Closure holds because a composite of bijections is a bijection, and associativity because composition of functions is associative. The identity function idX\mathrm{id}_X is an identity element, and the inverse function σ−1\sigma^{-1} of a permutation is a permutation with σσ−1=σ−1σ=idX\sigma\sigma^{-1} = \sigma^{-1}\sigma = \mathrm{id}_X.

SnS_n has n!n! elements. Writing down σ(1),σ(2),…,σ(n)\sigma(1), \sigma(2), \dots, \sigma(n) lists each of the numbers 1,…,n1, \dots, n exactly once, because σ\sigma is a bijection, so a permutation is the same thing as an ordering of nn objects, and there are n!n! orderings.

Products of permutations are always read from right to left, as for functions and for the symmetries of the square: στ\sigma\tau means first τ\tau, then σ\sigma. The order matters: στ\sigma\tau and τσ\tau\sigma can be different permutations, as rsrs and srsr are in the example of S3S_3 below.

Example 1.4.4 (The six permutations of three objects).Not yet reviewed

S3S_3 has 3!=63! = 6 elements. Label the corners of an equilateral triangle 1,2,31, 2, 3 clockwise from the top, as at positions 0,1,20, 1, 2 of the clock in Example 1.4.2, and record where each symmetry of the triangle sends the corner at each labeled place. The rotation rr sends the places 1↦2↦3↦11 \mapsto 2 \mapsto 3 \mapsto 1, and the reflection ss fixes the top place 11 and swaps 22 and 33. The six symmetries give

e=(123123),r=(123231),r2=(123312),s=(123132),rs=(123213),r2s=(123321).\begin{aligned} e &= \begin{pmatrix} 1 & 2 & 3 \\ 1 & 2 & 3 \end{pmatrix}, \\ r &= \begin{pmatrix} 1 & 2 & 3 \\ 2 & 3 & 1 \end{pmatrix}, \\ r^2 &= \begin{pmatrix} 1 & 2 & 3 \\ 3 & 1 & 2 \end{pmatrix}, \\ s &= \begin{pmatrix} 1 & 2 & 3 \\ 1 & 3 & 2 \end{pmatrix}, \\ rs &= \begin{pmatrix} 1 & 2 & 3 \\ 2 & 1 & 3 \end{pmatrix}, \\ r^2s &= \begin{pmatrix} 1 & 2 & 3 \\ 3 & 2 & 1 \end{pmatrix}. \end{aligned}

These are six different permutations, so they are all of S3S_3: the symmetries of the triangle and the rearrangements of three objects are the same six moves, multiplied in the same way.

S3S_3 is not abelian: rs=(123213)rs = \begin{pmatrix} 1 & 2 & 3 \\ 2 & 1 & 3 \end{pmatrix}, but sr=(123321)=r2ssr = \begin{pmatrix} 1 & 2 & 3 \\ 3 & 2 & 1 \end{pmatrix} = r^2s.

Matrix groups

Three facts about real n×nn \times n matrices from linear algebra are needed: matrix multiplication is associative, a matrix AA is invertible exactly when det⁡A≠0\det A \neq 0, and det⁡(AB)=det⁡Adet⁡B\det(AB) = \det A \det B.

Example 1.4.5 (Matrix groups).

The invertible n×nn \times n real matrices form a group under matrix multiplication, the general linear group GLn(R)GL_n(\mathbb{R}):

  • (i) Closure: if det⁡A≠0\det A \neq 0 and det⁡B≠0\det B \neq 0, then det⁡(AB)=det⁡Adet⁡B≠0\det(AB) = \det A \det B \neq 0.
  • (ii) Associativity: matrix multiplication is associative.
  • (iii) Identity: the identity matrix II satisfies IA=AI=AIA = AI = A.
  • (iv) Inverses: AA has an inverse matrix A−1A^{-1}, and det⁡Adet⁡(A−1)=det⁡I=1\det A \det(A^{-1}) = \det I = 1, so det⁡(A−1)≠0\det(A^{-1}) \neq 0 and A−1A^{-1} lies in GLn(R)GL_n(\mathbb{R}).

For n≥2n \ge 2 it is not abelian. The square of Example 1.1.2, with its corners at (0,1)(0, 1), (1,0)(1, 0), (0,−1)(0, -1) and (−1,0)(-1, 0), has the quarter turn rr and the reflection ss given by the matrices

R=(01−10),S=(−1001).R = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}, \qquad S = \begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}.

Their products

RS=(0110)≠SR=(0−1−10)RS = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} \neq SR = \begin{pmatrix} 0 & -1 \\ -1 & 0 \end{pmatrix}

are the matrices of the two different reflections rsrs and srsr. For larger nn, put RR and SS in the top-left corner of the n×nn \times n identity matrix: the two products still differ there.

Matrices with complex entries give the group GLn(C)GL_n(\mathbb{C}) in the same way.

Example 1.4.6 (The quaternion group).

In GL2(C)GL_2(\mathbb{C}), write 11 for the identity matrix and −1-1 for its negative, and let

i=(−100−−1),j=(01−10),k=(0−1−10),\begin{aligned} i &= \begin{pmatrix} \sqrt{-1} & 0 \\ 0 & -\sqrt{-1} \end{pmatrix}, \\ j &= \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}, \\ k &= \begin{pmatrix} 0 & \sqrt{-1} \\ \sqrt{-1} & 0 \end{pmatrix}, \end{aligned}

where −1\sqrt{-1} is the imaginary unit, a complex number with square −1-1; the letter ii now names the matrix. Multiplying the matrices gives

i2=j2=k2=−1,ij=k,jk=i,ki=j,ji=−k,kj=−i,ik=−j.\begin{gathered} i^2 = j^2 = k^2 = -1, \\ ij = k, \quad jk = i, \quad ki = j, \\ ji = -k, \quad kj = -i, \quad ik = -j. \end{gathered}

Since −1-1 commutes with every matrix and (−1)2=1(-1)^2 = 1, these rules give the product of any two of the eight matrices Q8={±1,±i,±j,±k}Q_8 = \{\pm 1, \pm i, \pm j, \pm k\}; for instance (−i)j=−(ij)=−k(-i)j = -(ij) = -k. So Q8Q_8 is a group of order 88, the quaternion group: Closure holds by the rules, matrix multiplication is associative, 11 is the identity, ±1\pm 1 are their own inverses, and ii is undone by −i-i, since i(−i)=−i2=1i(-i) = -i^2 = 1, and likewise for jj and kk. It is not abelian, since ij=kij = k but ji=−kji = -k. Also ijk=k2=−1ijk = k^2 = -1. The matrix jj is the quarter turn RR of the square.