Graph theory, from scratch

The mathematics of things and the connections between them. It's behind your map app, your social feed and the internet itself. Eleven units, lots of pictures, and no prior knowledge needed beyond basic arithmetic.

Start with Unit 1
A transit mapFour coloured lines with 27 stations. Where lines meet, a larger interchange station joins them. Read as a graph, stations are vertices and each stretch of track between neighbouring stations is an edge.
Every metro map is a graph. The stations are vertices, and each stretch of track between neighbouring stations is an edge. By the end of this course you'll know how to find the fastest route across it.

How each unit works

The idea

Every concept starts in plain words, with no symbols until you need them.

A picture

A diagram for every new idea. Some respond when you hover over or tap them.

Examples

Worked examples from real life: friendships, roads, timetables, tournaments.

Try it

Short questions throughout, with answers hidden until you're ready.

The course

Eleven units, all available now. Work through them in order: each one builds on the vocabulary of the units before it.

  1. 1

    Foundations

    Vertices, edges and degree; the handshake lemma; directed and weighted graphs; common graph families; how to store a graph.

  2. 2

    Walks and connectivity

    Walks, paths and cycles; connected pieces; distance; the single vertex or edge whose loss splits a network.

  3. 3

    Trees

    Graphs with no cycles; why a tree with n vertices has n − 1 edges; spanning trees; cheapest networks with Kruskal's and Prim's methods.

  4. 4

    Exploring a graph

    Breadth-first and depth-first search; finding your way out of a maze; putting tasks in a valid order.

  5. 5

    Shortest paths

    Dijkstra's algorithm, step by step; negative weights with Bellman–Ford; all distances at once with Floyd–Warshall.

  6. 6

    Euler and Hamilton

    The seven bridges of Königsberg; when you can trace a graph without lifting your pen; routes for postmen and travelling salespeople.

  7. 7

    Matching

    Bipartite graphs; pairing people with jobs; Hall's marriage theorem; stable matchings.

  8. 8

    Network flow

    How much can a pipe network carry? Maximum flow, minimum cut, and the surprising fact that they are equal.

  9. 9

    Colouring

    Scheduling exams without clashes; the chromatic number; greedy colouring; the four colour theorem.

  10. 10

    Planar graphs

    Graphs you can draw with no crossings; Euler's formula V − E + F = 2; the three utilities puzzle.

  11. 11

    Beyond the basics

    Ramsey theory, random graphs, what matrices reveal about graphs, and how real-world networks are shaped.

Powered by Webloyt | Report abuse