Graphing quadratic equation

204 Views Asked by At

The function, $f(x)=x^2-x-2$ gives me the below graph image 1

But, in a text book for the same equation, they have given different graph. Which one is correct?

Text book graph - (i tried with ms paint, could not get perfectly the curve)...the points are as below,

Image 2

Curve: $(-2,4),(-1,1),(0,0),(1,1),(2,4)$ Line: $(0,2),(1,3),(-1,1),(2,4),(-2,0)$

2

There are 2 best solutions below

6
On BEST ANSWER

No they both are different graphs.

First with parabola y = $\left(x - \frac12 \right)^2 - \frac94$

Second graph with parabola y = $x^2$

and line y = x + 2.

4
On

The first is a plot of the curve $y=x^2-x-2$, with the intent to show the roots.

The second is a plot of the parabola $y=x^2$ and the straight line $y=x+2$, with the intent to show the intersections.

enter image description here