Introduction to Modern Algebra

Contents › Chapter 3

Chapter 3. Permutations

3.1 Cycle notation

A row of cards can be rearranged by swapping two cards at a time, and the same rearrangement can be reached by many different sequences of swaps, of different lengths.

The two-line table of a permutation says where each point goes, but not what the permutation does. In

σ=(123456542613)\sigma = \begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 \\ 5 & 4 & 2 & 6 & 1 & 3 \end{pmatrix}

nothing stands out until one point is followed: 11 goes to 55 and 55 straight back to 11, while 22 goes to 44, 44 to 66, 66 to 33 and 33 back to 22. The points travel round two loops. Every permutation of a finite set is made of such loops, always the same ones, and they show how many times the permutation must be repeated before every point is back where it started.

As for all permutations (Definition 1.4.3), a product στ\sigma\tau means first τ\tau, then σ\sigma, and the identity permutation is written ee.

Cycles

Definition 3.1.1 (Cycle).

Let XX be a set, let k≥2k \ge 2, and let a1,a2,…,aka_1, a_2, \dots, a_k be distinct elements of XX. The cycle (a1 a2 … ak)(a_1\ a_2\ \dots\ a_k) is the permutation of XX that sends

a1↦a2↦⋯↦ak↦a1a_1 \mapsto a_2 \mapsto \cdots \mapsto a_k \mapsto a_1

and fixes every other element of XX. Its length is kk, and a cycle of length kk is a kk-cycle. Two cycles are disjoint if no element of XX appears in both.

Disjoint cycles commute. Let γ\gamma and δ\delta be disjoint cycles and let x∈Xx \in X. If γ\gamma moves xx, then γ(x)\gamma(x) is also one of the points of γ\gamma, and δ\delta fixes both xx and γ(x)\gamma(x), because they are not points of δ\delta. So γδ(x)=γ(x)\gamma\delta(x) = \gamma(x) and δγ(x)=δ(γ(x))=γ(x)\delta\gamma(x) = \delta(\gamma(x)) = \gamma(x). In the same way γδ(x)=δγ(x)=δ(x)\gamma\delta(x) = \delta\gamma(x) = \delta(x) when δ\delta moves xx, and both products fix xx when neither cycle moves it. So γδ=δγ\gamma\delta = \delta\gamma. Cycles that are not disjoint need not commute: (1 2)(2 3)(1\ 2)(2\ 3) sends 11 to 22, while (2 3)(1 2)(2\ 3)(1\ 2) sends 11 to 33.

Every permutation is made of cycles

Powers of a permutation τ\tau repeat it: τ2=ττ\tau^2 = \tau\tau, τ3=τττ\tau^3 = \tau\tau\tau, and τ0=e\tau^0 = e. Following the points of σ=(123456542613)\sigma = \begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 \\ 5 & 4 & 2 & 6 & 1 & 3 \end{pmatrix} splits it into the disjoint cycles (1 5)(1\ 5) and (2 4 6 3)(2\ 4\ 6\ 3), so σ=(1 5)(2 4 6 3)\sigma = (1\ 5)(2\ 4\ 6\ 3). The theorem says that following points always works, and that the answer does not depend on which points are followed first.

Theorem 3.1.2 (Disjoint cycle decomposition).Not yet reviewed

Let XX be a finite set and let σ\sigma be a permutation of XX. Then σ\sigma is a product of disjoint cycles,

σ=γ1γ2⋯γm,\sigma = \gamma_1 \gamma_2 \cdots \gamma_m,

and any two such products for σ\sigma consist of the same cycles, perhaps in a different order. The cycle through a point xx that σ\sigma moves is (x  σ(x)  σ2(x)  …  σk−1(x))(x\ \ \sigma(x)\ \ \sigma^2(x)\ \ \dots\ \ \sigma^{k-1}(x)), where kk is the least positive integer with σk(x)=x\sigma^k(x) = x. The points that σ\sigma fixes lie in none of the cycles, and the identity is the product of no cycles (m=0m = 0).

Proof.

Idea. Follow a point under σ\sigma until it returns, which it must, since there are only finitely many points; the points it passes form one cycle. Different starting points give the same cycle or disjoint ones, and σ\sigma is the product of all of them.

  1. For each x∈Xx \in X, some positive power of σ\sigma fixes xx; let k≥1k \ge 1 be the least exponent with σk(x)=x\sigma^k(x) = x.

    The points x,σ(x),σ2(x),…x, \sigma(x), \sigma^2(x), \dots all lie in the finite set XX, so two of them are equal: σi(x)=σj(x)\sigma^i(x) = \sigma^j(x) for some 0≤i<j0 \le i < j. Since σ\sigma is injective, σ(a)=σ(b)\sigma(a) = \sigma(b) forces a=ba = b; using this ii times turns σi(x)=σi(σj−i(x))\sigma^i(x) = \sigma^i(\sigma^{j-i}(x)) into x=σj−i(x)x = \sigma^{j-i}(x), with j−i≥1j - i \ge 1.

  2. The points x,σ(x),…,σk−1(x)x, \sigma(x), \dots, \sigma^{k-1}(x) are distinct.

    If σi(x)=σj(x)\sigma^i(x) = \sigma^j(x) with 0≤i<j≤k−10 \le i < j \le k - 1, the argument of the first step gives σj−i(x)=x\sigma^{j-i}(x) = x with 0<j−i<k0 < j - i < k, which contradicts the choice of kk.

  3. For each xx, let C(x)={x,σ(x),…,σk−1(x)}C(x) = \{x, \sigma(x), \dots, \sigma^{k-1}(x)\}. These sets cut XX into disjoint pieces.

    Call yy related to xx if y=σi(x)y = \sigma^i(x) for some i≥0i \ge 0. This is an equivalence relation. It is reflexive, with i=0i = 0. It is transitive, since σj(σi(x))=σi+j(x)\sigma^j(\sigma^i(x)) = \sigma^{i+j}(x). It is symmetric: if y=σi(x)y = \sigma^i(x), choose cc with ck≥ick \ge i; then σck−i(y)=σck(x)=x\sigma^{ck - i}(y) = \sigma^{ck}(x) = x, because σk(x)=x\sigma^k(x) = x. The class of xx is C(x)C(x): for i≥ki \ge k, σi(x)=σi−k(σk(x))=σi−k(x)\sigma^i(x) = \sigma^{i-k}(\sigma^k(x)) = \sigma^{i-k}(x), so by induction on ii every σi(x)\sigma^i(x) lies in C(x)C(x). An equivalence relation cuts its set into disjoint classes, so two sets C(x)C(x) and C(y)C(y) are either equal or disjoint.

  4. On a piece C(x)C(x) with k≥2k \ge 2 points, σ\sigma agrees with the cycle γ=(x  σ(x)  …  σk−1(x))\gamma = (x\ \ \sigma(x)\ \ \dots\ \ \sigma^{k-1}(x)).

    The cycle γ\gamma sends each σi(x)\sigma^i(x) with i<k−1i < k - 1 to σi+1(x)\sigma^{i+1}(x), and sends σk−1(x)\sigma^{k-1}(x) to x=σk(x)x = \sigma^k(x), just as σ\sigma does. It fixes every point outside C(x)C(x).

  5. This cycle does not depend on which point of the piece it starts from: call it the cycle of the piece.

    Let yy be another point of the piece. Then C(y)=C(x)C(y) = C(x) by the third step, since both contain yy. By the fourth step, applied to yy, the cycle starting at yy agrees with σ\sigma on this piece and fixes every other point, just as γ\gamma does; so the two cycles are the same permutation.

  6. So σ=γ1γ2⋯γm\sigma = \gamma_1 \gamma_2 \cdots \gamma_m, where γ1,…,γm\gamma_1, \dots, \gamma_m are the cycles of the pieces with at least two points.

    These cycles are disjoint, because the pieces are. Take y∈Xy \in X. If yy lies in the piece of γj\gamma_j, the factors to the right of γj\gamma_j fix yy, then γj\gamma_j sends yy to σ(y)\sigma(y), which lies in the same piece, and the factors to the left of γj\gamma_j fix σ(y)\sigma(y). So the product sends yy to σ(y)\sigma(y). If yy lies in a piece C(y)={y}C(y) = \{y\}, then k=1k = 1, that is, σ(y)=y\sigma(y) = y, and every factor fixes yy too.

  7. Any product σ=δ1⋯δl\sigma = \delta_1 \cdots \delta_l of disjoint cycles consists of the cycles γ1,…,γm\gamma_1, \dots, \gamma_m.

    The computation of the last step, with the δ\delta‘s in place of the γ\gamma‘s, shows that σ\sigma agrees with δj\delta_j on the points of δj\delta_j. Let xx be a point of δj\delta_j and k′k' its length. A cycle sends each listed point to the next one round the loop, wherever the list starts, so written starting at xx, δj=(x  δj(x)  …  δjk′−1(x))\delta_j = (x\ \ \delta_j(x)\ \ \dots\ \ \delta_j^{k'-1}(x)), and by induction on ii, δji(x)=σi(x)\delta_j^i(x) = \sigma^i(x) for every i≥0i \ge 0, since each δji(x)\delta_j^i(x) is a point of δj\delta_j. So δj=(x  σ(x)  …  σk′−1(x))\delta_j = (x\ \ \sigma(x)\ \ \dots\ \ \sigma^{k'-1}(x)), these k′k' points are distinct and σk′(x)=x\sigma^{k'}(x) = x, so k′k' is the least positive power returning xx: δj\delta_j is the cycle of the piece C(x)C(x). Every point that σ\sigma moves is a point of some δj\delta_j, since otherwise the product would fix it. So the δ\delta‘s are exactly the cycles of the pieces with at least two points, each appearing once because they are disjoint.

□

The order of a permutation

The order ord⁡(g)\ord(g) of an element gg of a group is the least n≥1n \ge 1 with gn=eg^n = e (Definition 2.2.1). For a permutation it can be read off the cycles.

Theorem 3.1.3.Not yet reviewed

Let σ≠e\sigma \ne e be a permutation of a finite set, with disjoint cycle decomposition σ=γ1⋯γm\sigma = \gamma_1 \cdots \gamma_m, where γj\gamma_j has length kjk_j. Then

ord⁡(σ)=lcm⁡(k1,…,km).\ord(\sigma) = \operatorname{lcm}(k_1, \dots, k_m).
Proof.

Idea. Compute the powers of σ\sigma one cycle at a time: σt\sigma^t is the product of the powers γjt\gamma_j^t, and it is the identity exactly when each of them is, that is, when tt is a multiple of every length kjk_j.

  1. A kk-cycle γ=(a1 … ak)\gamma = (a_1\ \dots\ a_k) satisfies γt=e\gamma^t = e exactly when kk divides tt.

    Count the indices modulo kk, so that ak+1=a1a_{k+1} = a_1. Then γt\gamma^t sends each aia_i to ai+ta_{i+t} and fixes every other point, so γt=e\gamma^t = e exactly when a1+t=a1a_{1+t} = a_1, that is, when kk divides tt.

  2. σt=γ1tγ2t⋯γmt\sigma^t = \gamma_1^t \gamma_2^t \cdots \gamma_m^t for every t≥1t \ge 1.

    The power σt\sigma^t is a product of tt copies of γ1⋯γm\gamma_1 \cdots \gamma_m, and disjoint cycles commute, so the factors can be reordered with all copies of γ1\gamma_1 first, then all copies of γ2\gamma_2, and so on.

  3. σt=e\sigma^t = e exactly when every γjt=e\gamma_j^t = e.

    The power γjt\gamma_j^t moves only points of γj\gamma_j, and sends each of them to a point of γj\gamma_j, where every other factor γit\gamma_i^t acts as the identity. So σt\sigma^t agrees with γjt\gamma_j^t on the points of γj\gamma_j, and fixes every point outside all the cycles.

  4. So ord⁡(σ)=lcm⁡(k1,…,km)\ord(\sigma) = \operatorname{lcm}(k_1, \dots, k_m).

    By the first and third steps, σt=e\sigma^t = e exactly when tt is a multiple of every kjk_j. The least positive such tt is lcm⁡(k1,…,km)\operatorname{lcm}(k_1, \dots, k_m), which is therefore the order of σ\sigma.

□

A deck of 5252 cards shows what the theorem buys. If a shuffle moves the cards round one loop of 33 positions, one of 44 and one of 55, and leaves the other 4040 cards in place, then repeating it puts the deck back in order after exactly lcm⁡(3,4,5)=60\operatorname{lcm}(3, 4, 5) = 60 shuffles, and not before.

3.2 Even and odd permutations

Every rearrangement of a row of cards can be made by swapping two cards at a time, and usually in many ways. Some rearrangements can be made with an even number of swaps and some with an odd number. No rearrangement can be made both ways, and the reason is a number attached to each permutation, its sign, 11 or −1-1, which every swap reverses.

Swaps

Definition 3.2.1 (Transposition).

A transposition is a 22-cycle (a b)(a\ b): the permutation that swaps the two points aa and bb and fixes every other point.

For example, (2 5)(2\ 5) in S5S_5 has the table (1234515342)\begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 1 & 5 & 3 & 4 & 2 \end{pmatrix}. The same transposition can be written (a b)=(b a)(a\ b) = (b\ a), and swapping twice puts both points back: (a b)(a b)=e(a\ b)(a\ b) = e, so every transposition is its own inverse. A 33-cycle such as (1 2 3)(1\ 2\ 3) is not a transposition: it moves three points.

Theorem 3.2.2.

Every permutation of a finite set is a product of transpositions. More precisely, every cycle is a product of transpositions,

(a1 a2 … ak)=(a1 ak)⋯(a1 a3)(a1 a2),\begin{aligned} &(a_1\ a_2\ \dots\ a_k) \\ &\quad = (a_1\ a_k) \cdots (a_1\ a_3)(a_1\ a_2), \end{aligned}

a product of k−1k - 1 transpositions, and the identity is the product of no transpositions.

Proof.

Idea. Check the formula for one cycle point by point, reading the product from the right, so that (a1 a2)(a_1\ a_2) acts first. Then apply it to each cycle of a permutation.

  1. The product (a1 ak)⋯(a1 a3)(a1 a2)(a_1\ a_k) \cdots (a_1\ a_3)(a_1\ a_2) fixes every point outside {a1,…,ak}\{a_1, \dots, a_k\}.

    A point outside {a1,…,ak}\{a_1, \dots, a_k\} is fixed by every factor.

  2. The product sends a1a_1 to a2a_2.

    The point a1a_1 goes to a2a_2 under the first factor (a1 a2)(a_1\ a_2), and the later factors (a1 aj)(a_1\ a_j) with j≥3j \ge 3 fix a2a_2.

  3. For 2≤i≤k−12 \le i \le k - 1, the product sends aia_i to ai+1a_{i+1}.

    The point aia_i is fixed by the factors (a1 aj)(a_1\ a_j) with j<ij < i, sent to a1a_1 by (a1 ai)(a_1\ a_i), then sent to ai+1a_{i+1} by (a1 ai+1)(a_1\ a_{i+1}), and fixed by the factors after that.

  4. The product sends aka_k to a1a_1, so it equals the cycle (a1 a2 … ak)(a_1\ a_2\ \dots\ a_k).

    The point aka_k is fixed by every factor except the last, (a1 ak)(a_1\ a_k), which sends it to a1a_1. With the first three steps, the product agrees with the cycle at every point.

  5. Every permutation σ≠e\sigma \ne e is a product of transpositions.

    By Theorem 3.1.2, σ\sigma is a product of disjoint cycles. Replacing each cycle by its product of transpositions writes σ\sigma as a product of transpositions.

□

The sign

A rearrangement of the numbers 1,…,n1, \dots, n puts some pairs of them out of order. The sign records whether the number of such pairs is even or odd.

Definition 3.2.3 (Sign of a permutation).Not yet reviewed

Let σ∈Sn\sigma \in S_n. A pair of numbers i<ji < j in {1,…,n}\{1, \dots, n\} is an inversion of σ\sigma if σ(i)>σ(j)\sigma(i) > \sigma(j). The sign of σ\sigma is the product over all pairs i<ji < j

sgn⁡(σ)=∏1≤i<j≤nσ(j)−σ(i)j−i,\sgn(\sigma) = \prod_{1 \le i < j \le n} \frac{\sigma(j) - \sigma(i)}{j - i},

with sgn⁡(σ)=1\sgn(\sigma) = 1 when n=1n = 1. The permutation σ\sigma is even if sgn⁡(σ)=1\sgn(\sigma) = 1, and odd if sgn⁡(σ)=−1\sgn(\sigma) = -1.

The sign is always 11 or −1-1: precisely, sgn⁡(σ)=(−1)N\sgn(\sigma) = (-1)^N, where NN is the number of inversions of σ\sigma. Each pair i<ji < j gives one factor, which is negative exactly when the pair is an inversion. Up to sign, the numerators are the denominators in another order. Because σ\sigma is a bijection, the two-element sets {σ(i),σ(j)}\{\sigma(i), \sigma(j)\} run over all two-element subsets of {1,…,n}\{1, \dots, n\}, each exactly once, as {i,j}\{i, j\} does; so the product of the sizes ∣σ(j)−σ(i)∣\lvert \sigma(j) - \sigma(i) \rvert equals the product of the differences j−ij - i, and only the NN minus signs remain. In particular the identity, with no inversions, is even.

Even and odd, never both

Theorem 3.2.4 (The sign is multiplicative).Not yet reviewed

Let σ,τ∈Sn\sigma, \tau \in S_n.

  • (i) sgn⁡(στ)=sgn⁡(σ)sgn⁡(τ)\sgn(\sigma\tau) = \sgn(\sigma)\sgn(\tau).
  • (ii) Every transposition has sign −1-1.
  • (iii) If σ\sigma is a product of mm transpositions, then sgn⁡(σ)=(−1)m\sgn(\sigma) = (-1)^m. So an even permutation is a product of an even number of transpositions and never of an odd number, and an odd permutation is a product of an odd number of transpositions and never of an even number.
Proof.

Idea. In στ\sigma\tau, the permutation τ\tau first moves each pair i<ji < j to the pair τ(i),τ(j)\tau(i), \tau(j), which σ\sigma then moves. So each factor of sgn⁡(στ)\sgn(\sigma\tau) splits into a factor of sgn⁡(τ)\sgn(\tau) times a factor of sgn⁡(σ)\sgn(\sigma). Then (ii) is a count of inversions, and (iii) follows by multiplying.

  1. Each factor of sgn⁡(σ)\sgn(\sigma) is unchanged if its two numbers are named in the other order. So sgn⁡(σ)\sgn(\sigma) is the product of σ(q)−σ(p)q−p\frac{\sigma(q) - \sigma(p)}{q - p} over all two-element sets {p,q}⊆{1,…,n}\{p, q\} \subseteq \{1, \dots, n\}, each taken once, with pp and qq in either order.

    Swapping pp and qq changes the sign of the numerator and of the denominator.

  2. For i<ji < j, the factor of sgn⁡(στ)\sgn(\sigma\tau) for the pair i<ji < j is the factor of sgn⁡(σ)\sgn(\sigma) for the pair {τ(i),τ(j)}\{\tau(i), \tau(j)\} times the factor of sgn⁡(τ)\sgn(\tau) for the pair i<ji < j.

    Since τ\tau is injective, τ(j)−τ(i)≠0\tau(j) - \tau(i) \ne 0, so multiplying and dividing by it is allowed:

    σ(τ(j))−σ(τ(i))j−i=σ(τ(j))−σ(τ(i))τ(j)−τ(i)⋅τ(j)−τ(i)j−i.\begin{aligned} &\frac{\sigma(\tau(j)) - \sigma(\tau(i))}{j - i} \\ &\quad = \frac{\sigma(\tau(j)) - \sigma(\tau(i))}{\tau(j) - \tau(i)} \cdot \frac{\tau(j) - \tau(i)}{j - i}. \end{aligned}

    By the first step, the first fraction on the right is the factor of sgn⁡(σ)\sgn(\sigma) for the pair {τ(i),τ(j)}\{\tau(i), \tau(j)\}.

  3. Multiplying over all pairs i<ji < j gives sgn⁡(στ)=sgn⁡(σ)sgn⁡(τ)\sgn(\sigma\tau) = \sgn(\sigma)\sgn(\tau). This proves (i).

    The second factors multiply to sgn⁡(τ)\sgn(\tau), by definition. In the first factors, as {i,j}\{i, j\} runs over the two-element subsets of {1,…,n}\{1, \dots, n\}, each once, so does {τ(i),τ(j)}\{\tau(i), \tau(j)\}, because τ\tau is a bijection. By the first step, the first factors multiply to sgn⁡(σ)\sgn(\sigma).

  4. A transposition (a b)(a\ b) with a<ba < b has 2(b−a)−12(b - a) - 1 inversions, so its sign is −1-1. This proves (ii).

    Write π=(a b)\pi = (a\ b). The pair a<ba < b is an inversion, since π(a)=b>a=π(b)\pi(a) = b > a = \pi(b). For each kk with a<k<ba < k < b, the pairs a<ka < k and k<bk < b are inversions, since π(a)=b>k\pi(a) = b > k and k>a=π(b)k > a = \pi(b). Every other pair is in order. A pair of two fixed points keeps its order. A pair made of aa or bb and a point kk with k<ak < a or k>bk > b keeps its order too, because aa and bb lie on the same side of kk, so swapping them does not change which of the two numbers is larger. That makes 1+2(b−a−1)=2(b−a)−11 + 2(b - a - 1) = 2(b - a) - 1 inversions, an odd number, so sgn⁡(π)=−1\sgn(\pi) = -1 by the formula sgn⁡(π)=(−1)N\sgn(\pi) = (-1)^N.

  5. If σ=π1π2⋯πm\sigma = \pi_1 \pi_2 \cdots \pi_m with each πi\pi_i a transposition, then sgn⁡(σ)=(−1)m\sgn(\sigma) = (-1)^m.

    By (i), applied m−1m - 1 times, sgn⁡(σ)=sgn⁡(π1)sgn⁡(π2)⋯sgn⁡(πm)\sgn(\sigma) = \sgn(\pi_1)\sgn(\pi_2)\cdots\sgn(\pi_m), and each factor is −1-1 by (ii). For m=0m = 0, σ=e\sigma = e, which is even.

  6. So σ\sigma alone decides whether the number of transpositions is even or odd. This proves (iii).

    If σ\sigma is even, then (−1)m=1(-1)^m = 1 forces mm to be even for every product of mm transpositions equal to σ\sigma; if σ\sigma is odd, (−1)m=−1(-1)^m = -1 forces mm to be odd. By Theorem 3.2.2, every permutation is a product of transpositions, so each one is a product of an even number of them or of an odd number, according to its sign, and never both.

□

3.3 The alternating group

By Theorem 3.2.4, a product of two even permutations is even, so the even permutations of {1,…,n}\{1, \dots, n\} might form a group on their own, inside SnS_n. They do, and for n=4n = 4 each of them is made by a rotation of a regular tetrahedron, acting on its corners.

Recall that a subgroup of a group GG is a subset that is itself a group under the operation of GG (Definition 2.1.1), and that a finite non-empty subset closed under the operation is already a subgroup (Theorem 2.1.2).

The even permutations

Definition 3.3.1 (Alternating group).Not yet reviewed

Let n≥1n \ge 1. The alternating group AnA_n is the set of even permutations in SnS_n:

An={σ∈Sn:sgn⁡(σ)=1}.A_n = \{\sigma \in S_n : \sgn(\sigma) = 1\}.

AnA_n is a subgroup of SnS_n. It is not empty, since the identity has no inversions and so is even. It is closed under products: if sgn⁡(σ)=sgn⁡(τ)=1\sgn(\sigma) = \sgn(\tau) = 1, then sgn⁡(στ)=sgn⁡(σ)sgn⁡(τ)=1\sgn(\sigma\tau) = \sgn(\sigma)\sgn(\tau) = 1 by Theorem 3.2.4. As SnS_n is finite, this is enough by Theorem 2.1.2. The inverse of an even permutation is even directly, too: sgn⁡(σ−1)sgn⁡(σ)=sgn⁡(σ−1σ)=sgn⁡(e)=1\sgn(\sigma^{-1})\sgn(\sigma) = \sgn(\sigma^{-1}\sigma) = \sgn(e) = 1, so σ−1\sigma^{-1} has the same sign as σ\sigma.

Theorem 3.3.2.

For n≥2n \ge 2, the alternating group AnA_n has n!/2n!/2 elements: exactly half of the permutations in SnS_n are even.

Proof.

Idea. Match the even permutations with the odd ones, one for one, by multiplying by the swap (1 2)(1\ 2). Then the two kinds have the same size, and together they make up SnS_n.

  1. Let τ=(1 2)\tau = (1\ 2), which exists because n≥2n \ge 2, let OO be the set of odd permutations in SnS_n, and let f(σ)=στf(\sigma) = \sigma\tau. Then ff sends each even permutation to an odd one and each odd permutation to an even one.

    By Theorem 3.2.4, sgn⁡(στ)=sgn⁡(σ)sgn⁡(τ)=−sgn⁡(σ)\sgn(\sigma\tau) = \sgn(\sigma)\sgn(\tau) = -\sgn(\sigma).

  2. ff, restricted to AnA_n, is a bijection from AnA_n to OO, so ∣An∣=∣O∣\lvert A_n \rvert = \lvert O \rvert.

    Applying ff twice gives σττ=σ\sigma\tau\tau = \sigma, because ττ=e\tau\tau = e. So ff restricted to OO is the inverse of ff restricted to AnA_n.

  3. ∣An∣=n!/2\lvert A_n \rvert = n!/2.

    Every permutation is even or odd, and not both, so ∣An∣+∣O∣=∣Sn∣=n!\lvert A_n \rvert + \lvert O \rvert = \lvert S_n \rvert = n!. With the last step, this gives 2∣An∣=n!2\lvert A_n \rvert = n!.

□

The alternating group A4A_4

Example 3.3.3 (The alternating group A4A_4).Not yet reviewed

A4A_4 has 4!/2=124!/2 = 12 elements. To list them, sort the 2424 permutations of S4S_4 by the lengths of their disjoint cycles; a kk-cycle is a product of k−1k - 1 transpositions, which gives each kind’s sign.

disjoint cycles how many sign
none: ee 11 11
(a b)(a\ b) 66 −1-1
(a b c)(a\ b\ c) 88 11
(a b c d)(a\ b\ c\ d) 66 −1-1
(a b)(c d)(a\ b)(c\ d) 33 11

So A4A_4 consists of:

  • the identity ee;
  • the three products of two disjoint transpositions, (1 2)(3 4)(1\ 2)(3\ 4), (1 3)(2 4)(1\ 3)(2\ 4) and (1 4)(2 3)(1\ 4)(2\ 3), each of order lcm⁡(2,2)=2\operatorname{lcm}(2, 2) = 2 by Theorem 3.1.3;
  • the eight 33-cycles, (1 2 3)(1\ 2\ 3), (1 3 2)(1\ 3\ 2), (1 2 4)(1\ 2\ 4), (1 4 2)(1\ 4\ 2), (1 3 4)(1\ 3\ 4), (1 4 3)(1\ 4\ 3), (2 3 4)(2\ 3\ 4) and (2 4 3)(2\ 4\ 3), each of order 33.

So A4A_4 has one element of order 11, three of order 22 and eight of order 33, and none of order 44 or 66.

Each of these is made by a rotation of a regular tetrahedron with corners numbered 1,2,3,41, 2, 3, 4, recorded by where it moves the corners. A third of a turn about the axis through one corner and the center of the opposite face fixes that corner and moves the other three round a loop; the two directions of turning and the four corners give the eight 33-cycles. A half turn about the axis through the midpoints of two opposite edges, such as the edge from 11 to 22 and the edge from 33 to 44, swaps the ends of each edge, giving (1 2)(3 4)(1\ 2)(3\ 4); the three pairs of opposite edges give the three products of two transpositions. With the identity, that makes twelve rotations, one for each element of A4A_4.

No element of A4A_4 has order 1212, so A4A_4 is not cyclic, although it has as many elements as Z/12Z\mathbb{Z}/12\mathbb{Z}: two groups of the same order can be built quite differently.

Permutations: Exercises

Exercise 3.1.

Let σ=(1234567868124375)\sigma = \begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 \\ 6 & 8 & 1 & 2 & 4 & 3 & 7 & 5 \end{pmatrix} in S8S_8. Write σ\sigma as a product of disjoint cycles, and find its order and its sign.

Solution.

Following 11 gives 1↦6↦3↦11 \mapsto 6 \mapsto 3 \mapsto 1. The first point not yet visited is 22, and 2↦8↦5↦4↦22 \mapsto 8 \mapsto 5 \mapsto 4 \mapsto 2. The only point left is 77, which is fixed. So, by Theorem 3.1.2,

σ=(1 6 3)(2 8 5 4).\sigma = (1\ 6\ 3)(2\ 8\ 5\ 4).

By Theorem 3.1.3, ord⁡(σ)=lcm⁡(3,4)=12\ord(\sigma) = \operatorname{lcm}(3, 4) = 12. By Theorem 3.2.2, the 33-cycle is a product of 22 transpositions and the 44-cycle of 33, so σ\sigma is a product of 55 transpositions and sgn⁡(σ)=(−1)5=−1\sgn(\sigma) = (-1)^5 = -1 by Theorem 3.2.4: σ\sigma is odd. □

Exercise 3.2.

Number the positions of the corners of a square 1,2,3,41, 2, 3, 4 clockwise, so that position 00 of the clock in Example 1.1.2 is numbered 11. Write each of the eight symmetries of the square as a permutation of the positions, in cycle notation, and decide which of them are even.

Solution.

On the clock positions 0,1,2,30, 1, 2, 3, the rotation rkr^k sends xx to x+kx + k and the reflection rksr^ks sends xx to k−xk - x, counting modulo 44 (Example 1.1.2). Renumbering position xx as x+1x + 1 and following each point gives:

symmetry cycles sign
ee none 11
rr (1 2 3 4)(1\ 2\ 3\ 4) −1-1
r2r^2 (1 3)(2 4)(1\ 3)(2\ 4) 11
r3r^3 (1 4 3 2)(1\ 4\ 3\ 2) −1-1
ss (2 4)(2\ 4) −1-1
rsrs (1 2)(3 4)(1\ 2)(3\ 4) 11
r2sr^2s (1 3)(1\ 3) −1-1
r3sr^3s (1 4)(2 3)(1\ 4)(2\ 3) 11

For instance, ss sends xx to −x-x: it fixes positions 00 and 22 and swaps 11 and 33, which are numbered 22 and 44. Each sign follows from Theorem 3.2.4, since a kk-cycle is a product of k−1k - 1 transpositions (Theorem 3.2.2): a 44-cycle is odd, a transposition is odd, and a product of two disjoint transpositions is even.

So the even symmetries are ee, the half turn r2r^2, and the two reflections rsrs and r3sr^3s in the lines through the midpoints of opposite sides. The quarter turns and the reflections in the diagonals are odd. □

Exercise 3.3.

Write (1 2 3 4)(2 4 5)(1\ 2\ 3\ 4)(2\ 4\ 5) in S5S_5 as a product of disjoint cycles. Find its sign in two ways: from the two given cycles, and from the disjoint cycles.

Solution.

Reading right to left, the product sends 1↦1↦21 \mapsto 1 \mapsto 2, 2↦4↦12 \mapsto 4 \mapsto 1, 3↦3↦43 \mapsto 3 \mapsto 4, 4↦5↦54 \mapsto 5 \mapsto 5 and 5↦2↦35 \mapsto 2 \mapsto 3. So

(1 2 3 4)(2 4 5)=(1 2)(3 4 5).(1\ 2\ 3\ 4)(2\ 4\ 5) = (1\ 2)(3\ 4\ 5).

From the given cycles: a 44-cycle is a product of 33 transpositions and a 33-cycle of 22 (Theorem 3.2.2), so by Theorem 3.2.4 the sign is (−1)3(−1)2=−1(-1)^3(-1)^2 = -1. From the disjoint cycles: (1 2)(1\ 2) is one transposition and (3 4 5)(3\ 4\ 5) is two, so the sign is (−1)1(−1)2=−1(-1)^1(-1)^2 = -1. The two answers agree, as they must, since the sign depends only on the permutation. □

Exercise 3.4.

Show that AnA_n is not abelian for n≥4n \ge 4, but that A3A_3 is abelian.

Hint.

Try two 33-cycles that share two points.

Solution.

Let n≥4n \ge 4. The 33-cycles (1 2 3)(1\ 2\ 3) and (1 2 4)(1\ 2\ 4) are even, since each is a product of two transpositions (Theorem 3.2.2), so they lie in AnA_n. Reading right to left, (1 2 3)(1 2 4)(1\ 2\ 3)(1\ 2\ 4) sends 1↦2↦31 \mapsto 2 \mapsto 3, while (1 2 4)(1 2 3)(1\ 2\ 4)(1\ 2\ 3) sends 1↦2↦41 \mapsto 2 \mapsto 4. So the two products differ, and AnA_n is not abelian.

The group A3A_3 has the three elements ee, ρ=(1 2 3)\rho = (1\ 2\ 3) and (1 3 2)=ρ2(1\ 3\ 2) = \rho^2, since ∣A3∣=3!/2=3\lvert A_3 \rvert = 3!/2 = 3 by Theorem 3.3.2 and these three are even. The identity commutes with every element, each element commutes with itself, and ρ⋅ρ2=ρ3=ρ2⋅ρ\rho \cdot \rho^2 = \rho^3 = \rho^2 \cdot \rho. So any two elements of A3A_3 commute, and A3A_3 is abelian. □

Exercise 3.5.

Show that the inverse of a cycle is the same cycle written backwards: (a1 a2 … ak)−1=(ak … a2 a1)(a_1\ a_2\ \dots\ a_k)^{-1} = (a_k\ \dots\ a_2\ a_1). Deduce that for every permutation σ\sigma of a finite set, σ−1\sigma^{-1} has the same number of cycles of each length as σ\sigma, and that sgn⁡(σ−1)=sgn⁡(σ)\sgn(\sigma^{-1}) = \sgn(\sigma).

Hint.

For the second part, write σ\sigma as a product of disjoint cycles and use the rule for the inverse of a product.

Solution.

Let γ=(a1 … ak)\gamma = (a_1\ \dots\ a_k) and δ=(ak … a1)\delta = (a_k\ \dots\ a_1), and count indices modulo kk, so that ak+1=a1a_{k+1} = a_1. The cycle δ\delta sends each ai+1a_{i+1} to aia_i, and γ\gamma sends aia_i to ai+1a_{i+1}; both fix every other point. So γδ\gamma\delta sends ai+1↦ai↦ai+1a_{i+1} \mapsto a_i \mapsto a_{i+1} and fixes every other point, that is, γδ=e\gamma\delta = e. In the same way δγ=e\delta\gamma = e. So δ\delta is the inverse of γ\gamma.

Now let σ=γ1⋯γm\sigma = \gamma_1 \cdots \gamma_m be the disjoint cycle decomposition of σ\sigma (Theorem 3.1.2). By the rule (ab)−1=b−1a−1(ab)^{-1} = b^{-1}a^{-1} of Theorem 1.2.4, applied m−1m - 1 times,

σ−1=γm−1⋯γ1−1.\sigma^{-1} = \gamma_m^{-1} \cdots \gamma_1^{-1}.

Each γj−1\gamma_j^{-1} is a cycle on the same points as γj\gamma_j, by the first part, so the γj−1\gamma_j^{-1} are disjoint, and this is the disjoint cycle decomposition of σ−1\sigma^{-1}. It has one cycle of length kjk_j for each cycle γj\gamma_j of σ\sigma of length kjk_j.

For the sign: a cycle of length kk is a product of k−1k - 1 transpositions (Theorem 3.2.2), so σ\sigma and σ−1\sigma^{-1} are both products of (k1−1)+⋯+(km−1)(k_1 - 1) + \dots + (k_m - 1) transpositions, and by Theorem 3.2.4 they have the same sign. (Alternatively, sgn⁡(σ−1)sgn⁡(σ)=sgn⁡(e)=1\sgn(\sigma^{-1})\sgn(\sigma) = \sgn(e) = 1.) □

Exercise 3.6.

Let n≥2n \ge 2. Show that every permutation in SnS_n is a product of transpositions taken from the list (1 2),(1 3),…,(1 n)(1\ 2), (1\ 3), \dots, (1\ n).

Hint.

It is enough to write any transposition (a b)(a\ b) using transpositions that move 11. Compute (1 a)(1 b)(1 a)(1\ a)(1\ b)(1\ a).

Solution.

By Theorem 3.2.2, every permutation is a product of transpositions, so it is enough to write each transposition (a b)(a\ b), with a≠ba \neq b, as a product of transpositions from the list. If a=1a = 1 or b=1b = 1, then (a b)(a\ b) is already on the list, since (a b)=(b a)(a\ b) = (b\ a).

Suppose a≠1a \neq 1 and b≠1b \neq 1. Then (a b)=(1 a)(1 b)(1 a)(a\ b) = (1\ a)(1\ b)(1\ a). To check it, read the product from the right: a↦1↦b↦ba \mapsto 1 \mapsto b \mapsto b, b↦b↦1↦ab \mapsto b \mapsto 1 \mapsto a, and 1↦a↦a↦11 \mapsto a \mapsto a \mapsto 1; every other point is fixed by all three factors. So the product swaps aa and bb and fixes everything else, which is (a b)(a\ b). □

Exercise 3.7.

Let σ∈Sn\sigma \in S_n have odd order. Show that σ\sigma is even. Show also that the converse fails: an even permutation need not have odd order.

Hint.

Apply the sign to σm=e\sigma^m = e, where m=ord⁡(σ)m = \ord(\sigma).

Solution.

Let m=ord⁡(σ)m = \ord(\sigma), so that σm=e\sigma^m = e (Definition 2.2.1). By Theorem 3.2.4, applied m−1m - 1 times, sgn⁡(σm)=sgn⁡(σ)m\sgn(\sigma^m) = \sgn(\sigma)^m, and sgn⁡(e)=1\sgn(e) = 1, so sgn⁡(σ)m=1\sgn(\sigma)^m = 1. The sign is 11 or −1-1, and (−1)m=−1(-1)^m = -1 because mm is odd. So sgn⁡(σ)=1\sgn(\sigma) = 1, and σ\sigma is even.

The converse fails: (1 2)(3 4)(1\ 2)(3\ 4) is a product of two transpositions, so it is even, but its order is lcm⁡(2,2)=2\operatorname{lcm}(2, 2) = 2 by Theorem 3.1.3, which is even. □

Exercise 3.8.

Let n≥3n \ge 3. Show that every element of AnA_n is a product of 33-cycles, and that every product of 33-cycles lies in AnA_n.

Hint.

Write an even permutation as a product of transpositions and group them in consecutive pairs. A pair of transpositions either shares a point or does not; write each kind as 33-cycles.

Solution.

The plan is to write an even permutation as an even number of transpositions, then turn each consecutive pair of transpositions into 33-cycles.

Every product of 33-cycles is even. A 33-cycle (a b c)=(a c)(a b)(a\ b\ c) = (a\ c)(a\ b) is a product of two transpositions (Theorem 3.2.2), so it is even, and a product of even permutations is even by Theorem 3.2.4. So products of 33-cycles lie in AnA_n (the identity being the product of none).

Every element of AnA_n is a product of 33-cycles. Let σ∈An\sigma \in A_n. By Theorem 3.2.2 and Theorem 3.2.4, σ\sigma is a product of an even number of transpositions, σ=(τ1τ2)(τ3τ4)⋯(τ2l−1τ2l)\sigma = (\tau_1\tau_2)(\tau_3\tau_4)\cdots(\tau_{2l-1}\tau_{2l}). It is enough to write each pair ττ′\tau\tau' of transpositions as a product of 33-cycles. There are three cases.

  • (i) τ=τ′\tau = \tau'. Then ττ′=e\tau\tau' = e, the product of no 33-cycles.
  • (ii) τ\tau and τ′\tau' share exactly one point aa. Writing τ=(a b)\tau = (a\ b) and τ′=(a c)\tau' = (a\ c), with a,b,ca, b, c distinct, (a b)(a c)=(a c b)(a\ b)(a\ c) = (a\ c\ b): reading right to left, a↦c↦ca \mapsto c \mapsto c, c↦a↦bc \mapsto a \mapsto b and b↦b↦ab \mapsto b \mapsto a.
  • (iii) τ=(a b)\tau = (a\ b) and τ′=(c d)\tau' = (c\ d) are disjoint. Then (a b)(c d)=(a c b)(a c d)(a\ b)(c\ d) = (a\ c\ b)(a\ c\ d): reading right to left, a↦c↦ba \mapsto c \mapsto b, b↦b↦ab \mapsto b \mapsto a, c↦d↦dc \mapsto d \mapsto d and d↦a↦cd \mapsto a \mapsto c, which is (a b)(c d)(a\ b)(c\ d).

So σ\sigma is a product of 33-cycles. □

Exercise 3.9.

A student claims: if σ\sigma has order kk and τ\tau has order ll in SnS_n, then στ\sigma\tau has order lcm⁡(k,l)\operatorname{lcm}(k, l). Show that the claim holds when σ\sigma and τ\tau are disjoint cycles, and find a counterexample in S3S_3.

Hint.

For the counterexample, try two transpositions that share a point.

Solution.

Suppose σ\sigma and τ\tau are disjoint cycles of lengths kk and ll. By Theorem 3.1.3, applied to a single cycle, σ\sigma has order kk and τ\tau has order ll. The product στ\sigma\tau is already written as a product of disjoint cycles, of lengths kk and ll, so by Theorem 3.1.3 again its order is lcm⁡(k,l)\operatorname{lcm}(k, l).

Without disjointness the claim fails. In S3S_3, the transpositions (1 2)(1\ 2) and (2 3)(2\ 3) each have order 22. Their product, read right to left, sends 1↦1↦21 \mapsto 1 \mapsto 2, 2↦3↦32 \mapsto 3 \mapsto 3 and 3↦2↦13 \mapsto 2 \mapsto 1, so (1 2)(2 3)=(1 2 3)(1\ 2)(2\ 3) = (1\ 2\ 3), which has order 33, not lcm⁡(2,2)=2\operatorname{lcm}(2, 2) = 2. (Even more simply, (1 2)(1 2)=e(1\ 2)(1\ 2) = e has order 11.) □

Exercise 3.10.Not yet reviewed

Let n≥2n \ge 2 and ρ=(1 2 … n)\rho = (1\ 2\ \dots\ n). Show that every permutation in SnS_n is a product of copies of (1 2)(1\ 2) and ρ\rho.

Hint.

For a permutation π\pi and a transposition (a b)(a\ b), compute π(a b)π−1\pi(a\ b)\pi^{-1}. Then use it with π=ρk\pi = \rho^k.

Solution.

Neither (1 2)(1\ 2) nor ρ\rho looks like a general transposition, so the approach is to build more transpositions from them step by step: first the swaps of neighbors (j  j+1)(j\ \ j + 1), then the swaps (1 j)(1\ j), and finally every transposition.

Moving a transposition by a permutation. Let π∈Sn\pi \in S_n and a≠ba \neq b. Then π(a b)π−1=(π(a) π(b))\pi(a\ b)\pi^{-1} = (\pi(a)\ \pi(b)). Read right to left: π(a)↦a↦b↦π(b)\pi(a) \mapsto a \mapsto b \mapsto \pi(b), and likewise π(b)↦π(a)\pi(b) \mapsto \pi(a). Any other point yy has π−1(y)∉{a,b}\pi^{-1}(y) \notin \{a, b\}, so (a b)(a\ b) fixes π−1(y)\pi^{-1}(y) and the product sends yy back to yy.

The swaps of neighbors. Since ρn=e\rho^n = e by Theorem 3.1.3, ρ−k=ρn−k\rho^{-k} = \rho^{n-k} is a product of copies of ρ\rho. For 0≤k≤n−20 \le k \le n - 2, ρk\rho^k sends 11 to k+1k + 1 and 22 to k+2k + 2, so by the last paragraph

ρk(1 2)ρn−k=(k+1  k+2).\rho^k (1\ 2) \rho^{n - k} = (k + 1\ \ k + 2).

So each of (1 2),(2 3),…,(n−1  n)(1\ 2), (2\ 3), \dots, (n - 1\ \ n) is a product of copies of (1 2)(1\ 2) and ρ\rho.

The swaps (1 j)(1\ j). For 2≤j≤n−12 \le j \le n - 1,

(1  j+1)=(j  j+1)(1 j)(j  j+1),(1\ \ j + 1) = (j\ \ j + 1)(1\ j)(j\ \ j + 1),

which is the first paragraph with π=(j  j+1)\pi = (j\ \ j + 1), a permutation that sends 11 to 11 and jj to j+1j + 1 and is its own inverse. Starting from (1 2)(1\ 2), induction on jj writes every (1 j)(1\ j) as a product of swaps of neighbors.

Every transposition. For a,b≠1a, b \neq 1 distinct, (a b)=(1 a)(1 b)(1 a)(a\ b) = (1\ a)(1\ b)(1\ a), again the first paragraph, with π=(1 a)\pi = (1\ a), which sends 11 to aa and bb to bb. So every transposition is a product of copies of (1 2)(1\ 2) and ρ\rho, and by Theorem 3.2.2 so is every permutation. □