The seven bridges of Königsberg
A river town with seven bridges and one puzzle: can you walk over every bridge exactly once? Try it, count the bridges, change the town, and see how Euler solved it in 1736.
Key takeaways
- Euler solved the puzzle in 1736 by throwing away the map and keeping only the lands and which bridges join them.
- What matters about a land is how many bridges touch it. Königsberg had four lands with 3, 3, 5 and 3 bridges.
- The counts add up to twice the number of bridges, so the number of odd counts is always even.
- A walk over every bridge exactly once is possible if the bridges are joined up and 0 or 2 lands have an odd count.
- Königsberg had 4 odd lands, so the walk was impossible. Dots and lines like these are called graphs.
Sources
Most of these sites could not be opened while this page was written, so the facts were checked through search results that quote them. Euler’s 1736 proof, the seven bridges and four lands with 3, 3, 3 and 5 bridges, the rule that a walk needs 0 or 2 odd lands, and the fact that the counts add up to twice the number of edges each appeared in at least two places. Hierholzer is credited with proving that the rule is enough. Sources disagree about which bridges Kaliningrad has today, so the page does not say. The map is a simple drawing made for this page and is not to scale.
- Wikipedia: Seven Bridges of KönigsbergThe puzzle, Euler’s 1736 solution and the degrees 3, 3, 3 and 5.
- Wikipedia: handshaking lemmaThe counts add up to twice the number of edges.
- Mathwords: seven bridges of KönigsbergThe puzzle in short.
- Stony Brook University: lecture 2 (PDF)Euler paths and circuits.
- UC San Diego: Königsberg bridgesThe graph of the bridges.
- NRICH: the Königsberg bridge problemTrying the walk and counting odd lands.
- Mathematical Association: a bridge too far (PDF)Which bridges make the walk possible.
- Boston University: Euler paths (PDF)Zero or two odd vertices.
- Division by Zero: Königsberg todayThe bridges of Kaliningrad, which sources disagree about.