SOLUTION: Determine the nth term formula for the following polygonal numbers in the nth figure: (a) heptagonal number and (b) octagonal number.

Algebra ->  sets and operations -> SOLUTION: Determine the nth term formula for the following polygonal numbers in the nth figure: (a) heptagonal number and (b) octagonal number.      Log On


   



Question 1180157: Determine the nth term formula for the following polygonal numbers in the nth figure: (a)
heptagonal number and (b) octagonal number.

Answer by greenestamps(13200) About Me  (Show Source):
You can put this solution on YOUR website!


A few basic facts about polygonal numbers that you can use to answer questions like this....

Let k be the number of sides of the polygon. Then

(1) In any sequence of polygonal numbers, the first two numbers in the sequence are 1 and k:
triangular numbers: 1, 3, ...
square numbers: 1, 4, ...
pentagonal numbers: 1, 5, ...

(2) The formula for the n-th term in the sequence of polygonal numbers for any value of k is a quadratic polynomial, so the sequence has a constant second difference. That constant second difference is k-2.

We can demonstrate that with the familiar triangular and square numbers:
    1   3   6  10  15  the first few triangular numbers
      2   3   4   5    first differences
        1   1   1      the constant second difference is k-2=3-2=1

    1   4   9  16  25  the first few square numbers
      3   5   7   9    first differences
        2   2   2      the constant second difference is k-2=4-2=2

We can use the above facts to form the sequence of heptagonal and octagonal numbers. Then, knowing that the sequence is produced by a quadratic function, we can determine that function in each case. To determine a quadratic function, we need three numbers in the sequence; so we only need to find the third number in the sequence.

Heptagonal numbers....

The first two numbers are 1 and 7; and the common second difference is 7-2=5:
     1   7   ?
       6   ?
         5

working back up the array will give us the third pentagonal number:
     1   7   18
       6   11
         5

We can now find the formula for the n-th heptagonal number in the form

t%28n%29=an%5E2%2Bbn%2Bc

knowing that t(1)=1, t(2)=7, and t(3)=18.

(NOTE: If you know a bit about the method of finite differences, you know that the coefficient of the quadratic term is going to be the constant second difference, divided by 2!=2 -- i.e., for this sequence the leading coefficient a will be 5/2.)

a%2Bb%2Bc=1
4a%2B2b%2Bc=7
9a%2B3b%2Bc=18

3a%2Bb=6
5a%2Bb=11

2a=5
a=5%2F2 (there is the leading coefficient we knew we were going to get)

3%285%2F2%29%2Bb=6
b=-3%2F2

%285%2F2%29-%283%2F2%29%2Bc=1
c=0

The formula for the n-th heptagonal number is

t%28n%29=%285%2F2%29n%5E2-%283%2F2%29n%29
or
t%28n%29+=+n%285n-3%29%2F2

Octagonal numbers....

The first two numbers are 1 and 8; and the common second difference is 8-2=6:
     1   8   ?
       7   ?
         6


I will hope that you have enough interest in learning from this that you will go from here following the same process as shown above for the heptagonal numbers to finish the problem for octagonal numbers.
work back up the array to find the third octagonal number
use the first three octagonal numbers to form three equations to solve for the coefficients a, b, and c of the quadratic formula for the n-th octagonal number.

You should end up with this formula for the n-th octagonal number: n%283n-2%29

And if you are REALLY interested in learning some cool math, write the formula for the n-th octagonal number in this form: n%286n-4%29%2F2

And then observe this fascinating pattern:
n-th triangular number: n%28n%2B1%29%2F2%29
n-th square number:    n%282n%29%2F2
n-th pentagonal number:n%283n-1%29%2F2
n-th hexagonal number: n%284n-2%29%2F2
n-th heptagonal number:n%285n-3%29%2F2
n-th octagonal number: n%286n-4%29%2F2
n-th nonagonal number: n%287n-5%29%2F2
n-th decagonal number: n%288n-6%29%2F2
...