Math

Diamond Problem Calculator

Find two numbers given their product and sum.

Parameters Live Compute
Calculated Output
Number 1 4
Number 2 3
Formula: Roots of t² − (sum)t + (product) = 0
Step-by-Step Breakdown
1. Values used:
2. Product = 12
3. Sum = 7
4.
5. Number 1 = 4
6. Number 2 = 3
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

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.

Frequently Asked Questions

Why does this help with factoring?

For x² + bx + c, the diamond numbers (product c, sum b) are exactly the factors.

Advertisement