Solve x² + x − 1 = 0

Quadratic equation, worked out line by line the way a teacher would write it.

Answer

Solutionsx = (−√5 − 1)/2, x = (√5 − 1)/2

Step-by-step solution

8 steps
  1. 1 Given
    x^{2} + x - 1 = 0

    Solve for x.

  2. 2 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = 1,\quad c = -1
  3. 3 Apply the quadratic formula
    x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
  4. 4 Substitute a, b and c
    x = \frac{-1 \pm \sqrt{1^{2} - 4 \cdot 1 \cdot (-1)}}{2 \cdot 1}
  5. 5 Compute the discriminant D = b² − 4ac
    D = 5

    Positive discriminant: two distinct real solutions.

  6. 6 Evaluate the square root and the denominator
    x = \frac{-1 \pm \sqrt{5}}{2}
  7. 7 Simplify
    x = \frac{- \sqrt{5} - 1}{2}\quad \text{or} \quad x = \frac{\sqrt{5} - 1}{2}
  8. 8 Check
    \begin{aligned}x = \frac{- \sqrt{5} - 1}{2}:\quad 0 = 0\quad\checkmark\\ x = \frac{\sqrt{5} - 1}{2}:\quad 0 = 0\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
(−√5 − 1)/200✓
(√5 − 1)/200✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.