Introduction to Modern Algebra

Contents › 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.