WordGPT

Solve -x² + 4x + 1 = 0

The solutions of -x² + 4x + 1 = 0 are x = 2 + √5 or x = 2 - √5, that is x ≈ -0.23606798 and x ≈ 4.236068.

x² +x += 0
−x2+4x+1=0⇒x=2+5, 2−5-x^2 + 4x + 1 = 0 \Rightarrow x = 2 + \sqrt{5},\ 2 - \sqrt{5}
Discriminant D = 20 · x ≈ -0.236068, 4.23607

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

Graph of y = -x² + 4x + 1-2-1123456-15-10-55x = -0.23606798x = 4.236068vertexy = -x² + 4x + 1
Graph of y = -x² + 4x + 1. The curve crosses the x-axis at x = -0.23606798 and x = 4.236068; the vertex is at (2, 5).

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

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

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

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

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

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

    As decimals: x ≈ -0.23606798 and x ≈ 4.236068.

  7. 7

    Check numerically: for x ≈ -0.23606798 the left side is -4.4408921e-16 (zero up to rounding) ✓

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

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

xy
-1-4
01
14
25
34
41
5-4

Questions

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

The solutions of -x² + 4x + 1 = 0 are x = 2 + √5 or x = 2 - √5, that is x ≈ -0.23606798 and x ≈ 4.236068.

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

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

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

(2, 5). 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 = -1.

Similar equations

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