FormulaIntuitionDerivationExamplesMistakesQuizReal Life 11 / 16
Middle School Math 1 (Grade 7) · Formula Detail

Number of Diagonals of a Polygon

Total diagonals of an $n$-gon $= \dfrac{n(n-3)}{2}$ — $n-3$ per vertex, counted twice, so divide by 2

2022 Curriculum · Korea · Middle School Math 1 (Grade 7) Derivation · Examples · Mistakes · Real Life · Mini Quiz
ƒ
Core Formula NO. 11
$$ \frac{n(n-3)}{2} $$
$n \ge 3$. $n=4$: 2, $n=5$: 5, $n=6$: 9, $n=8$: 20. A diagonal is a segment joining two vertices that is not a side.
01
1

What This Formula Does

A diagonal is a segment joining two vertices that is not a side. Looking from one vertex, the targets you can draw diagonals to are the remaining vertices except the two adjacent ones — $n - 3$ of them. The adjacent vertices already have sides, and the vertex itself is the same point, so it's excluded. Each diagonal is counted once from each of its two endpoints — twice in all — so divide $n(n-3)$ by 2.

This "count twice → divide by 2" is the classic pattern of counting pairs. If $n$ people each call everyone once, the number of calls $= \frac{n(n-1)}{2}$ (all pairs); diagonals are that with the $n$ sides removed: $\frac{n(n-1)}{2} - n = \frac{n(n-3)}{2}$ — the same answer from two routes, cross-checking each other.

02
2

Step-by-Step Derivation

Let's build the result step by step, instead of memorizing.

1
Counting diagonals from one vertex

From one vertex of an $n$-gon: the remaining $n-1$ vertices. Of these, the 2 adjacent are sides (not diagonals), and itself is not a target. Diagonals $= (n-1) - 2 = n - 3$.

$n=6$ example: a hexagon vertex → 3 diagonals ($6-3$)
2
Counting from every vertex — discovering the double count

$n-3$ at each of the $n$ vertices → $n(n-3)$. But a single diagonal was counted once from each of its two endpoints — $AC$ as $CA$ from $A$, and as $AC$ from $C$. So $n(n-3)$ is twice the number of diagonals.

$n(n-3) = 2 \times (\text{number of diagonals})$
3
Dividing by 2

Number of diagonals $= \dfrac{n(n-3)}{2}$. Alternate route: all vertex pairs $\frac{n(n-1)}{2}$ minus the $n$ sides — $\frac{n(n-1)}{2} - n = \frac{n^2 - n - 2n}{2} = \frac{n(n-3)}{2}$, same answer ✓.

$\frac{n(n-3)}{2}$
03
3

Worked Examples

Each step also shows the "why".

Example 1Find the number of diagonals of a hexagon
$n = 6$: $\dfrac{6 \times (6 - 3)}{2} = \dfrac{6 \times 3}{2}$
$9$
Example 2Find the number of diagonals of a decagon
$n = 10$: $\dfrac{10 \times 7}{2} = 35$
$35$
Example 3Find the number of vertices $n$ of a polygon with 44 diagonals
$\dfrac{n(n-3)}{2} = 44 \Rightarrow n(n-3) = 88$
$n^2 - 3n - 88 = 0 \Rightarrow (n-11)(n+8) = 0$
$n > 0$, so $n = 11$ — an 11-gon
$n = 11$
04
4

Common Mistakes

The classic ways to lose points on a test.

Forgetting to divide by 2 : using $n(n-3)$ as-is as the answer — a hexagon would give $18$, but actually it's $9$. A diagonal is counted once from each of its two endpoints, so $n(n-3)$ is double.
Writing $n-3$ as $n-2$ : $n-2$ is the number of triangles (interior-angle sum formula). Diagonals from one vertex are $n-3$ — you must exclude the two adjacent vertices (sides). A hexagon vertex has 3 diagonals, not 4.
05
5

Mini Quiz — 3 Questions

Three questions to check the core idea. Click an option to see the explanation.

Solved 0 / 3
06
6

Where Does This Formula Show Up?

The formula is hiding in familiar scenes. Read it as a story and it sticks.

Real-Life SceneAir routes and tournament matches

How many direct routes does an airline need to connect all 8 cities directly? City pairs $= \frac{8 \times 7}{2} = 28$ — the same structure as the diagonal formula (two vertices = two cities, side = no direct flight between adjacent cities only). In practice, using "all city pairs" gives $\frac{n(n-1)}{2}$, "excluding adjacent cities" gives $\frac{n(n-3)}{2}$ — the two faces of the diagonal formula.

A basketball tournament (league) works the same way. If 10 teams each play each other once, the number of matches $= \frac{10 \times 9}{2} = 45$ — the same "counting pairs" pattern as diagonals. Once you see that two different entities (diagonals of a figure, pairs of people) are tied together by the same formula, "why divide by 2?" clicks naturally.

As a formula$\text{8 cities direct} = \frac{8 \times 7}{2} = 28,\quad \text{10-team league} = \frac{10 \times 9}{2} = 45$
★Diagonals = "vertex pairs that are not sides" — the pair count $\frac{n(n-3)}{2}$ is the shared formula with the same structure as air routes and league matches.
∫ 홈