Loading lessons...
Graph Colouring, Chromatic Number & the Five Colour Theorem
1. Vertex Colouring
A (proper) colouring assigns a colour to each vertex so that adjacent vertices get different colours. The chromatic number χ(G) is the minimum number of colours needed. G is k-colourable if χ(G) ≤ k.
Map colouring is a special case: regions become vertices of the dual graph, adjacent when they share a border.
Colouring a wheel W₅ needs 4 colours; C₆ needs 2
2. Chromatic Numbers of Standard Graphs
| Graph | χ(G) | Reason |
|---|---|---|
| Null graph (no edges) | 1 | |
| Kₙ | n | every pair adjacent |
| Cₙ, n even | 2 | alternate colours |
| Cₙ, n odd | 3 | alternating fails at the end |
| Wₙ (Cₙ + hub), n even | 3 | hub needs a new colour |
| Wₙ, n odd | 4 | odd rim needs 3, hub a 4th |
| Bipartite graph with ≥ 1 edge (incl. Kₘ,ₙ, trees, even cycles, Qₙ) | 2 | two parts |
| Petersen graph | 3 | |
| Any planar graph | ≤ 4 | Four Colour Theorem |
Bounds
- χ(G) ≥ ω(G), the size of the largest clique (a Kₖ subgraph needs k colours).
- χ(G) ≤ Δ(G) + 1, where Δ is the maximum degree (greedy colouring). Brooks' theorem: χ(G) ≤ Δ unless G is complete or an odd cycle.
- χ(G) = 2 ⇔ G is bipartite with at least one edge ⇔ no odd cycle.
3. Welsh-Powell (Greedy) Algorithm
- Order the vertices by decreasing degree.
- Give colour 1 to the first vertex and to each later vertex not adjacent to one already coloured 1.
- Repeat with colour 2 on the uncoloured vertices, and so on.
It gives an upper bound on χ(G), not always the optimum.
Application-exam scheduling. Courses are vertices, edges join courses sharing a student; colours = time slots. χ(G) = minimum number of slots. Similarly: register allocation in compilers, frequency assignment, Sudoku.
4. The Four and Five Colour Theorems
Four Colour Theorem (Appel & Haken, 1976): every planar graph is 4-colourable. (Computer-assisted proof-statement only.)
Five Colour Theorem: every planar graph is 5-colourable.
Proof of the Five Colour Theorem
By induction on the number of vertices n. A graph with ≤ 5 vertices is trivially 5-colourable.
Let G be a simple planar graph with n > 5 vertices and assume every planar graph with n − 1 vertices is 5-colourable. By Corollary 2 of Euler's formula, G has a vertex v with deg(v) ≤ 5. Remove v: G − v is planar with n − 1 vertices, so by hypothesis it has a 5-colouring. Now put v back.
- Case 1: deg(v) < 5, or the neighbours of v use ≤ 4 colours. Some colour is free for v. Done.
- Case 2: deg(v) = 5 and the neighbours v₁, v₂, v₃, v₄, v₅ (in clockwise order around v) use all five colours 1, 2, 3, 4, 5.
Kempe chains in the five colour theorem
Consider the subgraph H₁₃ of vertices coloured 1 or 3 (a Kempe chain).
- (a) v₁ and v₃ are in different components of H₁₃. Swap colours 1 ↔ 3 in the component containing v₁. This is still a proper colouring (the swap happens inside a whole component), v₁ now has colour 3, and colour 1 is free for v.
- (b) v₁ and v₃ are joined by a path P coloured alternately 1 and 3. Then P together with v forms a closed curve v-v₁ - … - v₃ - v. Because the neighbours are in cyclic order, this curve separates v₂ from v₄ (one lies inside, the other outside-Jordan curve theorem). Now consider H₂₄, the vertices coloured 2 or 4. Any path from v₂ to v₄ would have to cross the curve, and since the graph is planar it could only do so at a vertex-but those are coloured 1 or 3. So v₂ and v₄ are in different components of H₂₄. Swap 2 ↔ 4 in v₂'s component: v₂ becomes 4 and colour 2 is free for v.
In every case G is 5-colourable. ∎
Exam answer skeleton: (1) induction on n; (2) a vertex of degree ≤ 5 exists (from e ≤ 3v − 6); (3) easy case; (4) Kempe chain 1-3, two subcases; (5) planarity separates v₂ and v₄, then swap 2-4.
Six Colour Theorem (easier): the same induction, but with 6 colours a vertex of degree ≤ 5 always leaves a free colour-no Kempe chains needed.
5. Edge Colouring (brief)
The chromatic index χ′(G) is the minimum colours so that adjacent edges differ. Vizing's theorem: Δ ≤ χ′(G) ≤ Δ + 1.
📝 IPU End-Term Exam Corner (5-10 Marks)
- Q1. State and prove the Five Colour Theorem. (10 Marks)
- Q2. Define chromatic number. Find χ for Kₙ, Cₙ, Wₙ, Kₘ,ₙ and a tree. (5 Marks)
- Q3. Apply the Welsh-Powell algorithm to a given graph and use it to schedule exams. (5 Marks)
- Q4. Prove that a graph is 2-colourable iff it is bipartite. (5 Marks)