Skip to content
Field Atlas

Atlas / Mathematics / The Combinatorics Thread

Field · Emerged 1736 – 1936

Graph Theory

What can be said about a network from the pattern of its connections alone?

5 chapters4 min read7 turning points1 open problem

Branched from
One of the thread's roots
Branched into
Combinatorial Optimisation + Extremal Combinatorics
Figures
Leonhard Euler, Gustav Kirchhoff, Francis Guthrie, Augustus De Morgan, Alfred Kempe, Percy Heawood, Dénes Kőnig, Kenneth Appel, Wolfgang Haken, Neil Robertson, Paul Seymour

In brief

A graph is a set of points, called vertices, joined by lines, called edges. It keeps only who is connected to whom and throws away distance, shape and position. That turns out to be exactly the information that matters for a huge range of problems: road maps, electrical circuits, molecules, friendships, the links between web pages.

The subject began with Euler's solution of a puzzle about the bridges of Königsberg in 1736, and for two centuries it grew from scattered problems in recreation, chemistry and electrical engineering. Its most famous question, whether four colours suffice for any map, took 124 years and became the first major theorem proved with essential help from a computer.

Key ideas

Vertex, edge and degreeEnters 1736

Vertices are the points, edges are the connections, and the degree of a vertex is the number of edges that meet it. Adding up all the degrees always gives twice the number of edges.

Euler pathEnters 1736

A walk that uses every edge exactly once. Euler showed that one exists in a connected graph exactly when zero or two vertices have odd degree.

TreeEnters 1847

A connected graph with no cycles. A tree on nn vertices always has n−1n - 1 edges. Kirchhoff used trees to solve electrical networks.

Graph colouringEnters 1852

Giving each vertex a colour so that neighbours differ. Colouring a map is colouring the graph whose vertices are countries, with an edge wherever two countries share a border.

Graph minorEnters 1983 – 2004

A graph obtained by deleting edges and vertices and contracting edges. Robertson and Seymour proved that every minor-closed family of graphs is described by a finite list of forbidden minors.

Draws on other domains

Chapter I

Seven Bridges

The Prussian city of Königsberg was built on both banks of the Pregel river and on two islands, joined by seven bridges. Its citizens liked to ask whether a walk could cross every bridge exactly once. In 1735 Leonhard Euler showed that it could not, and, more importantly, why. The shapes of the islands and the lengths of the bridges were irrelevant. All that mattered was which land masses each bridge joined. Euler called this the "geometry of position", after a phrase of Leibniz. It is now counted as the first theorem of graph theory, and it has the same flavour as his polyhedron formula of 1750, which became part of algebraic topology.

Chapter II

Networks and Molecules

For a century, graphs turned up in unrelated places. In 1847 Gustav Kirchhoff, aged twenty-three, found that the equations of an electrical network are governed by its spanning trees. Arthur Cayley counted trees to count the possible molecules of a chemical formula, and James Joseph Sylvester borrowed the word "graph" from chemists' diagrams in 1878. Puzzles fed in too. Hamilton invented a game in 1857 that asked for a round trip through all twenty vertices of a dodecahedron.

In 1936 Dénes Kőnig, in Budapest, gathered the results into the first textbook, and graph theory became a subject. Hungary produced many of its leading figures over the next half-century.

Chapter III

Four Colours

The most famous problem started with a map of England. In 1852 Francis Guthrie noticed that four colours were enough to give every pair of neighbouring counties different colours, and asked if that was always true. The question passed through Augustus De Morgan to the mathematical world. In 1879 Alfred Kempe published a proof, and it was accepted for eleven years until Percy Heawood found the flaw. Heawood proved that five colours always suffice, and the gap between five and four stayed open for most of a century.

In 1976 Kenneth Appel and Wolfgang Haken closed it. They showed that every map must contain one of nearly two thousand configurations, each of which could be removed and recoloured. The checking took more than a thousand hours of computer time. Many mathematicians were uneasy about a proof no human could read in full. A shorter computer proof in 1997, and a formal verification in 2005, settled its truth. The question of what counts as a proof is discussed in metamathematics.

Chapter IV

A Closer Look: Counting Bridges

Draw Königsberg as a graph. The island Kneiphof is one vertex, the north bank, the south bank and the island of Lomse to the east are the other three, and each of the seven bridges is an edge. Count the edges at each vertex:

Land massBridges
Kneiphof island5
North bank3
South bank3
Lomse island3

The total is 5+3+3+3=145 + 3 + 3 + 3 = 14, twice the seven bridges, because each bridge has two ends. That is true of every graph, and it has a consequence: the number of vertices with an odd count must be even.

Now imagine a walk that crosses every bridge once. Every time the walker passes through a land mass, they use two bridges, one in and one out. So a land mass that is neither the start nor the end of the walk must have an even number of bridges. Only the start and the end can be odd. Königsberg has four odd land masses, so no such walk exists, however it is planned.

Euler also saw the converse, proved in full by Carl Hierholzer in 1873: if a connected graph has zero or two odd vertices, such a walk exists. That makes the question easy to answer for any map, however large. Two of the bridges were destroyed in the Second World War and two more were later replaced by a highway. With the five bridges that now stand on the old sites in Kaliningrad, a walk crossing each once is possible.

Chapter V

Structure

After the four colour theorem the field turned to structure. Between 1983 and 2004 Neil Robertson and Paul Seymour proved, in twenty papers, that graphs are well ordered by the minor relation. Their methods explain how graphs that avoid a given pattern are built, and they have led to fast algorithms. Graphs now underlie combinatorial optimisation, the study of large networks and extremal combinatorics. Hadwiger's conjecture, a vast generalisation of the four colour theorem, is still open.

Applications

Where it is used

  • Electrical engineering↗ Physics · Electromagnetism

    Kirchhoff's laws are graph theory

    Kirchhoff's circuit laws, still the basis of circuit analysis, are statements about the cycles and cut sets of a graph. Circuit simulators choose their independent equations from a spanning tree, as Kirchhoff did in 1847.

    › Sources (1)
    • Kirchhoff, G. (1847). Über die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Vertheilung galvanischer Ströme geführt wird. Annalen der Physik und Chemie 72: 497–508.
  • Genome assembly↗ Biology · Genomics

    Euler's bridges, in DNA

    Genome assemblers build a graph whose edges are short overlapping DNA fragments and look for a walk that uses every edge once, an Euler path. Euler's 1736 criterion is why this is fast, where the alternative formulation is intractable.

    › Sources (1)
    • Compeau, P. E. C., Pevzner, P. A. & Tesler, G. (2011). How to apply de Bruijn graphs to genome assembly. Nature Biotechnology 29(11): 987–991.
  • Telecommunications

    Colouring the airwaves

    Mobile networks must give nearby transmitters different frequencies. Treating transmitters as vertices and interference as edges turns frequency assignment into graph colouring, and the same holds for scheduling exams without clashes.

    › Sources (1)
    • Aardal, K. I. et al. (2007). Models and solution techniques for frequency assignment problems. Annals of Operations Research 153: 79–129.

Open problems

Where the map runs out

Open

Hadwiger's conjecture

Open as of 2026. Proved for up to six colours, the six-colour case in 1993.

Hugo Hadwiger conjectured in 1943 that any graph that needs tt colours contains the complete graph on tt vertices as a minor. For t=5t = 5 this is equivalent to the four colour theorem, so the conjecture is a vast generalisation of it.

Why it is hard

The cases t=5t = 5 and t=6t = 6 reduce to the four colour theorem, itself proved only with a computer. Beyond that, no one has found a way to extract a large complete minor from the need for many colours, and even weaker versions of the statement are difficult.

What resolving it unlocks

It would explain why graphs need many colours: the only obstruction would be a dense cluster of mutual connections, perhaps spread out. It would place colouring, one of the oldest topics in the field, inside the theory of graph minors.

› Sources (2)
  • Hadwiger, H. (1943). Über eine Klassifikation der Streckenkomplexe. Vierteljahrsschrift der Naturforschenden Gesellschaft in Zürich 88: 133–142.
  • Robertson, N., Seymour, P. & Thomas, R. (1993). Hadwiger's conjecture for K6-free graphs. Combinatorica 13(3): 279–361.

Further reading

  1. Wilson, R. (2002). Four Colors Suffice: How the Map Problem Was Solved. Princeton University Press.

    The history of the four colour problem, for general readers.

  2. Biggs, N. L., Lloyd, E. K. & Wilson, R. J. (1976). Graph Theory 1736–1936. Oxford University Press.

    The founding papers of graph theory, translated and with commentary.

  3. Diestel, R. (2017). Graph Theory (5th ed.). Springer.

    The standard graduate text. An electronic edition is free to read.