Lecture overview
Learning objectives
After this lecture you should be able to:
- 1.Define proper colorings and the chromatic number, and compute χ for complete graphs, cycles, wheels and bipartite graphs.
- 2.Prove ω(G) ≤ χ(G) ≤ Δ(G) + 1, characterize 2-colorable graphs, and state Brooks’ theorem.
- 3.Apply greedy, Welsh–Powell and DSatur coloring, and explain why the vertex order matters.
- 4.Model timetabling and register allocation as coloring problems, and know which coloring problems are NP-hard.
Key Concepts
Proper coloring · Chromatic number · Clique number · Bipartite graphs · Brooks’ theorem · Greedy coloring · Welsh–Powell · DSatur · Edge coloring · Vizing’s theorem
1Introduction
Every university faces the same problem at the end of term. Each exam must be given a time slot, and two exams that share a student cannot be held at the same time. Make each exam a vertex and join two exams whenever some student takes both: a timetable is then an assignment of slots to vertices in which adjacent vertices receive different slots. This is a coloring of the graph, and the fewest slots needed is its chromatic number. The same model describes register allocation in compilers, frequency assignment in mobile networks, and the coloring of maps that started the subject in 1852.
1.1Notation
Graphs in this lecture are simple. For a graph G we write
- Δ(G) for the maximum degree and δ(G) for the minimum degree;
- ω(G) for the clique number, the size of a largest complete subgraph;
- α(G) for the independence number, the size of a largest set of pairwise non-adjacent vertices.

Practice book
Graph Theory Through Problems300 Exercises with Hints, Worked Algorithms and Complete Solutions
By Mohammed Islam Hadjoudj
Learn graph theory by solving problems: 300 exercises, from routine checks to challenging proofs, each with a complete solution.
- Hints for every harder exercise, so you can get unstuck
- Algorithms run by hand, with every step shown in a table
- From trees and matchings to planar graphs and Ramsey theory
Also by the authorGraph Algorithms for Coding Interviews100 solved interview problems with visual explanations and Python solutions.View on AmazonSection 1 of 8