Cycles and fixed points

16-bit Gray code permutation G
multiplied with the bit-reversal permutation B

G has 2 fixed points, 1 2-cycle and 3 4-cycles
B has 4 fixed points and 6 2-cycles
GB has 2 fixed points and 2 7-cycles
P * (1,2,3,4)T = (4,1,3,2)T

Permutation of four elements with 1 fixed point and 1 3-cycle

In mathematics, the cycles of a permutation π of a finite set S correspond bijectively to the orbits of the subgroup generated by π acting on S. These orbits are subsets of S that can be written as { c1, ..., cn }, such that

π(ci) = ci + 1 for i = 1, ..., n − 1, and π(cn) = c1.

The corresponding cycle of π is written as ( c1 c2 ... cn ); this expression is not unique since c1 can be chosen to be any element of the orbit.

The size n of the orbit is called the length of the corresponding cycle; when n = 1, the single element in the orbit is called a fixed point of the permutation.

A permutation is determined by giving an expression for each of its cycles, and one notation for permutations consist of writing such expressions one after another in some order. For example, let

be a permutation that maps 1 to 2, 6 to 8, etc. Then one may write

π = ( 1 2 4 3 ) ( 5 ) ( 6 8 ) (7) = (7) ( 1 2 4 3 ) ( 6 8 ) ( 5 ) = ( 4 3 1 2 ) ( 8 6 ) ( 5 ) (7) = ...

Here 5 and 7 are fixed points of π, since π(5) = 5 and π(7)=7. It is typical, but not necessary, to not write the cycles of length one in such an expression.[1] Thus, π = (1 2 4 3)(6 8), would be an appropriate way to express this permutation.

There are different ways to write a permutation as a list of its cycles, but the number of cycles and their contents are given by the partition of S into orbits, and these are therefore the same for all such expressions.

  1. ^ Gerstein 1987, p. 240