Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Given a triangle in a plane with vertices A, B, C, find the point T that minimizes the sum of distances between A-T, B-T, and C-T.

I can experimentally determine this point by sampling the space and finding the minimum via an attractive, interactive web page:

Drag any vertex to see the gradient of value sums change and the point T be updated. I find it interesting to note that moving any vertex towards or away from T does not affect T, until the point where the vertex touches T and causes it to move along with it.

However, an experimental determination is neither efficient nor accurate, and prevents me from graphing other interesting properties such as the arcs of the vertices when a fixed sum is required.

Please help me find the equation for T (preferably in terms of vectors, as the answer should be the same in 2D or 3D).

Edit: Based on the answer, I've created an updated interactive using the calculated point and showing the construction:

Screenshot of visualization

share|cite|improve this question
+1 for the link – amWhy Jun 9 '11 at 18:40
up vote 2 down vote accepted

Take a look at

share|cite|improve this answer
Very helpful, thanks! I could follow through with the math on my own, but it would be helpful for Stack Overflow posterity if you chose to include a full solution in your answer instead of just linking to a (possibly-but-probably-not ephemeral) 3rd party website. – Phrogz Jun 9 '11 at 18:27
My thinking is like this: if someone else has done the work before of explaining this, then it is not much use for me to explain all the things again. – Beni Bogosel Jun 9 '11 at 18:33
Sorry, to be clear, I was not suggesting that you quote or rewrite the entire Wikipedia article. Rather, the article you cite describes properties of the point and how to geometrically construct the answer, but does not in fact include an equation (or two, for the >120° case) that directly answers this question. I was suggesting that your answer would become more valuable than the Wikipedia article (to a certain set of people) if you included the equation. – Phrogz Jun 9 '11 at 18:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.