9813

The Seven Bridges of Königsberg

In the 1730s, Leonhard Euler lived in the Prussian city of Königsberg. The Pregel River runs around the center of the city (Kneiphof) and then splits into two parts. The city was then quite prosperous and the volume of commerce justified connections between the separated land masses by seven bridges. A popular problem of the day was to find a continuous path which would cross all seven bridges once and only once.
You can try to solve this problem by first dragging the locator to some starting point, then clicking at points that define a path. Points can then be moved, or removed (Alt-click).

THINGS TO TRY

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

We apologize for your futile efforts in trying to solve the problem. In fact, Euler proved that no solution exists. It is easy to see why. The four land masses are the north and south shores and the two islands. Any path must arrive at and depart from a land mass via two different bridges (lest one bridge be used twice), so for any legal path to exist, each land mass must be approachable by an even number of bridges.
Euler's more sophisticated treatment can be considered as the beginning of what is now graph theory and, more generally, the entire field of topology.
Snapshot 1: an illegal solution since one bridge is crossed twice
Snapshot 2: adding an eighth bridge can make the problem solvable
Snapshot 3: with two of the bridges destroyed by bombing in World War II, another solution is possible
Reference
[1] Wikipedia. "Seven Bridges of Königsberg." (Jul 8, 2013) en.wikipedia.org/wiki/Seven_Bridges_of _K % C3 % B6nigsberg.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.









 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+