On this page
Shuffle four cards and you have made a permutation. The symmetric group treats shuffles as objects you can combine, and cycle notation is the short way to write them down.
What is the symmetric group S_n?
The symmetric group on a set is the group of all bijections from the set to itself, with composition of functions as the operation (Wikipedia, Symmetric group). On {1, 2, ..., n} it is written S_n, and its order is n!, so S₄ has 24 elements (same source). If groups are new to you, start with our post on Lagrange's theorem and cosets.
How do you write a permutation in two-line and cycle notation?
Cauchy's two-line notation lists the elements in the first row and the image of each element below it (Wikipedia, Permutation). For the map sending 1 to 2, 2 to 3, 3 to 4 and 4 to 1, the bottom row under 1 2 3 4 reads 2 3 4 1.
Cycle notation follows each element as you apply the permutation repeatedly; each orbit is a cycle, and a cycle with k elements is a k-cycle (same source). Follow 1 round until it returns: (1 2 3 4). Fixed elements are usually left out, so (1 2 3) in S₄ leaves 4 alone. Two habits help:
(1 2 3), (2 3 1) and (3 1 2) are the same cycle; only the circular order matters.
Disjoint cycles share no elements, so they can be written in any order.
How do you compose permutations step by step?
In the most common convention, στ maps x to σ(τ(x)): apply τ first, then σ (Wikipedia, Permutation).
Let σ = (1 2 3) and τ = (3 4). Find στ by chasing each number through τ, then σ:
1: τ fixes 1, σ sends 1 to 2. So 1 → 2.
2: τ fixes 2, σ sends 2 to 3. So 2 → 3.
3: τ sends 3 to 4, σ fixes 4. So 3 → 4.
4: τ sends 4 to 3, σ sends 3 to 1. So 4 → 1.
So στ = (1 2 3 4). Swap the order and τσ sends 1 to 2, 2 to 4, 4 to 3 and 3 to 1, so τσ = (1 2 4 3). Permutations do not commute in general. Some textbooks compose left to right, so check yours.
To practise this until it is automatic, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.
What is the order of a permutation?
The order is the smallest number of times you must apply a permutation to return to the identity; a k-cycle has order k. For a product of disjoint permutations, the order is the least common multiple of their orders (ProofWiki, Order of Product of Disjoint Permutations).
So (1 2 3 4)(5 6) has order lcm(4, 2) = 4, not 8. The cycles must be disjoint: the same page shows that (1 2 3 4)(2 6 7)(3 9), whose cycles overlap, has order 7, not 12. Rewrite as disjoint cycles first.
How do you tell if a permutation is even or odd?
A transposition swaps two elements. A k-cycle is a product of k − 1 transpositions, for example (1 2 3) = (1 2)(2 3), so every permutation is a product of transpositions (Keith Conrad, The sign of a permutation). The decomposition is not unique, but the parity of the number of transpositions is always the same, so the sign of a permutation is well defined (Wikipedia, Parity of a permutation).
The quick test: add up (length − 1) over the disjoint cycles; an even total means an even permutation. The same article notes that a cycle is even exactly when its length is odd, so a 3-cycle is even and a 4-cycle odd. Our post on why the 15 puzzle with 14 and 15 swapped can't be solved turns this parity argument on a real puzzle.
Worked example: what are the cycle types in S₄?
Every element of S₄ has one of five cycle types. Counting each by hand, with its order and parity:
Identity: 1 element, order 1, even.
Transpositions like (1 2): 6 elements (choose 2 of 4), order 2, odd.
Double transpositions like (1 2)(3 4): 3 elements, order 2, even.
3-cycles like (1 2 3): 8 elements (4 choices of the fixed point, 2 directions), order 3, even.
4-cycles like (1 2 3 4): 6 elements (start at 1, then 3! orders for the rest), order 4, odd.
The counts add to 24 = 4!. The 12 even ones form the alternating group A₄, matching the identity, eight 3-cycles and three double transpositions listed on Wikipedia's Alternating group page.
No element of S₄ has order 6: a disjoint 2-cycle and 3-cycle need five numbers. And A₄ has order 12 but no subgroup of order 6 (same page), so the converse of Lagrange's theorem fails. For which subgroup orders must exist, read what the Sylow theorems say.
For groups and cosets, the Fermi Concept Library gives every concept in mathematics its own lesson and its place in the map.



