On this page
Colour every edge of a graph so that no two edges meeting at a vertex share a colour. How many colours do you need? The maximum degree almost settles it, and Vizing's theorem says exactly how close "almost" is.
What does Vizing's theorem say?
A proper edge colouring gives each edge a colour so that no two edges sharing a vertex get the same one, and the smallest number of colours that works is called the chromatic index, χ′(G) (Edge coloring, Wikipedia).
The lower bound is easy: the Δ edges at a vertex of maximum degree Δ all meet there, so they need Δ different colours.
Vizing's theorem states that every simple graph can be edge coloured with at most Δ + 1 colours, so χ′(G) is always either Δ or Δ + 1 (Vizing's theorem, Wikipedia). Graphs that need only Δ are called class 1, and graphs that need Δ + 1 are class 2. Vadim Vizing published the theorem in 1964, and the Indian mathematician R. P. Gupta discovered it independently during his doctorate (1965-1967), according to the same article.
The hard part is telling the two classes apart. Ian Holyer showed in 1981 that determining the chromatic index of a graph is NP-complete, even for cubic graphs (Holyer, SIAM Journal on Computing). So you learn the patterns.
Why do odd cycles and the Petersen graph need Δ + 1 colours?
Each colour class is a matching: a set of edges with no shared vertex.
Even cycle, 6 edges. Δ = 2. Alternate red and blue all the way round. Two colours, class 1.
Odd cycle, 5 edges. Δ = 2. A matching in a 5-cycle has at most 2 edges, so two colours cover at most 4 edges. Odd cycles need three colours (Edge coloring, Wikipedia). Class 2.
Complete graphs. The same article states that K_n needs n − 1 colours when n is even and n colours when n is odd. So K4 (Δ = 3) is class 1 and K5 (Δ = 4) is class 2.
The Petersen graph. It has 10 vertices, 15 edges and degree 3 everywhere, and its chromatic index is 4 (Petersen graph, Wikipedia).
Why does 3 fail? In a 3-colouring, every vertex sees each colour once. Delete one colour: the other two alternate around even cycles that pass through all 10 vertices. The Petersen graph's shortest cycle has 5 edges, so each even cycle has at least 6, leaving one 10-cycle through every vertex. But the Petersen graph has no Hamiltonian cycle (Petersen graph, Wikipedia). The diagram above shows a 4-colouring. For vertex colouring on the same graph, see greedy colouring and Brooks' theorem on the Petersen graph.
Why do bipartite graphs need only Δ colours?
The Edge coloring article states that every bipartite graph is class 1, and it cites a theorem of Dénes König from 1916: every regular bipartite graph splits into perfect matchings (Edge coloring, Wikipedia; König's paper in Mathematische Annalen: König, 1916). Bipartite graphs have no odd cycles, which is exactly what broke the 5-cycle.
Don't mix this up with his other result, König's theorem: maximum matching equals minimum vertex cover.
How do you schedule a round-robin tournament with edge colouring?
Edge colourings of complete graphs schedule round-robin tournaments: teams are vertices, games are edges, colours are rounds (Edge coloring, Wikipedia). Six school houses playing inter-house cricket form K6, with Δ = 5; since 6 is even, 5 rounds suffice.
Use the circle method (Round-robin tournament, Wikipedia): fix House 6, place Houses 1 to 5 around a pentagon, and rotate one step each round.
Round 1: 1 v 6, 2 v 5, 3 v 4
Round 2: 2 v 6, 3 v 1, 4 v 5
Round 3: 3 v 6, 4 v 2, 5 v 1
Round 4: 4 v 6, 5 v 3, 1 v 2
Round 5: 5 v 6, 1 v 4, 2 v 3
All 15 pairs appear once. With five houses, delete House 6: whoever was due to play it rests. You still need 5 rounds, because K5 is class 2.
How can you tell if a graph is class 1 or class 2?
Run this checklist, in order:
Find Δ. The answer is Δ or Δ + 1.
Bipartite (no odd cycles)? Class 1.
Regular with an odd number of vertices? No perfect matching, so Δ + 1 (Edge coloring, Wikipedia).
Count test from the same article: with m edges and at most β edges in any matching, you need at least m/β colours. If m/β exceeds Δ, class 2.
Otherwise, try a Δ-colouring. If you get stuck, Vizing promises Δ + 1 works.
To see edge colouring next to matchings and vertex colouring, the Fermi Concept Library gives each concept its own lesson and its place in the map. For practice, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning.
Try it now: draw K4, colour its 6 edges with 3 colours, then show K5 cannot manage 4.



