The Königsberg Bridges
In 1736 a Prussian city had a puzzle it could not solve and a mathematician who proved it had no solution. The proof required inventing a way of describing the city that threw away everything except which piece of land connected to which, and that idea is the whole of this focus area.
Before reading on, look at the network in the diagram and apply the rule from Lesson 9. How many vertices have odd degree? What does that tell you?
Königsberg's four land masses become four vertices and its seven bridges become seven edges. The walk everyone wanted is an Eulerian trail, and the degrees decide in one line whether it exists.
$$\deg = 5, \ 3, \ 3, \ 3 \ \Rightarrow \ \text{four odd} \ \Rightarrow \ \text{no trail}$$
The whole difficulty was in the translation. Once the city is a network, the mathematics takes a single line. Euler's achievement was seeing that a question about a city could be a question about four dots.
Know
- that the Königsberg bridges problem asks for a walk crossing each of seven bridges exactly once
- that the problem is modelled by a network with four vertices and seven edges, including two pairs of multiple edges
- that the network has four vertices of odd degree, so no Eulerian trail or circuit exists
Understand
- why the land masses are the vertices and the bridges are the edges
- why the multiple bridges must be kept as separate edges
- why proving impossibility is a stronger result than failing to find a route
Can Do
- model the Königsberg problem as a network and find the degree of each vertex
- apply the degree rule to show that the required walk does not exist
- determine how the network would have to change for such a walk to become possible
Königsberg sat on the river Pregel. The river split around an island and then divided again, producing four separate pieces of land: the north bank, the south bank, the large central island, and a further piece of land to the east where the two branches ran together.
Seven bridges joined these pieces. The central island was linked to the north bank by two bridges and to the south bank by two more, together with a single bridge to the eastern land. The eastern land was also joined to each bank by one bridge.
The question the townspeople asked was whether a walk existed that crossed every one of the seven bridges exactly once. Nobody had to start or finish anywhere in particular.
Everyone had tried, and everyone had failed. The interesting mathematical question is not how to succeed but whether success is possible at all.
Euler's insight was that almost nothing about the city matters.
The size of each land mass is irrelevant, since the walk crosses bridges rather than measuring ground. The length of each bridge is irrelevant. So is the shape of the river, the position of the island and the distance between anything and anything else.
What matters is which land masses each bridge joins. So: a vertex for each land mass, an edge for each bridge.
Call the eastern land $A$, the central island $B$, the south bank $C$ and the north bank $D$. Then the edges are two between $B$ and $C$, two between $B$ and $D$, and one each between $A$ and $B$, $A$ and $C$, and $A$ and $D$.
Note what is absent: no edge joins $C$ to $D$, because no bridge runs directly from one bank to the other. Every crossing between the banks goes via the island or the eastern land.
Four vertices and seven edges, and the city is gone. Every question about crossing bridges survives the translation unchanged, and every question about geography has been discarded because it never affected the answer.
Two pairs of land masses are joined by two bridges each. It is tempting to simplify those into a single edge, since either way the two pieces of land are connected.
That would be a serious mistake. The question asks for every bridge to be crossed once, so two bridges are two things to be crossed and must be two edges.
Collapsing them changes the degrees, and it is the degrees that decide the answer. With the doubles kept, the central island has degree $5$; collapsed, it would have degree $3$, and the north and south banks would change too.
A simplification that changes the answer is not a simplification. This is exactly why Lesson 1 introduced multiple edges rather than tidying them away, and the promise made there is being kept here.
Count the degrees.
The central island $B$ has five bridges: two to the north bank, two to the south bank, and one to the east. So $\deg(B) = 5$.
Each of the other three land masses has three bridges, so $\deg(A) = \deg(C) = \deg(D) = 3$.
Checking: $5 + 3 + 3 + 3 = 14 = 2 \times 7$, matching the seven bridges.
All four vertices have odd degree. The rule from Lesson 9 says that a connected graph with four or more odd vertices has neither an Eulerian trail nor an Eulerian circuit.
So the walk does not exist, and the townspeople were failing at something impossible. The reason is that each odd vertex would have to be an endpoint of the walk, and a walk has only two ends.
Three things happened here that were new, and the third is the one that lasted.
He answered the question. The walk is impossible, which no amount of further attempting could have established.
He replaced a search with a criterion. The argument does not examine routes at all. It counts, and the count applies to every possible route at once, which is why it can prove a negative.
He invented a way of describing shape without measurement. The answer depends on no distance, no angle and no area, only on what is connected to what. Euler called this analysis situs, the analysis of position, and it grew into the subject now called topology. Graph theory, this entire focus area, dates from the same paper.
A local puzzle became a general method. That is a pattern worth recognising, because it is how a good deal of mathematics has actually been made.
Watch Me Solve It · 3 examples
-
1Choose the verticesThe objects being connected are the four land masses: the eastern land $A$, the central island $B$, the south bank $C$ and the north bank $D$.
-
2List the edges$AB, \ AC, \ AD, \ BC, \ BC, \ BD, \ BD$Seven edges, one per bridge. The pairs $BC$ and $BD$ each appear twice, because two separate bridges join the island to each bank. There is no edge $CD$, since no bridge joins the two banks directly.
-
3Find the degrees$\deg(A) = 3, \ \deg(B) = 5, \ \deg(C) = 3, \ \deg(D) = 3$$A$ appears in $AB$, $AC$ and $AD$. $B$ appears in $AB$, $BC$, $BC$, $BD$ and $BD$, giving five.
-
4Check the degree sum$3 + 5 + 3 + 3 = 14 = 2 \times 7$The sum matches twice the edge count, so nothing has been missed or double-counted.
-
1State what is being asked forA walk crossing every bridge exactly once is a trail using every edge exactly once, which is an Eulerian trail. If it also had to return to its start it would be an Eulerian circuit, but the question allows any finish.
-
2Check the graph is connectedEvery land mass can be reached from every other across bridges, so the network is connected and the degree rule applies.
-
3Count the odd verticesAll four degrees, $3$, $5$, $3$ and $3$, are odd. That is four odd vertices.
-
4Apply the rule and concludeA connected graph has an Eulerian trail only when it has zero or exactly two odd vertices. Four is neither, so no Eulerian trail exists and the walk is impossible. Each odd vertex would have to be an endpoint, and a walk has only two ends.
-
1Update the degrees$\deg(A) = 3, \quad \deg(B) = 4, \quad \deg(C) = 3, \quad \deg(D) = 2$Removing an edge lowers the degree of each endpoint by one, so $B$ falls from $5$ to $4$ and $D$ from $3$ to $2$.
-
2Check the sum$3 + 4 + 3 + 2 = 12 = 2 \times 6$Six bridges remain, and the sum matches.
-
3Count the odd verticesOnly $A$ and $C$ are now odd, which is exactly two. The network is still connected, so an Eulerian trail exists running from $A$ to $C$.
-
4Produce the walk$A \to D \to B \to C \to B \to A \to C$Uses $AD$, $DB$, $BC$, $CB$ (the second bridge), $BA$ and $AC$: six edges, each once. It starts at the eastern land and finishes at the south bank, the two odd land masses, as the rule requires.
Brain Trainer · 5 problems
Five items on the Königsberg problem and its model.
-
1 In the Königsberg model, what do the vertices represent?
The objects being connected, not the connections.The four land masses -
2 How many edges does the Königsberg network have?
One per bridge, with the doubles kept separate.$7$ -
3 What is the degree of the central island?
Two bridges to each bank, plus one to the eastern land.$5$ -
4 How many vertices of odd degree does the network have?
The degrees are $5$, $3$, $3$, $3$.$4$ -
5 Why is the walk impossible?
Each odd vertex would have to be an end of the walk.Four odd vertices, but only two ends
Multiple Choice · 5 questions
In the network model of the Königsberg problem, the edges represent:
Two bridges join the central island to the north bank. In the model these should be:
The degrees of the four vertices in the Königsberg network are:
The Königsberg walk is impossible because:
Removing one bridge between the central island and the eastern land changes the degrees to $2$, $4$, $3$, $3$. The walk then:
Short Answer · 3 questions
Land masses are vertices, bridges are edges
Four land masses and seven bridges give four vertices and seven edges, with two pairs of land masses joined by two edges each.
The degrees settle it
The degrees are $5$, $3$, $3$, $3$, summing to $14 = 2 \times 7$. All four are odd, and a trail can have at most two odd vertices, so the walk is impossible.
The doubles must be kept
Two bridges are two things to cross. Collapsing them into one edge changes the degrees and therefore changes the answer, which is the test of an illegitimate simplification.
Impossibility is the achievement
Euler replaced a search with a criterion that applies to every route at once, and in doing so invented a way of describing shape without measurement.
Your Badges
0 of 6Mark lesson as complete
Tick when you've finished Learn, Practice and the Stretch. Earns +95 XP and +25 coins.