In combinatorial mathematics a cycle index is a polynomial in several variables which is structured in such a way that information about how a group of permutations acts on a set can be simply read off from the coefficients and exponents. This compact way of storing information in an algebraic form is frequently used in combinatorial enumeration.
Each permutation π of a finite set of objects partitions that set into cycles; the cycle index monomial of π is a monomial in variables a1, a2, … that describes the cycle type of this partition: the exponent of ai is the number of cycles of π of size i. The cycle index polynomial of a permutation group is the average of the cycle index monomials of its elements. The phrase cycle indicator is also sometimes used in place of cycle index.
Knowing the cycle index polynomial of a permutation group, one can enumerate equivalence classes due to the group's action. This is the main ingredient in the Pólya enumeration theorem. Performing formal algebraic and differential operations on these polynomials and then interpreting the results combinatorially lies at the core of species theory.
A bijective map from a set X onto itself is called a permutation of X, and the set of all permutations of X forms a group under the composition of mappings, called the symmetric group of X, and denoted Sym(X ). Every subgroup of Sym(X ) is called a permutation group of degree |X |. Let G be an abstract group with a group homomorphism φ from G into Sym(X ). The image, φ(G), is a permutation group. The group homomorphism can be thought of as a means for permitting the group G to "act" on the set X (using the permutations associated with the elements of G). Such a group homomorphism is formally called a group action and the image of the homomorphism is a permutation representation of G. A given group can have many different permutation representations, corresponding to different actions.
Suppose that group G acts on set X (that is, a group action exists). In combinatorial applications the interest is in the set X; for instance, counting things in X and knowing what structures might be left invariant by G. Little is lost by working with permutation groups in such a setting, so in these applications, when a group is considered, it is a permutation representation of the group which will be worked with, and thus, a group action must be specified. Algebraists, on the other hand, are more interested in the groups themselves and would be more concerned with the kernels of the group actions, which measure how much is lost in passing from the group to its permutation representation.
Finite permutations are most often represented as group actions on the set X = . A permutation in this setting can be represented by a two-line notation. Thus,
\left(\begin{matrix}1&2&3&4&5\ 2&3&4&5&1\end{matrix}\right)
Not all permutations are cyclic permutations, but every permutation can be written as a product[2] of disjoint (having no common element) cycles in essentially one way.[3] As a permutation may have fixed points (elements that are unchanged by the permutation), these will be represented by cycles of length one. For example:
\left(\begin{matrix}1&2&3&4&5&6\ 2&1&3&5&6&4\end{matrix}\right)=(12)(3)(456).
The cycle structure of a permutation can be coded as an algebraic monomial in several (dummy) variables in the following way: a variable is needed for each distinct cycle length of the cycles that appear in the cycle decomposition of the permutation. In the previous example there were three different cycle lengths, so we will use three variables, a1, a2 and a3 (in general, use the variable ak to correspond to length k cycles). The variable ai will be raised to the ji (g) power where ji (g) is the number of cycles of length i in the cycle decomposition of permutation g. We can then associate the cycle index monomial
n | |
\prod | |
k=1 |
jk(g) | |
a | |
k |
The cycle index of a permutation group G is the average of the cycle index monomials of all the permutations g in G.
More formally, let G be a permutation group of order m and degree n.Every permutation g in G has a unique decomposition into disjoint cycles, sayc1 c2 c3 ... .Let the length of a cycle c be denoted by |c |.
Now let jk(g) be the number of cycles of g of length k, where
0\lejk(g)\le\lfloorn/k\rfloorand
n | |
\sum | |
k=1 |
kjk(g)=n.
We associate to g the monomial
\prodc\ina|c|=
n | |
\prod | |
k=1 |
jk(g) | |
a | |
k |
Then the cycle index Z(G) of G is given by
Z(G)=
1 | |
|G| |
\sumg\in
n | |
\prod | |
k=1 |
jk(g) | |
a | |
k |
.
Consider the group G of rotational symmetries of a square in the Euclidean plane. Its elements are completely determined by the images of just the corners of the square. By labeling these corners 1, 2, 3 and 4 (consecutively going clockwise, say) we can represent the elements of G as permutations of the set X = .[4] The permutation representation of G consists of the four permutations (1 4 3 2), (1 3)(2 4), (1 2 3 4) and e = (1)(2)(3)(4) which represent the counter-clockwise rotations by 90°, 180°, 270° and 360° respectively. Notice that the identity permutation e is the only permutation with fixed points in this representation of G. As an abstract group, G is known as the cyclic group C4, and this permutation representation of it is its regular representation. The cycle index monomials are a4, a22, a4, and a14 respectively. Thus, the cycle index of this permutation group is:
Z(C4)=
1 | |
4 |
\left(
4 | |
a | |
1 |
+
2 | |
a | |
2 |
+2a4\right).
The group C4 also acts on the unordered pairs of elements of X in a natural way. Any permutation g would send → (where x g is the image of the element x under the permutation g).[5] The set X is now where A =, B =, C =, D =, E = and F = . These elements can be thought of as the sides and diagonals of the square or, in a completely different setting, as the edges of the complete graph K4. Acting on this new set, the four group elements are now represented by (A D C B)(E F), (A C)(B D)(E)(F), (A B C D)(E F) and e = (A)(B)(C)(D)(E)(F), and the cycle index of this action is:
Z(C4)=
1 | |
4 |
\left(
6 | |
a | |
1 |
+
2 | |
a | |
1 |
2 | |
a | |
2 |
+2a2a4\right).
The group C4 can also act on the ordered pairs of elements of X in the same natural way. Any permutation g would send (x,y) → (x g, y g) (in this case we would also have ordered pairs of the form (x, x)). The elements of X could be thought of as the arcs of the complete digraph D4 (with loops at each vertex). The cycle index in this case would be:
Z(C4)=
1 | |
4 |
\left(
16 | |
a | |
1 |
+
8 | |
a | |
2 |
+
4 | |
2a | |
4 |
\right).
As the above example shows, the cycle index depends on the group action and not on the abstract group. Since there are many permutation representations of an abstract group, it is useful to have some terminology to distinguish them.
When an abstract group is defined in terms of permutations, it is a permutation group and the group action is the identity homomorphism. This is referred to as the natural action.
The symmetric group S3 in its natural action has the elements[6]
S3=\{e,(23),(12),(123),(132),(13)\}
Z(S3)=
1 | |
6 |
\left(
3 | |
a | |
1 |
+3a1a2+2a3\right).
A permutation group G on the set X is transitive if for every pair of elements x and y in X there is at least one g in G such that y = x g. A transitive permutation group is regular (or sometimes referred to as sharply transitive) if the only permutation in the group that has fixed points is the identity permutation.
A finite transitive permutation group G on the set X is regular if and only if |G| = |X |. Cayley's theorem states that every abstract group has a regular permutation representation given by the group acting on itself (as a set) by (right) multiplication. This is called the regular representation of the group.
The cyclic group C6 in its regular representation contains the six permutations (one-line form of the permutation is given first):
[1 2 3 4 5 6] = (1)(2)(3)(4)(5)(6)
[2 3 4 5 6 1] = (1 2 3 4 5 6)
[3 4 5 6 1 2] = (1 3 5)(2 4 6)
[4 5 6 1 2 3] = (1 4)(2 5)(3 6)
[5 6 1 2 3 4] = (1 5 3)(2 6 4)
[6 1 2 3 4 5] = (1 6 5 4 3 2).
Thus its cycle index is:
Z(C6)=
1 | |
6 |
\left(
6 | |
a | |
1 |
+
3 | |
a | |
2 |
+2
2 | |
a | |
3 |
+2a6\right).
Often, when an author does not wish to use the group action terminology, the permutation group involved is given a name which implies what the action is. The following three examples illustrate this point.
We will identify the complete graph K3 with an equilateral triangle in the Euclidean plane. This permits us to use geometric language to describe the permutations involved as symmetries of the triangle. Every permutation in the group S3 of vertex permutations (S3 in its natural action, given above) induces an edge permutation. These are the permutations:
3. | |
a | |
1 |
3a1a2.
2a3.
The cycle index of the group G of edge permutations induced by vertex permutations from S3 is
Z(G)=
1 | |
6 |
3 | |
\left(a | |
1 |
+3a1a2+2a3\right).
It happens that the complete graph K3 is isomorphic to its own line graph (vertex-edge dual) and hence the edge permutation group induced by the vertex permutation group is the same as the vertex permutation group, namely S3 and the cycle index is Z(S3). This is not the case for complete graphs on more than three vertices, since these have strictly more edges (
\binom{n}{2}
n
This is entirely analogous to the three-vertex case. These are the vertex permutations (S4 in its natural action) and the edge permutations (S4 acting on unordered pairs) that they induce:
6. | |
a | |
1 |
6
2 | |
a | |
1 |
2. | |
a | |
2 |
8
2. | |
a | |
3 |
3
2 | |
a | |
1 |
2. | |
a | |
2 |
6a2a4.
We may visualize the types of permutations geometrically as symmetries of a regular tetrahedron. This yields the following description of the permutation types.
The cycle index of the edge permutation group G of K4 is:
Z(G)=
1 | |
24 |
\left(
6 | |
a | |
1 |
+9
2 | |
a | |
1 |
2 | |
a | |
2 |
+8
2 | |
a | |
3 |
+6a2a4\right).
Consider an ordinary cube in three-space and its group of symmetries, call it C. It permutes the six faces of the cube.(We could also consider edge permutations or vertex permutations.)There are twenty-four symmetries.
There is one such permutation and its contribution is
6. | |
a | |
1 |
We rotate about the axis passing through the centers of the face and the face opposing it. This will fix the face and the face opposing it and create a four-cycle of the faces parallel to the axis of rotation. The contribution is
6
2 | |
a | |
1 |
a4.
We rotate about the same axis as in the previous case, but now there is no four cycle of the faces parallel to the axis, but rather two two-cycles. The contribution is
3
2 | |
a | |
1 |
2. | |
a | |
2 |
This time we rotate about the axis passing through two opposite vertices (the endpoints of a main diagonal). This creates two three-cycles of faces (the faces incident on the same vertex form a cycle). The contribution is
8
2. | |
a | |
3 |
These edge rotations rotate about the axis that passes through the midpoints of opposite edges not incident on the same face and parallel to each other and exchanges the two faces that are incident on the first edge, the two faces incident on the second edge, and the two faces that share two vertices but no edge with the two edges, i.e. there are three two-cycles and the contribution is
6
3. | |
a | |
2 |
The conclusion is that the cycle index of the group C is
Z(C)=
1 | |
24 |
\left(
6 | |
a | |
1 |
+6
2 | |
a | |
1 |
a4+3
2 | |
a | |
1 |
2 | |
a | |
2 |
+8
2 | |
a | |
3 |
+6
3 | |
a | |
2 |
\right).
This group contains one permutation that fixes every element (this must be a natural action).
Z(En)=
n. | |
a | |
1 |
A cyclic group, Cn is the group of rotations of a regular n-gon, that is, n elements equally spaced around a circle. This group has φ(d ) elements of order d for each divisor d of n, where φ(d ) is the Euler φ-function, giving the number of natural numbers less than d which are relatively prime to d. In the regular representation of Cn, a permutation of order d has n/d cycles of length d, thus:
Z(Cn)=
1 | |
n |
\sumd|n\varphi(d)
n/d | |
a | |
d |
.
The dihedral group is like the cyclic group, but also includes reflections. In its natural action,
Z(Dn)=
1 | |
2 |
Z(Cn)+ \begin{cases}
1 | |
2 |
a1
(n-1)/2 | |
a | |
2 |
,&nodd,\\
1 | |
4 |
\left(
2 | |
a | |
1 |
(n-2)/2 | |
a | |
2 |
+
n/2 | |
a | |
2 |
\right),&neven. \end{cases}
The cycle index of the alternating group in its natural action as a permutation group is
Z(An)=
\sum | |
j1+2j2+3j3+ … +njn=n |
| |||||||||||||
|
n | |
\prod | |
k=1 |
jk | |
a | |
k |
.
1 | |
|An| |
=
2 | |
n! |
The cycle index of the symmetric group Sn in its natural action is given by the formula:
Z(Sn)=
\sum | |
j1+2j2+3j3+ … +njn=n |
1 | |||||||||||||
|
n | |
\prod | |
k=1 |
jk | |
a | |
k |
Z(Sn)=
Bn(0!a1,1!a2,...,(n-1)!an) | |
n! |
.
This formula is obtained by counting how many times a given permutation shape can occur. There are three steps: first partition the set of n labels into subsets, where there are
jk
k!/k
S | |
jk |
n! | |||||||||||||
|
n | |
\prod | |
k=1 |
\left(
k! | |
k |
jk | |
\right) |
n | |
\prod | |
k=1 |
1 | |
jk! |
=
n! | |||||||||||||
|
.
n
y
\sum\limitsnynZ(Sn)=\sum\limitsn
\sum | |
j1+2j2+3j3+ … +njn=n |
n | |
\prod | |
k=1 |
| ||||||||||||||
|
=\prod\limitsk
\sum\limits | |
jk\geq0 |
| |||||||||||
|
=\prod\limitsk\exp\left(
akyk | |
k |
\right),
Sn
\begin{align}Z(Sn)&=[yn]\prod\limitsk\exp\left(
akyk | |
k |
\right)\\ &=[yn]\exp\left(\sum\limitsk
akyk | |
k |
\right). \end{align}
Z(S0)=1
\begin{matrix}1\lel\len.\end{matrix}
l-1
\begin{matrix} | l! |
l |
=(l-1)!\end{matrix}
This yields the recurrence
Z(Sn)=
1 | |
n! |
\sum | |
g\inSn |
n | |
\prod | |
k=1 |
jk(g) | |
a | |
k |
=
1 | |
n! |
n | |
\sum | |
l=1 |
{n-1\choosel-1} (l-1)! al (n-l)! Z(Sn-l)
Z(Sn)=
1 | |
n |
n | |
\sum | |
l=1 |
al Z(Sn-l).
Throughout this section we will modify the notation for cycle indices slightly by explicitly including the names of the variables. Thus, for the permutation group G we will now write:
Z(G)=Z(G;a1,a2,\ldots,an).
Let G be a group acting on the set X. G also induces an action on the k-subsets of X and on the k-tuples of distinct elements of X (see
a) The ordinary generating function for fk is given by:
n | |
\sum | |
k=0 |
fktk=Z(G;1+t,1+t2,\ldots,1+tn),
n | |
\sum | |
k=0 |
Fktk/k!=Z(G;1+t,1,1,\ldots,1).
Let G be a group acting on the set X and h a function from X to Y. For any g in G, h(x g) is also a function from X to Y. Thus, G induces an action on the set Y X of all functions from X to Y. The number of orbits of this action is Z(G; b, b, ..., b) where b = |Y |.
This result follows from the orbit counting lemma (also known as the Not Burnside's lemma, but traditionally called Burnside's lemma) and the weighted version of the result is Pólya's enumeration theorem.
The cycle index is a polynomial in several variables and the above results show that certain evaluations of this polynomial give combinatorially significant results. As polynomials they may also be formally added, subtracted, differentiated and integrated. The area of symbolic combinatorics provides combinatorial interpretations of the results of these formal operations.
The question of what the cycle structure of a random permutation looks like is an important question in the analysis of algorithms. An overview of the most important results may be found at random permutation statistics.