How does it work?
If two numbers p and q multiply to P and add to S, they solve x² − Sx + P = 0. The quadratic formula gives them directly.
x = (S ± √(S² − 4P)) ÷ 2
Using it to factor a quadratic
To factor x² + bx + c, find two numbers that multiply to c and add to b. For x² + 7x + 12, those are 3 and 4, so it factors to (x + 3)(x + 4).
Frequently asked questions
What multiplies to −6 and adds to −4?
No whole numbers do. The real answers are −2 ± √10, about 1.162 and −5.162.
What multiplies to 12 and adds to 7?
3 and 4.
What if there's no real answer?
When S² − 4P is negative, the two numbers are complex. The calculator shows them.