An extension of the graph-theory topic. A graph is a set of vertices joined by edges; the degree of a vertex is the number of edges leaving it. A walk that traverses every edge exactly once (an Eulerian path) exists only when the number of vertices of odd degree is 0 or 2. In 18th-century Königsberg all 4 landmasses had odd degree — in 1736 Leonhard Euler proved that crossing all 7 bridges exactly once is impossible, launching graph theory (a landmark discovery, 1736).

I’ll give you the landmass degrees (bridge counts) — decide whether you can walk every bridge exactly once. Rule: the number of odd-degree landmasses must be 0 or 2.
What just happened?
In 18th-century Königsberg (today Kaliningrad) the river Pregel split the city into 4 parts — two banks (A, B) and two islands (C, D — Kneiphof and the neighbouring island) — joined by 7 bridges. Residents wondered whether you could cross every bridge exactly once. In 1736 Leonhard Euler proved it was impossible — and in doing so founded a whole new branch of mathematics: graph theory.
The model: a graph instead of a map
Euler reduced the map to a graph: the landmasses become vertices and the bridges become edges. The number of bridges meeting a given landmass is called the degree of that vertex:
Every bridge has two ends, so the sum of all degrees is always twice the number of bridges — this is the handshaking lemma:
Euler’s theorem
A route that traverses every edge exactly once (an Eulerian path or circuit) exists if and only if the number of vertices of odd degree is:
0 odd vertices → an Eulerian circuit exists (start = finish, at any vertex). 2 odd vertices → an Eulerian path exists (you must start and finish exactly at those two vertices). Any other number of odd vertices — impossible, no exceptions.
Why Königsberg failed
In the original layout all 4 landmasses have odd degree (3, 3, 5, 3) — four odd vertices, not 0 or 2. That is why no walk over all 7 bridges without repetition exists — not because the residents lacked ingenuity, but because of the structure of the graph itself. Adding a single bridge (e.g. A–B) flips two of the landmasses to even degree, leaving exactly 2 odd vertices — and an Eulerian path appears at once.
What does it mean in practice?
The same parity condition governs postal and refuse-collection routes today (the Chinese postman problem), printed-circuit-board design, DNA sequencing (assembling fragments in a de Bruijn graph) and route planning in networks — everywhere you have to traverse every connection exactly once.
Why this matters for your exams:
Graph theory is not formally a separate exam topic, but Euler’s reasoning is a textbook example of a proof by invariant — count something that does not change (here: the parity of the degrees) and show that the problem’s condition contradicts it. The same move (“show that it cannot be done…”) appears in advanced-level combinatorics problems and in olympiad problems.
Remember: an Eulerian path or circuit exists if and only if the number of odd-degree vertices is 0 (circuit) or 2 (path) — any other number means it is impossible. This is the first result in the history of graph theory.
Landmasses are vertices, bridges are edges. The degree is the number of edges leaving vertex .
You can traverse every edge exactly once if and only if the number of vertices of odd degree is (an Eulerian circuit) or (an open path).
All landmasses had odd degree (more than of them), so a route over all bridges exactly once is impossible (Euler, 1736).
Notation: a vertex, its degree.
The number of edges (bridges) leaving a given vertex (landmass) in the graph.
Only when the number of vertices of odd degree is 0 or 2.
Because all 4 landmasses in Königsberg had odd degree — more than 2 of them.
Teaching? Embed this experiment on your site.
Free widget — paste it on your school site, blog or notes. It links to the full version.