Pick a point inside an equilateral triangle and measure how far it is from each of the three sides. Move the point straight toward one side and that distance shrinks while the other two grow, and wherever the point goes, the three distances add up to the same number, the height of the triangle. This page explains why by cutting the triangle into three smaller triangles and counting area, and it shows what goes wrong in other triangles and for points outside.
Key terms
Viviani’s theorem
Definition Let be an equilateral triangle with side length and height . Take any point inside or on its boundary, and let , and be the perpendicular distances from to the three sides. Viviani’s theorem says that
for every such point . The reason is an area count. The segments from to the three corners cut into three triangles. Each of them has one side of as its base, of length , and one of the distances as its height, so together they have area
These three triangles fill exactly, so this is also the area of , and dividing both by the positive number gives the theorem. The distances must be measured to the sides along perpendiculars, not to the corners. For a point outside the triangle the three distances add up to more than . In a triangle whose sides are not all equal the sum is not the same at every point, and among all triangles only the equilateral ones have a constant sum. The theorem is named after the seventeenth-century Italian mathematician Vincenzo Viviani.
In plain words Whenever the point moves, whatever distance it gains from some sides it loses from the others, and the gains and losses cancel exactly. A point at a corner shows the total plainly, because it touches two sides and is a full height away from the third.
Example Take the triangle with corners , and , so that and . At the center the three distances are equal by symmetry, each , and they add up to . The point is off center. Its distance to the bottom side is its -coordinate, , and the formula in the perpendicular distance card gives to the side and to the side . As fractions of the height these are
At the corner the distances are , and , again a total of .
Equilateral triangle
Definition A triangle is equilateral when its three sides have the same length . Its three angles are then all . Its height is the perpendicular distance from a corner to the line through the opposite side, and it is the same from every corner. By symmetry the perpendicular from a corner meets the opposite side at its midpoint, so the Pythagorean theorem gives , and therefore
In plain words All sides are equal, all angles are equal, and the triangle looks the same from each corner. Viviani’s theorem uses exactly this sameness, since every side can serve as a base of the same length.
Example For side the height is and the area is . For side the height is and the area is .
Perpendicular distance
Definition The perpendicular distance from a point to a line is the length of the shortest segment from to a point of . That shortest segment meets at a right angle, at a point called the foot of the perpendicular. When the line has the equation , with and not both , and , the distance is
In Viviani’s theorem the distance to a side means the distance to the line through that side. For a point inside an equilateral triangle or on its boundary, the foot always lies on the side itself, because every angle of the triangle is smaller than a right angle.
In plain words It is how far you would walk to reach the line if you headed straight for it. The distance to an end of the side, or to the line along any slanted direction, is a different quantity and is never shorter.
Example In the triangle with corners , and , the side lies on the line . For the formula gives
Distances to the corners do not share Viviani’s property. From the center each corner is away, for a total of . From the corner the three corners are , and away, for a total of .
Area decomposition
Definition If a region is cut into finitely many pieces that cover it and overlap only along their edges, then the area of the region is the sum of the areas of the pieces. Edges have no area, so it does not matter which piece they are counted in. The area of a triangle is half a base times the height, where the height is the perpendicular distance from the opposite corner to the line through the base. In Viviani’s argument the segments from to the corners cut the triangle into the triangles , and . When lies on the boundary, one or two of them are flat with area , and the count still works. In any triangle with side lengths , and and area , the same decomposition gives
for every point inside the triangle or on its boundary, where is the distance to the side of length , and likewise for and . Only when can the common length be divided out to leave a plain sum of distances.
In plain words One region counted in two ways must give the same area. Here one way is the whole triangle and the other is three slices meeting at the point. Moving the point shifts area from one slice to another but never changes the total.
Example Take the right triangle with corners , and . Its sides have lengths along the bottom, along the left and along the slanted side , and its area is . At the point the distances to these three sides are , and , with sum . At the point they are , and , with sum . The plain sum has changed, but the weighted sums agree,
and both equal . At the corners the plain sum is the height from that corner, which is at , at and at .
Check yourself
- A point inside an equilateral triangle with side is unit from one side and units from another. How far is it from the third side?
Show the answer
The height of the triangle is
about . By Viviani’s theorem the three distances add up to , so the third distance is . The answer does not depend on where exactly the point sits, only on the two distances given.
- Change a rule and move the point outside. In the triangle with corners , and , take , below the bottom side. Add up its perpendicular distances to the three lines through the sides. Why does the area argument give a different total?
Show the answer
The distance to the bottom line is . The line through and is , so the distance to it is
and by symmetry the distance to the line through and is the same. The total is , more than the height .
The three triangles , and no longer fill without overlap. The triangles and together cover and also the triangle that sticks out below it, so the area of is the area of plus the area of minus the area of . Here , so each of these triangles has area , the distance that serves as its height, and the area count reads
So the distance to the bottom side has to be subtracted, not added. If a distance gets a minus sign whenever its side’s line separates the point from the triangle, the total is for every point of the plane. The plain total is therefore larger than at every point outside the triangle, here by .
- Extend the pattern to a regular hexagon with side . Show that the perpendicular distances from any point inside it to its six sides always add up to the same total, and find that total.
Show the answer
Join the point to the six corners. This cuts the hexagon into six triangles that fill it without overlap, each with one side of the hexagon, of length , as its base and one of the distances as its height. Their areas add up to
The segments from the center to the corners cut the hexagon into six equilateral triangles of side , each of area , so the hexagon has area . Hence the six distances always add up to . Two checks agree. At the center each distance is the height of one of those small triangles, and six of them make . Also, opposite sides are parallel and apart, and the distances from a point between two parallel lines add up to the gap between them, so the three pairs give . The argument needs equal side lengths, not equal angles, so it works in every convex polygon whose sides all have the same length.