Trisha Shetty (Editor)

Cyclic permutation

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Cyclic permutation

In mathematics, and in particular in group theory, a cyclic permutation (or cycle) is a permutation of the elements of some set X which maps the elements of some subset S of X to each other in a cyclic fashion, while fixing (that is, mapping to themselves) all other elements of X. If S has k elements, the cycle is called a k-cycle.

Contents

For example, given X = {1, 2, 3, 4}, the permutation that sends 1 to 3, 3 to 2, 2 to 4 and 4 to 1 (so S = X) is a 4-cycle, and the permutation that sends 1 to 3, 3 to 2, 2 to 1 and 4 to 4 (so S = {1, 2, 3} and 4 is a fixed element) is a 3-cycle. On the other hand, the permutation that sends 1 to 3, 3 to 1, 2 to 4 and 4 to 2 is not a cyclic permutation because it separately permutes the pairs {1, 3} and {2, 4}.

The set S is called the orbit of the cycle. Every permutation on finitely many elements can be decomposed into a collection of cycles on disjoint orbits.

The cyclic parts of a permutation are cycles, thus the second example is composed of a 3-cycle and a 1-cycle (or fixed point) and the third is composed of two 2-cycles.

Definition

A permutation is called a cyclic permutation if and only if it has a single nontrivial cycle (a cycle of length > 1).

For example, the permutation, written in two-line (in two ways) and also cycle notations,

( 1 2 3 4 5 6 7 8 4 2 7 6 5 8 1 3 ) = ( 1 4 6 8 3 7 2 5 4 6 8 3 7 1 2 5 ) = ( 146837 ) ( 2 ) ( 5 ) ,

is a six-cycle; its cycle diagram is shown at right.

Some authors restrict the definition to only those permutations which consist of one nontrivial cycle (that is, no fixed points allowed).

For example, the permutation

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

is a cyclic permutation under this more restrictive definition, while the preceding example is not.

More formally, a permutation σ of a set X, viewed as a bijective function σ : X X , is called a cycle if the action on X of the subgroup generated by σ has at most one orbit with more than a single element. This notion is most commonly used when X is a finite set; then of course the largest orbit, S, is also finite. Let s 0 be any element of S, and put s i = σ i ( s 0 ) for any i Z . If S is finite, there is a minimal number k 1 for which s k = s 0 . Then S = { s 0 , s 1 , , s k 1 } , and σ is the permutation defined by

σ ( s i ) = s i + 1 for 0 ≤ i < k

and σ ( x ) = x for any element of X S . The elements not fixed by σ can be pictured as

s 0 s 1 s 2 s k 1 s k = s 0 .

A cycle can be written using the compact cycle notation σ = ( s 0   s 1     s k 1 ) (there are no commas between elements in this notation, to avoid confusion with a k-tuple). The length of a cycle is the number of elements of its largest orbit. A cycle of length k is also called a k-cycle.

The orbit of a 1-cycle is called a fixed point of the permutation, but as a permutation every 1-cycle is the identity permutation. When cycle notation is used, the 1-cycles are often suppressed when no confusion will result.

Basic properties

One of the basic results on symmetric groups says that any permutation can be expressed as the product of disjoint cycles (more precisely: cycles with disjoint orbits); such cycles commute with each other, and the expression of the permutation is unique up to the order of the cycles. The multiset of lengths of the cycles in this expression (the cycle type) is therefore uniquely determined by the permutation, and both the signature and the conjugacy class of the permutation in the symmetric group are determined by it.

The number of k-cycles in the symmetric group Sn is given, for 1 k n , by the following equivalent formulas

( n k ) ( k 1 ) ! = n ( n 1 ) ( n k + 1 ) k = n ! ( n k ) ! k

A k-cycle has signature (−1)k − 1.

Transpositions

A cycle with only two elements is called a transposition. For example the permutation π = ( 1 2 3 4 1 4 3 2 ) that swaps 2 and 4.

Properties

Any permutation can be expressed as the composition (product) of transpositions—formally, they are generators for the group. In fact, when the set being permuted is {1, 2, ..., n} for some integer n, then any permutation can be expressed as a product of adjacent transpositions ( 1   2 ) , ( 2   3 ) , ( 3   4 ) , and so on. This follows because an arbitrary transposition can be expressed as the product of adjacent transpositions. Concretely, one can express the transposition ( k     l ) where k < l by moving k to l one step at a time, then moving l back to where k was, which interchanges these two and makes no other changes:

( k     l ) = ( k     k + 1 ) ( k + 1     k + 2 ) ( l 1     l ) ( l 2     l 1 ) ( k     k + 1 ) .

The decomposition of a permutation into a product of transpositions is obtained for example by writing the permutation as a product of disjoint cycles, and then splitting iteratively each of the cycles of length 3 and longer into a product of a transposition and a cycle of length one less:

( a   b   c   d     y   z ) = ( a   b ) ( b   c   d     y   z )

This means the initial request is to move a to b , b to c , y to z and finally z to a . Instead one may roll the elements keeping a where it is by executing the right factor first (as usual in operator notation, and following the convention in the article on Permutations). This has moved z to the position of b , so after the first permutation, the elements a and z are not yet at their final positions. The transposition ( a   b ) , executed thereafter, then addresses z by the index of b to swap what initially were a and z .

In fact, the symmetric group is a Coxeter group, meaning that it is generated by elements of order 2 (the adjacent transpositions), and all relations are of a certain form.

One of the main results on symmetric groups states that either all of the decompositions of a given permutation into transpositions have an even number of transpositions, or they all have an odd number of transpositions. This permits the parity of a permutation to be a well-defined concept.

References

Cyclic permutation Wikipedia