Factor and hence solve
Set up the target form. A monic quadratic that factors over the integers can be written
Expanding the right side gives , so the two unknowns are pinned down by two conditions rather than guessed.
Read off the sum and product conditions. Comparing coefficients:
Equivalently, in the form you need two numbers whose product is and whose sum is ; those numbers are and .
Use the signs to narrow the search fast. The product is positive, so the two numbers share a sign; the sum is negative, so both must be negative. The only negative factor pair of is , and indeed and . Hence
Check the factorisation by expanding.
The middle coefficient comes from the two cross terms and ; this expansion step is what makes the "how did you get that" question answerable.
Apply the zero-product property. A product equals zero only when one of its factors is zero:
Substituting back: and . The quadratic formula gives the same pair, .
Need to solve a different problem like this? Open the solver →