
Origins
Seven Bridges and the Origins of Network Science
A puzzle about seven bridges helped reveal the mathematics of connections, from electrical circuits to modern networks.

Origins
A puzzle about seven bridges helped reveal the mathematics of connections, from electrical circuits to modern networks.
Welcome to Origins. In this program we explore the technological and scientific roots of the modern world. Let's begin.
Imagine a town map with every street name erased. Remove the scale, the compass rose, the outlines of houses. Straighten a winding river. Shrink entire neighborhoods to dots.
Surprisingly, the map may still contain everything needed to answer a particular question.
That possibility became clear in the eighteenth century, through a puzzle about seven bridges in the Prussian city of Königsberg, now Kaliningrad. The puzzle helped establish a branch of mathematics concerned with connections. Today, its descendants describe electrical circuits, delivery routes, social relationships, and the internet.
The beginning was considerably more modest: could a person take a walk without crossing the same bridge twice?
Königsberg stood on the Pregel River, where branching channels divided the city into four land areas. Seven bridges joined them. The island of Kneiphof, crowded with buildings and dominated by its cathedral, connected to the surrounding city through five of those bridges.
Here was the challenge. Cross every bridge exactly once. Start wherever convenient. Finish wherever possible.
A person could sketch a route, follow it with a finger, and almost succeed. Six bridges crossed, perhaps, with the seventh stranded behind a crossing already used. Try another starting point. Reverse direction. Leave the island earlier.
Was a clever route waiting to be found, or did the arrangement itself forbid one?
The problem reached Leonhard Euler, a Swiss mathematician working at the Imperial Academy of Sciences in Saint Petersburg. One correspondent who encouraged his interest was Carl Leonhard Ehler, a public official in Danzig, today's Gdańsk.
Euler initially found the puzzle difficult to classify. It involved no measurement of distance, no calculation of angles, no familiar geometrical construction. Its solution seemed to depend on something mathematics had scarcely formalized.
He presented his treatment in seventeen thirty-six. The paper appeared in print several years later.
His decisive move was to stop searching for a walk.
Instead, consider what must happen whenever a walker passes through a land area. One bridge brings the walker in. Another takes the walker out.
Entry and exit require a pair.
If every bridge is to be crossed exactly once, the bridges touching an intermediate land area must therefore come in pairs. That area needs an even number of connections.
There are two possible exceptions. The starting place can have one unpaired departure. The finishing place can have one unpaired arrival. If the walk ends where it began, even those exceptions disappear.
So a connected bridge arrangement permits such a walk only if either no land areas, or exactly two, have an odd number of bridges attached.
Now count Königsberg's connections.
One land area had five. Each of the other three had three.
Four odd numbers.
Only two endpoints available.
The walk was impossible.
No inventory of failed attempts could be as conclusive. Euler had identified a requirement every successful walk would have to satisfy, then shown that Königsberg could not satisfy it.
Notice what never entered the argument. The lengths of the bridges. The width of the river. Whether the walker moved quickly or slowly. The shape of the island.
All that mattered was which places connected to which others.
In modern language, the land areas become vertices, often called nodes. The bridges become edges, or links. Together they form a graph. Here, graph means a network of relationships, rather than a chart with horizontal and vertical axes.
Euler's reasoning became a foundation of graph theory, although the field and its vocabulary developed gradually afterward.
This kind of abstraction requires judgment. A map stripped down to dots and lines would be terrible for finding a bakery. For the bridge puzzle, those missing details were irrelevant. The reduced description preserved the exact feature governing the answer.
During the nineteenth century, other researchers encountered problems that benefited from similar reductions.
In eighteen forty-seven, Gustav Kirchhoff investigated electrical networks. Wires met at junctions and formed loops. Current had to balance at each junction, while voltage changes had to balance around a closed circuit.
The physical properties of the components mattered, of course. But their pattern of connection organized the equations. Kirchhoff's work connected circuit analysis with mathematical trees: networks that join their vertices without forming any closed loops.
Arthur Cayley later studied trees as mathematical objects and applied related counting methods to chemical structures. Molecules could contain the same numbers of the same atoms, yet connect them differently. Counting arrangements required attention to branching and to which drawings actually represented the same structure.
A line on paper could now stand for a bridge, a wire, or a chemical bond. Each application carried different physical rules. The shared mathematics concerned their arrangement.
There was also a warning hidden in this success. Similar-looking network questions can demand very different methods.
The Königsberg challenge asks for every link to be used once. A delivery planner might instead ask for every destination to be visited once, preferably by the shortest route. That change leads toward a different family of problems, including the traveling salesperson problem. Euler's simple odd-and-even test cannot solve it.
Choosing the right abstraction includes keeping track of what the question actually asks.
Today, human activity continually manufactures networks. Airlines connect airports. Power lines connect generating stations and consumers. Software packages depend on other software packages, sometimes through long chains their users never see.
Those connections create opportunities and vulnerabilities. An extra link may offer a detour when something breaks. A heavily shared junction may become a point through which disruption spreads. Understanding either possibility requires more than examining each component in isolation.
Königsberg's bridges were built for local journeys, commerce, and access across a river. Their collective arrangement produced a question that none of the individual bridges contained.
That remains a recurring experience of technological life. People build connections to solve immediate problems. Then the connected system develops properties that require a new kind of study.
For Euler, the first step was to put aside the scenery and count the ways in and out.
Sometimes understanding a complicated world begins with deciding exactly what can be left off the map.
Your Daily Knowledge Companion
Get the app
Get the app