Diamond Problem Calculator

Find two numbers given their product and sum.

Number 1 4
Number 2 3

Formula: Roots of t² − (sum)t + (product) = 0

Step-by-step with your numbers:
1. Values used:
2. Product = 12
3. Sum = 7
4.
5. Number 1 = 4
6. Number 2 = 3
Did we solve your problem today?

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.