The Timpson Lyceum · Discrete Math (2025)
Permutations: Example of a Group - Lecture 13 (Discrete Math)
Overview
A permutation of a set is simply a bijection from the set to itself — a reordering of its elements. This lecture introduces permutations as the central example of an algebraic group. After a quick review of functions, one-to-one and onto properties, and function composition, we collect all permutations of into the set and verify the four group axioms (closure, associativity, identity, inverses). We then develop efficient ways to write permutations — two-row notation and the favored cyclic notation — and study transpositions (single swaps). The deepest result is that the number of transpositions needed to build a given permutation always has a fixed parity (always even or always odd), which lets us define the sign of a permutation and read it straight off the cycle structure.
Key Concepts
Function review. A function assigns each input in exactly one output in (equal inputs force equal outputs). The domain is all of ; the image is a subset of .
- One-to-one (injective): equal outputs force equal inputs — .
- Onto (surjective): the image is all of the codomain .
- Bijection: both one-to-one and onto.
- Composition: — do first, then (read right to left).
Permutation. For a set , a permutation on is a function that is a bijection. Equivalently, it is a reordering of the elements of . Permutation variables use lowercase Greek letters: .
Counting permutations. A set of elements has exactly permutations (choose the first image in ways, the next in , …, down to ).
The set . denotes the set of all permutations of . So . The identity permutation maps every element to itself; is always a bijection, hence always lies in .
is a group. together with composition satisfies the group axioms:
- Closure: (a bijection composed with a bijection is a bijection).
- Associativity: .
- Identity: .
- Inverses: every has an inverse with .
Notation for a permutation.
- Two-row: top row , bottom row the images. Since the top is always , the bottom row alone determines .
- Cyclic notation: start with the smallest unused element, follow where it maps until the cycle closes, open a new parenthesis for the next unused element. Example: means and .
- Inverse from cycles: reverse each cycle. The inverse of is .
Transposition. A permutation is a transposition (a single swap) if there exist distinct with , , and for every other . In cyclic notation a transposition is written as its one nontrivial cycle, e.g. .
Decomposition into transpositions. Every permutation can be written as a composition of transpositions (the "swaps" that turn the identity ordering into the target ordering). This is like factoring a number into primes — but the factorization is not unique, and you can always pad it (e.g. does nothing), so a permutation can be expressed using infinitely many different counts of transpositions.
Even / odd / sign. A permutation is even if it can be written as an even number of transpositions, odd if as an odd number. This parity is well-defined: if can be written with transpositions one way and another, then . The sign is
- Sign is multiplicative: (because ).
- Parity formula: if is the number of cycles of (each fixed point counts as a cycle), then the number of transpositions satisfies . So parity is readable directly from the cycle structure.
Cycle-counting lemma. Composing a permutation with one transposition changes its cycle count by exactly : it glues two cycles into one (if the swapped pair lies in different cycles) or splits one cycle into two (if they lie in the same cycle). This is the engine behind the parity proof.
Worked Example
Decompose a permutation into transpositions and find its sign. Take (the 5-cycle ). Build it as a chain of swaps, then apply the parity formula.
The chain reorders into exactly as does; reading right-to-left through the swaps lands on , confirming . Both the count of transpositions () and the formula give the same even parity, so .
Summary
- A permutation of a set is a bijection from the set to itself — equivalently, a reordering of its elements; an -element set has of them.
- , the set of all permutations of under composition, is a group: closed, associative, with identity and an inverse for every element. It is the standard concrete example of a group.
- Cyclic notation is the compact way to record a permutation; its inverse is obtained by reversing each cycle.
- A transposition is a single swap; every permutation factors into transpositions, though not uniquely and not with a unique count.
- The parity (even/odd) of a permutation is well-defined, giving the sign , which is multiplicative over composition.
- Parity can be read instantly from cycle structure via , since each transposition changes the number of cycles by exactly one.