Pólya enumeration theorem

From HandWiki
Short description: Formula for number of orbits of a group action

The Pólya enumeration theorem, also known as the Redfield–Pólya theorem and Pólya counting, is a theorem in combinatorics that both follows from and ultimately generalizes Burnside's lemma on the number of orbits of a group action on a set. The theorem was first published by J. Howard Redfield in 1927. In 1937 it was independently rediscovered by George Pólya, who then greatly popularized the result by applying it to many counting problems, in particular to the enumeration of chemical compounds.

The Pólya enumeration theorem has been incorporated into symbolic combinatorics and the theory of combinatorial species.

Simplified, unweighted version

Let X be a finite set and let G be a group of permutations of X (or a finite symmetry group that acts on X). The set X may represent a finite set of beads, and G may be a chosen group of permutations of the beads. For example, if X is a necklace of n beads in a circle, then rotational symmetry is relevant so G is the cyclic group Cn, while if X is a bracelet of n beads in a circle, rotations and reflections are relevant so G is the dihedral group Dn of order 2n. Suppose further that Y is a finite set of colors — the colors of the beads — so that YX is the set of colored arrangements of beads (more formally: YX is the set of functions [math]\displaystyle{ X \to Y }[/math].) Then the group G acts on YX. The Pólya enumeration theorem counts the number of orbits under G of colored arrangements of beads by the following formula:

[math]\displaystyle{ \left |Y^X/G \right | = \frac{1}{|G|}\sum_{g \in G} m^{c(g)} }[/math]

where [math]\displaystyle{ m=|Y| }[/math] is the number of colors and c(g) is the number of cycles of the group element g when considered as a permutation of X.

Full, weighted version

In the more general and more important version of the theorem, the colors are also weighted in one or more ways, and there could be an infinite number of colors provided that the set of colors has a generating function with finite coefficients. In the univariate case, suppose that

[math]\displaystyle{ f(t) = f_0 + f_1 t + f_2 t^2 + \cdots }[/math]

is the generating function of the set of colors, so that there are fw colors of weight w for each integer w ≥ 0. In the multivariate case, the weight of each color is a vector of integers and there is a generating function f(t1, t2, ...) that tabulates the number of colors with each given vector of weights.

The enumeration theorem employs another multivariate generating function called the cycle index:

[math]\displaystyle{ Z_G(t_1,t_2,\ldots,t_n) = \frac{1}{|G|}\sum_{g \in G} t_1^{c_1(g)} t_2^{c_2(g)} \cdots t_n^{c_n(g)} }[/math]

where n is the number of elements of X and ck(g) is the number of k-cycles of the group element g as a permutation of X.

A colored arrangement is an orbit of the action of G on the set YX (where Y is the set of colors and YX denotes the set of all functions φ: XY). The weight of such an arrangement is defined as the sum of the weights of φ(x) over all x in X. The theorem states that the generating function F of the number of colored arrangements by weight is given by:

[math]\displaystyle{ F(t) = Z_G(f(t),f(t^2),f(t^3),\ldots,f(t^n)) }[/math]

or in the multivariate case:

[math]\displaystyle{ F(t_1,t_2,\ldots) = Z_G(f(t_1,t_2,\ldots),f(t_1^2,t_2^2,\ldots),f(t_1^3,t_2^3,\ldots),\ldots,f(t_1^n,t_2^n,\ldots)). }[/math]

To reduce to the simplified version given earlier, if there are m colors and all have weight 0, then f(t) = m and

[math]\displaystyle{ \left |Y^X/G \right | =F(0)= Z_G(m,m,\ldots,m) = \frac{1}{|G|}\sum_{g \in G} m^{c(g)}. }[/math]

In the celebrated application of counting trees (see below) and acyclic molecules, an arrangement of "colored beads" is actually an arrangement of arrangements, such as branches of a rooted tree. Thus the generating function f for the colors is derived from the generating function F for arrangements, and the Pólya enumeration theorem becomes a recursive formula.

Examples

Necklaces and bracelets

Main page: Necklace (combinatorics)

Colored cubes

How many ways are there to color the sides of a three-dimensional cube with m colors, up to rotation of the cube? The rotation group C of the cube acts on the six sides of the cube, which are equivalent to beads. Its cycle index is

[math]\displaystyle{ Z_C(t_1,t_2,t_3,t_4) = \frac{1}{24}\left(t_1^6 + 6 t_1^2 t_4 + 3 t_1^2 t_2^2 + 8 t_3^2 + 6 t_2^3\right) }[/math]

which is obtained by analyzing the action of each of the 24 elements of C on the 6 sides of the cube, see here for the details.

We take all colors to have weight 0 and find that there are

[math]\displaystyle{ F(0)=Z_C(m,m,m,m) = \frac{1}{24}\left(m^6+ 3m^4 + 12 m^3 + 8 m^2\right) }[/math]

different colorings.

Graphs on three and four vertices

A graph on m vertices can be interpreted as an arrangement of colored beads. The set X of "beads" is the set of [math]\displaystyle{ \binom{m}2 }[/math] possible edges, while the set of colors Y = {black, white} corresponds to edges that are present (black) or absent (white). The Pólya enumeration theorem can be used to calculate the number of graphs up to isomorphism with a fixed number of vertices, or the generating function of these graphs according to the number of edges they have. For the latter purpose, we can say that a black or present edge has weight 1, while an absent or white edge has weight 0. Thus [math]\displaystyle{ f(t)=1+t }[/math] is the generating function for the set of colors. The relevant symmetry group is [math]\displaystyle{ G = S_m, }[/math] the symmetric group on m letters. This group acts on the set X of possible edges: a permutation φ turns the edge {a, b} into the edge {φ(a), φ(b)}. With these definitions, an isomorphism class of graphs with m vertices is the same as an orbit of the action of G on the set YX of colored arrangements; the number of edges of the graph equals the weight of the arrangement.

All graphs on three vertices
Nonisomorphic graphs on three vertices

The eight graphs on three vertices (before identifying isomorphic graphs) are shown at the right. There are four isomorphism classes of graphs, also shown at the right.

The cycle index of the group S3 acting on the set of three edges is

[math]\displaystyle{ Z_G(t_1,t_2,t_3) = \frac{1}{6} \left(t_1^3 + 3 t_1 t_2 + 2 t_3\right) }[/math]

(obtained by inspecting the cycle structure of the action of the group elements; see here). Thus, according to the enumeration theorem, the generating function of graphs on 3 vertices up to isomorphism is

[math]\displaystyle{ F(t) = Z_G \left (t+1,t^2+1,t^3+1 \right ) = \frac{1}{6}\left((t+1)^3 + 3 (t+1) (t^2+1) + 2 (t^3+1)\right), }[/math]

which simplifies to

[math]\displaystyle{ F(t) = t^3+t^2+t+1. }[/math]

Thus there is one graph each with 0 to 3 edges.

Isomorphism classes of graphs on four vertices.

The cycle index of the group S4 acting on the set of 6 edges is

[math]\displaystyle{ Z_G(t_1,t_2,t_3,t_4) = \frac{1}{24}\left(t_1^6 + 9 t_1^2 t_2^2 + 8 t_3^2 + 6 t_2 t_4\right) }[/math]

(see here.) Hence

[math]\displaystyle{ F(t) = Z_G \left (t+1,t^2+1,t^3+1,t^4+1 \right ) = \frac{(t+1)^6 + 9 (t+1)^2 (t^2+1)^2 + 8 (t^3+1)^2 + 6 (t^2+1) (t^4+1)}{24} }[/math]

which simplifies to

[math]\displaystyle{ F(t) = t^6 + t^5 + 2 t^4 + 3 t^3 + 2 t^2 + t + 1. }[/math]

These graphs are shown at the right.

Rooted ternary trees

The set T3 of rooted ternary trees consists of rooted trees where every node (or non-leaf vertex) has exactly three children (leaves or subtrees). Small ternary trees are shown at right. Note that rooted ternary trees with n nodes are equivalent to rooted trees with n vertices of degree at most 3 (by ignoring the leaves). In general, two rooted trees are isomorphic when one can be obtained from the other by permuting the children of its nodes. In other words, the group that acts on the children of a node is the symmetric group S3. We define the weight of such a ternary tree to be the number of nodes (or non-leaf vertices).

Rooted ternary trees on 0, 1, 2, 3 and 4 nodes (=non-leaf vertices). The root is shown in blue, the leaves are not shown. Every node has as many leaves as to make the number of its children equal to 3.

One can view a rooted, ternary tree as a recursive object which is either a leaf or a node with three children which are themselves rooted ternary trees. These children are equivalent to beads; the cycle index of the symmetric group S3 that acts on them is

[math]\displaystyle{ Z_{S_3}(t_1,t_2,t_3) = \frac{t_1^3 + 3 t_1 t_2 + 2 t_3}{6}. }[/math]

The Polya enumeration theorem translates the recursive structure of rooted ternary trees into a functional equation for the generating function F(t) of rooted ternary trees by number of nodes. This is achieved by "coloring" the three children with rooted ternary trees, weighted by node number, so that the color generating function is given by [math]\displaystyle{ f(t)=F(t) }[/math] which by the enumeration theorem gives

[math]\displaystyle{ \frac{F(t)^3 + 3 F(t)F(t^2) + 2 F(t^3)}{6} }[/math]

as the generating function for rooted ternary trees, weighted by one less than the node number (since the sum of the children weights does not take the root into account), so that

[math]\displaystyle{ F(t) = 1 + t \cdot \frac{F(t)^3 + 3 F(t)F(t^2) + 2 F(t^3)}{6}. }[/math]

This is equivalent to the following recurrence formula for the number tn of rooted ternary trees with n nodes:

[math]\displaystyle{ \begin{align} t_0 &= 1 \\ t_{n+1} &= \frac{1}{6} \left(\sum_{a+b+c=n} t_a t_b t_c + 3\sum_{a+2b=n} t_a t_b + 2 \sum_{3a=n} t_a \right) \end{align} }[/math]

where a, b and c are nonnegative integers.

The first few values of [math]\displaystyle{ t_n }[/math] are

1, 1, 1, 2, 4, 8, 17, 39, 89, 211, 507, 1238, 3057, 7639, 19241 (sequence A000598 in the OEIS).

Proof of theorem

The simplified form of the Pólya enumeration theorem follows from Burnside's lemma, which says that the number of orbits of colorings is the average of the number of elements of [math]\displaystyle{ Y^X }[/math] fixed by the permutation g of G over all permutations g. The weighted version of the theorem has essentially the same proof, but with a refined form of Burnside's lemma for weighted enumeration. It is equivalent to apply Burnside's lemma separately to orbits of different weight.

For clearer notation, let [math]\displaystyle{ x_1,x_2,\ldots }[/math] be the variables of the generating function f of [math]\displaystyle{ Y }[/math]. Given a vector of weights [math]\displaystyle{ \omega }[/math], let [math]\displaystyle{ x^\omega }[/math] denote the corresponding monomial term of f. Applying Burnside's lemma to orbits of weight [math]\displaystyle{ \omega }[/math], the number of orbits of this weight is

[math]\displaystyle{ \frac{1}{|G|} \sum_{g\in G} \left |(Y^X)_{\omega,g} \right | }[/math]

where [math]\displaystyle{ (Y^X)_{\omega,g} }[/math] is the set of colorings of weight [math]\displaystyle{ \omega }[/math] that are also fixed by g. If we then sum over all possible weights, we obtain

[math]\displaystyle{ F(x_1,x_2,\ldots)= \frac{1}{|G|} \sum_{g \in G, \omega} x^\omega \left |(Y^X)_{\omega,g} \right |. }[/math]

Meanwhile a group element g with cycle structure [math]\displaystyle{ j_1(g),j_2(g),\ldots,j_n(g) }[/math] will contribute the term

[math]\displaystyle{ t_1^{j_1(g)} t_2^{j_2(g)} \cdots t_n^{j_n(g)} }[/math]

to the cycle index of G. The element g fixes an element [math]\displaystyle{ \phi \in Y^X }[/math] if and only if the function φ is constant on every cycle q of g. For every such cycle q, the generating function by weight of |q| identical colors from the set enumerated by f is

[math]\displaystyle{ f \left (x_1^{|q|}, x_2^{|q|}, x_3^{|q|}, \ldots \right ). }[/math]

It follows that the generating function by weight of the points fixed by g is the product of the above term over all cycles of g, i.e.

[math]\displaystyle{ \begin{align} \sum_{\omega} x^\omega \left |(Y^X)_{\omega,g} \right | &= \prod_{q \text{ cycle of } g} f \left (x_1^{|q|}, x_2^{|q|}, x_3^{|q|},\ldots \right )\\ &= f(x_1, x_2, \ldots)^{j_1(g)} f \left (x_1^2, x_2^2, \ldots \right )^{j_2(g)} \cdots f \left (x_1^n, x_2^n, \ldots \right )^{j_n(g)} \end{align} }[/math]

Substituting this in the sum over all g yields the substituted cycle index as claimed.

See also

References

External links