Kalpana Kalpana (Editor)

Cycles and fixed points

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Cycles and fixed points

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, ..., cl }, such that

Contents

π(ci) = ci + 1 for i = 1, ..., l − 1, and π(cl) = 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 l of the orbit is called the length of the corresponding cycle; when l = 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

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

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. 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.

Counting permutations by number of cycles

The unsigned Stirling number of the first kind, s(kj) counts the number of permutations of k elements with exactly j disjoint cycles.

Properties

(1) For every k > 0 : s(kk) = 1. (2) For every k > 0 : s(k, 1) = (k − 1)!. (3) For every k > j > 1, s(kj) = s(k − 1,j − 1) + s(k − 1, j)·(k − 1)

Reasons for properties

(1) There is only one way to construct a permutation of k elements with k cycles: Every cycle must have length 1 so every element must be a fixed point. (3) There are two different ways to construct a permutation of k elements with j cycles:

Counting permutations by number of fixed points

The value f(kj) counts the number of permutations of k elements with exactly j fixed points. For the main article on this topic, see rencontres numbers.

Properties

(1) For every j < 0 or j > k : f(kj) = 0. (2) f(0, 0) = 1. (3) For every k > 1 and kj ≥ 0, f(kj) = f(k − 1, j − 1) + f(k − 1, j)·(k − 1  − j) + f(k − 1, j + 1)·(j + 1)

Reasons for properties

(3) There are three different methods to construct a permutation of k elements with j fixed points:

(3.a) We may choose one of the f(k − 1, j − 1) permutations with k − 1 elements and j − 1 fixed points and add element k as a new fixed point. (3.b) We may choose one of the f(k − 1, j) permutations with k − 1 elements and j fixed points and insert element k in an existing cycle of length > 1 in front of one of the (k − 1) − j elements. (3.c) We may choose one of the f(k − 1, j + 1) permutations with k − 1 elements and j + 1 fixed points and join element k with one of the j + 1 fixed points to a cycle of length 2.

Alternate calculations

f ( k , 1 ) = i = 1 k ( 1 ) i + 1 ( k i ) i ( k i ) !

Example: f(5, 1) = 5×1×4! − 10×2×3! + 10×3×2! - 5×4×1! + 1×5×0!

= 120 - 120 + 60 - 20 + 5 = 45. f ( k , 0 ) = k ! i = 1 k ( 1 ) i + 1 ( k i ) ( k i ) !

Example: f(5, 0) = 120 - ( 5×4! - 10×3! + 10×2! - 5×1! + 1×0! )

= 120 - ( 120 - 60 + 20 - 5 + 1 ) = 120 - 76 = 44. For every k > 1:

Example: f(5, 0) = 4 × ( 9 + 2 ) = 4 × 11 = 44

For every k > 1:

Example: f(5, 0) = 120 × ( 1/2 - 1/6 + 1/24 - 1/120 )

= 120 × ( 60/120 - 20/120 + 5/120 - 1/120 ) = 120 × 44/120 = 44 f ( k , 0 ) k ! / e where e is Euler's number ≈ 2.71828

References

Cycles and fixed points Wikipedia