Vertex Colouring: Brooks' Theorem and the Chromatic Polynomial
Anchor (Master): Diestel 2017 *Graph Theory* (5th ed., Springer GTM 173) Ch. 5 (vertex colouring, Brooks, perfect graphs, the strong perfect graph theorem stated) and Ch. 6 (list colouring) with the chromatic-polynomial / Tutte-polynomial threads; Bollobás 1998 *Modern Graph Theory* (Springer GTM 184) Ch. V (colouring) and Ch. X (the Tutte polynomial); the original sources Brooks 1941, Whitney 1932 (the broken-circuit theorem), Mycielski 1955, Chudnovsky-Robertson-Seymour-Thomas 2006 (the strong perfect graph theorem)
Intuition Beginner
Suppose you must hand out coloured badges so that no two people who dislike each other wear the same colour. Draw a dot for each person and a line between two people who clash. A colouring that obeys the rule gives each dot a colour with the one demand that two dots joined by a line never match. The smallest number of colours that lets you finish is the heart of this unit. For a map, the dots are countries, the lines join countries that share a border, and the colours keep neighbours apart.
How many colours do you really need? One cheap method always works: go through the dots in some order, and give each one the lowest-numbered colour not already used by a neighbour you have coloured. If every dot has at most lines touching it, then when you reach a dot it has seen at most used colours, so colour number is always free. This greedy idea shows you can finish with at most one more colour than the busiest dot's line count.
That bound is often wasteful. A long chain of dots has busy middle dots, yet two colours suffice by alternating. So the true colour count depends on the shape, not just the worst dot. Brooks' theorem, the centrepiece here, says you can almost always save that one extra colour: the only shapes that genuinely need are a fully-connected clump and an odd-length ring. Everything else fits in colours.
Visual Beginner
Picture a five-dot ring: dots placed in a pentagon, each joined to its two neighbours, and joined back to . Every dot touches exactly two lines, so the busiest-dot count is . You might hope two colours suffice, alternating around the ring. Going you colour them red, blue, red, blue, and then dot neighbours both dot (blue) and dot (red) — both colours are taken, so you need a third colour for dot .
The table records the clash: the odd ring forces a third colour even though no dot is busier than two.
| dot | neighbours | colour |
|---|---|---|
| 1 | 5, 2 | red |
| 2 | 1, 3 | blue |
| 3 | 2, 4 | red |
| 4 | 3, 5 | blue |
| 5 | 4, 1 | green |
An odd ring is one of the two shapes Brooks' theorem singles out as needing the extra colour. An even ring, by contrast, closes up cleanly on two colours.
Worked example Beginner
Colour the corners of a square where the two diagonals are also drawn in, using as few colours as possible. Label the corners going around, with diagonals joining to and to . Now every corner is joined to every other corner: this is a fully-connected clump of four dots.
Step 1. Count the lines at one corner. Corner joins , , and , so it touches three lines. By symmetry every corner touches three lines, so the busiest-dot count is .
Step 2. Try three colours. Give corner red, corner blue, corner green. Corner is joined to all three of , so it sees red, blue, and green already. No colour among the three is free.
Step 3. Add a fourth colour. Corner gets yellow. Now all four corners have different colours and every line joins two unlike colours, so the rule holds. Four colours are needed and four suffice.
Step 4. Compare with the bound. The greedy method promised at most colours, and here we truly needed all four. A fully-connected clump of dots always needs exactly colours, one per dot.
What this tells us: a fully-connected clump is the worst case, using one colour per dot and hitting the greedy bound exactly. This is the other shape Brooks' theorem singles out. For everything that is neither a clump nor an odd ring, you can shave off that last colour.
Check your understanding Beginner
Formal definition Intermediate+
Let be a graph as defined in 40.04.01. A proper -colouring is a map with whenever [Diestel 2017 §5.1]. Equivalently it is a partition of into colour classes , each an independent set (an edge-free vertex set). The chromatic number is the least for which a proper -colouring exists. A graph with is called -colourable; exactly means -colourable but not -colourable.
Two lower-order invariants frame . The clique number is the largest order of a complete subgraph, and the independence number is the largest independent set. Every clique needs distinct colours, so ; and each colour class is independent of size at most , so .
For the upper bounds, order the vertices and colour greedily: give the least colour absent among its already-coloured neighbours. The colouring number is plus the degeneracy , the largest minimum degree over all subgraphs. A graph is -degenerate if every subgraph has a vertex of degree ; repeatedly removing such a vertex yields a degeneracy ordering, and colouring in the reverse of that ordering shows . Since , this refines the greedy bound .
The chromatic polynomial is the number of proper colourings of with colours drawn from a palette of colours; it is a polynomial in of degree with integer coefficients, leading term , and exactly when . A perfect-elimination ordering is a vertex order in which each vertex's later neighbours form a clique; a graph admitting one is chordal, and for chordal graphs the greedy algorithm on the reverse order attains .
Counterexamples to common slips
- The bound is not an equality. The five-cycle is triangle-free, so , yet . The gap between and can be arbitrarily large, as Mycielski's construction shows.
- Greedy colouring is order-sensitive. The same graph can need colours under one vertex order and many more under a bad order; the path-like "crown" graphs make greedy use roughly colours when suffice. The degeneracy ordering is the order that controls the worst case.
- counts labelled colourings, not colourings up to permuting colours. For the single edge , , not ; swapping the two colours gives a different counted colouring.
- Brooks' exceptions are exactly two families. It is the complete graphs and the odd cycles that need ; even cycles (, ) and the complete bipartite graphs ( large, ) obey , so do not over-state the exception set.
Key theorem with proof Intermediate+
Theorem (Brooks 1941). Let be a connected graph with maximum degree . If is neither a complete graph nor an odd cycle, then . (See [Brooks 1941], [Diestel 2017 §5.2], [Bondy-Murty 2008 §14.2].)
Proof. Set . The cases are direct: is a single vertex (), is a single edge (), and makes a path or a cycle, where paths and even cycles have and the only excluded case is the odd cycle. So assume .
The strategy is to find a vertex ordering in which every vertex except the last has a not-yet-listed neighbour, and the last vertex has two neighbours that receive the same colour; greedy colouring along then uses at most colours, because each () has at most already-coloured neighbours, while has neighbours but only distinct colours among them.
First suppose is not -regular: some vertex has . Run a breadth-first search from and order the vertices by decreasing distance from , ending with . Every vertex other than has a neighbour closer to , listed later, so when greedy reaches () at least one neighbour is uncoloured, leaving used colours; and has degree . Greedy uses colours.
Now suppose is -regular. If has a cut vertex , then together with each component of forms a block in which has degree ; by the non-regular case each block is -colourable, and the colourings agree on after permuting colours, so is -colourable.
Assume then that is -connected. Pick any vertex . If every two neighbours of are adjacent, then and its neighbours form , and since is connected and -regular this clique is all of — the excluded complete case. Otherwise has two non-adjacent neighbours . Because is -connected, is connected (if removing two vertices disconnected it with separated, -connectivity would already fail in a way one checks fails here for , using that has a third neighbour); choose so that is connected, set , , and order by decreasing distance from in the connected . Then each with has a later neighbour (closer to ), so used colours; are non-adjacent neighbours of , so greedy gives them the same colour ; and sees its neighbours coloured but share colour , so colours appear among them, leaving a free colour. Greedy uses colours.
Bridge. Brooks' theorem builds toward the whole theory of chromatic bounds and appears again in list colouring and the chromatic polynomial, because it pins the chromatic number to the maximum degree precisely when no local obstruction — a clique or an odd cycle — forces the extra colour. The foundational reason the proof works is the ordering principle inherited from 40.04.01: a vertex with an uncoloured neighbour is cheap to greedy-colour, and the entire argument manufactures such an ordering, so this is exactly the degeneracy bound sharpened by spending the two non-adjacent neighbours of one vertex. The clique and odd-cycle exceptions are dual to the two ways the greedy bound is tight, and putting these together the bound with Brooks closing the upper gap becomes the frame for the chromatic polynomial, whose value at Brooks guarantees positive.
Exercises Intermediate+
Advanced results Master
Theorem (Whitney's broken-circuit theorem). Fix a total order on . A broken circuit is a cycle with its largest-labelled edge removed. Then $$ P(G, k) = \sum_{\substack{S \subseteq E \ S \text{ contains no broken circuit}}} (-1)^{|S|} k^{c(S)}, $$ where is the number of components of the spanning subgraph . (Whitney [Whitney 1932]; Diestel [Diestel 2017 §5.5].) The starting point is the inclusion-exclusion expansion , obtained by counting colourings that may violate edges in and Möbius-inverting over the partition lattice. Whitney's theorem is the cancellation of all terms whose edge set contains a broken circuit, leaving the no-broken-circuit subsets; the surviving terms have no internal cancellation, so the broken-circuit subsets of each size count , giving a combinatorial reading of every coefficient. In particular the coefficient of is and the constant term vanishes whenever has an edge.
Theorem (chromatic polynomial of standard families). For the complete graph, . For any tree on vertices, . For the cycle, . (Diestel [Diestel 2017 §5.5]; Bondy-Murty [Bondy-Murty 2008 §14.3].) The complete-graph formula is direct counting; the tree formula is one free choice of for the root and at each subsequent vertex along the unique tree order from 40.04.01; the cycle formula follows from deletion-contraction and induction. That is a single polynomial agreeing with these counts at every positive integer is the deletion-contraction recurrence run to its base cases of edgeless graphs.
Theorem (the Tutte polynomial specialises to the chromatic polynomial). For a connected graph with vertices and edges, the Tutte polynomial satisfies . (Bollobás [Diestel 2017 §5.5].) The Tutte polynomial is the universal deletion-contraction invariant: any graph function obeying for ordinary edges, with multiplicative behaviour on loops and bridges, is an evaluation of . The chromatic polynomial is the evaluation along the line , the flow polynomial along , and the partition function of the -state Potts model is a third evaluation, so the chromatic theory of this unit is one face of a single two-variable invariant.
Theorem (strong perfect graph theorem; Chudnovsky-Robertson-Seymour-Thomas). A graph is perfect — meaning for every induced subgraph — if and only if neither nor its complement contains an induced odd cycle of length . (Stated; see [Diestel 2017 §5.5].) The forbidden induced subgraphs are the odd holes and odd antiholes; their absence in and characterises perfection, proving Berge's 1961 conjecture. Chordal graphs, bipartite graphs, interval graphs, and comparability graphs are perfect, and for them the gap closes on every induced subgraph; the perfect-elimination ordering of the formal section is exactly the certificate of perfection for the chordal case.
Synthesis. These results are one circle of ideas seen at increasing depth, and putting these together the chromatic number, the chromatic polynomial, and the Tutte polynomial become three readings of how a graph resists being partitioned into independent sets. The central insight is the deletion-contraction recurrence: it is the foundational reason is a polynomial at all, it is exactly the recurrence the Tutte polynomial universalises, and Whitney's broken-circuit theorem is that same recurrence solved to expose each coefficient as a signed count of no-broken-circuit subsets. The bound is dual to the perfect-graph question of when it is tight, and Brooks' theorem is the degree-side companion that closes the upper gap to outside the clique and odd-cycle exceptions; this is exactly the pair of obstructions — cliques forcing up and odd cycles forcing it past — that the strong perfect graph theorem proves are the only induced obstructions to throughout a graph. Mycielski's construction generalises the gap into triangle-free graphs of unbounded , the bridge from the local invariant to the global one that no degree or clique bound can recover, and the same gap reappears in the Tutte plane as the failure of the chromatic line to be controlled by any single-variable specialisation.
Full proof set Master
Proposition 1 (, refining ). Every graph satisfies .
Proof. Let . Construct an ordering by repeatedly deleting from the current graph a vertex of minimum degree; let be the vertex deleted at step . At step the current graph is , whose minimum degree is , so has at most neighbours among . Colour greedily in the reverse order : when is coloured, its already-coloured neighbours are those in , numbering , so a colour in is free. Thus . Finally for every , so and .
Proposition 2 (Brooks' theorem, -regular -connected core). A connected -regular graph with that is not complete satisfies .
Proof. If has a cut vertex, decompose into blocks; in each block the shared cut vertex has degree , so the non-regular argument of Proposition 1's ordering colours each block with colours, and permuting colours aligns them at the cut vertex, so is -colourable. Assume is -connected. As is not complete, some vertex has two non-adjacent neighbours . We claim can be chosen with connected. If is -connected, is connected for any such pair. If is exactly -connected, take a vertex whose removal leaves -connectivity-critical structure; standard block-tree analysis produces a vertex with two non-adjacent neighbours in a common end-block such that stays connected, using to supply a third neighbour bridging the rest. Order , , then by decreasing distance from in the connected graph . Greedy gives the colour (non-adjacent, both first); each for has a neighbour nearer and hence later, so colours are blocked; and has neighbours of which share colour , so colours appear among them and one is free. Hence .
Proposition 3 ( is a monic integer polynomial of degree ). For every graph on vertices, agrees, for each positive integer , with a polynomial in of degree , leading coefficient , integer coefficients, and constant term when has an edge.
Proof. Induct on . If , every map is proper, so , a monic degree- integer polynomial. For pick an edge ; by Exercise 6, for all positive integers . By induction is monic of degree with integer coefficients and is an integer polynomial of degree (it has vertices). The difference of two such polynomials agrees with at every positive integer , hence is the polynomial; it is monic of degree since only contributes the term, has integer coefficients, and substituting gives colourings whenever has an edge.
Proposition 4 (chromatic polynomial of a tree). For any tree on vertices, .
Proof. By the tree characterisation of 40.04.01, order the vertices so each () has exactly one neighbour among (a tree's unique-path order). Build a proper colouring left to right: has free choices; each later must avoid only its single earlier neighbour's colour, leaving choices. The choices are independent, so . Since every tree on vertices admits this order, the formula holds for all trees and is independent of the tree's shape.
Proposition 5 (cycle chromatic polynomial). For , .
Proof. Induct on . For , gives , since . For the step, delete an edge of : has by Proposition 4, and . By deletion-contraction . Substituting the inductive form , $$ P(C_n, k) = k(k-1)^{n-1} - (k-1)^{n-1} - (-1)^{n-1}(k-1) = (k-1)^n + (-1)^n (k-1), $$ using and .
Proposition 6 (Whitney inclusion-exclusion expansion). For every graph, , where is the number of components of .
Proof. For a subset , let be the number of colourings (not necessarily proper) that are constant on every edge of — equivalently constant on each component of — so . By inclusion-exclusion over the edge set, the number of colourings violating no edge, namely the proper colourings, is $$ P(G, k) = \sum_{S \subseteq E} (-1)^{|S|} N(S) = \sum_{S \subseteq E} (-1)^{|S|} k^{c(S)}, $$ since a colouring proper on is one violating none of the "endpoints-equal" events, and inclusion-exclusion over those events gives the alternating sum with counting colourings constant on all of .
Connections Master
Edge and list colouring
40.04.07. The vertex-colouring frame here is the model for the co-produced edge-colouring unit: Vizing's theorem () is the edge analogue of Brooks' degree bound, and list colouring replaces each vertex's full palette by a prescribed list, where the list chromatic number can exceed even for bipartite graphs. The deletion-contraction and greedy-ordering techniques developed here transfer directly, and the Brooks-type bound for connected non-complete non-odd-cycle graphs is the list refinement of this unit's centrepiece.Map colouring and planarity
40.04.08. The four-colour theorem — every planar graph has — is the map-colouring specialisation previewed in the Beginner section, and it rests on the degeneracy bound of the formal section: planar graphs are -degenerate, giving the easy and, with more work, . The chromatic polynomial of a planar triangulation, and its non-vanishing at , is the quantity the four-colour theorem asserts positive, tying the polynomial of this unit to the most famous colouring result.Extremal graph theory and Turán's theorem
40.05.01. Turán's theorem bounds the edges of a graph with no , and its extremal graphs are the complete -partite Turán graphs, whose chromatic number is exactly ; the clique-number lower bound of this unit is the bridge, since forbidding a large clique caps while the chromatic number measures the same partition resistance from above. Mycielski's construction is the extremal sibling showing that bounding does not bound , the gap that extremal colouring theory and Ramsey theory both develop.Möbius functions and the order-complex
40.02.02. Whitney's inclusion-exclusion expansion is a Möbius inversion over the lattice of partitions induced by edge subsets, and the broken-circuit theorem is the statement that the no-broken-circuit subsets are a cohomology basis for that lattice; the chromatic polynomial evaluated at is, up to sign, the characteristic polynomial of the graphic matroid, computed by the Möbius function of the partition poset developed there.
Historical & philosophical context Master
Vertex colouring grew out of map colouring: Francis Guthrie's 1852 conjecture that four colours suffice for any planar map set the agenda, and Arthur Cayley's 1879 note to the London Mathematical Society publicised the problem. The chromatic polynomial was introduced by George Birkhoff in 1912 as an attempt to prove the four-colour theorem by showing for planar , reframing a colouring existence question as the positivity of a counting polynomial; the four-colour theorem was finally proved by Kenneth Appel and Wolfgang Haken in 1976 by computer-assisted discharging, not through the polynomial. Hassler Whitney's 1932 paper A logical expansion in mathematics (Bulletin of the American Mathematical Society 38) [Whitney 1932] established the broken-circuit theorem, giving the coefficients of their combinatorial meaning and connecting the polynomial to what would become matroid theory.
The degree bound on the chromatic number is due to R. Leonard Brooks, whose 1941 paper On colouring the nodes of a network (Proceedings of the Cambridge Philosophical Society 37) [Brooks 1941] isolated the complete graphs and odd cycles as the sole exceptions to . Jan Mycielski's 1955 note Sur le coloriage des graphes (Colloquium Mathematicum 3) [Mycielski 1955] constructed triangle-free graphs of arbitrarily large chromatic number, severing the chromatic number from the clique number. Claude Berge conjectured the characterisation of perfect graphs in 1961, and it was proved as the strong perfect graph theorem by Maria Chudnovsky, Neil Robertson, Paul Seymour, and Robin Thomas in 2006 (Annals of Mathematics 164), identifying odd holes and odd antiholes as the only induced obstructions to throughout a graph. The unifying two-variable invariant was given by W. T. Tutte, whose 1954 dichromate is the modern Tutte polynomial.
Bibliography Master
@book{Diestel2017,
author = {Diestel, Reinhard},
title = {Graph Theory},
edition = {5th},
series = {Graduate Texts in Mathematics},
volume = {173},
publisher = {Springer},
year = {2017}
}
@book{BondyMurty2008,
author = {Bondy, J. A. and Murty, U. S. R.},
title = {Graph Theory},
series = {Graduate Texts in Mathematics},
volume = {244},
publisher = {Springer},
year = {2008}
}
@book{West2001,
author = {West, Douglas B.},
title = {Introduction to Graph Theory},
edition = {2nd},
publisher = {Prentice Hall},
year = {2001}
}
@article{Brooks1941,
author = {Brooks, R. L.},
title = {On colouring the nodes of a network},
journal = {Proceedings of the Cambridge Philosophical Society},
volume = {37},
year = {1941},
pages = {194--197}
}
@article{Whitney1932,
author = {Whitney, Hassler},
title = {A logical expansion in mathematics},
journal = {Bulletin of the American Mathematical Society},
volume = {38},
year = {1932},
pages = {572--579}
}
@article{Mycielski1955,
author = {Mycielski, Jan},
title = {Sur le coloriage des graphes},
journal = {Colloquium Mathematicum},
volume = {3},
year = {1955},
pages = {161--162}
}
@article{Birkhoff1912,
author = {Birkhoff, George D.},
title = {A determinant formula for the number of ways of coloring a map},
journal = {Annals of Mathematics},
volume = {14},
year = {1912},
pages = {42--46}
}
@article{ChudnovskyRobertsonSeymourThomas2006,
author = {Chudnovsky, Maria and Robertson, Neil and Seymour, Paul and Thomas, Robin},
title = {The strong perfect graph theorem},
journal = {Annals of Mathematics},
volume = {164},
year = {2006},
pages = {51--229}
}