Shuffle three cards, then shuffle them again. Two
shuffles in a row are a shuffle, every shuffle can be
undone, and the order of the two shuffles matters. This
is the group of bijections of a finite set (Example (Groups)
(c)), and it is the one group of this chapter studied in
detail, because every determinant in linear algebra is
built from it. This section gives it a compact notation,
cycle notation, learns to multiply in it, counts its
elements, and proves that every permutation breaks into
independent loops: follow the orbit, then peel
it off.
Permutations and two-line notation
Section 3.1 showed that the bijections of a set form
a group under composition. On the set they are
the rearrangements of objects, and they get a
name of their own.
A permutation is a rearrangement: a bijection of
a set to itself.
Definition
3.4.1 (Permutations and the Symmetric
Group)
Let be a set.
A permutation of is a bijection . The permutations
of , with the
operation , form the group
of Example (Groups)
(c). For ,
the symmetric group is where is empty for . The support of is the set
of points it moves,
In words: is
not a new group. It is the group of bijections of , with the product
written as juxtaposition. Its identity is , written when is clear, and the
inverse of
is the inverse function (Sets, Relations, and Cardinality, Definition 1.5.2).
The support of
is empty, and the support is empty only for : if for every
, then (Sets, Relations, and Cardinality, Proposition 1.4.1).
The product is read right to left.
In the product
is the
composite : first apply , then , exactly
as
applies first (Sets, Relations, and Cardinality, Definition 1.4.2).
So , and a longer product applies first and last.
Two-line notation. A permutation
is
given by its values, and we write them under the points:
This array is a table of
values, not a matrix. For example, sends , , and fixes ; its support is . The bottom
row of a permutation lists each of exactly once:
once at least, because is surjective, and
at most once, because it is injective.
The smallest symmetric groups. has one element, the
empty function (Sets, Relations, and Cardinality, Proposition 1.4.2
(a)), which is a bijection because there is nothing to
check; it is the trivial group. has one element,
, since the only
function sends . has two elements,
and the
permutation swapping and : a bijection of either fixes
, and then also
, or sends , and then
. These
degenerate cases are where inductions on start, here and in
Section 3.5.
Cycles
Two-line notation lists every value, even the values
of points that do not move. Most permutations met in
practice move a few points around a loop and leave the
rest alone, and a notation that records only the loop is
shorter and shows more.
A cycle moves a list of distinct points one step
along the list, the last back to the first, and fixes
everything else.
Definition
3.4.2 (Cycle, Transposition)
Let
and , and
let be distinct. The
-cycle is the permutation with and for every not
among . A -cycle is a
transposition. Two cycles are
disjoint if their supports are
disjoint.
In words: , and the
points off the list stay put. A transposition swaps and .
Well-definedness. Because the entries are
distinct, each point of receives exactly one value from the
rule, so is
a function. It is a bijection: the cycle ,
the list read backwards, undoes it point by point ( and
,
and the other points are fixed by both), so it is a
two-sided inverse and Sets, Relations, and Cardinality, Theorem 1.5.4
applies. Hence Every entry is moved, since and by
distinctness and ; so . A
transposition is its own inverse: .
Examples. In , sends , , and fixes
; in two-line
notation it is . The same cycle may be written
starting at any of its entries: , since all three describe the loop . But is a different permutation: it sends . The cycles
and are disjoint;
and are not.
↺Second readingWhy
a cycle has at least two entries
The identity is not a cycle. The
definition asks for : a “-cycle” would be the
identity, and so would every one of them, so the
notation would not be telling us anything. The identity
is instead the empty product of cycles (Definition 3.1.2),
and that is how it will appear in the decomposition
theorem below.
Quick check. Which of these are
equal in : , , ? Write the one
that differs in two-line notation.
Solution. is the loop
, and is the same loop started at : both send , , and fix . So they are equal.
runs the
loop backwards: it sends , , , so it differs from the other two at
. In two-line
notation it is ; it is the inverse of the other
two.
Products of cycles are computed by following each
point through the factors, from right to
left.
Example
(Computing with Cycles)
In , compute
and
. In
, write as a product of cycles.
Solution. For , follow each
point through first, then : , , . So
. For : , , . So
. The two products differ, so is not abelian. For
every , the
same two transpositions lie in , the same computation
applies at ,
and both products fix every point ; so is not abelian for
every .
For ,
start at and
follow: , a loop . The smallest point not yet used is : , a loop . Every point is now used, so .
To check, follow each point through first, then
: ,
, , , ,
which is the bottom row . The two cycles move disjoint sets
of points, and the product in the other order, , is also
, as the same
check shows.
↺Second readingThe
small symmetric groups are abelian
For with
the
situation is different: , and have at most two
elements, and any two of their elements commute, since
one of them is
or both are equal. So is abelian exactly
when .
Warning. Mind the
order. applies first, as applies first. Reading a
product of cycles from left to right gives a wrong
answer: read that way, would send ,
, , that is, “”; but the
example computed . The left-to-right reading
computes the product in the other order.
Section 3.1 noted that the power law of Proposition 3.1.3
(d) needs .
In it fails
without that hypothesis.
Warning. is false in general. Take and . By the
example, , and sends , ,
, so . But transpositions are their own inverses,
so . Here , and the law fails.
Quick check. Compute in .
Solution. Apply first: ,
, . So and are swapped and is fixed: .
Counting
permutations
How many permutations does have? There are choices for , then for , and so on,
which suggests .
We make this precise by induction on , and the induction
needs one structural fact: the permutations of that
fix the last point are, in effect, the permutations of
.
Section 3.5 uses the same fact for a different
induction.
Lemma
3.4.1 (Permutations Fixing the Last
Point)
Let ,
and let ,
a subgroup of .
- (a) For , the
restriction of to , with
codomain , is a permutation of .
- (b) The map , , is an isomorphism. Its inverse
sends
to its extension ,
defined by for and .
That is a
subgroup is Example (Subgroups)
(e), with and the chosen point .
Idea. A permutation fixing cannot send any
other point to , since that value is taken; so it maps into
itself. It also reaches every point there, because
whatever reaches cannot be . Restricting and extending undo each other,
and restriction respects composition.
Proof.
(a) Let and
. If , then by injectivity,
which is false; so , and , , is a function. It is injective
because is.
It is surjective: for there is
with ,
since is
surjective, and , since . So .
(b) Write and .
maps into
. The
extension
is a function on with values in that set, and
undoes it point by point: for , , and both fix ; the other
composite is the same with and exchanged. So
is a
bijection (Sets, Relations, and Cardinality, Theorem 1.5.4)
fixing .
and are mutually
inverse. For ,
agrees with
at every
and at , so
(Sets, Relations, and Cardinality, Proposition 1.4.1).
For ,
agrees with at
every , so
.
Hence is a
bijection with inverse (Sets, Relations, and Cardinality, Definition 1.5.2,
Sets, Relations, and Cardinality, Theorem 1.5.4).
is a
homomorphism. Let
and . By
(a), ,
so So , and is an isomorphism. Its
inverse is an
isomorphism by Proposition 3.3.2
(b). This proves the lemma.
So inside sits a copy of
, the
permutations that leave the last point alone. The
factorial is
that of Sets, Relations, and Cardinality, Definition 2.3.1,
read in : and .
Proposition
3.4.2 (The Symmetric Group Has n!
Elements)
For every ,
is finite and has elements: .
Idea. Sort the permutations of
by where they send the last point. Those sending it to
are a copy of
, by the lemma.
Those sending it to are matched with the first kind by composing
with the swap . So there are classes of permutations each.
Proof. We use induction on (Logic and Proof, Axiom 4.2.1).
For , has exactly one
element, the empty function (Sets, Relations, and Cardinality, Proposition 1.4.2
(a)), and .
Suppose has
elements. For
let Every lies in exactly one , namely for . So the
sets are pairwise disjoint and their union
is .
The class . is the subgroup
of Lemma 3.4.1.
By the induction hypothesis there is a bijection
(Sets, Relations, and Cardinality, Definition 3.1.2);
composing it with the bijection of the
lemma gives a bijection (Sets, Relations, and Cardinality, Theorem 1.4.4
(c)). So
has
elements.
The classes , . Let , a transposition with . If , then
, so ;
if , then , so . The maps , , and , ,
are mutually inverse, since by (G1), and (G2),
and likewise for . So
is a bijection (Sets, Relations, and Cardinality, Theorem 1.5.4),
and composing as before, has elements.
Adding up. We prove, by Sets, Relations, and Cardinality, Theorem 2.2.1
with base (read
on by Number Systems: From to , Corollary 1.7.3
(b)), the statement : “if , the union
has elements”. For this is the count of , and the step adds
the elements of
, disjoint
from , by Sets, Relations, and Cardinality, Proposition 3.1.5,
with . For ,
has elements. This completes the induction and
proves the proposition.
So has elements, has , and already has . For all six can be
listed: , the
three transpositions , , , and the two -cycles , . These are six
different permutations, so by the proposition they are
all of : a
proper subset of a -element set has fewer
elements (Sets, Relations, and Cardinality, Proposition 3.1.6,
Sets, Relations, and Cardinality, Corollary 3.1.4).
Disjoint
cycles and the decomposition theorem
In Example (Computing with Cycles),
came apart
into the loops and , which move disjoint sets of points, and the
order of the two factors did not matter. Both
observations hold in general. We start with the second:
permutations moving disjoint sets of points do not
interfere with each other.
Proposition
3.4.3 (Disjoint Permutations Commute)
Let
and with . Then .
Moreover, every permutation maps onto itself:
.
In particular, disjoint cycles commute.
Idea. A point moved by is fixed by , and so is its image
under ,
because
keeps its moved points among its moved points. So on
only
acts, on
only
, and elsewhere
neither: the order of application cannot matter.
Proof. maps its support
onto itself. Let . If , then , and injectivity gives , against
.
So . Conversely, let and
. If ,
then , a contradiction; so and
. Hence .
Commuting. Let . There are three cases,
since lies in at
most one of the disjoint supports.
Case 1: . Then , so . Also by the first part, so and . Hence .
Case 2: . The same argument with and exchanged gives
.
Case 3:
lies in neither support. Then ,
and both products send to .
So
and
agree at every point, and
(Sets, Relations, and Cardinality, Proposition 1.4.1).
This proves the proposition.
The hypothesis “disjoint” cannot be dropped: and share the point
, and Example (Computing with Cycles)
shows that they do not commute. Exercise C1 looks at the
dropped hypothesis more closely.
Now the main theorem. To break a permutation into
loops, start at a point it moves and follow it until it
comes back. The loop found is a cycle; remove it, and
fewer points are moved, so induction finishes the
job.
Theorem
3.4.4 (Disjoint Cycle Decomposition)
Let .
Every is a product , , of pairwise disjoint cycles, each with
support contained in . For the product is empty ().
The clause about supports is part of the statement
because the induction needs it: it is what makes the new
cycle disjoint from the old ones. The theorem says
nothing about uniqueness; that the decomposition is
unique up to the order of the factors is proved in
Groups, the chapter “Symmetric Groups and the
Sign of a Permutation”.
Idea. Induction on the number of points that moves. ① Pick a
moved point and
follow its orbit . There are only
points, so the
orbit repeats, and it repeats first at itself. ② The points
before the return form a cycle on which acts exactly as
does. ③ Peel
it off: fixes the orbit and
everything
fixes, so it moves fewer points, and the induction
hypothesis decomposes it. Then .
Before reading on: why must the orbit of return to itself, and not to some
later point?
Proof. We use strong induction (Logic and Proof, Theorem 4.2.2)
on , for
the statement: every whose support has elements is a product
of pairwise disjoint cycles with supports in . Every
support is a subset of , which has elements, so it is
finite (Sets, Relations, and Cardinality, Proposition 3.1.6),
and every is
covered by the statement for some .
Let , let have elements, and suppose
the statement holds for every smaller number. If , then ,
so ,
the empty product (Definition 3.1.2).
Let and
choose .
Follow the orbit. Powers are taken in the
group (Definition 3.1.3).
The map , ,
goes from a set of elements to a set of elements, so it is not
injective (Sets, Relations, and Cardinality, Corollary 3.1.3
(a)): for some .
Apply
to both sides. By Proposition 3.1.3
(a), and , so So the set of with is
non-empty and bounded below by , and it has a least
element (Number Systems: From to , Proposition 2.3.6).
Since , .
The points are distinct. Indeed, if
with , the argument just given
yields with , against the minimality of . Let an -cycle (Definition 3.4.2)
with .
acts
on as does. For
,
, where
by Proposition 3.1.3
(a). For ,
. So
for every . In particular
moves every
point of , since
does, and
.
Peel it off. Let . For , . For , we
have , so
and
hence ; then . So fixes every point of
and every point
outside : Since , the set is a proper subset of , so it has
fewer than
elements, and so does its subset (Sets, Relations, and Cardinality, Proposition 3.1.6,
twice). By the induction hypothesis, with pairwise disjoint cycles and . Each
is
therefore disjoint from , whose support is
.
Finally, , so by Proposition 3.1.2
(a) a product of pairwise disjoint cycles, with
and . This completes the induction and proves
the theorem.
The answer to the prompt. The orbit returns
to itself because
is
injective; in the proof, that is the step “apply ”. If the
first repetition were
with ,
applying would give
the earlier repetition . For a function that is not
injective this fails: with has the
orbit , which never comes back to .
The proof is an algorithm. Here it is run on one
permutation.
A worked run. Let send , , , , , . Its support
is . Start at : , so
and . Peel it
off: fixes and and agrees with elsewhere, with
support . Start again at : , so and the next cycle is . Peeling it off
leaves the identity, and the point , fixed by , never enters. So
Quick check. Decompose into
disjoint cycles.
Solution. Start at : , the cycle . The next moved point is : ,
the cycle .
The point is
fixed. So the permutation is , and by
Proposition 3.4.3
also .
By Proposition 3.4.3,
two neighboring factors of a disjoint cycle
decomposition may be exchanged; for instance . The next section breaks each cycle further,
into transpositions.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Compute and
in , as products
of disjoint cycles.
- (b) Find the inverse
of in
, written as a
cycle starting at .
- (c) Run the proof of
Theorem 3.4.4
on starting at : give the orbit of , the number , the cycle , and ;
then finish the run. Which step of the proof uses that
is
injective?
- (d) Compute and in .
Solution.
(a) For , apply
first: ,
, , . So the product is . For , apply
first:
, , , . So
the product is . The two orders give different
permutations.
(b) By the
inverse formula after Definition 3.4.2,
, which, started at , is .
(c) The orbit of
is , so and , with . Then sends ,
, , , :
.
Running the proof on , starting at : , so
the cycle is , and peeling it off leaves . Hence .
Injectivity is used where the orbit is shown to return
to itself: the
step that applies to .
(d) : ,
, , so it is , and its square
sends , , : . On the other hand ,
since transpositions are their own inverses. A second
instance of the warning on .
B. Practice
Exercise
(B1: The table of )
List the six elements of in cycle notation and
write out the table whose entry in row and column is . Hence find all with , and all that commute with every
element of .
Solution. By the list after Proposition 3.4.2,
the elements are .
Computing each product right to left, as in Example (Computing with Cycles),
the entry in row ,
column is :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For example, the entry in row , column is : ,
, , which is .
Reading the diagonal, exactly for . An element commutes with every
element exactly when row equals column . This holds for . It fails for every
other element:
handles and
; handles ; and handles , while handles . Hence only
commutes with
everything.
Exercise
(B2: Counting cycles)
Let
and .
Show that
contains exactly -cycles.
Check the formula for by listing the cycles of .
Solution. We use one counting fact:
if a finite set is the union of pairwise disjoint
subsets with
elements each, it has elements. This is
Sets, Relations, and Cardinality, Proposition 3.1.5
applied
times, by induction on , as in the proof of Proposition 3.4.2.
Lists. Let be the set of lists
of distinct elements of . Then
has elements, by induction on : has one element, the
empty list, and is the disjoint
union, over the lists , of the sets of lists extending by a point of the complement of its entry set . Here has elements, since the
entries are distinct, so (Sets, Relations, and Cardinality, Proposition 3.1.6,
Sets, Relations, and Cardinality, Proposition 3.1.5,
Sets, Relations, and Cardinality, Corollary 3.1.4)
and has elements. By the
counting fact, has times as many
elements as .
Since , this number is .
Lists to cycles. Each list in defines the -cycle , and
every -cycle
arises this way. Two lists give the same cycle exactly
when one is a rotation of the other. Indeed, rotations
give the same cycle (the remark after Definition 3.4.2).
Conversely, if , then lies in the support
, say , and then , and so on around the
loop: the second list is the first rotated to start at
. The rotations of a list are
different lists,
since their first entries differ. So the lists fall into
pairwise disjoint classes of elements, one class per
-cycle, and by the
counting fact, with the number of -cycles, Dividing by gives the formula.
Check, . Transpositions: ,
namely . -cycles: , two
for each of the four sets of three points: . -cycles: ,
starting at with
the other three points in any of their orders: .
Exercise
(B3: The rotations of a square)
Label the corners of a square in order
around it. The quarter turn moves each label to the next
corner, which is the permutation (Example (Groups)
(e)).
- (a) Compute and as products of
disjoint cycles, and show .
- (b) Show that .
- (c) Show that is a
well-defined isomorphism .
Solution.
(a) sends
, , , :
. Then sends , ,
, : . Finally sends
, , , :
.
(b) By Definition 3.2.2,
. For , divide by
: with (Number Systems: From to , Theorem 3.1.2
(a)). By Proposition 3.1.3
(a) and (c), where , again by (c). So
every is one
of , and all four lie in .
(c) Well
defined. If in , then (Number Systems: From to , Definition 3.4.2),
so
for some ,
and as in (b).
Homomorphism. by Proposition 3.1.3
(a). Bijective. The four distinct classes , which
are all of
(Number Systems: From to , Theorem 3.4.3
(b)), go to , which are four different
permutations by (a) (they differ at the point : ) and are all
of by (b). So the map is a bijection,
hence an isomorphism, and the four rotations of the
square form a copy of , as Section 3.1
announced.
C. Going deeper
Exercise
(C1: Dropping “disjoint”)
Proposition 3.4.3
assumes that the supports are disjoint.
- (a) Find two
transpositions that share exactly one point and do not
commute.
- (b) Find two cycles
in with the
same support that do commute.
- (c) In the proof of
Proposition 3.4.3,
which step fails for the pair of (a)?
Solution.
(a) and share only the
point . By the
table of Exercise B1, and ,
which differ (at :
versus ).
(b) and both have
support . They are inverse to each other (the
inverse formula after Definition 3.4.2),
so both products are : . More generally every permutation
commutes with its inverse and with its own powers (Proposition 3.1.3
(a)). So disjointness is sufficient for commuting, not
necessary.
(c) Case 1 at the
point : the proof needs , so that fixes it. Here moves , so , while .
Exercise
(C2: Powers of disjoint cycles)
- (a) Let be a -cycle and . Prove
that
if and only if .
- (b) Let be a -cycle and an -cycle in , disjoint. Prove
that, for every , if
and only if and .
- (c) Deduce that the
least with
is the least positive common multiple of
and .
- (d) Find the least
with in .
Solution (Hint 1). For (b): a power
of fixes every
point that
fixes.
Solution (Hint 2). Converse of (b):
evaluate at a point of .
Solution.
(a) Read the
indices of the entries modulo : for let , where
and . Write with (Number Systems: From to , Theorem 3.1.2
(a)) and take ; is
unique because
is. Then for every , which is Definition 3.4.2.
By induction on (Logic and Proof, Axiom 4.2.1),
for every : for both sides are
, and , using (Proposition 3.1.3
(a)). Every point off the cycle is fixed by , hence by . So if and
only if for every . Since the entries
are
distinct, holds exactly when ,
that is, when .
(b) The supports
are disjoint, so (Proposition 3.4.3),
and by Proposition 3.1.3
(d). If
and , then
by (a), so .
Conversely, suppose . Let
.
Then , so , and by induction on (Logic and Proof, Axiom 4.2.1)
(Hint
1). Hence . Also fixes every
, since does. So , and then
. By (a), and .
(c) By (b), the
with are
exactly the positive common multiples of and . This set contains
, and so it has a
least element (Number Systems: From to , Proposition 2.3.6),
the least positive common multiple of and . By Exercise (C3: Inclusions and intersections),
the common multiples of and are exactly the
multiples of that number.
(d) and are disjoint,
of lengths and
. The positive
common multiples of and start (a common
multiple of is
even, and ), so the least is .
Marking scheme. (10 points) - 3: (a)
the formula with indices modulo , proved by induction,
and the points off the cycle fixed. - 1: (a) from
distinctness of the entries to , in both
directions. - 2: (b) commuting from disjointness, cited,
and with the reason. - 3: (b) the
converse: from ,
uses disjointness of the supports to get and . - 1: (c)
and (d), the least element named.
Second route: , with and , and these are
disjoint, so both are ; this earns the same
3 points if both inclusions are justified.
Fatal errors (0 for the step): without using that the cycles
commute; “ so , hence both are ” with no use of
disjointness.