Permutation Groups
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn to compose permutations, write them in cycle notation, compute their orders, determine whether they’re even or odd, and see Cayley’s theorem: every group is secretly a group of permutations.
The Concept
Section titled “The Concept”The symmetric group
Section titled “The symmetric group”A permutation of a set is a bijection from the set to itself: a rearrangement that misses nothing and duplicates nothing.
The set of all permutations of under composition is the symmetric group , with
It’s a group: composing two bijections gives a bijection (closure), composition of functions is associative, the do-nothing permutation is the identity, and every bijection has an inverse.
is non-abelian for , and it grows fast. , .
Cycle notation
Section titled “Cycle notation”Two-row notation lists each input above its output. Cycle notation is shorter and reveals the structure.
To find the cycles, start anywhere and follow the map until you return. Then start again with an element you haven’t used. Elements mapping to themselves are fixed points and are usually omitted.
Two facts make cycle notation powerful:
- Disjoint cycles commute. They move separate elements, so their order of application is irrelevant.
- The order of a permutation is the lcm of its cycle lengths. A 3-cycle returns home every 3 steps and a 2-cycle every 2, so the whole thing returns after .
Cycle notation is not unique: , since you can start anywhere in the loop. But the set of cycles is determined.
Composing permutations
Section titled “Composing permutations”The standard convention is right to left, matching function composition: in , apply first.
Compute where and , tracking each element:
- , so .
- , so .
- , so .
Result: .
Now the other order, : , so is fixed; ; . Result: .
, confirming is non-abelian. Some books compose left to right; check the convention before trusting an answer.
Transpositions and parity
Section titled “Transpositions and parity”A transposition is a 2-cycle: it swaps two elements and fixes the rest.
Every permutation is a product of transpositions. A cycle decomposes as
which uses transpositions.
The decomposition isn’t unique, but its parity is. A permutation is even if it needs an even number of transpositions and odd otherwise, and no permutation is both. That invariance is a genuine theorem, not a definition.
Quick rule: a -cycle has parity matching . So 3-cycles are even, 2-cycles are odd, 4-cycles are odd. For a general permutation, add up over its cycles.
The sign is for even and for odd, and signs multiply: even times odd is odd, and so on. This is the same parity that determines the sign of a term in a determinant expansion.
The alternating group
Section titled “The alternating group”The even permutations form a subgroup , the alternating group, with
Half of all permutations are even. The odd ones do not form a subgroup: odd composed with odd is even, so closure fails immediately.
has order 60 and is the smallest non-abelian simple group, meaning it has no normal subgroups besides the trivial ones. That single fact is why the quintic has no solution formula, as the final lessons explain.
Cayley’s theorem
Section titled “Cayley’s theorem”Here’s a striking result: every group is isomorphic to a subgroup of some symmetric group.
The construction is direct. For , define the map . It’s a bijection on (cancellation makes it injective, and is a preimage for ), so it’s a permutation of the set . Sending embeds into the permutations of its own elements.
So permutation groups are not a special case; they are the general case in disguise. Concretely, a group of order sits inside . That’s not always the most efficient description, but it’s always available.
| ∘ | e | r | r² | s | rs | r²s |
|---|---|---|---|---|---|---|
| e | e | r | r² | s | rs | r²s |
| r | r | r² | e | rs | r²s | s |
| r² | r² | e | r | r²s | s | rs |
| s | s | r²s | rs | e | r² | r |
| rs | rs | s | r²s | r | e | r² |
| r²s | r²s | rs | s | r² | r | e |
The shaded block is the alternating group A₃, the three even permutations. Notice the table is not symmetric about the diagonal, so S₃ is non-abelian.
Identity: e. Cells holding it mark inverse pairs. Shaded: e, r, r² (the rotations A₃) - closed, every product stays inside .
Worked Examples
Section titled “Worked Examples”Example 1: Write in cycle notation.
sends , , , , , .
Solution. Start at 1: . That’s .
Next unused element is 2: . That’s .
Then 3 maps to itself, a fixed point.
Order: .
Parity: the 3-cycle is even (2 transpositions), the 2-cycle is odd (1 transposition), total 3 transpositions, so is odd.
Example 2: Compose two permutations.
Compute for and in .
Solution. Right to left, so first.
- . Fixed.
- . So .
- . So .
- . So .
Order 3, and even.
Example 3: Find the inverse of a cycle.
Solution. Reverse it. If then
Check: sends , and must send . In , indeed . ✓
For a product, reverse the order as well as each factor: . Since these particular cycles are disjoint they commute, so the order doesn’t matter here, but it does in general.
Example 4: The order of a big permutation.
Find the order of in .
Solution.
Parity: transpositions, which is even, so .
Note that a permutation can have large order in a modest group: nothing about suggests 12 in particular.
Example 5: Why the odd permutations aren’t a subgroup.
Solution. Take and , both odd. Their product needs two transpositions, so it is even.
Closure fails. And the identity is even, so the odd permutations don’t contain it either. Two separate reasons, either one fatal.
The even permutations have no such problem: even plus even is even, the identity is even (zero transpositions), and the inverse of an even permutation is even. Hence .
Example 6: Cayley’s theorem on a small group.
Realize as a subgroup of .
Solution. For each , write the permutation on the positions labelled .
fixes everything: the identity.
: , , , so .
: , , , so .
The image is a subgroup of of order 3, and it is exactly . So . ∎
Notice the embedding used only left multiplication and cancellation, so the same recipe works for any finite group.
Real-World Applications
Section titled “Real-World Applications”Card shuffling. A shuffle of 52 cards is an element of , a group with about elements. A perfect riffle shuffle is a specific permutation whose order is 8 for a 52-card deck: do it eight times and the deck returns exactly to its starting arrangement, which is a favourite magician’s trick and a straight consequence of cycle structure.
Rubik’s cube. The cube group is a subgroup of , permuting the 48 movable stickers. Constraints on which permutations are achievable, such as the fact that you cannot flip a single edge, are statements about which subgroup it is. Parity arguments are what prove certain scrambles impossible.
Sorting networks and parallel algorithms. Any sorting algorithm computes a permutation, and lower bounds on comparison sorting come from counting: distinguishing possible orders needs at least comparisons, which is .
Determinants. The Leibniz formula for a determinant sums over all of , weighting each term by the sign of the permutation. Parity is not an incidental detail there; it is what makes the determinant alternate, and hence what makes it detect linear dependence.
Chemistry. The symmetry operations of a molecule permute its atoms, so a molecular symmetry group is a subgroup of a symmetric group. Which subgroup determines the spectroscopic selection rules, and hence what an infrared spectrum looks like.
Cryptography. Block ciphers are permutations of the space of blocks, chosen to be efficiently computable and efficiently invertible while looking structureless. AES is a carefully engineered element of a symmetric group on points.
Retrying will remove your ✅ checkmark until you pass again.