Fermat-Weber Point of a Polygonal Chain

The Fermat–Weber point for a set of points in the plane is the point that minimizes the sum of the Euclidean distances from to the points of . A -chain of a regular -gon, denoted by , is the segment of the boundary of the regular -gon formed by a set of consecutive vertices of the regular -gon. Here we consider chains with an odd number of vertices whose middle vertex is . This Demonstration shows that for every fixed odd positive integer , as increases, the (blue) Fermat–Weber point of moves on the axis toward the point on the boundary of the chain. It is also shown that when exceeds a certain integer, say , the (red) Fermat–Weber point of coincides with the vertex of the chain lying on the axis.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The origin of the Fermat–Weber problem is attributed to the great Pierre de Fermat (1601–1665) who asked Evangelista Torricelli (1608–1647) to find the point that minimizes the sum of the Euclidean distances to three given points , , in the plane. Around 1640, Torricelli devised a geometrical construction for this problem. He showed that subtends an angle of to each of the sides of the triangle . However, this is true only when each of the interior angles of the triangle is less than . The so-called complementary problem, where one angle of the triangle can be greater than first appeared in [1]. Its solution states that the optimum point always coincides with the obtuse vertex of the triangle; this was correctly proved later [2].
In this Demonstration we show how the position of the Fermat–Weber point for varies with and . It is observed that for every odd positive integer , there exists an integer such that whenever , the Fermat–Weber point of coincides with the vertex of lying on the axis. This can be thought of as an extension of Courant and Robbins' complementary problem on triangles as described above. The proof of this fact can be found in [3], where it is also shown that , when () is any odd positive integer.
The values of the quantities and can be controlled using their respective sliders. For every fixed value of , the control for the values of can be set to autorun to observe the movement of the Fermat–Weber point of the chain, as described above. Note that the range of in the Demonstration is set up to 21. The range can be increased by changing the range of the outer Manipulate function in the code.
[1] R. Courant and H. Robbins, What Is Mathematics?, New York: Oxford University Press, 1996.
[2] J. Krarup and S. Vajda, "On Torricelli's Geometrical Solution to a Problem of Fermat," IMA Journal of Mathematics Applied in Business and Industry, 8, 1997 pp. 215–224.
[3] B. B. Bhattacharya, "On the Fermat–Weber Point of a Polygonal Chain and Its Generalizations," Fundamenta Informaticae, to appear. (accepted October 2010)
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+