Chromatic polynomial after attaching a leaf Created 2026-09-24 Updated 2026-09-24
Attaching a new leaf to a graph multiplies its chromatic polynomial by , because after colouring the old graph the leaf may receive any colour except its neighbour's.
For a positive integer , the chromatic polynomial is defined to be the number of proper vertex colourings of using a fixed palette of colours.
We prove that this counting function is a polynomial by induction on the number of edges. If has vertices and no edges, every assignment of colours is proper, so
Otherwise choose an edge . Every proper colouring of either gives different colours, in which case it is a colouring of , or gives them the same colour, in which case it corresponds to a proper colouring of the contracted graph . Hence the deletion-contraction recurrence for the chromatic polynomial is
Both terms on the right are polynomials by induction, so is a polynomial.
A proper colouring using exactly colours first partitions the vertices into nonempty independent colour classes and then injectively assigns of the named colours to those classes. These choices number
Summing over counts every proper colouring exactly once; the expression is the chromatic polynomial .
Two-colourability criterion for bipartite graphs Created 2026-09-24 Updated 2026-09-24
A finite graph is bipartite exactly when it has a proper colouring with two colours. Equivalently,
for its chromatic polynomial.