I am helping a friend in his last year of high school with his math class. They are studying recurrences and proof by inference. One of the exercises was simply "How many diagonals does a regular n-polygon have?".
We quickly found a direct answer to that question: d(n)=(n−3)n2, but since they are studying recurrences, we didn't stop, and found the recurrence d(n+1)=d(n)+n−1. We proceeded to prove by induction that the closed form we initially found is indeed a solution for the recurrence.
But then he asked me a question I couldn't answer: we found the closed form because the question gives us an obvious mapping to an easy to solve geometry problem, but is there a way to find a closed form using the recurrence only?
Answer
Yes it is possible. This is an example of a telescoping sequence.
Notice that dn+1−dn=n−1
Now consider
(dn+1−dn)+(dn−dn−1)+(dn−1−dn−2)+⋯+(d5−d4)
I will leave the rest to you.
No comments:
Post a Comment