Graph of y = -x² + 5x - 8
The graph of y = -x² + 5x - 8 is a parabola opening downwards. Its vertex is at (5/2, -7/4), it crosses the y-axis at (0, -8), and it does not cross the x-axis.
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 = -7 is negative, so the parabola never reaches the x-axis.
- 5
Plot the vertex, the intercepts and a pair of mirror points (the graph is symmetric about x = 5/2), then draw the smooth curve.
LaTeX source of the formulas on this page
\[ y = -x^2 + 5x - 8 \]
\[ y(0) = -8 \]
\[ x = \frac{-b}{2a} = \frac{5}{2},\qquad y = -\frac{7}{4} \]
\[ b^2-4ac = -7 \]Table of values
| x | y |
|---|---|
| 0 | -8 |
| 1 | -4 |
| 2 | -2 |
| 3 | -2 |
| 4 | -4 |
| 5 | -8 |
| 6 | -14 |
Questions
What is the vertex of y = -x² + 5x - 8?
(5/2, -7/4). It is the maximum point of the parabola.
What is the axis of symmetry of y = -x² + 5x - 8?
The vertical line x = 5/2, from x = −b/(2a).
Where does y = -x² + 5x - 8 cross the axes?
It crosses the y-axis at (0, -8). It has no x-intercepts because the discriminant is negative.
What are the domain and range of y = -x² + 5x - 8?
The domain is all real numbers. The range is y ≤ -7/4.
Is y = -x² + 5x - 8 a function that opens up or down?
It opens downwards because a = -1 is negative. The larger |a| is, the narrower the parabola.