WordGPT

Solve -x² - 4x + 4 = 0

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

x² +x += 0
−x2−4x+4=0⇒x=−2+22, −2−22-x^2 - 4x + 4 = 0 \Rightarrow x = -2 + 2\sqrt{2},\ -2 - 2\sqrt{2}
Discriminant D = 32 · x ≈ -4.82843, 0.828427

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

Graph of y = -x² - 4x + 4-6-4-22-20-15-10-5510x = -4.8284271x = 0.82842712vertexy = -x² - 4x + 4
Graph of y = -x² - 4x + 4. The curve crosses the x-axis at x = -4.8284271 and x = 0.82842712; the vertex is at (-2, 8).

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 = 4.

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

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

    D=(−4)2−4⋅(−1)⋅4=16+16=32D = (-4)^2 - 4\cdot(-1)\cdot4 = 16 + 16 = 32
  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±32−2x = \frac{-b \pm \sqrt{D}}{2a} = \frac{4 \pm \sqrt{32}}{-2}
  5. 5

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

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

    As decimals: x ≈ -4.8284271 and x ≈ 0.82842712.

  7. 7

    Check numerically: for x ≈ -4.8284271 the left side is 0 (zero up to rounding) ✓

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

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

xy
-5-1
-44
-37
-28
-17
04
1-1

Questions

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

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

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

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

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

(-2, 8). 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 = -4.

Similar equations

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