Find two numbers that multiply to give the product and add to give the sum.
Last updated: March 2026 | By ForgeCalc Engineering
We used the quadratic formula to solve: x² - (7)x + 12 = 0
Discriminant: b² - 4ac = 7² - 4(1)(12) = 1
The diamond problem is a visual algebraic puzzle used to factor quadratic expressions and solve for two numbers that satisfy specific conditions. It's commonly used in middle school and high school algebra classes to help students understand factoring.
In a diamond problem, you're given two values:
Your goal is to find the two numbers (left and right) that satisfy both conditions. This technique is particularly useful for factoring trinomials of the form x² + bx + c, where you need to find two numbers that multiply to c and add to b.
We need two numbers that multiply to 12 (the constant) and add to 7 (the coefficient of x).
We need two numbers that multiply to 6 and add to -5 (both must be negative).
We need two numbers that multiply to -10 and add to 3 (one positive, one negative).
When the discriminant is zero, both numbers are the same (perfect square trinomial).
When the discriminant (b² - 4ac) is negative, there are no real numbers that satisfy both conditions. This means the quadratic cannot be factored using real numbers.
Yes! The diamond problem can have decimal solutions. For example, if Product = 6 and Sum = 5, the answers are 2 and 3, but many other combinations result in decimals.
The visual representation forms a diamond shape with the product at top, sum at bottom, and the two unknown numbers on the left and right sides.
For x² + bx + c, you need numbers that multiply to c (product) and add to b (sum). This gives you the factors (x + first)(x + second).
This happens when the discriminant equals zero, indicating a perfect square trinomial like x² + 6x + 9 = (x + 3)².
Yes! When the product is negative, one number must be positive and one negative. For example: Product = -12, Sum = 1 gives you 4 and -3.
For a given product and sum, there are typically two solutions, but they're often just the same pair in different order (e.g., 3 and 4 vs. 4 and 3).
The calculator uses the quadratic formula and rounds to 4 decimal places. For exact fractional answers, you may need to simplify further.
Related Tools
Solve absolute value equations.
Solve absolute value inequalities.
Apply associative property.
Multiply using box method.
Complete the square method.
Find complex roots.