How many colours does a graph with m edges need?
Statement
A proper colouring of a graph colours its vertices so that adjacent vertices get different colours. Let be a graph with edges and let be the smallest number of colours of a proper colouring.
- Prove that , hence .
- What does this give for ? Is the bound attained?
Hint
Take a proper colouring with the minimum number of colours. If two colour classes had no edge between them, what could you do?
Show solutionHide solution
Solution
1. Take a proper colouring with exactly colours and consider two colour classes . If there were no edge between and , we could recolour with the colour of and still have a proper colouring with colours, contradicting minimality. So for each of the pairs of classes there is an edge joining them, and these edges are distinct. Hence , which gives .
2. For : . The bound is attained by , which has edges and needs colours.
Remark. Equality forces exactly one edge between any two classes; is the typical example.
Lesson. In a minimal colouring every pair of colour classes must be linked: use minimality to produce edges.