Solve x² − 5x + 6 = 0

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

Answer

Solutionsx = 2, x = 3

Step-by-step solution

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

    Solve for x.

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

    Move the constant terms to the right.

  7. 7 Add 2 to both sides
    x = 2

    Move the constant terms to the right.

  8. 8 Check
    \begin{aligned}x = 2:\quad 0 = 0\quad\checkmark\\ x = 3:\quad 0 = 0\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
200✓
300✓
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.