We’re going to introduce a more efficient way of writing permutations. This involves thinking about a special kind of permutation called a cycle.
Let , let be distinct positive integers. Then
is defined to be the permutation such that
for ,
, and
for any number which isn’t equal to one of the .
If we let be then we could just say for all .
A permutation of the form is called an -cycle. A permutation which is an -cycle for some is called a cycle.
There are two important things to note:
Any 1-cycle, e.g. or , is equal to the identity permutation.
If we just write down the cycle , say, it could be could be an element of , or , or , or any other with . When it matters, we will make this clear.
In , the 2-cycle is the permutation that sends 1 to 2, 2 to 1, and 3 to 3. In two row notation .
In , the 3-cycle is the permutation that sends 1 to 1, 2 to 4, 4 to 3, and 3 to 2. In two row notation, .
The picture below is of the 5-cycle , illustrating why these permutations are called “cycles”.
Let’s compose two cycles. Let be elements of . We’ll work out the two row notation for . Remember that this is the permutation whose rule is to do then do .
, so . Therefore the two row notation for looks like.
Next, (as 2 doesn’t appear in the cycle defining ), so . Now we know the next bit of the two row notation:
You should continue this procedure and check that what you end up with is
Consider the two cycles and . The permutation sends 1 to 2, 2 to 3, 3 to 4, 4 to 1, and any other number to itself. So does . So . Similarly if and then .
In general, every -cycle can be written different ways since you can put any one of the things in the cycle first.
In ,
Two cycles and are disjoint if no equals any .
is disjoint from
and are not disjoint.
One reason disjoint cycles are important is that disjoint cycles commute, that is, if and are disjoint cycles then . This is special as you have seen that in general, for two permutations and , . You will prove this in the problem sets for MATH0005, but we’ll record it here for future use.
Let and be disjoint cycles. Then .
There can be many different ways to write a given permutation as a product of disjoint cycles. For example, taking the permutation we’ve just seen,
It is important to remember are that an -cycle can be written in different ways, for example , and that disjoint cycles commute, for example .
For every permutation there is an inverse permutation such that . How do we find the inverse of a cycle? Let
Then sends to for all (and every number not equal to an to itself), so should send to for all (and every number not equal to an to itself). In other words, is the cycle :
As a special case, the inverse of the 2-cycle is . But ! So every 2-cycle is its own inverse.
If we draw cycles as we did in Figure 2.14, their inverses are obtained by “reversing the arrows.”
Not every permutation is a cycle.
The permutation is not a cycle. Suppose for a contradiction that it was. sends 1 to 2, and 2 to 1, so if it were a cycle it would have to be . But sends 3 to 3, whereas , so .
Here is a diagram of the permutation from the previous example.
While is not a cycle, it is the composition of two cycles: . In fact, every permutation can be written this way, which we’ll prove in the next section.