In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, and in particular in
group theory
In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups.
The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ( ...
, a cyclic permutation is a
permutation
In mathematics, a permutation of a set can mean one of two different things:
* an arrangement of its members in a sequence or linear order, or
* the act or process of changing the linear order of an ordered set.
An example of the first mean ...
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 and .
For the wider definition of a cyclic permutation, allowing fixed points, these fixed points each constitute trivial
orbit
In celestial mechanics, an orbit (also known as orbital revolution) is the curved trajectory of an object such as the trajectory of a planet around a star, or of a natural satellite around a planet, or of an artificial satellite around an ...
s 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
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
In mathematics, a permutation of a set can mean one of two different things:
* an arrangement of its members in a sequence or linear order, or
* the act or process of changing the linear order of an ordered set.
An example of the first mean ...
of a set 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 of is a ''cycle'' of
if the restriction of
to is a cyclic permutation of . If is
finite, its cycles are
disjoint, and their
union is . That is, they form a
partition, called the
cycle decomposition of
So, according to the more permissive definition, a permutation of is cyclic if and only if is its unique cycle.
For example, the permutation, written in
cycle notation and
two-line notation (in two ways) as
:
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.
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
of a set ''X'', viewed as a
bijective function , 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 the largest orbit, ''S'', is also finite. Let
be any element of ''S'', and put
for any
. If ''S'' is finite, there is a minimal number
for which
. Then
, and
is the permutation defined by
:
for 0 ≤ ''i'' < ''k''
and
for any element of
. The elements not fixed by
can be pictured as
:
.
A cyclic permutation can be written using the compact
cycle notation (there are no commas between elements in this notation, to avoid confusion with a ''k''-
tuple
In mathematics, a tuple is a finite sequence or ''ordered list'' of numbers or, more generally, mathematical objects, which are called the ''elements'' of the tuple. An -tuple is a tuple of elements, where is a non-negative integer. There is o ...
). 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 group
In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
s 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
In mathematics, especially group theory, two elements a and b of a group are conjugate if there is an element g in the group such that b = gag^. This is an equivalence relation whose equivalence classes are called conjugacy classes. In other ...
of the permutation in the symmetric group are determined by it.
The number of ''k''-cycles in the symmetric group ''S''
''n'' is given, for
, by the following equivalent formulas:
A ''k''-cycle has
signature
A signature (; from , "to sign") is a depiction of someone's name, nickname, or even a simple "X" or other mark that a person writes on documents as a proof of identity and intent. Signatures are often, but not always, Handwriting, handwritt ...
(−1)
''k'' − 1.
The
inverse of a cycle
is given by reversing the order of the entries:
. In particular, since
, 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
that swaps 2 and 4. Since it is a 2-cycle, it can be written as
.
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 for some integer , then any permutation can be expressed as a product of
and so on. This follows because an arbitrary transposition can be expressed as the product of adjacent transpositions. Concretely, one can express the transposition
where
by moving to one step at a time, then moving back to where was, which interchanges these two and makes no other changes:
:
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:
:
This means the initial request is to move
to
to
to
and finally
to
Instead one may roll the elements keeping
where it is by executing the right factor first (as usual in operator notation, and following the convention in the article
Permutation
In mathematics, a permutation of a set can mean one of two different things:
* an arrangement of its members in a sequence or linear order, or
* the act or process of changing the linear order of an ordered set.
An example of the first mean ...
). This has moved
to the position of
so after the first permutation, the elements
and
are not yet at their final positions. The transposition
executed thereafter, then addresses
by the index of
to swap what initially were
and
In fact, the
symmetric group
In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
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. .
*
*
*
External links
Cycle Notation of Permutations video explains cyclic decomposition.
{{DEFAULTSORT:Cycle (Mathematics)
Permutations