KEY MOVE MATH

Math Corner

Wait, That's True?

How many diagonals does a polygon have? One quick formula

A polygon with n corners has n(n − 3)/2 diagonals.

Key Move Math art showing a hexagon with all 9 of its diagonals drawn in yellow, next to the formula diagonals equals n times n minus 3 over 2, with examples for a hexagon, a decagon and a 100-sided polygon

Diagonals = n(n − 3)/2

A diagonal joins two corners of a polygon that are not next to each other. You could draw them all and count, but there's a faster way: for a polygon with n corners, the number of diagonals is n(n − 3)/2.

Here's why. From any one corner, you can't draw a diagonal to itself or to its two neighbors, so it reaches n − 3 other corners. Do that from all n corners and you get n(n − 3). But every diagonal got counted twice, once from each end, so divide by 2.

Try a hexagon: 6 × 3 ÷ 2 = 9. Draw it and count, and you'll find exactly 9. A decagon has 10 × 7 ÷ 2 = 35, and a 100-sided polygon has 100 × 97 ÷ 2 = 4,850.

Quick check with a triangle: 3 × 0 ÷ 2 = 0. A triangle has no diagonals, so the formula agrees.

Contest tip: the same divide-by-2 idea counts handshakes, games in a round robin, and lines through pairs of points. Spot the pairs, count from each side, then halve.