chromatic number (original) (raw)

The chromatic numberMathworldPlanetmath of a graph is the minimum number of colours required to colour it.

Consider the following graph:

\xymatrix⁢A⁢\ar⁢@-[r]⁢&⁢B⁢\ar⁢@-[r]⁢\ar⁢@-[d]⁢&⁢C⁢\ar⁢@-[r]⁢\ar⁢@-[d⁢l]⁢&⁢F⁢\ar⁢@-[d⁢l]⁢&⁢D⁢\ar⁢@-[r]⁢&⁢E⁢&

This graph has been coloured using 3 colours. Furthermore, it’s clear that it cannot be coloured with fewer than 3 colours, as well: it contains a subgraphMathworldPlanetmath (B⁢C⁢D) that is isomorphic to the complete graphMathworldPlanetmath of 3 vertices. As a result, the chromatic number of this graph is indeed 3.

This example was easy to solve by inspection. In general, however, finding the chromatic number of a large graph (and, similarly, an optimal colouring) is a very difficult (NP-hard) problem.