Solve x² − 4x − 5 = 0

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

Answer

Solutionsx = −1, x = 5

Step-by-step solution

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

    Solve for x.

  2. 2 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = -4,\quad c = -5
  3. 3 Factor the trinomial: find two numbers whose product is c = -5 and whose sum is b = -4
    (-5) \cdot 1 = -5,\qquad (-5) + 1 = -4
  4. 4 Write the factored form
    \left(x - 5\right) \left(x + 1\right) = 0
  5. 5 Zero product property: a product is 0 only when one of its factors is 0
    x - 5 = 0\quad \text{or} \quad x + 1 = 0
  6. 6 Add 5 to both sides
    x = 5

    Move the constant terms to the right.

  7. 7 Subtract 1 from both sides
    x = -1

    Move the constant terms to the right.

  8. 8 Check
    \begin{aligned}x = -1:\quad 0 = 0\quad\checkmark\\ x = 5:\quad 0 = 0\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
−100✓
500✓
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.