The correct option is
C x2+x−2Given the graph of
y=ax2+bx+c as shown below:
Now, the graph of
y is an upward opening parabola cutting the
x− axis at points
x=−2;x=1
⇒x=−2 & x=1 are the two roots of the equation
∴ We can write the equation as
y=a(x−1)(x−(−2))⇒y=a(x−1)(x+2)⋯(1)
Also, the graph passes through
(0,−2)
⇒−2=a(0−1)(0+2)⇒a=1
Hence, the equation is given as:
y=1(x−1)(x+2)=x2+x−2