Lably
Skip to content

Seven Bridges of Königsberg

Classic problem in graph theory

  • 6 min read
  • 4 chapters
Map of Königsberg with the river and bridges highlighted, as in the Seven Bridges of Königsberg problem.
Twotwos · CC BY-SA 4.0

Related on Lably

Through Leonhard Euler, Topology and Russia

Background and problem statement

The city of Königsberg in Prussia (now Kaliningrad, Russia) was set on both sides of the Pregel River, and included two large islands—Kneiphof and Lomse—which were connected to each other, and to the two mainland portions of the city—Altstadt and Vorstadt—by seven bridges. The problem was to devise a walk through the city that would cross each of those bridges once and only once.

By way of specifying the logical task unambiguously, solutions involving either

  1. reaching an island or mainland bank other than via one of the bridges, or
  2. accessing any bridge without crossing to its other end

are explicitly unacceptable.

Euler proved that the problem has no solution. The difficulty he faced was the development of a suitable technique of analysis, and of subsequent tests that established this assertion with mathematical rigor.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Discrete mathematics