← Iris

Terminals 0
Steiner pts 0
MST length 0
Steiner length 0
Ratio
Click to place terminals · Drag to move · Minimum 3 for Steiner points
Preset:

The shortest network

Given a set of points, what is the shortest network of line segments that connects all of them? The obvious answer — the minimum spanning tree — is not the best you can do. The Steiner minimum tree allows you to add extra junction points, called Steiner points, and these additional nodes can shorten the total network length significantly. The difference is not academic: it is exactly the problem solved by soap films stretched between physical pins, and by engineers routing wires across circuit boards. The minimum spanning tree connects only the given points; the Steiner tree is free to invent new ones.

The 120° rule

Every Steiner point has exactly three edges meeting at 120° angles. This is not a design choice but a mathematical necessity: it is the configuration that minimizes total edge length at a junction. The proof is elegant — if any angle were less than 120°, you could reduce the total length by moving the junction point. Plateau discovered the same law empirically in 1873, studying soap film junctions: where three film surfaces meet, they always form 120° angles. The physics and the mathematics converge on the same optimum because surface tension minimizes area, and minimizing area at a junction is geometrically identical to minimizing total edge length.

Fermat’s challenge

The story begins in 1640, when Pierre de Fermat posed a deceptively simple problem to Evangelista Torricelli: given three points, find the point that minimizes the total distance to all three. Torricelli solved it. The optimal point — now called the Fermat point or Torricelli point — is where each pair of terminal points subtends an angle of exactly 120°. You can construct it geometrically: build an equilateral triangle on each side of the original triangle and draw lines from the new vertices to the opposite original vertices. These three lines meet at the Fermat point. But there is a caveat: if any angle of the original triangle is 120° or greater, the Fermat point degenerates to that obtuse vertex. The geometry knows when to quit.

NP-hardness and soap films

In 1977, Garey, Graham, and Johnson proved that the Steiner tree problem in the Euclidean plane is NP-hard. No known algorithm solves it in polynomial time for arbitrary point sets. Yet soap films solve instances of it in milliseconds — dip a frame of pins into soapy water, and the film snaps to a local minimum of total length almost instantly. This is not a contradiction. Soap films are analog computers that exploit surface tension to minimize energy, but they find local minima, not necessarily the global optimum. For the same set of pins, different initial conditions can produce different soap film configurations with different total lengths. Physics respects computational complexity: it finds good answers fast, but it does not guarantee the best answer.

The Steiner ratio

How much shorter can a Steiner tree be compared to the minimum spanning tree? The Steiner ratio is the infimum of the ratio of Steiner tree length to MST length, taken over all possible point configurations. In 1968, Edgar Gilbert and Henry Pollak conjectured that this ratio is exactly √3/2 ≈ 0.866, and that the worst case is the equilateral triangle. The conjecture stood open for 24 years until Ding-Zhu Du and Frank Hwang proved it in 1992. This means no Steiner tree can be more than about 13.4% shorter than the MST — which is both a limitation and a reassurance. The MST, which is easy to compute, is never far from optimal.

Soap films and network design

The Steiner tree problem is not merely a curiosity of recreational mathematics. It appears in VLSI chip layout, where the goal is to connect circuit components with the minimum total wire length. It appears in telecommunications network design, where laying fiber-optic cable is expensive and every saved kilometer matters. It appears in pipeline routing, road network planning, and phylogenetic tree reconstruction in biology. Wherever resources must flow through physical space along a network, and the cost is proportional to the total length of that network, the Steiner tree is the theoretical optimum. The mathematical structure of the shortest connecting network — with its 120° junctions and its NP-hard complexity — is not an abstraction. It is the shape that efficiency takes when it passes through geometry.