SOLUTION: Find a polynomial function f of degree 3 with leading coefficient 1 whose graph has x- intercepts at (-1,0), (2,0), (4,0)

Algebra ->  Polynomials-and-rational-expressions -> SOLUTION: Find a polynomial function f of degree 3 with leading coefficient 1 whose graph has x- intercepts at (-1,0), (2,0), (4,0)      Log On


   



Question 269216: Find a polynomial function f of degree 3 with leading coefficient 1 whose graph has x- intercepts at
(-1,0), (2,0), (4,0)

Answer by AnlytcPhil(1806) About Me  (Show Source):
You can put this solution on YOUR website!
Find a polynomial function f of degree 3 with leading coefficient 1 whose graph has x- intercepts at
(-1,0), (2,0), (4,0)
 
Two methods.  I'll do both:

======================================

Method 1:

Suppose the function is

f%28x%29=x%5E3%2BAx%5E2+%2B+Bx+%2B+C

then since it has x-intercept (-1,0) then when you substitute
-1 for x in that you get 0, so

f%28-1%29=%28-1%29%5E3%2BA%2A%28-1%29%5E2%2BB%2A%28-1%29%2BC which equals 0, so

-1%2BA%2A%281%29-B%2BC=0 or

A-B%2BC=1

and since it has x-intercept (2,0) then when you substitute
2 for x in that you get 0, so

f%282%29=%282%29%5E3%2BA%2A%282%29%5E2%2BB%2A%282%29%2BC which equals 0, so

8%2BA%2A%284%29%2B2B%2BC=0 or

4A%2B2B%2BC=-8

and since it has x-intercept (4,0) then when you substitute
4 for x in that you get 0, so

f%284%29=%284%29%5E3%2BA%2A%284%29%5E2%2BB%2A%284%29%2BC which equals 0, so

64%2BA%2A%2816%29%2B4B%2BC=0 or

16A%2B4B%2BC=-64

So you have this system of 3 equations in 3 unknowns:

system%28A-B%2BC=1%2C4A%2B2B%2BC=-8%2C16A%2B4B%2BC=-64%29

Solve that and get A=-5, B=2 and C=8

So substitute in

f%28x%29=x%5E3%2BAx%5E2+%2B+Bx+%2B+C

and get

f%28x%29=x%5E3-5x%5E2+%2B+2x+%2B+8

-----------------

Method 2:

(-1,0), (2,0), (4,0)

If you had solved f%28x%29=0 you would have 
ended up with

    x = -1,       x = 2,       x = 4

before which you would have had

x + 1 =  0,   x - 2 = 0,   x - 4 = 0

before which you would have used the zero-factor
principle on this:

%28x+%2B+1%29%28x+-+2%29%28x+-+4%29+=+0

which you would have had after factoring, so before
factoring you would have had that multiplied out,
so we multiply it out

%28x%5E2-2x%2Bx-2%29%28x-4%29=0

%28x%5E2-x-2%29%28x-4%29=0

x%5E3-4x%5E2-x%5E2%2B4x-2x%2B8=0

x%5E3-5x%5E2%2B2x%2B8=0

and since that was the solution to f%28x%29=0, then

f%28x%29=x%5E3-5x%2B2x%2B8

Same answer either way.  Take your pick.

Edwin