Diamond Problem Calculator
Find two numbers given their product and sum.
The classic diamond problem: find two numbers that multiply to one value and add to another.
The math behind it
The two numbers are the roots of t² − (sum)t + (product) = 0. Solve with the quadratic formula.
Worked example
Product 12, sum 7 → the numbers are 3 and 4.
FAQ
Why does this help with factoring?
For x² + bx + c, the diamond numbers (product c, sum b) are exactly the factors.