Mathwords logoMathwords

Viviani's Theorem — Definition, Formula & Example

Viviani's Theorem is the fact that inside an equilateral triangle, the three perpendicular distances from any point to the sides always add up to the same number: the triangle's height. Moving the point changes the individual distances, but not their sum.

Let △ABC\triangle ABC be equilateral with side length ss and altitude hh. For any point PP in the interior or on the boundary of the triangle, let d1d_1, d2d_2, d3d_3 be the perpendicular distances from PP to lines BCBC, CACA, and ABAB. Then d1+d2+d3=h=32sd_1 + d_2 + d_3 = h = \tfrac{\sqrt{3}}{2}s.

Key Formula

d1+d2+d3=h=32 sd_1 + d_2 + d_3 = h = \frac{\sqrt{3}}{2}\,s
Where:
  • d1,d2,d3d_1, d_2, d_3 = perpendicular distances from the point to the three sides
  • hh = altitude (height) of the equilateral triangle
  • ss = side length of the equilateral triangle

How It Works

The standard proof uses area. Connect point PP to the three vertices, which splits the big triangle into three smaller triangles. Each small triangle has a base of length ss and a height of d1d_1, d2d_2, or d3d_3. Their areas add to the whole area, so 12sd1+12sd2+12sd3=12sh\tfrac{1}{2}s d_1 + \tfrac{1}{2}s d_2 + \tfrac{1}{2}s d_3 = \tfrac{1}{2}s h. Divide both sides by 12s\tfrac{1}{2}s and you get d1+d2+d3=hd_1 + d_2 + d_3 = h.

Worked Example

Problem: An equilateral triangle has sides of 12 inches. A point P inside it is 4 inches from one side and 3 inches from another side. How far is P from the third side?
Step 1: Find the altitude of the equilateral triangle.
h=32(12)=63≈10.39 inh = \frac{\sqrt{3}}{2}(12) = 6\sqrt{3} \approx 10.39 \text{ in}
Step 2: By Viviani's Theorem, the three distances add up to the altitude.
4+3+d3=634 + 3 + d_3 = 6\sqrt{3}
Step 3: Solve for the third distance.
d3=63−7≈3.39 ind_3 = 6\sqrt{3} - 7 \approx 3.39 \text{ in}
Answer: Point P is 63−7≈3.396\sqrt{3} - 7 \approx 3.39 inches from the third side.

Why It Matters

Ternary diagrams in chemistry, geology, and soil science use Viviani's Theorem. They plot a mixture of three components, such as sand, silt, and clay, inside an equilateral triangle. The three percentages always total 100%, just as the three distances always total the altitude.

Common Mistakes

Mistake: Applying the theorem to any triangle, such as a right or scalene triangle.
Correction: The sum of the distances stays constant only because all three sides are equal, so each small triangle in the area proof has the same base ss. In a non-equilateral triangle, the sum is not the same for every point. Also make sure you measure perpendicular distances, not slanted ones.

Related Terms

  • Ceva's Theorem — Another triangle result about lines through an interior point
  • Altitude of a Triangle — The constant value the three distances always sum to
  • Base of a Triangle — Base-times-height area formula drives the theorem's proof
  • Centers of a Triangle — In an equilateral triangle the centroid, incenter, and circumcenter coincide at the one point where all three distances equal one third of h
  • Equilateral Triangle — Shape the theorem applies to, with all sides equal
  • Perpendicular — Distances to the sides are measured at right angles