9. Orbits, Cycles, and the Alternating Groups¶
Orbits¶
Definition 9.1 : Orbits of a permutation
Let \(\sigma\) be a permutation of a set \(A\). For \(a, b \in A\), define \(a \sim b\) if and only if \(b=\sigma^{n}(a)\) for some \(n \in \mathbb{Z}\).
Proof
We now check that \(\sim\) defined above is indeed an equivalence relation.
- (Reflexive) : Since \(a=\iota(a)=\sigma^{0}(a)\), we have \(a \sim a\).
- (Symmetric) : If \(a \sim b\), then \(b=\sigma^{n}(a)\) for some \(n \in \mathbb{Z}\), so \(a=\sigma^{-n}(b)\) and \(-n \in \mathbb{Z}\).
- (Transitive) : If \(a \sim b\) and \(b \sim c\), then \(b=\sigma^{n}(a)\) and \(c=\sigma^{m}(b)\) for some \(n, m \in \mathbb{Z}\), so \(c=\sigma^{m}\left(\sigma^{n}(a)\right)=\sigma^{n+m}(a)\).
This relation partitions \(A\) into cells, where \(a\) and \(b\) are in the same cell exactly when \(b=\sigma^{n}(a)\) for some \(n \in \mathbb{Z}\). The equivalence classes in \(A\) determined by this relation are the orbits of \(\sigma\).
Example 9.2 : Orbits of a permutation in \(S_{8}\)
Find the orbits of the permutation
in \(S_{8}\).
To find the orbit containing \(1\), apply \(\sigma\) repeatedly:
Since \(\sigma^{-1}\) simply reverses the directions of the arrows in this chain, the orbit containing \(1\) is \(\{1,3,6\}\). Now choose an integer from \(1\) to \(8\) that is not in \(\{1,3,6\}\), say \(2\). Repeating the same process gives the orbit containing \(2\), namely \(\{2,8\}\). Finally, the orbit containing \(4\) is \(\{4,7,5\}\). These three orbits include all integers from \(1\) to \(8\), so the complete list of orbits of \(\sigma\) is
Cycles¶
Definition 9.3 : Cycle and length
A permutation \(\sigma \in S_{n}\) is a cycle if it has at most one orbit containing more than one element. The length of a cycle is the number of elements in its largest orbit.
Concept 9.4 : Single-row cyclic notation
To avoid cumbersome notation for a cycle, we introduce single-row cyclic notation. In this notation, the permutation
is written as
This means that \(\mu\) carries \(1\) into \(3\), carries \(3\) into \(6\), and finally carries \(6\) into \(1\). Any integer that does not appear in the notation for \(\mu\) is understood to be fixed by \(\mu\). The set on which \(\mu\) acts must be clear from context; in this example, that set is \(\{1,2,3,4,5,6,7,8\}\).
Example 9.5 : Decomposing a permutation into disjoint cycles
Cycles are special types of permutations, so cycles can be multiplied just as any two permutations can be multiplied. The product of two cycles need not itself be a cycle. Using cyclic notation, the permutation \(\sigma\) can be written as a product of cycles:
These cycles are disjoint, meaning that any integer is moved by at most one of the cycles. Equivalently, no one number appears in the notation of two different cycles.
Theorem 9.6 : Permutation is product of disjoint cycles
Every permutation \(\sigma\) of a finite set is a product of disjoint cycles.
Proof
Let \(B_{1}, B_{2}, \cdots, B_{r}\) be the orbits of \(\sigma\). For each \(i\), let \(\mu_{i}\) be the cycle defined by
Then
Since the orbits \(B_{1}, B_{2}, \cdots, B_{r}\) are distinct equivalence classes, they are disjoint. Therefore the cycles \(\mu_{1}, \mu_{2}, \cdots, \mu_{r}\) are disjoint also.
Concept 9.7 : Disjoint cycles commute
Permutation multiplication is not commutative in general. However, multiplication of disjoint cycles is commutative. Since the orbits of a permutation are unique, the representation of a permutation as a product of disjoint cycles, with none of the cycles equal to the identity permutation, is unique up to the order of the factors.
Even and Odd Permutations¶
Definition 9.8 : Transposition
A transposition is a cycle of length \(2\). Thus a transposition leaves all elements but two fixed, and maps each of these two elements onto the other.
Theorem 9.9 : Every cycle is a product of transpositions
Every cycle is a product of transpositions.
Proof
Let \(\left(a_{1}, a_{2}, \cdots, a_{n}\right)\) be a cycle. A computation shows that
Therefore the cycle is a product of transpositions.
Corollary 9.10 : Permutations as products of transpositions
Any permutation of a finite set of at least two elements is a product of transpositions. In naive terms, any rearrangement of \(n\) objects can be achieved by successively interchanging pairs of them.
Theorem 9.11 : Parity of products of transpositions
No permutation in \(S_{n}\) can be expressed both as a product of an even number of transpositions and as a product of an odd number of transpositions.
Proof
-
Proof 1 (from linear algebra)
As remarked in Section 8, \(S_{A} \simeq S_{B}\) if \(A\) and \(B\) have the same cardinality. We may therefore work with permutations of the \(n\) rows of the \(n \times n\) identity matrix \(I_{n}\), rather than with permutations of the numbers \(1,2, \ldots, n\). The identity matrix has determinant \(1\). Interchanging any two rows of a square matrix changes the sign of the determinant. Let \(C\) be the matrix obtained from \(I_{n}\) by a permutation \(\sigma\) of its rows. If \(C\) could be obtained from \(I_{n}\) by both an even number and an odd number of transpositions of rows, then its determinant would have to be both \(1\) and \(-1\). This is impossible. Hence \(\sigma\) cannot be expressed both as a product of an even number and as a product of an odd number of transpositions.
-
Proof 2 (by counting orbits)
Let \(\sigma \in S_{n}\), and let \(\tau=(i, j)\) be a transposition in \(S_{n}\). We first show that the number of orbits of \(\sigma\) and the number of orbits of \(\tau \sigma\) differ by \(1\).
-
(Case I)

Figure 9.1.
Suppose first that \(i\) and \(j\) are in different orbits of \(\sigma\). Write \(\sigma\) as a product of disjoint cycles, with the first relevant cycle containing \(j\) and the second relevant cycle containing \(i\). Symbolically, the product of these two cycles has the form
\[ (b, j, \times, \times, \times)(a, i, \times, \times), \]where the symbols \(\times\) denote possible other elements in these orbits. Computing the product of the first three cycles in \(\tau \sigma=(i, j) \sigma\), we obtain
\[ (i, j)(b, j, \times, \times, \times)(a, i, \times, \times)=(a, j, \times, \times, \times, b, i, \times, \times). \]Thus the original two orbits have been joined into one orbit in \(\tau \sigma\). The same computation handles the cases where either one or both of \(i\) and \(j\) is the only element of its orbit in \(\sigma\).
-
(Case II)

Figure 9.2.
Now suppose that \(i\) and \(j\) are in the same orbit of \(\sigma\). Then \(\sigma\) can be written as a product of disjoint cycles with the first relevant cycle of the form
\[ (a, i, \times, \times, \times, b, j, \times, \times). \]Computing the product of the first two cycles in \(\tau \sigma=(i, j) \sigma\), we obtain
\[ (i, j)(a, i, \times, \times, \times, b, j, \times, \times)=(a, j, \times, \times)(b, i, \times, \times, \times). \]Thus the original single orbit has been split into two orbits in \(\tau \sigma\).
In either case, the number of orbits of \(\tau \sigma\) differs from the number of orbits of \(\sigma\) by \(1\).
The identity permutation \(\iota\) has \(n\) orbits, because each element is the only member of its orbit. For a fixed permutation \(\sigma \in S_{n}\), the number of its orbits differs from \(n\) by either an even number or an odd number, but not both. Thus it is impossible to write
\[ \sigma=\tau_{1} \tau_{2} \tau_{3} \cdots \tau_{m} \iota \]with the \(\tau_{k}\) transpositions in two ways, once with \(m\) even and once with \(m\) odd.
-
Definition 9.12 : Even and odd permutations
A permutation of a finite set is even or odd according to whether it can be expressed as a product of an even number of transpositions or as the product of an odd number of transpositions, respectively.
The Alternating Groups¶
Theorem 9.13 : Even and odd permutations occur equally often
For \(n \geq 2\), the number of even permutations in \(S_{n}\) is equal to the number of odd permutations in \(S_{n}\). Hence each number is \(n!/2\).
Proof
Let \(A_{n}\) be the set of even permutations in \(S_{n}\), and let \(B_{n}\) be the set of odd permutations in \(S_{n}\). It is enough to construct a one-to-one correspondence from \(A_{n}\) onto \(B_{n}\).
Since \(n \geq 2\), there is a transposition in \(S_{n}\). Fix one such transposition \(\tau\), and take \(\tau=(1,2)\). Define
by
If \(\sigma \in A_{n}\), then \(\sigma\) can be expressed as a product of an even number of transpositions. Therefore \((1,2)\sigma\) can be expressed as a product of one plus an even number of transpositions, hence as a product of an odd number of transpositions. Thus \(\lambda_{\tau}(\sigma) \in B_{n}\).
Now suppose \(\sigma,\mu \in A_{n}\) and \(\lambda_{\tau}(\sigma)=\lambda_{\tau}(\mu)\). Then
Since \(S_{n}\) is a group, cancellation gives \(\sigma=\mu\). Hence \(\lambda_{\tau}\) is one to one.
Finally, \(\tau=(1,2)=\tau^{-1}\). If \(\rho \in B_{n}\), then \(\tau^{-1}\rho \in A_{n}\), and
Thus \(\lambda_{\tau}\) is onto \(B_{n}\). Therefore \(A_{n}\) and \(B_{n}\) have the same number of elements, so the even and odd permutations split \(S_{n}\) equally.
Theorem 9.14 : Even permutations form a subgroup
If \(n \geq 2\), then the collection of all even permutations of \(\{1,2,3, \cdots, n\}\) forms a subgroup of order \(n!/2\) of the symmetric group \(S_{n}\).
Proof
The product of two even permutations is again even. Since \(n \geq 2\), the group \(S_{n}\) contains the transposition \((1,2)\), and \(\iota=(1,2)(1,2)\) is an even permutation. If \(\sigma\) is expressed as a product of transpositions, then the product of the same transpositions in the opposite order is \(\sigma^{-1}\). Hence the inverse of an even permutation is even. By the subgroup criterion (Theorem 5.7), the collection of all even permutations forms a subgroup of \(S_{n}\).
By Theorem 9.13, the number of even permutations in \(S_{n}\) is \(n!/2\).
Definition 9.15 : Alternating group
The alternating group \(A_{n}\) on \(n\) letters is the subgroup of \(S_{n}\) consisting of the even permutations of \(n\) letters.