How do you find the polynomial function with roots -5, 1, 2?
Begin with the factored form to find that one such polynomial is
A simple way of generating a polynomial with given roots is to begin with it in factored form. If
Applying this here, we get
Again, plugging in any of the desired roots immediately yields