Find an expression for a cubic function f if f(1)=8 and f(-1)=f(0)=f(2)=0

2 answers

the roots indicate that
f(x) = a(x+1)(x)(x-2)
Since f(1) = a(2)(1)(-1) = -2a = 8, a = -4
I figured it out already. :)