Maths●●●●●Difficulty 2 of 5

What do your friendships, molecules and road maps have in common?

They're all just dots and lines, and the maths of dots and lines tells us Albert Einstein was only two collaborations away from a wandering mathematician who lived out of two suitcases.

▶ Start the story

Friendships, molecules and road maps can all be drawn as the same thing: dots joined by lines. Mathematicians call such a drawing a graph, and graph theory is the study of these structures, which model pairwise relations between objects. The dots are vertices, the lines are edges. In a friendship graph, people are vertices and an edge means they know each other. In a molecule, atoms are vertices and chemical bonds are edges. In a road map, junctions are vertices and roads are edges, each carrying a length or a travel time, which is exactly how satnavs work out your route.

A simple graph: six numbered circles joined by seven lines.
A graph is just this: dots (vertices) joined by lines (edges). Whether the dots are people, atoms or road junctions, the same mathematics applies.Photo: AzaToth · Public domain

The field began with a puzzle. In 1736 Leonhard Euler asked whether you could cross the seven bridges of Königsberg exactly once each, and his paper is regarded as the first in graph theory. The word graph itself came later, in 1878, when James Joseph Sylvester borrowed the idea from chemists' drawings of molecules.

Graphs also measure how close people are. Paul Erdős, a mathematician who published at least 1,525 papers and travelled with everything he owned in two suitcases, inspired the Erdős number: his co-authors have number 1, their co-authors 2, and so on, the length of the shortest path to him in the graph of collaborations. Albert Einstein's is 2. Most mathematicians with one sit around 5.

Quiz me

0/3

  1. 1.In a graph that models a molecule, what do the vertices and edges represent?
  2. 2.Why would a website's links be modelled as a directed graph rather than an undirected one?
  3. 3.What does an Erdős number of 2 mean?

Recap

If you can draw it as dots and lines, graph theory can reason about it.

Surprising fact · Your Erdős number is your shortest path to Paul Erdős in the graph of co-authored papers; Einstein's is 2.

Sources (3)

No source, no claim. Every fact in this lesson (20 claims) cites at least one of these.

  1. [1]Graph theory · Wikipedia
  2. [2]Erdős number · Wikipedia
  3. [3]Seven Bridges of Königsberg · Wikipedia
More lessons in ➗ Maths (3) See all maths lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗