Cyclic permutation

From HandWiki
Revision as of 18:52, 8 February 2024 by WikiEd2 (talk | contribs) (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Type of (mathematical) permutation with no fixed element

In mathematics, and in particular in group theory, a cyclic permutation is a permutation consisting of a single cycle.[1][2] In some cases, cyclic permutations are referred to as cycles;[3] if a cyclic permutation has k elements, it may be called a k-cycle. Some authors widen this definition to include permutations with fixed points in addition to at most one non-trivial cycle.[3][4] In cycle notation, cyclic permutations are denoted by the list of their elements enclosed with parentheses, in the order to which they are permuted.

For example, the permutation (1 3 2 4) that sends 1 to 3, 3 to 2, 2 to 4 and 4 to 1 is a 4-cycle, and the permutation (1 3 2)(4) that sends 1 to 3, 3 to 2, 2 to 1 and 4 to 4 is considered a 3-cycle by some authors. On the other hand, the permutation (1 3)(2 4) 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 of elements that are not fixed by a cyclic permutation is called the orbit of the cyclic permutation.[citation needed] Every permutation on finitely many elements can be decomposed into cyclic permutations on disjoint orbits.

The individual cyclic parts of a permutation are also called 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 cyclic permutation consisting of a single 8-cycle.|thumb

There is not widespread consensus about the precise definition of a cyclic permutation. Some authors define a permutation σ of a set X to be cyclic if "successive application would take each object of the permuted set successively through the positions of all the other objects",[1] or, equivalently, if its representation in cycle notation consists of a single cycle.[2] Others provide a more permissive definition which allows fixed points.[3][4]

A nonempty subset S of X is a cycle of [math]\displaystyle{ \sigma }[/math] if the restriction of [math]\displaystyle{ \sigma }[/math] to S is a cyclic permutation of S. If X is finite, its cycles are disjoint, and their union is X. That is, they form a partition, called the cycle decomposition of [math]\displaystyle{ \sigma. }[/math] So, according to the more permissive definition, a permutation of X is cyclic if and only if X is its unique cycle.

For example, the permutation, written in cycle notation and two-line notation (in two ways) as

[math]\displaystyle{ \begin{align} (1\ 4\ 6\ &8\ 3\ 7)(2)(5) \\ &= \begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 \\ 4 & 2 & 7 & 6 & 5 & 8 & 1 & 3 \end{pmatrix} \\ &= \begin{pmatrix} 1 & 4 & 6 & 8 & 3 & 7 & 2 & 5 \\ 4 & 6 & 8 & 3 & 7 & 1 & 2 & 5 \end{pmatrix} \end{align} }[/math]

has one 6-cycle and two 1-cycles its cycle diagram is shown at right. Some authors consider this permutation cyclic while others do not.

thumb|A permutation that is cyclic for the enlarged definition but not for the restricted one, with two fixed points (1-cycles) and a 6-cycleWith the enlarged definition, there are cyclic permutations that do not consist of a single cycle.

More formally, for the enlarged definition, a permutation [math]\displaystyle{ \sigma }[/math] of a set X, viewed as a bijective function [math]\displaystyle{ \sigma:X\to X }[/math], is called a cycle if the action on X of the subgroup generated by [math]\displaystyle{ \sigma }[/math] has at most one orbit with more than a single element.[5] This notion is most commonly used when X is a finite set; then the largest orbit, S, is also finite. Let [math]\displaystyle{ s_0 }[/math] be any element of S, and put [math]\displaystyle{ s_i=\sigma^i(s_0) }[/math] for any [math]\displaystyle{ i\in\mathbf{Z} }[/math]. If S is finite, there is a minimal number [math]\displaystyle{ k \geq 1 }[/math] for which [math]\displaystyle{ s_k=s_0 }[/math]. Then [math]\displaystyle{ S=\{ s_0, s_1, \ldots, s_{k-1}\} }[/math], and [math]\displaystyle{ \sigma }[/math] is the permutation defined by

[math]\displaystyle{ \sigma(s_i) = s_{i+1} }[/math] for 0 ≤ i < k

and [math]\displaystyle{ \sigma(x)=x }[/math] for any element of [math]\displaystyle{ X\setminus S }[/math]. The elements not fixed by [math]\displaystyle{ \sigma }[/math] can be pictured as

[math]\displaystyle{ s_0\mapsto s_1\mapsto s_2\mapsto\cdots\mapsto s_{k-1}\mapsto s_k=s_0 }[/math].

A cyclic permutation can be written using the compact cycle notation [math]\displaystyle{ \sigma = (s_0~s_1~\dots~s_{k-1}) }[/math] (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.[6] When cycle notation is used, the 1-cycles are often omitted when no confusion will result.[7]

Basic properties

One of the basic results on symmetric groups is 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.[lower-alpha 1] 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.[8]

The number of k-cycles in the symmetric group Sn is given, for [math]\displaystyle{ 1\leq k\leq n }[/math], by the following equivalent formulas: [math]\displaystyle{ \binom nk(k-1)!=\frac{n(n-1)\cdots(n-k+1)}{k}=\frac{n!}{(n-k)!k}. }[/math]

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

The inverse of a cycle [math]\displaystyle{ \sigma = (s_0~s_1~\dots~s_{k-1}) }[/math] is given by reversing the order of the entries: [math]\displaystyle{ \sigma^{-1} = (s_{k - 1}~\dots~s_1~s_{0}) }[/math]. In particular, since [math]\displaystyle{ (a ~ b) = (b ~ a) }[/math], every two-cycle is its own inverse. Since disjoint cycles commute, the inverse of a product of disjoint cycles is the result of reversing each of the cycles separately.

Transpositions

Matrix of [math]\displaystyle{ \pi }[/math]

A cycle with only two elements is called a transposition. For example, the permutation [math]\displaystyle{ \pi = \begin{pmatrix} 1 & 2 & 3 & 4 \\ 1 & 4 & 3 & 2 \end{pmatrix} }[/math] that swaps 2 and 4. Since it is a 2-cycle, it can be written as [math]\displaystyle{ \pi = (2,4) }[/math].

Properties

Any permutation can be expressed as the composition (product) of transpositions—formally, they are generators for the group.[9] 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 [math]\displaystyle{ (1~2), (2~3), (3~4), }[/math] and so on. This follows because an arbitrary transposition can be expressed as the product of adjacent transpositions. Concretely, one can express the transposition [math]\displaystyle{ (k~~l) }[/math] where [math]\displaystyle{ k \lt l }[/math] 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:

[math]\displaystyle{ (k~~l) = (k~~k+1)\cdot(k+1~~k+2)\cdots(l-1~~l)\cdot(l-2~~l-1)\cdots(k~~k+1). }[/math]

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:

[math]\displaystyle{ (a~b~c~d~\ldots~y~z) = (a~b)\cdot (b~c~d~\ldots~y~z). }[/math]

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

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.[10] This permits the parity of a permutation to be a well-defined concept.

See also

Notes

  1. Note that the cycle notation is not unique: each k-cycle can itself be written in k different ways, depending on the choice of [math]\displaystyle{ s_0 }[/math] in its orbit.

References

  1. 1.0 1.1 Gross, Jonathan L. (2008). Combinatorial methods with computer applications. Discrete mathematics and its applications. Boca Raton, Fla.: Chapman & Hall/CRC. pp. 29. ISBN 978-1-58488-743-0. 
  2. 2.0 2.1 Knuth, Donald E. (2002). The Art of Computer Programming. Addison-Wesley. pp. 35. 
  3. 3.0 3.1 3.2 Bogart, Kenneth P. (2000). Introductory combinatorics (3 ed.). London: Harcourt Academic Press. pp. 554. ISBN 978-0-12-110830-4. 
  4. 4.0 4.1 Rosen, Kenneth H. (2000). Handbook of discrete and combinatorial mathematics. Boca Raton London New York: CRC press. ISBN 978-0-8493-0149-0. 
  5. Fraleigh 1993, p. 103
  6. Rotman 2006, p. 108
  7. Sagan 1991, p. 2
  8. Rotman 2006, p. 117, 121
  9. Rotman 2006, p. 118, Prop. 2.35
  10. Rotman 2006, p. 122

Sources

  • Anderson, Marlow and Feil, Todd (2005), A First Course in Abstract Algebra, Chapman & Hall/CRC; 2nd edition. ISBN:1-58488-515-7.
  • Fraleigh, John (1993), A first course in abstract algebra (5th ed.), Addison Wesley, ISBN 978-0-201-53467-2 
  • Rotman, Joseph J. (2006), A First Course in Abstract Algebra with Applications (3rd ed.), Prentice-Hall, ISBN 978-0-13-186267-8 
  • Sagan, Bruce E. (1991), The Symmetric Group / Representations, Combinatorial Algorithms & Symmetric Functions, Wadsworth & Brooks/Cole, ISBN 978-0-534-15540-7 

External links