This proof depends on the readily-proved proposition that the area of a triangle is half its base times its height—that is, half the product of one side with the altitude from that side.
Let ABC be an equilateral triangle whose height is h and whose side is a.
Let P be any point inside the triangle, and u, s, t the distances of P from the sides. Draw a line from P to each of A, B, and C, forming three triangles PAB, PBC, and PCA.
Now, the areas of these triangles are , , and . They exactly fill the enclosing triangle, so the sum of these areas is equal to the area of the enclosing triangle. So we can write:
- u + s + t = h.
The converse also holds: If the sum of the distances from an interior point of a triangle to the sides is independent of the location of the point, the triangle is equilateral.Chen, Zhibo; Liang, Tian (2006). "The converse of Viviani's theorem". The College Mathematics Journal 37 (5): 390.
More generally, they allow one to give coordinates on a regular simplex in the same way.
The sum of the distances from any interior point of a parallelogram to the sides is independent of the location of the point. The converse also holds: If the sum of the distances from a point in the interior of a quadrilateral to the sides is independent of the location of the point, then the quadrilateral is a parallelogram.
The result generalizes to any 2n-gon with opposite sides parallel. Since the sum of distances between any pair of opposite parallel sides is constant, it follows that the sum of all pairwise sums between the pairs of parallel sides, is also constant. The converse in general is not true, as the result holds for an equilateral hexagon, which does not necessarily have opposite sides parallel.
If a polygon is regular (both equiangular and equilateral), the sum of the distances to the sides from an interior point is independent of the location of the point. Specifically, it equals n times the apothem, where n is the number of sides and the apothem is the distance from the center to a side. However, the converse does not hold; the non-square parallelogram is a counterexample.
The sum of the distances from an interior point to the sides of an equiangular polygon does not depend on the location of the point.