Algebra · real student question

Solve x2 + 5x + 6 = 0.

Question

Solve for xx:

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

Step-by-step solution

  1. Set up the factoring search. For a monic quadratic x2+bx+cx^2+bx+c we need two numbers whose product is c=6c=6 and whose sum is b=5b=5. Because c>0c>0 and b>0b>0, both numbers must be positive.

  2. Find the pair. The positive factor pairs of 66 are (1,6)(1,6) summing to 77, and (2,3)(2,3) summing to 55. The second pair works:

    23=6,2+3=52\cdot 3=6,\qquad 2+3=5

  3. Write the factorization.

    x2+5x+6=(x+2)(x+3)=0x^2+5x+6=(x+2)(x+3)=0

  4. Apply the zero product property. A product of real numbers is zero only if one of the factors is zero:

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

    Both branches must be kept — the equation has two distinct roots.

  5. Check both, and confirm with Vieta. (2)2+5(2)+6=410+6=0(-2)^2+5(-2)+6=4-10+6=0 ✓ and (3)2+5(3)+6=915+6=0(-3)^2+5(-3)+6=9-15+6=0 ✓. The roots also sum to 5=b-5=-b and multiply to 6=c6=c, as they must.

Answer

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

Need to solve a different problem like this? Open the solver →