Problem solving · 5 min
The seven bridges of Königsberg
Learn how Leonhard Euler solved a city walking puzzle in 1736 by ignoring almost everything about it, and founded a new branch of maths.
What the sources describe
The Prussian city of Königsberg sat on the Pregel River, with two islands and seven bridges linking four areas of land. Residents wondered whether a person could walk through the city crossing every bridge exactly once.
In a paper presented in 1735 and published in 1736, Swiss mathematician Leonhard Euler proved it was impossible. His key step was to throw away distances, street layouts and bridge lengths, and keep only which land areas were connected to which.
He noticed that each time you enter and leave a land area, you use two bridges. So, apart from the start and the end of the walk, every area must touch an even number of bridges. In Königsberg, all four areas touched an odd number.
This reasoning is now the basis of graph theory: a walk using every connection once exists only if zero or two points have an odd number of connections. Euler's paper is often called the first in graph theory and an early step toward topology.
Königsberg is now Kaliningrad in Russia. Two of the bridges were destroyed in Second World War bombing and others rebuilt, so with today's layout such a walk is actually possible between two of the land areas.
The same ideas help plan routes for postal workers, snowploughs and rubbish trucks. A related task, the 'Chinese postman problem', was posed by Chinese mathematician Kwan Mei-Ko in 1962.
Connecting the ideas
Stripping a problem down to its essential structure can turn an endless search into a simple proof.
The big idea
People had tried countless walking routes. Euler didn't try routes at all; he asked what feature every successful route would need, and showed Königsberg lacked it. Abstracting away irrelevant detail — distances, names, scenery — revealed a counting argument that settled the question for good and applies to any map.
Use it in real life
Draw a simple map of your home, school or neighbourhood with rooms or places as dots and doors or paths as lines. Count the lines at each dot, then use Euler's rule to predict whether you could walk through every doorway exactly once, and test it on paper.
Try it
Made-up example: a park designer wants a path network where visitors can walk every path exactly once and return to the start. What does Euler's rule require?
A good answer: every junction must have an even number of paths; if any junction has an odd number, the designer should add or remove a path so that all counts become even.
Quick quiz
1. What was Euler's key step in solving the puzzle?
2. Why was the walk impossible in 1736?
3. What practical problems use Euler's ideas today?
Finished reading?
Make this the next Doom video?
Vote for the lessons you'd most like to see turned into a short animated story.
How was this lesson?
No ratings yet — be the first.
Sign in to rateSources
Overview sources only. These references are not a completed primary-source fact-check.
Limitations
Overview sources.
Voice: Debby — Soft and soothing (tap to change)
Debby narration · part 1 of 17
