WordGPT

Graph of y = -x² + 4x + 2

The graph of y = -x² + 4x + 2 is a parabola opening downwards. Its vertex is at (2, 6), it crosses the y-axis at (0, 2), and it crosses the x-axis at x = -0.4495 and x = 4.4495.

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

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+4x+2y = -x^2 + 4x + 2
  2. 2

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

    y(0)=2y(0) = 2
  3. 3

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

    x=−b2a=2,y=6x = \frac{-b}{2a} = 2,\qquad y = 6
  4. 4

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

    x=2+6,  2−6x = 2 + \sqrt{6},\; 2 - \sqrt{6}
  5. 5

    Plot the vertex, the intercepts and a pair of mirror points (the graph is symmetric about x = 2), then draw the smooth curve.

LaTeX source of the formulas on this page
\[ y = -x^2 + 4x + 2 \]
\[ y(0) = 2 \]
\[ x = \frac{-b}{2a} = 2,\qquad y = 6 \]
\[ x = 2 + \sqrt{6},\; 2 - \sqrt{6} \]

Table of values

xy
-1-3
02
15
26
35
42
5-3

Questions

What is the vertex of y = -x² + 4x + 2?

(2, 6). It is the maximum point of the parabola.

What is the axis of symmetry of y = -x² + 4x + 2?

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

Where does y = -x² + 4x + 2 cross the axes?

It crosses the y-axis at (0, 2). It crosses the x-axis at x = 2 + √6 and x = 2 - √6.

What are the domain and range of y = -x² + 4x + 2?

The domain is all real numbers. The range is y ≤ 6.

Is y = -x² + 4x + 2 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² + 4x + 2: vertex, intercepts and table of values | WordGPT