- Source: Cyclic permutation
In mathematics, and in particular in group theory, a cyclic permutation is a permutation consisting of a single cycle. In some cases, cyclic permutations are referred to as cycles; 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. 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}.
For the wider definition of a cyclic permutation, allowing fixed points, these fixed points each constitute trivial orbits of the permutation, and there is a single non-trivial orbit containing all the remaining points. This can be used as a definition: a cyclic permutation (allowing fixed points) is a permutation that has a single non-trivial orbit. Every permutation on finitely many elements can be decomposed into cyclic permutations whose non-trivial orbits are disjoint.
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
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", or, equivalently, if its representation in cycle notation consists of a single cycle. Others provide a more permissive definition which allows fixed points.
A nonempty subset S of X is a cycle of
σ
{\displaystyle \sigma }
if the restriction of
σ
{\displaystyle \sigma }
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
σ
.
{\displaystyle \sigma .}
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
(
1
4
6
8
3
7
)
(
2
)
(
5
)
=
(
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
)
{\displaystyle {\begin{aligned}(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{aligned}}}
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.
With the enlarged definition, there are cyclic permutations that do not consist of a single cycle.
More formally, for the enlarged definition, a permutation
σ
{\displaystyle \sigma }
of a set X, viewed as a bijective function
σ
:
X
→
X
{\displaystyle \sigma :X\to X}
, is called a cycle if the action on X of the subgroup generated by
σ
{\displaystyle \sigma }
has at most one orbit with more than a single element. This notion is most commonly used when X is a finite set; then the largest orbit, S, is also finite. Let
s
0
{\displaystyle s_{0}}
be any element of S, and put
s
i
=
σ
i
(
s
0
)
{\displaystyle s_{i}=\sigma ^{i}(s_{0})}
for any
i
∈
Z
{\displaystyle i\in \mathbf {Z} }
. If S is finite, there is a minimal number
k
≥
1
{\displaystyle k\geq 1}
for which
s
k
=
s
0
{\displaystyle s_{k}=s_{0}}
. Then
S
=
{
s
0
,
s
1
,
…
,
s
k
−
1
}
{\displaystyle S=\{s_{0},s_{1},\ldots ,s_{k-1}\}}
, and
σ
{\displaystyle \sigma }
is the permutation defined by
σ
(
s
i
)
=
s
i
+
1
{\displaystyle \sigma (s_{i})=s_{i+1}}
for 0 ≤ i < k
and
σ
(
x
)
=
x
{\displaystyle \sigma (x)=x}
for any element of
X
∖
S
{\displaystyle X\setminus S}
. The elements not fixed by
σ
{\displaystyle \sigma }
can be pictured as
s
0
↦
s
1
↦
s
2
↦
⋯
↦
s
k
−
1
↦
s
k
=
s
0
{\displaystyle s_{0}\mapsto s_{1}\mapsto s_{2}\mapsto \cdots \mapsto s_{k-1}\mapsto s_{k}=s_{0}}
.
A cyclic permutation can be written using the compact cycle notation
σ
=
(
s
0
s
1
…
s
k
−
1
)
{\displaystyle \sigma =(s_{0}~s_{1}~\dots ~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 omitted when no confusion will result.
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. 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
{\displaystyle 1\leq k\leq n}
, by the following equivalent formulas:
(
n
k
)
(
k
−
1
)
!
=
n
(
n
−
1
)
⋯
(
n
−
k
+
1
)
k
=
n
!
(
n
−
k
)
!
k
.
{\displaystyle {\binom {n}{k}}(k-1)!={\frac {n(n-1)\cdots (n-k+1)}{k}}={\frac {n!}{(n-k)!k}}.}
A k-cycle has signature (−1)k − 1.
The inverse of a cycle
σ
=
(
s
0
s
1
…
s
k
−
1
)
{\displaystyle \sigma =(s_{0}~s_{1}~\dots ~s_{k-1})}
is given by reversing the order of the entries:
σ
−
1
=
(
s
k
−
1
…
s
1
s
0
)
{\displaystyle \sigma ^{-1}=(s_{k-1}~\dots ~s_{1}~s_{0})}
. In particular, since
(
a
b
)
=
(
b
a
)
{\displaystyle (a~b)=(b~a)}
, 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
A cycle with only two elements is called a transposition. For example, the permutation
π
=
(
1
2
3
4
1
4
3
2
)
{\displaystyle \pi ={\begin{pmatrix}1&2&3&4\\1&4&3&2\end{pmatrix}}}
that swaps 2 and 4. Since it is a 2-cycle, it can be written as
π
=
(
2
,
4
)
{\displaystyle \pi =(2,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
)
,
{\displaystyle (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
)
{\displaystyle (k~~l)}
where
k
<
l
{\displaystyle k
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
)
.
{\displaystyle (k~~l)=(k~~k+1)\cdot (k+1~~k+2)\cdots (l-1~~l)\cdot (l-2~~l-1)\cdots (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
)
.
{\displaystyle (a~b~c~d~\ldots ~y~z)=(a~b)\cdot (b~c~d~\ldots ~y~z).}
This means the initial request is to move
a
{\displaystyle a}
to
b
,
{\displaystyle b,}
b
{\displaystyle b}
to
c
,
{\displaystyle c,}
y
{\displaystyle y}
to
z
,
{\displaystyle z,}
and finally
z
{\displaystyle z}
to
a
.
{\displaystyle a.}
Instead one may roll the elements keeping
a
{\displaystyle a}
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
z
{\displaystyle z}
to the position of
b
,
{\displaystyle b,}
so after the first permutation, the elements
a
{\displaystyle a}
and
z
{\displaystyle z}
are not yet at their final positions. The transposition
(
a
b
)
,
{\displaystyle (a~b),}
executed thereafter, then addresses
z
{\displaystyle z}
by the index of
b
{\displaystyle b}
to swap what initially were
a
{\displaystyle a}
and
z
.
{\displaystyle 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.
See also
Cycle sort – a sorting algorithm that is based on the idea that the permutation to be sorted can be factored into cycles, which can individually be rotated to give a sorted result
Cycles and fixed points
Cyclic permutation of integer
Cycle notation
Circular permutation in proteins
Fisher–Yates shuffle
Notes
References
= 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
Cycle Notation of Permutations, video explains cyclic decomposition.
This article incorporates material from cycle on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.
Kata Kunci Pencarian:
- Daftar bilangan prima
- Statistika nonparametrik
- Osteogenesis imperfecta
- Cyclic permutation
- Permutation
- Repeating decimal
- Cycle
- Cyclic number
- Cyclic order
- Gray code
- Permutation group
- 142857
- Transposable integer