Curriculum
Every masterclass starts with Unit 1 and runs in order. The Foundation masterclass ends after Unit 8, the Advanced masterclass after Unit 12, and Advanced + Ramsey Theory takes all 16.
Foundation
The Language of Graphs
Vertices, edges, degrees, isomorphism, and the proof methods of the whole program
About this unitWhat a graph is and what it is not, with the Petersen graph as the running example: adjacency, degree, the handshake lemma, the standard graphs, subgraphs, and isomorphism. The unit then shows the proof methods every later unit uses, each on a statement about graphs: double counting, the pigeonhole principle, contradiction, induction by deleting a vertex, and the longest path argument.
- Graphs and degrees
- The handshake lemma
- Standard graphs
- Isomorphism and invariants
- The adjacency matrix
- Proof methods
Paths, Distance, and Shortest Routes
Walks, connectedness, breadth-first search, bipartite graphs, and Dijkstra's algorithm
About this unitWalks, trails, paths, and cycles defined precisely, connected components, and the distance between two vertices. Breadth-first search computes distances layer by layer and proves the odd cycle characterization of bipartite graphs; Dijkstra's algorithm finds the shortest route through a weighted network, with the invariant that makes it correct. The unit closes with the small world: how many intermediaries separate two people on Earth, and how that was measured.
- Walks, trails, and paths
- Connected components
- Distance and diameter
- Breadth-first search
- Bipartite graphs
- Dijkstra's algorithm
Euler Tours and Hamilton Cycles
From the seven bridges of Königsberg to the travelling salesman
Free sample unitRead the full unit online or as PDFEuler's solution of the Königsberg bridge problem, the theorem that tells when a closed walk over every edge exists, and Hierholzer's construction of one. Then the question that looks almost the same and is far harder: when does a cycle through every vertex exist? The unit proves Dirac's theorem, shows that the Petersen graph has no Hamilton cycle, and introduces the travelling salesman problem.
- The bridges of Königsberg
- Euler's theorem on tours
- Fleury's rule
- Hamilton cycles
- Dirac's and Ore's theorems
- The travelling salesman problem
Trees and Spanning Trees
Characterizations of trees, Cayley's formula, and the greedy algorithms of Kruskal and Prim
About this unitTrees defined and characterized five ways, with the proofs by induction through a leaf. Cayley's formula counts the labelled trees on n vertices through Prüfer codes, Kirchhoff's matrix-tree theorem counts the spanning trees of any graph, and the much smaller count of unlabelled trees is drawn. Minimum spanning trees follow: the cut property, Kruskal's and Prim's algorithms with their correctness proofs, and the electrical networks of Moravia where Borůvka found the problem in 1926.
- Trees and forests
- Characterizations of trees
- Cayley's formula and Prüfer codes
- The matrix-tree theorem
- Kruskal's and Prim's algorithms
- Rooted trees
Matchings and Bipartite Graphs
Hall's theorem, Kőnig's theorem, and the stable matchings of Gale and Shapley
About this unitMatchings, augmenting paths, and Berge's theorem that a matching is maximum exactly when no augmenting path exists. Hall's marriage theorem and Kőnig's theorem for bipartite graphs with their proofs, the Hungarian method, and the theorems of Tutte and Petersen for general graphs. The unit ends with stable matchings: the Gale and Shapley procedure and the markets built on it, from hospital residencies to kidney exchange.
- Matchings and augmenting paths
- Berge's theorem
- Hall's marriage theorem
- Kőnig's theorem
- Tutte's and Petersen's theorems
- Stable matchings
Drawings in the plane, faces, and Euler's formula v - e + f = 2, proved by induction on the edges. Its consequences settle the three utilities puzzle, show that the complete graph on five vertices and the three utilities graph are not planar, give every planar graph a vertex of degree at most 5, and leave exactly five Platonic solids. Kuratowski's and Wagner's theorems name the two graphs behind every non-planar graph, the dual graph turns maps into graphs for the colouring of the next unit, and the torus shows what one handle changes.
- Plane drawings and faces
- Euler's formula
- The edge bound
- The Platonic solids
- Kuratowski's theorem
- Dual graphs and the torus
Graph Colouring
Chromatic number, Brooks's theorem, edge colouring, and the four colour theorem
About this unitProper colourings and the chromatic number, with lower bounds from cliques and upper bounds from the greedy algorithm and Brooks's theorem. Edge colouring with Kőnig's line colouring theorem and Vizing's theorem, and the colouring of maps: the five colour theorem with its full Kempe chain proof, where Kempe's argument for four colours fails, and the history of the four colour theorem from Guthrie's question of 1852 to the machine-checked proof of 2005.
- Chromatic number
- Greedy colouring
- Brooks's theorem
- Edge colouring
- The five colour theorem
- The four colour theorem
Networks and Open Problems
The graphs of the real world, easy and hard problems, and the questions still open
About this unitThe internet, friendship networks, power grids, and the brain as graphs, and what one measures on them: the degree distribution and its hubs, the average distance, and the clustering coefficient. What Units 1 to 7 say about such graphs, the models of Erdős and Rényi, Watts and Strogatz, and Barabási and Albert in words, and which problems a computer can solve quickly and which seem hard. The unit closes with the open problems of graph theory, from Hadwiger's conjecture to the chromatic number of the plane.
- Real networks and their measures
- Small worlds and hubs
- Easy and hard problems
- P versus NP
- Hadwiger's conjecture
- The chromatic number of the plane
Advanced Graph Theory
Connectivity and Network Flows
Menger's theorem, the max-flow min-cut theorem, and the Ford and Fulkerson method
About this unitHow many vertices or edges must be removed to disconnect a graph, Whitney's inequality, and Menger's theorem on disjoint paths. Flows in networks with a source, a sink, and capacities, the max-flow min-cut theorem with the augmenting path proof, the Ford and Fulkerson method and the Edmonds and Karp rule, and the applications that follow from them: bipartite matching, Hall's and Kőnig's theorems in a few lines, Menger's theorem itself, and the question whether a team can still win its league.
- Connectivity and Whitney's inequality
- Menger's theorem
- Flows and cuts
- The max-flow min-cut theorem
- Ford and Fulkerson
- Matchings as flows
Extremal Graph Theory
Mantel, Turán, Erdős and Stone, and the bipartite problems still open
About this unitHow many edges a graph on n vertices can have before a triangle is forced, and which graph has exactly that many: Mantel's theorem with two proofs. Turán's theorem for larger complete subgraphs, proved by Zykov symmetrization, the Erdős and Stone theorem that makes the chromatic number of the forbidden graph decide the answer, and the bipartite case, where the Kővári, Sós, and Turán theorem is proved for the 4-cycle by counting cherries and much remains open after eighty years.
- Turán numbers
- Mantel's theorem
- Turán's theorem
- The Erdős and Stone theorem
- Bipartite Turán problems
- The Erdős and Sós conjecture
Random Graphs
Coin-flip graphs, sharp thresholds, the giant component, and the probabilistic method
About this unitThe probability toolkit from scratch: expectation and its linearity, indicator variables, the union bound, Markov's inequality, and the first moment method. The random graph G(n, p) of Erdős, Rényi, and Gilbert, the threshold at which triangles appear, the connectivity threshold at which the last isolated vertex disappears, and the sudden birth of a giant component when the average degree passes 1, explained by a branching process. The probabilistic method then proves that graphs of any girth and chromatic number exist without describing one, and gives the Caro and Wei bound and a dominating set bound.
- Expectation and the first moment method
- The model G(n, p)
- Thresholds
- The giant component
- The probabilistic method
- The Caro and Wei bound
Eigenvalues of Graphs
The adjacency and Laplacian matrices, expanders, and the ranking of web pages
About this unitThe linear algebra toolkit, then the adjacency matrix whose powers count walks and whose eigenvalues give the number of edges and triangles. The spectra of the standard graphs, what the largest and second largest eigenvalues measure, the eigenvalue bounds on the chromatic number, and the Laplacian with its Fiedler vector for cutting a graph in two. Expanders, Cheeger's inequality, the Alon and Boppana bound, and a random walk that ranks the pages of the web.
- The adjacency matrix and walks
- Spectra of standard graphs
- Eigenvalue bounds on colouring
- The Laplacian and the Fiedler vector
- Expanders
- PageRank
Ramsey Theory
Ramsey's Theorem and the Party Problem
Six people, the Ramsey numbers, and why complete disorder is impossible
About this unitAmong six people there are three mutual acquaintances or three mutual strangers, and five people do not suffice. The unit defines the Ramsey numbers R(s, t), proves Ramsey's theorem through the recursion of Erdős and Szekeres, collects the known values and the bounds 43 and 46 for R(5, 5), proves R(3, 3, 3) = 17, and ends with the infinite Ramsey theorem and the happy ending theorem of Erdős and Szekeres.
- The party problem
- Ramsey numbers
- The Erdős and Szekeres recursion
- Known values and bounds
- Several colours
- The infinite Ramsey theorem
Random Colourings and Lower Bounds
Erdős's argument of 1947, explicit constructions, and the off-diagonal Ramsey numbers
About this unitErdős's three-page proof of 1947 that colouring the edges of a complete graph by coin flips makes R(k, k) grow at least like the k-th power of the square root of 2, the alteration method, and the Lovász local lemma, next to the fact that this base has not moved since. Why no explicit colouring comes close, Goodman's formula for monochromatic triangles, and the off-diagonal numbers: R(3, t) settled by the triangle-free process and R(4, t) settled up to logarithms in 2023 by an algebraic graph thinned at random.
- Erdős's lower bound
- Alteration and the local lemma
- Explicit constructions
- Goodman's formula
- The numbers R(3, t)
- The asymptotics of R(4, t)
Ramsey Theory in the Integers
Schur, van der Waerden, Szemerédi, and the progressions of primes
About this unitSchur's theorem that every finite colouring of the integers contains a monochromatic solution of x + y = z, proved from Ramsey's theorem on graphs, and van der Waerden's theorem on monochromatic arithmetic progressions, with W(2, 3) = 9 proved by hand and the colour focusing argument in full. Then density instead of colouring: Roth's theorem, Behrend's construction, the 2023 bound of Kelley and Meka, Szemerédi's theorem, the Green and Tao theorem that the primes contain progressions of every length, and Rado's criterion for a single equation.
- Schur's theorem
- Van der Waerden's theorem
- Colour focusing
- Colouring against density
- Roth, Behrend, Kelley and Meka
- Szemerédi and the primes
Diagonal Ramsey Numbers Today
From the bound of 1935 to the exponential improvement of 2023
About this unitThe diagonal Ramsey number R(k) lies between the k-th powers of the square root of 2 and of 4, bounds from 1947 and 1935, and the gap between them is the subject of this closing unit. The greedy walk behind the upper bound, the polynomial gains of Thomason, Conlon, and Sah, the book algorithm of Campos, Griffiths, Morris, and Sahasrabudhe that lowered the base 4 in 2023, and the shorter proof with the base 3.8 a year later. The unit ends with Erdős's open questions, with how to read a research paper, and with where to go from here.
- The Erdős and Szekeres bound
- Polynomial improvements
- The book algorithm
- The exponential improvement
- Erdős's limit questions
- Reading a research paper