SOLUTION: Find a polynomial function whose graph passes through (-1,-9),(0,-2),(1,1),(2,12)

Algebra ->  Polynomials-and-rational-expressions -> SOLUTION: Find a polynomial function whose graph passes through (-1,-9),(0,-2),(1,1),(2,12)      Log On


   



Question 1116302: Find a polynomial function whose graph passes through (-1,-9),(0,-2),(1,1),(2,12)
Found 2 solutions by josgarithmetic, Edwin McCravy:
Answer by josgarithmetic(39617) About Me  (Show Source):
You can put this solution on YOUR website!

Four points, and a plot suggests possibly degree 3.

Putting the points into equation of general cubic first gives:


Beginning to simplify,
system%28-a%2Bb-c%2Bd=-9%2Cd=-2%2Ca%2Bb%2Bc%2Bd=1%2C8a%2B4b%2B2c%2Bd=12%29

-
system%28a-b%2Bc=7%2Ca%2Bb%2Bc=3%2C4a%2B2b%2Bc=7%29

R1+R2, and R1-R2,
2a%2B2c=10%2C-2b=4%2C4a%2B2b%2Bc=7

system%28a%2Bc=5%2Cb=-2%2C4a%2B2b%2Bc=7%29

Substitute for b.
.
system%28a%2Bc=5%2C4a%2Bc=10%29
.
.

system%28a=2%2Cc=3%29

SUMMARY:
system%28a=2%2Cb=-2%2Cc=3%2Cd=-2%29
EQUATION: system%28y=2x%5E3-2b%5E2%2B3x-2%29

Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!

There are 4 points, so assume a general polynomial of
degree which is one less, or a polynomial of degree 3.

Substitute each point (x,y) in Ax³ + Bx² + Cx + D = y:

A(-1)³ + B(-1)² + C(-1) + D = -9
 A(0)³ +  B(0)² +  C(0) + D = -2
 A(1)³ +  B(1)² +  C(1) + D =  1
 A(2)³ +  B(2)² +  C(2) + D = 12

Simplify and solve that system of 4 equations.

The second equation gives us D = -2, then the 
system simplifies to:

-A +  B -  C = -7
 A +  B +  C =  3
8A + 4B + 2C = 14

Adding the first two equations gives

     2B      = -4
      B      = -2

Substituting B = -2 in the 2nd and 3rd equations:

 A +  (-2) +  C =  3
8A + 4(-2) + 2C = 14

which simplifies to

 A +  C =  5
8A + 2C = 22

Multiplying the 1st by -2

-2A - 2C = -10
 8A + 2C =  22
--------------
 6A      =  12
  A      =   2

Substitute in 

 A +  C =  5
 2 +  C =  5
      C =  3   

So A=2, B=-2, C=3, D=-2 and

Ax³ + Bx² + Cx + D = y  becomes
2x³ - 2x² + 3x - 2 = y

or use P(x) for y and write it on the left:

P(x) = 2x³ - 2x² + 3x - 2 = y

Here's the graph.  Notice that it passes through
all four given points: 
 


Edwin