Raymond B. answered 12/12/23
Math, microeconomics or criminal justice
find polynomial function of least degree whose graph passes through
(-1,2), (0,0), (1,1), (4,58)
it can't be more than a cubic polynomial.
they aren't on a straight line so rule out linear
that leaves either a degree 2 or 3 polynomial
plot the 4 points. visually it looks like a possible parabola unpward opening
y = ax^2+bx + c
plug in (0,0) to get 0 = 0+0+c, c=0
then
y = ax^2 +bx
plug in each of 2 other points, to get y=3x^2/2 -x/2
but the point (4,58) won't fit,
so move on to a cubic
guaranteed there is a cubic polynomial
y=ax^3+ bx^2+cx + d
plug in the origin, d= 0
y = ax^3+bx^2 + cx
plug in (1,1)
1 = a+b+c
plug in the other points to get total 3 equations 3 unknowns
solve by substitution, elimination
y = (3/5)x^3 +3x^2 -(11/10))x
is the cubic polynomial through the 4 given points
or
y =.6x^3+1.5x^2 -1.1x
check by plugging in each of the 4 points and see if they satisfy the cubic polynomial function