Incombinatorialmathematics acycle index is apolynomial in several variables which is structured in such a way that information about how agroup of permutationsacts on aset can be simply read off from thecoefficients and exponents. This compact way of storing information in analgebraic form is frequently used incombinatorial enumeration.
Each permutation π of afinite set of objectspartitions that set intocycles; thecycle index monomial of π is amonomial in variablesa1,a2, … that describes thecycle type of this partition: the exponent ofai is the number of cycles of π of size i. Thecycle index polynomial of a permutation group is the average of the cycle index monomials of its elements. The phrasecycle indicator is also sometimes used in place ofcycle index.
Knowing the cycle index polynomial of a permutation group, one can enumerateequivalence classes due to thegroup'saction. This is the main ingredient in thePólya enumeration theorem. Performing formal algebraic anddifferential operations on these polynomials and then interpreting the results combinatorially lies at the core ofspecies theory.
Abijective map from a setX onto itself is called a permutation ofX, and the set of all permutations ofX forms a group under thecomposition of mappings, called thesymmetric group ofX, and denoted Sym(X ). Everysubgroup of Sym(X ) is called apermutation group ofdegree |X |.[1] LetG be anabstract group with agroup homomorphism φ fromG into Sym(X ). Theimage, φ(G), is a permutation group. The group homomorphism can be thought of as a means for permitting the groupG to "act" on the setX (using the permutations associated with the elements ofG). Such a group homomorphism is formally called apermutation representation ofG. A given group can have many different permutation representations, corresponding to different actions.[2]
Suppose that groupG acts on setX (that is, a group action exists). In combinatorial applications the interest is in the setX; for instance, counting things inX and knowing what structures might be left invariant byG. 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 thekernels of the group actions, which measure how much is lost in passing from the group to its permutation representation.[3]
Finite permutations are most often represented as group actions on the setX = {1,2, ...,n}. A permutation in this setting can be represented by a two-line notation. Thus,
corresponds to a bijection onX = {1, 2, 3, 4, 5} which sends 1 ↦ 2, 2 ↦ 3, 3 ↦ 4, 4 ↦ 5 and 5 ↦ 1. This can be read off from the columns of the notation. When the top row is understood to be the elements ofX in an appropriate order, only the second row need be written. In this one-line notation, our example would be [2 3 4 5 1].[4] This example is known as acyclic permutation because it "cycles" the numbers around, and a third notation for it would be (1 2 3 4 5). Thiscycle notation is to be read as: each element is sent to the element on its right, but the last element is sent to the first one (it "cycles" to the beginning). With cycle notation, it does not matter where a cycle starts, so (1 2 3 4 5) and (3 4 5 1 2) and (5 1 2 3 4) all represent the same permutation. Thelength of a cycle is the number of elements in the cycle.
Not all permutations are cyclic permutations, but every permutation can be written as a product[5] of disjoint (having no common element) cycles in essentially one way.[6] As a permutation may havefixed points (elements that are unchanged by the permutation), these will be represented by cycles of length one. For example:[7]
This permutation is the product of three cycles, one of length two, one of length three, and a fixed point. The elements in these cycles are disjoint subsets ofX and form a partition ofX.
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 anda3 (in general, use the variableak to correspond to lengthk cycles). The variableai will be raised to theji (g) power whereji (g) is the number of cycles of lengthi in the cycle decomposition of permutationg. We can then associate thecycle index monomial
to the permutationg. The cycle index monomial of our example would bea1a2a3, while the cycle index monomial of the permutation (1 2)(3 4)(5)(6 7 8 9)(10 11 12 13) would bea1a22a42.
Thecycle index of apermutation groupG is the average of the cycle index monomials of all the permutationsg inG.
More formally, letG be a permutation group oforderm and degreen.Every permutationg inG has a unique decomposition into disjoint cycles, sayc1c2c3 ... .Let the length of a cyclec be denoted by |c |.
Now letjk(g) be the number of cycles ofg of lengthk, where
We associate tog the monomial
in the variablesa1,a2, ...,an.
Then the cycle indexZ(G) ofG is given by
Consider the groupG ofrotational symmetries of asquare in theEuclidean 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 ofG as permutations of the setX = {1,2,3,4}.[8] The permutation representation ofG 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-clockwiserotations by 90°, 180°, 270° and 360° respectively. Notice that theidentity permutation e is the only permutation with fixed points in this representation ofG. As an abstract group,G is known as thecyclic groupC4, and this permutation representation of it is itsregular representation. The cycle index monomials area4,a22,a4, anda14 respectively. Thus, the cycle index of this permutation group is:
The groupC4 also acts on the unordered pairs of elements ofX in a natural way. Any permutationg would send {x,y} → {x g,y g} (wherex g is the image of the elementx under the permutationg).[9] The setX is now {A,B,C,D,E,F} whereA = {1,2},B = {2,3},C = {3,4},D = {1,4},E = {1,3} andF = {2,4}. These elements can be thought of as the sides and diagonals of the square or, in a completely different setting, as the edges of thecomplete graphK4. Acting on this new set, the four group elements are now represented by (ADCB)(EF), (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:
The groupC4 can also act on the ordered pairs of elements ofX in the same natural way. Any permutationg would send (x,y) → (x g,y g) (in this case we would also have ordered pairs of the form (x,x)). The elements ofX could be thought of as the arcs of thecomplete digraphD4 (withloops at each vertex). The cycle index in this case would be:
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 theidentity homomorphism. This is referred to as thenatural action.
The symmetric groupS3 in its natural action has the elements[10]
and so, its cycle index is:
A permutation groupG on the setX istransitive if for every pair of elementsx andy inX there is at least oneg inG such thaty =x g. A transitive permutation group isregular (or sometimes referred to assharply transitive) if the only permutation in the group that has fixed points is the identity permutation.
Afinite transitive permutation groupG on the setX is regularif and only if |G| = |X |.[11]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 theregular representation of the group.
The cyclic groupC6 in itsregular representation contains the six permutations (one-line form of the permutation is given first):
Thus its cycle index is:
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 graphK3 with anequilateral triangle in the Euclidean plane. This permits us to use geometric language to describe the permutations involved assymmetries of the triangle. Every permutation in the groupS3 ofvertex permutations (S3 in its natural action, given above) induces an edge permutation. These are the permutations:
The cycle index of the groupG of edge permutations induced by vertex permutations fromS3 is
It happens that the complete graphK3 isisomorphic to its ownline graph (vertex-edge dual) and hence the edge permutation group induced by the vertex permutation group is the same as the vertex permutation group, namelyS3 and the cycle index isZ(S3). This is not the case for complete graphs on more than three vertices, since these have strictly more edges () than vertices ().
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:
We may visualize the types of permutations geometrically assymmetries of a regular tetrahedron. This yields the following description of the permutation types.
The cycle index of the edge permutation groupG ofK4 is:

Consider an ordinarycube in three-space and its group of symmetries, call itC. It permutes the six faces of the cube.(We could also consider edge permutations or vertex permutations.)There are twenty-four symmetries.
The conclusion is that the cycle index of the groupC is
This group contains one permutation that fixes every element (this must be a natural action).
Acyclic group,Cn is the group of rotations of aregularn-gon, that is,n elements equally spaced around a circle. This group has φ(d ) elements oforderd for eachdivisord ofn, where φ(d ) is theEuler φ-function, giving the number of natural numbers less thand which arerelatively prime tod. In the regular representation ofCn, a permutation of orderd hasn/d cycles of lengthd, thus:[12]
Thedihedral group is like thecyclic group, but also includes reflections. In its natural action,
The cycle index of thealternating group in its natural action as a permutation group is
The numerator is 2 for theeven permutations, and 0 for theodd permutations. The 2 is needed because.
The cycle index of thesymmetric groupSn in its natural action is given by the formula:
that can be also stated in terms of completeBell polynomials:
This formula is obtained by counting how many times a given permutation shape can occur. There are three steps: first partition the set ofn labels into subsets, where there are subsets of sizek. Every such subset generates cycles of lengthk. But we do not distinguish between cycles of the same size, i.e. they are permuted by. This yields
The formula may be further simplified if we sum up cycle indices over every, while using an extra variable to keep track of the total size of the cycles:
thus giving a simplified form for the cycle index of:
There is a useful recursive formula for the cycle index of the symmetric group.Set and consider the sizel of the cycle that containsn,whereThere are ways to choose the remaining elements of the cycle and every such choice generates different cycles.
This yields the recurrence
or
Throughout this section we will modify the notation for cycle indices slightly by explicitly including the names of the variables. Thus, for the permutation groupG we will now write:
LetG be a group acting on the setX.G also induces an action on thek-subsets ofX and on thek-tuples of distinct elements ofX (see#Example for the casek = 2), for 1 ≤k ≤n. Letfk andFk denote the number oforbits ofG in these actions respectively. By convention we setf0 =F0 = 1. We have:[13]
a) Theordinary generating function forfk is given by:
b) Theexponential generating function forFk is given by:
LetG be a group acting on the setX andh a function fromX toY. For anyg inG,h(x g) is also a function fromX toY. Thus,G induces an action on the setY X of all functions fromX toY. The number of orbits of this action is Z(G;b,b, ...,b) whereb = |Y |.[14]
This result follows from theorbit counting lemma (also known as the Not Burnside's lemma, but traditionally called Burnside's lemma) and the weighted version of the result isPó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 andintegrated. The area ofsymbolic 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 theanalysis of algorithms. An overview of the most important results may be found atrandom permutation statistics.