![](http://image.absoluteastronomy.com/images//topicimages/noimage.gif)
Chromatic polynomial
Encyclopedia
![](http://image.absoluteastronomy.com/images/encyclopediaimages/c/ch/chromatic_polynomial_of_all_3-vertex_graphs_bw.png)
Polynomial
In mathematics, a polynomial is an expression of finite length constructed from variables and constants, using only the operations of addition, subtraction, multiplication, and non-negative integer exponents...
studied in algebraic graph theory
Algebraic graph theory
Algebraic graph theory is a branch of mathematics in which algebraic methods are applied to problems about graphs. This is in contrast to geometric, combinatoric, or algorithmic approaches...
, a branch of mathematics
Mathematics
Mathematics is the study of quantity, space, structure, and change. Mathematicians seek out patterns and formulate new conjectures. Mathematicians resolve the truth or falsity of conjectures by mathematical proofs, which are arguments sufficient to convince other mathematicians of their validity...
. It counts the number of graph coloring
Graph coloring
In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints. In its simplest form, it is a way of coloring the vertices of a graph such that no two adjacent vertices share the...
s as a function of the number of colors and was originally defined by George David Birkhoff
George David Birkhoff
-External links:* − from National Academies Press, by Oswald Veblen....
to attack the four color problem. It was generalised to the Tutte polynomial
Tutte polynomial
The Tutte polynomial, also called the dichromate or the Tutte–Whitney polynomial, is a polynomial in two variables which plays an important role in graph theory, a branch of mathematics and theoretical computer science...
by H. Whitney and W. T. Tutte
W. T. Tutte
William Thomas Tutte, OC, FRS, known as Bill Tutte, was a British, later Canadian, codebreaker and mathematician. During World War II he made a brilliant and fundamental advance in Cryptanalysis of the Lorenz cipher, a major German code system, which had a significant impact on the Allied...
, linking it to the Potts model
Potts model
In statistical mechanics, the Potts model, a generalization of the Ising model, is a model of interacting spins on a crystalline lattice. By studying the Potts model, one may gain insight into the behaviour of ferromagnets and certain other phenomena of solid state physics...
of statistical physics
Statistical physics
Statistical physics is the branch of physics that uses methods of probability theory and statistics, and particularly the mathematical tools for dealing with large populations and approximations, in solving physical problems. It can describe a wide variety of fields with an inherently stochastic...
.
History
George David BirkhoffGeorge David Birkhoff
-External links:* − from National Academies Press, by Oswald Veblen....
introduced the chromatic polynomial in 1912, defining it only for planar graph
Planar graph
In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints...
s, in an attempt to prove the four color theorem
Four color theorem
In mathematics, the four color theorem, or the four color map theorem states that, given any separation of a plane into contiguous regions, producing a figure called a map, no more than four colors are required to color the regions of the map so that no two adjacent regions have the same color...
. If
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-1.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-2.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-3.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-4.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-5.gif)
Hassler Whitney
Hassler Whitney
Hassler Whitney was an American mathematician. He was one of the founders of singularity theory, and did foundational work in manifolds, embeddings, immersions, and characteristic classes.-Work:...
generalised Birkhoff’s polynomial from the planar case to general graphs in 1932. In 1968 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
Algebraic graph theory
Algebraic graph theory is a branch of mathematics in which algebraic methods are applied to problems about graphs. This is in contrast to geometric, combinatoric, or algorithmic approaches...
Definition
![](http://image.absoluteastronomy.com/images/encyclopediaimages/c/ch/chromatic_polynomial_of_all_3-vertex_graphs_bw_with_colorings.png)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-6.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-7.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-8.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-9.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-10.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-11.gif)
For example, the path graph
Path graph
In the mathematical field of graph theory, a path graph or linear graph is a particularly simple example of a tree, namely a tree with two or more vertices that is not branched at all, that is, contains only vertices of degree 2 and 1...
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-12.gif)
Available colors ![]() |
0 | 1 | 2 | 3 |
Number of colorings ![]() |
0 | 0 | 2 | 12 |
The chromatic polynomial is defined as the unique interpolating polynomial of degree
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-15.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-16.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-17.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-18.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-19.gif)
For the example graph,
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-20.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-21.gif)
The chromatic polynomial includes at least as much information about the colorability of
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-22.gif)
Examples
Triangle ![]() |
![]() |
Path graph Path graph In the mathematical field of graph theory, a path graph or linear graph is a particularly simple example of a tree, namely a tree with two or more vertices that is not branched at all, that is, contains only vertices of degree 2 and 1... ![]() |
![]() |
Complete graph Complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge.-Properties:... ![]() |
![]() |
Tree with ![]() |
![]() |
Cycle Cycle graph In graph theory, a cycle graph or circular graph is a graph that consists of a single cycle, or in other words, some number of vertices connected in a closed chain. The cycle graph with n vertices is called Cn... ![]() |
![]() |
Petersen graph Petersen graph In the mathematical field of graph theory, the Petersen graph is an undirected graph with 10 vertices and 15 edges. It is a small graph that serves as a useful example and counterexample for many problems in graph theory. The Petersen graph is named for Julius Petersen, who in 1898 constructed it... |
![]() |
Properties
For fixed![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-35.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-36.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-37.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-38.gif)
By definition, evaluating the chromatic polynomial in
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-39.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-40.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-41.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-42.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-43.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-44.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-45.gif)
Directed acyclic graph
In mathematics and computer science, a directed acyclic graph , is a directed graph with no directed cycles. That is, it is formed by a collection of vertices and directed edges, each edge connecting one vertex to another, such that there is no way to start at some vertex v and follow a sequence of...
of
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-46.gif)
the derivative evaluated at 1,
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-47.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-48.gif)
If
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-49.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-50.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-51.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-52.gif)
Connected component (graph theory)
In graph theory, a connected component of an undirected graph is a subgraph in which any two vertices are connected to each other by paths, and which is connected to no additional vertices. For example, the graph shown in the illustration on the right has three connected components...
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-53.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-54.gif)
- The coefficient of
in
is 1.
- The coefficient of
in
is .
- The coefficients of
are all nonzero.
- The coefficient of
is nonzero.
-
- The coefficients of every chromatic polynomial alternate in signs.
A graph G with
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-63.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-64.gif)
Chromatic equivalence
![](http://image.absoluteastronomy.com/images/encyclopediaimages/c/ch/chromatically_equivalent_graphs.svg.png)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-65.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-66.gif)
Claw (graph theory)
In graph theory, an area of mathematics, a claw-free graph is a graph that does not have a claw as an induced subgraph.A claw is another name for the complete bipartite graph K1,3...
and the path graph
Path graph
In the mathematical field of graph theory, a path graph or linear graph is a particularly simple example of a tree, namely a tree with two or more vertices that is not branched at all, that is, contains only vertices of degree 2 and 1...
on 4 vertices.
Chromatic uniqueness
A graph is chromatically unique if it is determined by its chromatic polynomial, up to isomorphism. In other words,![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-67.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-68.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-69.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-70.gif)
Cycle graph
In graph theory, a cycle graph or circular graph is a graph that consists of a single cycle, or in other words, some number of vertices connected in a closed chain. The cycle graph with n vertices is called Cn...
s are chromatically unique.
Chromatic roots
A root (or zero) of a chromatic polynomial, called a “chromatic root”, is a value![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-71.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-72.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-73.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-74.gif)
Four color theorem
In mathematics, the four color theorem, or the four color map theorem states that, given any separation of a plane into contiguous regions, producing a figure called a map, no more than four colors are required to color the regions of the map so that no two adjacent regions have the same color...
.
No graph can be 0-colored, so 0 is always a chromatic root. Only edgeless graphs can be 1-colored, so 1 is a chromatic root for every graph with at least an edge. On the other hand, except for these two points, no graph can have a chromatic root at a real number smaller than or equal to 32/27. A result of Tutte connects the golden ratio
Golden ratio
In mathematics and the arts, two quantities are in the golden ratio if the ratio of the sum of the quantities to the larger quantity is equal to the ratio of the larger quantity to the smaller one. The golden ratio is an irrational mathematical constant, approximately 1.61803398874989...
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-75.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-76.gif)
If
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-77.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-78.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-79.gif)
Complex plane
In mathematics, the complex plane or z-plane is a geometric representation of the complex numbers established by the real axis and the orthogonal imaginary axis...
is arbitrarily close to a chromatic root in the sense that there exists an infinite family of graphs whose chromatic roots are dense in the complex plane.
Algorithms
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-80.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-81.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-82.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-83.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-84.gif)
Sharp-P
In computational complexity theory, the complexity class #P is the set of the counting problems associated with the decision problems in the set NP. More formally, #P is the class of function problems of the form "compute ƒ," where ƒ is the number of accepting paths of a nondeterministic...
-hard
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-85.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-86.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-87.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-88.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-89.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-90.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-91.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-92.gif)
Sharp-P
In computational complexity theory, the complexity class #P is the set of the counting problems associated with the decision problems in the set NP. More formally, #P is the class of function problems of the form "compute ƒ," where ƒ is the number of accepting paths of a nondeterministic...
-hard unless
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-93.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-94.gif)
Computational problems associated with the chromatic polynomial include
- finding the chromatic polynomial
of a given graph
, for example finding its coefficients
- evaluating
at a fixed point
for given
. When
is a natural number, this problem is normally viewed as computing the number of
-colorings of a given graph. For example, this includes the problem #3-coloring of counting the number of 3-colorings, a canonical problem in the study of complexity of counting, complete for the counting class #P
Sharp-PIn computational complexity theory, the complexity class #P is the set of the counting problems associated with the decision problems in the set NP. More formally, #P is the class of function problems of the form "compute ƒ," where ƒ is the number of accepting paths of a nondeterministic...
.
The first problem is more general because if we knew the coefficients of
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-102.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-103.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-104.gif)
Computational Complexity
Computational Complexity may refer to:*Computational complexity theory*Computational Complexity...
.
Efficient algorithms
For some basic graph classes, closed formulas for the chromatic polynomial are known. For instance this is true for trees and cliques, as listed in the table above.Polynomial time algorithms are known for computing the chromatic polynomial for wider classes of graphs, including chordal graph
Chordal graph
In the mathematical area of graph theory, a graph is chordal if each of its cycles of four or more nodes has a chord, which is an edge joining two nodes that are not adjacent in the cycle. An equivalent definition is that any chordless cycles have at most three nodes...
s and graphs of bounded clique-width
Clique-width
In graph theory, the clique-width of a graph G is the minimum number of labels needed to construct G by means of the following 4 operations :#Creation of a new vertex v with label i...
. The latter class includes cograph
Cograph
In graph theory, a cograph, or complement-reducible graph, or P4-free graph, is a graph that can be generated from the single-vertex graph K1 by complementation and disjoint union...
s and graphs of bounded tree-width, such as outerplanar graph
Outerplanar graph
In graph theory, an undirected graph is an outerplanar graph if it can be drawn in the plane without crossings in such a way that all of the vertices belong to the unbounded face of the drawing. That is, no vertex is totally surrounded by edges...
s.
Deletion–contraction
A recursive way of computing the chromatic polynomial is based on edge contractionEdge contraction
In graph theory, an edge contraction is an operation which removes an edge from a graph while simultaneously merging together the two vertices it previously connected. Edge contraction is a fundamental operation in the theory of graph minors...
: for a pair of vertices
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-105.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-106.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-107.gif)
Then the chromatic polynomial satisfies the recurrence relation
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-108.gif)
where
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-109.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-110.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-111.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-112.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-113.gif)
if
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-114.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-115.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-116.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-117.gif)
Tutte’s curiosity about which other graph properties satisfied such recurrences led him to discover a bivariate generalization of the chromatic polynomial, the Tutte polynomial
Tutte polynomial
The Tutte polynomial, also called the dichromate or the Tutte–Whitney polynomial, is a polynomial in two variables which plays an important role in graph theory, a branch of mathematics and theoretical computer science...
.
The expressions give rise to a recursive procedure, called the deletion–contraction algorithm, which forms the basis of many algorithms for graph coloring. The ChromaticPolynomial function in the computer algebra system Mathematica
Mathematica
Mathematica is a computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing...
uses the second recurrence if the graph is dense, and the first recurrence if the graph is sparse The worst case running time of either formula satisfies the same recurrence relation as the Fibonacci numbers, so in the worst case, the algorithm runs in time within a polynomial factor of
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-118.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-119.gif)
Spanning tree (mathematics)
In the mathematical field of graph theory, a spanning tree T of a connected, undirected graph G is a tree composed of all the vertices and some of the edges of G. Informally, a spanning tree of G is a selection of edges of G that form a tree spanning every vertex...
of the input graph.
In practice, branch and bound
Branch and bound
Branch and bound is a general algorithm for finding optimal solutions of various optimization problems, especially in discrete and combinatorial optimization...
strategies and graph isomorphism
Isomorphism
In abstract algebra, an isomorphism is a mapping between objects that shows a relationship between two properties or operations. If there exists an isomorphism between two structures, the two structures are said to be isomorphic. In a certain sense, isomorphic structures are...
rejection are employed to avoid some recursive calls, the running time depends on the heuristic used to pick the vertex pair.
Computational complexity
The problem of computing the number of 3-colorings of a given graph is a canonical example of a #PSharp-P
In computational complexity theory, the complexity class #P is the set of the counting problems associated with the decision problems in the set NP. More formally, #P is the class of function problems of the form "compute ƒ," where ƒ is the number of accepting paths of a nondeterministic...
-complete problem, so the problem of computing the coefficients of the chromatic polynomial is #P-hard. Similarly, evaluating
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-120.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-121.gif)
On the other hand, for
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-122.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-123.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-124.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-125.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-126.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-127.gif)
In the expansion
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-128.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-129.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-130.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-131.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-132.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-133.gif)
No approximation algorithms for computing
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-134.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-135.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-136.gif)
Decision problem
In computability theory and computational complexity theory, a decision problem is a question in some formal system with a yes-or-no answer, depending on the values of some input parameters. For example, the problem "given two numbers x and y, does x evenly divide y?" is a decision problem...
of deciding if a given graph can be
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-137.gif)
NP-hard
NP-hard , in computational complexity theory, is a class of problems that are, informally, "at least as hard as the hardest problems in NP". A problem H is NP-hard if and only if there is an NP-complete problem L that is polynomial time Turing-reducible to H...
. Such problems cannot be approximated to any multiplicative factor by a bounded-error probabilistic algorithm unless NP = RP, because any multiplicative approximation would distinguish the values 0 and 1, effectively solving the decision version in bounded-error probabilistic polynomial time. In particular, under the same assumption, this rules out the possibility of a fully polynomial time randomised approximation scheme (FPRAS). For other points, more complicated arguments are needed, and the question is the focus of active research. , it is known that there is no FPRAS for computing
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-138.gif)
![](http://image.absoluteastronomy.com/images/formulas/2/7/4272785-139.gif)
External links
- PlanetMathPlanetMathPlanetMath is a free, collaborative, online mathematics encyclopedia. The emphasis is on rigour, openness, pedagogy, real-time content, interlinked content, and also community of about 24,000 people with various maths interests. Intended to be comprehensive, the project is hosted by the Digital...
Chromatic polynomial - Code for computing Tutte, Chromatic and Flow Polynomials by Gary Haggard, David J. Pearce and Gordon Royle: http://www.ecs.vuw.ac.nz/~djp/tutte/
The source of this article is wikipedia, the free encyclopedia. The text of this article is licensed under the GFDL.
![](/images/logo.png)