algebra · worked example

Solve x² + 5x + 6 = 0

Method: factoring. Verified step-by-step solution with our free AI math solver.
Problem

x2+5x+6=0x^2 + 5x + 6 = 0

Step-by-step solution

  1. Look for two numbers that multiply to 66 (the constant term) and add to 55 (the linear coefficient).

  2. The pair 22 and 33 satisfies both: 2×3=62 \times 3 = 6 and 2+3=52 + 3 = 5.

  3. Factor the quadratic: x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x + 2)(x + 3).

  4. Set each factor to zero: x+2=0x + 2 = 0 or x+3=0x + 3 = 0.

  5. Solve each: x=2x = -2 or x=3x = -3.

Answer

x=2orx=3x = -2 \quad \text{or} \quad x = -3

Want to solve a different problem? Open the quadratic solver →

Related worked examples

  • /solve/algebra/x2-minus-9
  • /solve/algebra/2x2-minus-3x-minus-2