How do you find the polynomial function with roots -5, 1, 2?

1 Answer
Dec 19, 2015

Begin with the factored form to find that one such polynomial is

P(x)=x3+2x213x+10

Explanation:

A simple way of generating a polynomial with given roots is to begin with it in factored form. If (xx0) is a factor of a polynomial P(x), then P(x0)=0 and so x0 is a root of P(x).

Applying this here, we get

P(x)=(x(5))(x1)(x2)

Again, plugging in any of the desired roots immediately yields 0, meaning the polynomial has the desired properties. Then, all that remains is to multiply it out.

P(x)=(x+5)(x1)(x2)

=x3+2x213x+10