# How do you write the polynomial function with the least degree and zeroes -2, -1, 1?

$f \left(x\right) = {x}^{3} + 2 {x}^{2} - x - 2$
$f \left(x\right) = \left(x + 2\right) \left(x + 1\right) \left(x - 1\right) = \left(x + 2\right) \left({x}^{2} - 1\right) = {x}^{3} + 2 {x}^{2} - x - 2$
Any polynomial in $x$ with these zeros will be a multiple - scalar or polynomial - of this $f \left(x\right)$.