Factor completely
Set up the two-number search. For a monic quadratic the factorisation is where and . Here and (the bare has coefficient ), so we need two numbers whose product is and whose sum is .
Let the signs cut the search in half. The product is negative, so the two numbers must have opposite signs. The sum is small and positive, so the positive number is the larger of the two in magnitude — by exactly .
List the opposite-sign factor pairs of and their sums.
Only and give the required sum, and ✓.
Write down the factorisation.
Check by expanding — this is where a wrong pair shows up. ✓. The middle coefficient is the sum and the constant is the product, so if the constant does not come back exactly, the pair was wrong. The identity was confirmed at every integer from to ✓.
Read off the roots. The expression is zero at and , so those are the solutions of . The discriminant is a perfect square — the guarantee that integer factors had to exist in the first place.
Need to solve a different problem like this? Open the solver →