Geometry
Per-vertex diagonals and triangulation
The diagonals from one corner number n - 3, and drawing all of them splits the polygon into n - 2 triangles.
Last updated
The Formula
d = n - 3; t = n - 2
The diagonals from one corner number n - 3, and drawing all of them splits the polygon into n - 2 triangles.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| d | Diagonals from one vertex | count | Five for an octagon, since eight minus three is five. |
| t | Triangles in the triangulation | count | Six for an octagon, since eight minus two is six. |
| n | Number of sides | count | The same side count used in the main formula. |
What Each Symbol Means
dcount
Diagonals from one vertex
Five for an octagon, since eight minus three is five.
tcount
Triangles in the triangulation
Six for an octagon, since eight minus two is six.
ncount
Number of sides
The same side count used in the main formula.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate the number of diagonals in a polygon page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate The Number Of Diagonals In A Polygon, filed under Math. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Per-vertex diagonals and triangulation?
The formula for Per-vertex diagonals and triangulation is d = n - 3; t = n - 2. The diagonals from one corner number n - 3, and drawing all of them splits the polygon into n - 2 triangles.
What does each symbol in Per-vertex diagonals and triangulation stand for?
d is diagonals from one vertex; t is triangles in the triangulation; n is number of sides.
What units should I use with Per-vertex diagonals and triangulation?
Substitute d as a plain count, t as a plain count, n as a plain count. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Per-vertex diagonals and triangulation?
Assuming the count grows in proportion to the sides. Doubling the sides from eight to sixteen takes the diagonals from 20 to 104, not to 40. The n(n - 3) product makes the relationship quadratic, so linear extrapolation is badly wrong for larger shapes.