QuickFreeTools

Online Diamond Problem Solver

Given the sum and product of two numbers (x+y and x×y), find x and y using the diamond method.

Enter x+y (sum) and x×y (product) to find x and y.

Frequently Asked Questions

What is the diamond problem?
You know x+y (sum) and x×y (product); the diamond method finds x and y by solving t² − (sum)t + product = 0.
When are there real solutions?
When (sum)² ≥ 4×product; otherwise the roots are complex.
Can x and y be decimals?
Yes. Enter sum and product as decimals; the solver works with real numbers.

Related Calculators