WordGPT

Solve -x² + 4x + 2 = 0

The solutions of -x² + 4x + 2 = 0 are x = 2 + √6 or x = 2 - √6, that is x ≈ -0.44948974 and x ≈ 4.4494897.

x² +x += 0
−x2+4x+2=0⇒x=2+6, 2−6-x^2 + 4x + 2 = 0 \Rightarrow x = 2 + \sqrt{6},\ 2 - \sqrt{6}
Discriminant D = 24 · x ≈ -0.44949, 4.44949

Change a, b or c (whole numbers, a not 0) and the exact solutions follow.

Graph of y = -x² + 4x + 2-2-1123456-20-15-10-55x = -0.44948974x = 4.4494897vertexy = -x² + 4x + 2
Graph of y = -x² + 4x + 2. The curve crosses the x-axis at x = -0.44948974 and x = 4.4494897; the vertex is at (2, 6).

How to work it out

  1. 1

    Write it in standard form a x² + b x + c = 0 and read off the coefficients: a = -1, b = 4, c = 2.

    −x2+4x+2=0-x^2 + 4x + 2 = 0
  2. 2

    Work out the discriminant D = b² − 4ac. Its sign tells you how many real solutions there are.

    D=42−4⋅(−1)⋅2=16+8=24D = 4^2 - 4\cdot(-1)\cdot2 = 16 + 8 = 24
  3. 3

    D is positive, so there are two different real solutions.

  4. 4

    The quadratic formula works for every quadratic:

    x=−b±D2a=−4±24−2x = \frac{-b \pm \sqrt{D}}{2a} = \frac{-4 \pm \sqrt{24}}{-2}
  5. 5

    Simplify (pull the square out of the root) to get the solutions:

    x=2+6orx=2−6x = 2 + \sqrt{6}\quad\text{or}\quad x = 2 - \sqrt{6}
  6. 6

    As decimals: x ≈ -0.44948974 and x ≈ 4.4494897.

  7. 7

    Check numerically: for x ≈ -0.44948974 the left side is 1.110223e-15 (zero up to rounding) ✓

LaTeX source of the formulas on this page
\[ -x^2 + 4x + 2 = 0\ \Rightarrow\ x = 2 + \sqrt{6},\ 2 - \sqrt{6} \]
\[ -x^2 + 4x + 2 = 0 \]
\[ D = 4^2 - 4\cdot(-1)\cdot2 = 16 + 8 = 24 \]
\[ x = \frac{-b \pm \sqrt{D}}{2a} = \frac{-4 \pm \sqrt{24}}{-2} \]
\[ x = 2 + \sqrt{6}\quad\text{or}\quad x = 2 - \sqrt{6} \]

The parabola y = -x² + 4x + 2

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

Questions

What are the solutions of -x² + 4x + 2 = 0?

The solutions of -x² + 4x + 2 = 0 are x = 2 + √6 or x = 2 - √6, that is x ≈ -0.44948974 and x ≈ 4.4494897.

Does -x² + 4x + 2 = 0 factor?

Not over the integers, because the discriminant 24 is not a perfect square. Use the quadratic formula.

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

(2, 6). The parabola opens downwards, so this is the maximum.

What are the sum and product of the roots?

Sum = −b/a = 4, product = c/a = -2.

Similar equations

    Solve -x² + 4x + 2 = 0: x = 2 + √6 or x = 2 - √6 (steps) | WordGPT