The chromatic polynomial is a graph polynomial studied in algebraic graph theory, a branch of mathematics. It counts the number of graph colorings as a function of the number of colors and was originally defined by George David Birkhoff to study the four color problem. It was generalised to the corank-nullity polynomial by Hassler Whitney and to the Tutte polynomial by W. T. Tutte, linking it to the Potts model of statistical physics.
History George David Birkhoff introduced the chromatic polynomial in 1912, defining it only for planar graphs, in an attempt to prove the four color theorem. If P(G,k) denotes the number of proper colorings of G with k colors then one could establish the four color theorem by showing P(G,4)>0 for all planar graphs G. In this way he hoped to apply the powerful tools of analysis and algebra for studying the roots of polynomials to the combinatorial coloring problem. Hassler Whitney generalised Birkhoff's polynomial from the planar case to general graphs in 1932. In 1968, Ronald C. Read asked which polynomials are the chromatic polynomials of some graph, a question that remains open, and introduced the concept of chromatically equivalent graphs. Today, chromatic polynomials are one of the central objects of algebraic graph theory.
Definition
For a graph G, P(G,k) counts the number of its (proper) vertex k-colorings. Other commonly used notations include PG(k), χG(k), or πG(k). There is a unique polynomial which evaluated at any integer k ≥ 0 coincides with P(G,k); it is called the chromatic polynomial of G. For example, to color the path graph P3 on 3 vertices with k colors, one may choose any of the k colors for the first vertex, any of the k−1 remaining colors for the second vertex, and lastly for the third vertex, any of the k−1 colors that are different from the second vertex's choice. Therefore, P(P3,k)=k⋅(k−1)⋅(k−1) is the number of k-colorings of P3. For a variable x (not necessarily integer), we thus have P(P3,x)=x(x−1)2=x3−2x2+x. (Colorings which differ only by permuting colors or by automorphisms of G are still counted as different.)
Deletion–contraction
The fact that the number of k-colorings is a polynomial in k follows from a recurrence relation called the deletion–contraction recurrence or Fundamental Reduction Theorem. It is based on edge contraction: for a pair of vertices u and v the graph G/uv is obtained by merging the two vertices and removing any edges between them. If u and v are adjacent in G, let G−uv denote the graph obtained by removing the edge uv. Then the numbers of k-colorings of these graphs satisfy:
P(G,k)=P(G−uv,k)−P(G/uv,k) Equivalently, if u and v are not adjacent in G and G+uv is the graph with the edge uv added, then
P(G,k)=P(G+uv,k)+P(G/uv,k) This follows from the observation that every k-coloring of G either gives different colors to u and v, or the same colors. In the first case this gives a (proper) k-coloring of G+uv, while in the second case it gives a coloring of G/uv. Conversely, every k-coloring of G can be uniquely obtained from a k-coloring of G+uv or G/uv (if u and v are not adjacent in G). The chromatic polynomial can hence be recursively defined as
P(G,x)=xn for the edgeless graph on n vertices, and P(G,x)=P(G−uv,x)−P(G/uv,x) for a graph G with an edge uv (arbitrarily chosen). Since the number of k-colorings of the edgeless graph is indeed kn, it follows by induction on the number of edges that for all G, the polynomial P(G,x) coincides with the number of k-colorings at every integer point x = k. In particular, the chromatic polynomial is the unique interpolating polynomial of degree at most n through the points
{(0,P(G,0)),(1,P(G,1)),…,(n,P(G,n))}. Tutte's curiosity about which other graph invariants satisfied such recurrences led him to discover a bivariate generalization of the chromatic polynomial, the Tutte polynomial TG(x,y).
Examples
Properties For fixed G on n vertices, the chromatic polynomial P(G,x) is a monic polynomial of degree exactly n, with integer coefficients. The chromatic polynomial includes at least as much information about the colorability of G as does the chromatic number. Indeed, the chromatic number is the smallest positive integer that is not a zero of the chromatic polynomial,
χ(G)=min{k∈ℕ:P(G,k)>0}. The polynomial evaluated at −1, that is P(G,−1), yields (−1)|V(G)| times the number of acyclic orientations of G. The derivative evaluated at 1, P′(G,1) equals the chromatic invariant θ(G) up to sign. If G has n vertices and c components G1,…,Gc, then
The coefficients of x0,…,xc−1 are zeros. The coefficients of xc,…,xn are all non-zero and alternate in signs. The coefficient of xn is 1 (the polynomial is monic). The coefficient of xn−1 is −|E(G)|. We prove this via induction on the number of edges on a simple graph G with n vertices and k edges. When k=0, G is an empty graph. Hence per definition P(G,x)=xn. So the coefficient of xn−1 is 0, which implies the statement is true for an empty graph. When k=1, as in G has just a single edge, P(G,x)=xn−xn−1. Thus coefficient of xn−1 is −1=−|E(G)|. So the statement holds for k = 1. Using strong induction assume the statement is true for k=0,1,2,…,(k−1). Let G have k edges. By the contraction-deletion principle, P(G,x)=P(G−e,x)−P(G/e,x), Let P(G−e,x)=xn−an−1xn−1+an−2xn−2−⋯, and P(G/e,x)=xn−1−bn−2xn−2+bn−3xn−3−⋯. Hence P(G,x)=xn−(an−1+1)xn−1+⋯.Since G−e is obtained from G by removal of just one edge e, an−1=k−1, so an−1+1=k and thus the statement is true for k. The coefficient of xn−2 is (|E|2)−t(G), where t(G) is the number of triangles (3-cycle subgraphs) in G. The coefficient of x1 is (−1)n−1 times the number of acyclic orientations that have a unique sink, at a specified, arbitrarily chosen vertex. The absolute values of coefficients of every chromatic polynomial form a log-concave sequence. P(G,x)=P(G1,x)P(G2,x)⋯P(Gc,x) The last property is generalized by the fact that if G is a k-clique-sum of G1 and G2 (i.e., a graph obtained by gluing the two at a clique on k vertices, isomorphic to the complete graph Kk), then
P(G,x)=P(G1,x)P(G2,x)P(Kk,x)=P(G1,x)P(G2,x)x(x−1)⋯(x−k+1). A graph G with n vertices is a tree if and only if
P(G,x)=x(x−1)n−1.
Chromatic equivalence
… excerpt ends here. Continue reading the full article.



