Fermat Point
Drag a probe point inside a triangle and watch the sum of distances to the three vertices. The minimum is the Fermat point — with all angles at 120° when the triangle is not too obtuse.
Move the amber probe. The total distance PA+PB+PC is smallest at the green Fermat point (564.5), where the three lines meet at 120° each (as long as no angle of the triangle exceeds 120°).
The Fermat (Torricelli) point minimizes the sum of distances to the three vertices. When every angle is under 120°, its three spokes meet at 120°. If a triangle has an angle of 120° or more, the optimum collapses to that obtuse vertex.
What you are seeing
For a point P, sum PA + PB + PC. We want the P that makes this smallest.
The famous trick: rotate the figure 60° so the three segments unfold into a single polyline.
The minimum occurs where the three segments meet at 120° each.
Why it matters
Fermat points appear in network design, facility location, and Steiner tree problems.
Complexity & details
The distance sum is O(1); the 120° optimum is found geometrically.
Frequently asked questions
Is it always 120°?+
If every angle of the triangle is below 120°, the Fermat point sees all three sides at 120°. Otherwise the optimum is the obtuse vertex itself.