| 
 
 
| Question 1120017:  Could someone please walk me through how to do this. It is a question from my test prep of advanced functions.
 How do I determine the equation of the function that would model this data?
 x 1,2,3,4,5,6
 f(x) 0,3,16,45,96,175
 Any help would be so appreciated!!!
 Found 3 solutions by  solver91311, greenestamps, ikleyn:
 Answer by solver91311(24713)
      (Show Source): Answer by greenestamps(13209)
      (Show Source): 
You can put this solution on YOUR website! 
 Use the method of finite differences to find the required degree of the polynomial.  6 points define a unique polynomial of degree 5; but it is possible a polynomial of lower degree will define the given points.
 
 
  0   3  16  45  96  175
    3  13  29  51  79
     10  16  22  28
        6   6   6
 The third row of differences is constant; that means the points can be defined by a polynomial of degree 3:
 
 t(n) = an^3+bn^2+cn+d
 
 Substitute n = 1, 2, 3, and 4 to get four equations in the coefficients a, b, c, and d and solve the system.  Note it will always be easy to see what the next step should be in solving the system.
 
 
    a +   b +  c + d = 0
   8a +  4b + 2c + d = 3
  27a +  9b + 3c + d = 16
  64a + 16b + 4c + d = 45Comparing successive pairs of equations...:
   7a +  3b +  c = 3
  19a +  5b +  c = 13
  37a +  7b +  c = 29
 Again comparing successive pairs of equations...:
  12a +  2b = 10
  18a +  2b = 16
 And comparing those two equations...:
   6a = 6
    a = 1
 Then back substitute the known values to find the others:
  12(1)+2b = 10
  2b = -2
  b = -1
 7(1)+3(-1)+c = 3
  c = -1
 1+(-1)+(-1)+d = 0
  d = 1
 
We have a=1, b=-1, c=-1 and d=1; the polynomial of degree 3 that defines the given numbers is
 
 t(n) = n^3-n^2-n+1
 
Answer by ikleyn(52879)
      (Show Source): 
 | 
  
 | 
 |