core28 min studyLesson 133 in Mathematics

Permutation groups and parity

Calculate permutations in cycle notation and prove that their parity is independent of a chosen transposition decomposition.

On this page

What you’ll understand

  • Compose permutations with a declared right-to-left convention.
  • Find permutation order from disjoint cycle lengths.
  • Use the sign homomorphism to distinguish even and odd permutations.

A permutation is a reversible relabeling of a finite set. Instead of tracking moving corners or colored cards, record where each label goes. This gives a concrete group large enough to contain every finite group as a subgroup after a suitable representation. Cycle notation compresses the bookkeeping, but it requires disciplined reading: a cycle lists successive destinations, and a product of cycles still follows an explicit composition order.

Read a cycle as a function

The cycle (1 4 2)(1\ 4\ 2) sends one to four, four to two, and two back to one, leaving unlisted labels fixed. Starting the written cycle at another point does not change its function: (4 2 1)(4\ 2\ 1) describes the same mapping. Reversing its direction usually changes the permutation and gives its inverse. To multiply permutations, follow each label through the rightmost factor first; then collect the resulting mapping into cycles.

Every permutation decomposes into disjoint cycles by following a label until it returns, then starting with a label not yet visited. Disjoint cycles commute because they affect separate labels. The decomposition is unique apart from rearranging its cycles and choosing where each cycle starts. Fixed points are cycles of length one, often omitted from the notation. Record them when the size of the underlying set matters, particularly in counting arguments.

σ=(1 3 2)(4 5),ord⁡(σ)=lcm⁡(3,2)=6\sigma=(1\ 3\ 2)(4\ 5),\qquad \operatorname{ord}(\sigma)=\operatorname{lcm}(3,2)=6
Disjoint cycles return simultaneously after a number of steps divisible by each cycle length. Their least common multiple is the first such positive number.↔ Scroll wide equations horizontally.

A permutation can be assembled from swaps

A transposition swaps two labels and fixes the others. A cycle of length kk can be expressed using k−1k-1 transpositions: exchange its first label with its last, then with the preceding labels in the appropriate right-to-left product. Therefore every permutation can be built from swaps. The expression is not unique, because inserting the same transposition twice changes neither the permutation nor its effect on any label.

Although the number of swaps is not unique, its parity is. One proof assigns a permutation its permutation matrix, whose determinant is either one or minus one. Swapping two labels swaps two columns of the identity matrix and changes the determinant's sign. Multiplicativity of determinants then forces every transposition decomposition of the same permutation to have the same evenness. This is a statement about all decompositions, rather than evidence from a few chosen expressions.

sgn⁡(στ)=sgn⁡(σ)sgn⁡(τ),sgn⁡((a1 ⋯ ak))=(−1)k−1\operatorname{sgn}(\sigma\tau)=\operatorname{sgn}(\sigma)\operatorname{sgn}(\tau),\qquad \operatorname{sgn}((a_1\ \cdots\ a_k))=(-1)^{k-1}
Sign takes values in the multiplicative group {1,−1}. A cycle of length k has the sign of a product of k−1 transpositions.↔ Scroll wide equations horizontally.

Parity organizes a large permutation group

The symmetric group SnS_n contains all permutations of nn labels and has n!n! elements: choose the image of the first label, then the second, without repeating a destination. The even permutations form the alternating group AnA_n. Products and inverses of even permutations remain even because signs multiply. For n≥2n\ge2, multiplying by a fixed transposition pairs each even permutation with an odd one, so exactly half the permutations are even.

Cycle length and parity answer different questions. A three-cycle is even, despite containing three labels, because it needs two swaps. A four-cycle is odd but has order four. The identity is even and has order one. Nor does parity determine whether two permutations commute: two even three-cycles can interact nontrivially when they share labels. Use the cycle decomposition to calculate order, and use signs to calculate parity; replacing either task with intuition about the written number of symbols invites errors.

Compose two overlapping swaps

In S₃, compute (1 2)(2 3), its order, and its parity using rightmost-first composition.

  1. Track label 1: the rightmost swap fixes it, then the leftmost sends it to 2. Track 2: it goes to 3 and remains there. Track 3: it goes to 2 and then to 1.

  2. The combined mapping is therefore the cycle (1 2 3). It takes three repetitions to return every label to its starting point, so its order is 3.

  3. The displayed product uses two transpositions. Its sign is (−1)(−1) = 1, so it is even. This matches the cycle formula (−1)² = 1.

The result

The product is (1 2 3), an even permutation of order 3. Reversing the original factors gives its inverse, not the same cycle.

Explore the model

Interactive lab

Interactive lab · vectors

Isolate the rotational three-cycle

At fixed nonzero magnitude, compare a vector's angles 0, 120, and −120 degrees and mentally label those orientations 1, 2, and 3. Adding 120 degrees cycles these labels. The lab only displays one vector and its projections; it illustrates this cyclic subgroup and cannot perform the transpositions needed to represent all of S₃.

Isolate the rotational three-cyclePlayback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Current readings: x component: 1.393; y component: 0.975; Magnitude: 1.7. All parameters are adjustable with the labeled controls below.−7.46−3.7303.737.46−3.5−1.7501.753.5xyvvₓ = 1.39
Vectorx / y projectionsTrace marker
x component
1.393
y component
0.975
Magnitude
1.7
t = 0 s

Playback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA three-cycle can be represented by repeated rotation, while a whole permutation group may require more operations.

Check your understanding

What are the order and sign of a disjoint product of a 4-cycle and a 3-cycle?

Try it yourself

Find the order and parity of (1 2 3)(4 5 6)(7 8) in S₈, and explain which features of the disjoint cycles you used.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Take a least common multiple for the order and add the required numbers of transpositions for parity.

Compare with the solution

The disjoint cycle lengths are 3, 3, and 2, so the order is lcm(3, 3, 2) = 6. Their transposition counts are 2, 2, and 1, totaling five. Thus the permutation is odd. The two three-cycles return together every three steps, and the swap forces an additional factor of two.

Take it with you

  • Cycle notation records a function, with products evaluated in the declared composition order.
  • The order of a permutation is the least common multiple of its disjoint cycle lengths.
  • Parity is independent of the chosen swap decomposition and is multiplicative.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.