Factor into binomials:
Set up the AC product. When the leading coefficient is not , trial and error over binomials is slow. Multiply the leading coefficient by the constant term instead:
You now need two integers whose product is and whose sum is the middle coefficient .
Find the pair. Because the product is negative, the two numbers have opposite signs, and the larger magnitude must carry the minus sign to make the sum negative. Running through the factor pairs of — — the last one works:
Split the middle term using that pair. Replace by (the order does not matter, only the grouping that follows):
Group in pairs and factor each group.
The check that you split correctly is that both groups leave the same binomial . If they do not match, you picked the wrong pair or grouped the wrong way.
Factor out the shared binomial and verify.
Expanding back: , which matches. The roots are therefore and .
Need to solve a different problem like this? Open the solver →