We have 3 points and we have to find the quadratic equation.
One of the points is a zero: (-1,0).
Then, we can write:
We have 2 parameters to find.
We can expand the function and then solve the system of equations:
For point (-2,1) we will replace x and y and get:
For point (1,4) we replace for x, y and also a:
Then, we can calculate for a:
Then, we can replace a and b in the equation and expand:
We can test with a graph if the equation fit the points given:
Answer: f(x) = (x+1)^2 = x^2+2x+1