I began with the idea that each point was attached to n-3 diagonals, i.e. there was a diagonal to every point except itself and its immediate neighbors. Using the octagon as an example, I counted the NEW diagonals originating from each point.
For both odd and even n-gons, I soon discovered the following pattern that helped with the summation of terms. Consider the following sequence of addends. The number beside each point represents how many NEW diagonals originate from that point.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The formula can be explained in terms of the n-gons very easily, however. The n-3 factor represents the fact that from each point there is a diagonal to every other point EXCEPT itself and its immediate neighbors, i.e. n-3. The n/2 factor represents the fact that every diagonal joins two points. So, if we were directly counting the number of diagonals radiating from each point (n-3 each), we would have to divide by two to account for the duplication.
To understand the recursive formula, consider the following sequences:
|
|
|
|
|
|
| A |
|
|
|
|
| B |
|
|
|
|
| C |
|
|
|
|
| D |
|
|
|
|
| E |
|
|
|
|
| F |
|
|
|
|
| G |
|
|
||
| H |
|
|||
| Sum: |
|
|
|
|
One other interesting perspective offered by the class was to view this as a version of the handshake problem. Consider that every line adjoining any two points is like a handshake. To count the diagonals, we would count all "handshakes" but subtract those that represented sides of the polygon. Since an n-gon is defined by having n sides, Dn = Hn - n.
SUMMARY OF SOLUTIONS:
Numerical solution
D50 = 1175
Recursive formula
Dn = Dn-1 + n-2
Closed formula
Dn = n(n-3)/2