Permutations
Rearrangements of
Definition
A permutation of
Notations. One-line notation lists the images:
Every permutation decomposes into disjoint cycles, uniquely up to the order in which the cycles are listed.
Transpositions. A transposition is a cycle of length 2, a single swap. Every permutation is a product of transpositions, and a cycle of length
Inversions and sign. An inversion of
A permutation is even when its sign is
Sign is multiplicative.
The Leibniz formula. The determinant is a signed sum over all
Each term takes one entry from each row and each column, and the sign decides whether it is added or subtracted. This is the definition the cofactor expansion computes, and the source of the determinant's row-swap rule: exchanging two rows composes
Assumptions and scope
The decomposition into transpositions is not unique, but its parity is. The sign is well defined precisely because of that invariance, not because the decomposition is canonical.
A cycle of length
contributes transpositions, so a cycle of even length is an odd permutation. The lengths and the parities are opposite, which is the usual place this is misread.Fixed points are conventionally omitted from cycle notation, so the same written cycle denotes different permutations in
and . The ambient must be known. Composition is not commutative for
, soand generally differ, although they always have the same sign, since sign is multiplicative and commutative in its values. The Leibniz formula has
terms and is a definition rather than an algorithm. For it has over three million terms, which is why elimination rather than the formula computes determinants in practice.
Forms this is expressed in
The same content in several forms. Each makes something visible that the others leave implicit, so moving between them is part of understanding the topic rather than a presentation choice.
symbolic
A permutation written as the list of its images:
This form makes inversions readable directly: scan the pairs
It is also the form the Leibniz formula indexes: the term for
What it hides is the orbit structure. That
Translates into: symbolic
symbolic
The same permutation written as its disjoint orbits:
This form makes the sign immediate. A cycle of length
It also exposes what one-line notation buries: the order of the permutation is the least common multiple of the cycle lengths, composition with a disjoint cycle is independent, and the structure of
Two hazards attach. Fixed points are conventionally omitted, so
What this form loses is direct access to
Translates into: symbolic
Worked material
Example
Six permutations and where their signs come from
Each of these is worked by both routes, so the agreement is visible rather than asserted.
The identity,
A transposition,
A 3-cycle,
A 4-cycle,
Two disjoint swaps,
The reversal,
Two of them, the 3-cycle and the double swap, have the same sign by different structures. Two others, the 3-cycle and the 4-cycle, differ in sign by one unit of length. And the count of inversions is never the count of transpositions,
Contrast
Same length, opposite sign; same sign, different structure
Two permutations of the same size, opposite signs.
| cycles | ||
| transpositions | 2 | 1 |
| inversions | 2 | 1 |
| sign | ||
| moves how many elements | 3 | 2 |
Same sign, different cycle structure. In
The reversal, which alternates. The full reversal of
| sign | ||
|---|---|---|
| 2 | 1 | |
| 3 | 3 | |
| 4 | 6 | |
| 5 | 10 | |
| 6 | 15 |
Reversing four elements is even; reversing three is odd. Nothing about "reversal" fixes a sign. It depends on
Where the contrast bites. Given a matrix whose rows have been reversed, whether
Common errors
Common misconception
A cycle of even length is an even permutation, so the 4-cycle
Related units
Connected
- Determinants (related)
- Matrix Inverses and Elementary Matrices (related)
- Cross Products and Geometry in Space (related)