Graph of y = -x² - x + 2
The graph of y = -x² - x + 2 is a parabola opening downwards. Its vertex is at (-1/2, 9/4), it crosses the y-axis at (0, 2), and it crosses the x-axis at x = -2 and x = 1.
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
Look at the sign of a. Here a = -1, so the parabola opens downwards and the vertex is its highest point.
- 2
Find the y-intercept: put x = 0, which leaves just c.
- 3
Find the axis of symmetry and the vertex: x = −b/(2a), then substitute to get y.
- 4
The discriminant b² − 4ac = 9 is positive, so there are two x-intercepts: solve -x² - x + 2 = 0.
- 5
Plot the vertex, the intercepts and a pair of mirror points (the graph is symmetric about x = -1/2), then draw the smooth curve.
LaTeX source of the formulas on this page
\[ y = -x^2 - x + 2 \]
\[ y(0) = 2 \]
\[ x = \frac{-b}{2a} = -\frac{1}{2},\qquad y = \frac{9}{4} \]
\[ x = -2,\; 1 \]Table of values
| x | y |
|---|---|
| -3 | -4 |
| -2 | 0 |
| -1 | 2 |
| 0 | 2 |
| 1 | 0 |
| 2 | -4 |
| 3 | -10 |
Questions
What is the vertex of y = -x² - x + 2?
(-1/2, 9/4). It is the maximum point of the parabola.
What is the axis of symmetry of y = -x² - x + 2?
The vertical line x = -1/2, from x = −b/(2a).
Where does y = -x² - x + 2 cross the axes?
It crosses the y-axis at (0, 2). It crosses the x-axis at x = -2 and x = 1.
What are the domain and range of y = -x² - x + 2?
The domain is all real numbers. The range is y ≤ 9/4.
Is y = -x² - x + 2 a function that opens up or down?
It opens downwards because a = -1 is negative. The larger |a| is, the narrower the parabola.