Graph Theory Masterclass Blog
Explanations, background, and advice for curious students.
Latest articles

Preparing for the graph theory problems of the IMO and the IOI
Graph theory is the heart of the combinatorics problems of the Mathematical Olympiad and the core of the tasks of the Informatics Olympiad. The theorems to know, the algorithms to implement, where the past problems are, and a training rhythm that works.

A new upper bound for Ramsey numbers, 88 years later
The bound R(k) at most 4 to the power k dates from 1935. In March 2023 four mathematicians replaced the 4 by a smaller number, and within a year four others brought it to 3.8. Here is what was proved, what a book is, and what Erdős's two unpaid prizes still ask.

How Google ranked the web with an eigenvector
PageRank treats a web surfer as a random walk on the graph of links and ranks pages by how often the walk visits them. The ranking is an eigenvector, the number 0.85 keeps the walk from getting stuck, and a four-page web can be worked by hand.

The giant component, or why a random graph suddenly connects
Add edges to a thousand points at random. Below 500 edges the largest piece has a few dozen points. Just above 500 it has hundreds. Erdős and Rényi found this jump in 1960, a branching process explains it, and a simulation shows it in a minute.

Van der Waerden's theorem, with nine numbers
Colour the numbers 1 to 8 red and blue so that no three equally spaced numbers share a colour. It can be done. Try the same with 1 to 9 and it cannot. The theorem behind this was proved in 1927, the known numbers stop at 1132, and one of its cousins has a proof of two petabytes.

Max flow, min cut, and a Cold War railway
In 1955 two Air Force analysts computed how to cut the Soviet rail network to Eastern Europe most cheaply. A year later Ford and Fulkerson proved that the cheapest cut equals the largest flow. The report was secret until 1999. The theorem runs every network today.

How the internet looks as a graph
The best-known picture of the internet is a graph with tens of thousands of vertices drawn by a program in 2005. It shows hubs, a heavy-tailed degree distribution, and almost no structure a random graph would have. Here is what the picture shows and what the models say.

Erdős's three-page paper of 1947
To prove that a colouring with no large monochromatic clique exists, Erdős did not construct one. He flipped coins, computed an expectation, and observed that it was less than one. The paper is three pages long, the bound has not been beaten in 79 years, and the method built a subject.

The Petersen graph, the counterexample to everything
Ten vertices, fifteen edges, drawn as a pentagon around a pentagram. It has no Hamilton cycle, needs four colours for its edges, cannot be drawn without crossings, and refutes a dozen plausible conjectures. Here is why one small graph is in every textbook.