
Pearce R. answered 05/05/20
Doctoral student in Robotics and Tutor for Math, Robotics, Computers
A function f(x) having zeros at certain locations mean that, when x is one of the "zero" values, f(x) evaluates to zero. f(x) is a quadratic function, so it will generally be written f(x) = ax^2+bx+c, but it can also be written as f(x) = d*(x-z1)(x-z2).
For example, in our case we want f(x) to be zero when x is -5. This is true of the expression (x+5), so if we multiply our function that we're building by x+5 it will have a zero at -5
Similarly, we need a (x+4) term to set a zero at -4.
f(x) = (x+5)(x+4)
Then we multiply out the expressions:
f(x) = x^2 + 9x + 20