How the Diamond Problem works
A diamond problem is a small puzzle shaped like a rhombus, split into four cells: top, bottom, left, and right. The top cell holds a product and the bottom cell holds a sum. Your job is to find the two numbers — placed in the left and right cells — that multiply together to give the top value and add together to give the bottom value. Diamond problems are a standard warm-up drill in pre-algebra and Algebra 1 because they build exactly the skill needed to factor quadratic trinomials.
Formula and method
If the two unknown numbers are a and b, you need a × b = product and a + b = sum. Substituting b = sum − a into the product equation gives a quadratic in a, which means a and b are simply the two roots of x² − (sum)x + product = 0. By the quadratic formula, those roots are:
a, b = [sum ± √(sum² − 4 × product)] / 2
This calculator plugs your product and sum directly into that formula. For simple integer diamond problems you can also solve by listing factor pairs of the product and picking the pair that adds to the sum — the formula just automates that search and also handles non-integer or irrational answers.
Using it to factor a trinomial
To factor ax² + bx + c, put a × c in the top cell and b in the bottom cell. The two numbers you find (call them m and n) let you rewrite the middle term: ax² + mx + nx + c, which then factors by grouping. This is often called the "AC method" or "split the middle term" — the diamond is just a visual scaffold for organizing the search for m and n.
Common sources of error
- Mixing up top and bottom: the top cell is always the product (multiply), the bottom cell is always the sum (add) — swapping them gives a different (and usually unsolvable) problem.
- Sign errors: if the product is negative, the two numbers must have opposite signs; if the sum is negative and the product is positive, both numbers are negative.
- Assuming a real solution always exists: if sum² is smaller than 4 × product, no real number pair works — the discriminant is negative.
Checking your result
Once you have candidate numbers a and b, verify both conditions independently: add them to confirm a + b equals the sum you started with, then multiply them to confirm a × b equals the product. If either check fails, re-solve rather than rounding your way to a match.