How to derive a formula for finding the number of diagonals in a n-sided regular polygon.
Andrew Henderson
The formula for finding the number of diagonals in a n-sided convex polygon is:
$$\frac{(n-3)n}{2}$$
But how is this formula derived? How would I want to start deriving this formula?
$\endgroup$2 Answers
$\begingroup$For each vertex $n $(vertices) you have $(n-3)$ possible vertices to create a diagonal from.
Why $(n-3)$? Because you can't combine with the 2 neighboring vertices and you can't combine with your current vertex. Divide by two because you are counting twice. So you have $\frac{(n-3)n}{2}$ diagonals.
$\endgroup$ $\begingroup$We can solve this by using combination, to make diagonals we need to choose no. of pairs of 2 vertices that can be formed from $n$ vertices i.e $$ \dbinom{n}{2}$$ we will get the answer, but we need to subtract $n$ from it since adjacent vertices cannot make a diagonal. $\therefore$ the final answer is $$\dbinom{n}{2}-n= \dfrac{(n-1)n-2n}{2}=\dfrac{n(n-3)}{2}.$$
$\endgroup$ 2