WordGPT

Graph of y = -x² + 5x - 1

The graph of y = -x² + 5x - 1 is a parabola opening downwards. Its vertex is at (5/2, 21/4), it crosses the y-axis at (0, -1), and it crosses the x-axis at x = 0.2087 and x = 4.7913.

Graph of y = -x² + 5x - 1-1123456-10-8-6-4-2246xyvertex (2.5, 5.25)(0, -1)x = 0.209x = 4.791y = -x² + 5x - 1
Graph of y = -x² + 5x - 1. Drag to move, scroll or pinch to zoom, double-click to reset.
f(x) =
ddx[−x2+5x−1]=−(2x)+5\frac{d}{dx}\left[-x^{2} + 5 x - 1\right] = -\left(2 x\right) + 5

Type any function of x; the derivative is computed symbolically in your browser.

How to work it out

  1. 1

    Look at the sign of a. Here a = -1, so the parabola opens downwards and the vertex is its highest point.

    y=−x2+5x−1y = -x^2 + 5x - 1
  2. 2

    Find the y-intercept: put x = 0, which leaves just c.

    y(0)=−1y(0) = -1
  3. 3

    Find the axis of symmetry and the vertex: x = −b/(2a), then substitute to get y.

    x=−b2a=52,y=214x = \frac{-b}{2a} = \frac{5}{2},\qquad y = \frac{21}{4}
  4. 4

    The discriminant b² − 4ac = 21 is positive, so there are two x-intercepts: solve -x² + 5x - 1 = 0.

    x=5+212,  5−212x = \frac{5 + \sqrt{21}}{2},\; \frac{5 - \sqrt{21}}{2}
  5. 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 - 1 \]
\[ y(0) = -1 \]
\[ x = \frac{-b}{2a} = \frac{5}{2},\qquad y = \frac{21}{4} \]
\[ x = \frac{5 + \sqrt{21}}{2},\; \frac{5 - \sqrt{21}}{2} \]

Table of values

xy
0-1
13
25
35
43
5-1
6-7

Questions

What is the vertex of y = -x² + 5x - 1?

(5/2, 21/4). It is the maximum point of the parabola.

What is the axis of symmetry of y = -x² + 5x - 1?

The vertical line x = 5/2, from x = −b/(2a).

Where does y = -x² + 5x - 1 cross the axes?

It crosses the y-axis at (0, -1). It crosses the x-axis at x = (5 + √21)/2 and x = (5 - √21)/2.

What are the domain and range of y = -x² + 5x - 1?

The domain is all real numbers. The range is y ≤ 21/4.

Is y = -x² + 5x - 1 a function that opens up or down?

It opens downwards because a = -1 is negative. The larger |a| is, the narrower the parabola.

Solve it

Nearby parabolas

    Graph of y = -x² + 5x - 1: vertex, intercepts and table of values | WordGPT