Next: An algorithm to list
Up: Permutations
Previous: Inverses
  Contents
  Index
Rubik's cubers will often, without knowing it perhaps,
use the following lemma to solve their cube.
Lemma 4.4.1
Let

denote any permutation
and let

denote distinct integers
belonging to

. Let

denote a permutation
sending

to

:
Then

is a permutation
sending

to

:
More specifically (and this is the case which this lemma is
most often applied in this book):
let

denote distinct integers
belonging to

. Let

denote the permutation
sending

to

:
Then

is the permutation
sending

to

:
Example 4.4.2
Let us label the

edges of the Rubik's cube using the
Singmaster notation:
denotes the ``up, front edge'',
denotes the ``up, left edge'',
denotes the ``up, right edge'',
denotes the ``up, back edge'',
denotes the ``down, front edge'',
denotes the ``down, left edge'',
denotes the ``down, right edge'',
denotes the ``down, back edge'',
denotes the ``front, left edge'',
denotes the ``front, right edge'',
denotes the ``back, left edge'',
denotes the ``back, right edge''.
Suppose you have a Rubik's cube move

which
is a 3-cycle on 3 particular edges, say
Suppose you have another move

which sends these edges somewhere
else, say

so that

and

, but leaves
the other edges alone. Then

is the permutation
Try it!
The most common notation for a permutation is
the ``cycle notation". This notation is more compact that the array notation
we've been using and from this point on we will switch over
to the cycle notation. If
then the symbol
denotes the permutation
of
which
sends
to
, sends
to
, ...,
sends
to
, sends
to
, and leaves all the other
numbers in
alone. In other words,
and
, if
is not equal to one of the
. Such a
permutation is called cyclic.
The number
is called the length
of the cycle.
We call two such cycles
and
disjoint
if the sets
and
are disjoint.
Lemma 4.4.3
If

and

are disjoint cyclic permutations of

then

.
proof:
This is true because the permutations
and
of
affect
disjoint collections of integers, so the permutations may be
performed in either order.
Lemma 4.4.4
The cyclic permutation

has order

.
proof: Note
,
, ...,
,
,
by definition of
. Likewise, for any
,
we have
.
Definition 4.4.5
A
transposition is a cycle

of length

which
interchanges

and

.
Theorem 4.4.6
Every permutation

is the
product of disjoint cyclic permutations. More precisely,
if

is a permutation of

(with

)
then there are non-empty disjoint subsets of distinct integers
such that
and
This product is called a cycle decomposition of f
. If we rearrange the cardinalities
of these sets
in decreasing order,
say we write this as
then the
-tuple
is called
the cycle structure
of
and
is called a
-cycle.
For example,
is a
-cycle.
proof: The proof is constructive.
Let
be a permutation. List all the
distinct elements in
you get by repeatedly applying
to
.
Call them (for lack of a better notation!),
, where,
(Incidently, this is called the orbit of
under
. We shall discuss orbits more later in this book.)
Now list the elements in the orbit of
:
and so on until we get to the ``orbit of
":
An example: let
be the
-cycle permutation,
. In this case,
,
, and
, so all three
orbits are equal to each other in this example.
In general, if you pick any two of these
orbits
, ...,
,
they will either be the same or disjoint. Denote all
the distinct orbits by
, ...,
.
(The
, ...,
are a subsequence of the
, ...,
.
It doesn't matter what order you write the
's in or
in what order you write the elements in each individual orbit.)
Suppose that
(The
's have been relabeled as
's to try to
simplify the notation.)
In this case,
and
. The restriction of
to
, denoted
, is equal to the
-cycle
.
In general, the restriction of
to
, denoted
, is equal to the
-cycle
.
Since the
's partition
, the definition
of
and our construction implies that
Example 4.4.7
- The cycle notation for
is
or simply
.
In general, if any of the orbits
in the above construction is a
singleton, it is often omitted from the notation,
with the implicit understanding that
doesn't permute
the omitted numbers.
- The cycle notation for
is
.
- The cycle notation for
is
.
- The cycle notation for
is
.
- The disjoint cycle decomposition of
is
.
Lemma 4.4.8
A cyclic permutation is even if and only if the length of
its cycle is odd. A general permutation

is odd if
and only if the number of cycles of even length in its cycle
decomposition is odd.
This follows from the definition of even/odd
(see Definition 4.2.2) and the fact that
,
for permutations
(because of Lemma 4.2.6).
The proof is left as an exercise.
Lemma 4.4.9
The order of a permutation is the least common multiple
(lcm) of the lengths

of the disjoint cycles
in its cycle decomposition.
Example 4.4.10
The order of

is

. It is even.
The order of

is

. It is odd.
Exercise 4.4.11
Let

and

be permutations of

. Compute

using Lemma
4.4.1.
Exercise 4.4.12
Let

and

be permutations of

. Compute

using Lemma
4.4.1.
Exercise 4.4.13 (a)
Show that the inverse of

is

.
(b) Find the inverse of

.
Exercise 4.4.14
Consider the equation given in

array form as
Solve for

in two ways:
- (i)
- by directly considering what
array would 'fit' for
(so
that the composition on the left hand side would indeed by the right side)
- (ii)
- solving for
algebraically
(hint: if
, then
).
It is recommended that you rewrite the equation first in disjoint cycle
notation, then solve.
Exercise 4.4.15 (a)
Show that

.
(b) Express

as a product of transpositions.
Exercise 4.4.16
When first opened, a new package containing a standard deck of 52 cards
is typically found to be in a naturally ordered state (and the customer can
quickly verify that all cards are present). How does (b) of
Exercise
4.4.15 show that any
deck of cards, no matter how thoroughly shuffled, can be brought back to
its original state simply by the following single operation: repeatedly
swapping
various cards with the current top card?
Exercise 4.4.17
Divide a square into 4 subsquares (``facets") and
label them

. For example,
-----------------
| | |
| 1 | 2 |
| | |
-----------------
| | |
| 3 | 4 |
| | |
-----------------
Let

denote counterclockwise rotation by 90 degrees. Then,
as a permutation on the facets,

. Let

denote
reflection about the horizonal line dividing the square in
two, let

denote reflection about the vertical line
dividing the square in two. Use the cycle notation to determine
the permutations of the facets
(a)

(b)

,
(c)

,
(d)

,
(e)

,
(f)

,
(c)

,
(d)

.
Next: An algorithm to list
Up: Permutations
Previous: Inverses
  Contents
  Index
David Joyner
2002-08-23