The definition, structure, why teachers use diamond problems in algebra, and how they connect to factoring quadratic trinomials — with examples at every level.
◆ Try the Solver →A diamond problem (also called an X-puzzle, diamond puzzle, or X-method in algebra) is a visual math exercise where four numbers are arranged in a diamond (rhombus) shape. The structure is always:
Top: A × B (the product of the two side numbers) · Bottom: A + B (their sum) · Left: Factor A · Right: Factor B
In most diamond problems, two of the four values are given and students must find the other two. The most common version gives the product (top) and sum (bottom) and asks students to find both factors.
Diamond problems are most closely associated with CPM (College Preparatory Mathematics), a widely used algebra curriculum developed in California. CPM introduced the diamond problem format as a structured way to develop students' ability to find two numbers that satisfy both a multiplication and an addition condition simultaneously — the core skill needed for factoring quadratic trinomials.
The visual diamond layout makes the product-sum relationship explicit and memorable. Rather than presenting factoring abstractly, diamond problems give students a concrete, visual format to practice the underlying skill before they encounter the full complexity of polynomial factoring.
Type 1 — Given both factors, find product and sum. The simplest case. Multiply the two given numbers (product goes at top), then add them (sum goes at bottom). Example: A = 5, B = 3 → top = 15, bottom = 8.
Type 2 — Given product and sum, find both factors. The classic challenge. Requires applying sign rules, listing factor pairs, and finding the pair whose sum matches. Example: top = 12, bottom = 7 → A = 3, B = 4.
Type 3 — Given three values, find the fourth. Use the relationship between the known values directly. Example: A = 6, sum = 10 → B = sum − A = 4, product = 6 × 4 = 24.
The reason diamond problems appear in algebra curricula is their direct connection to factoring x² + bx + c. The product in the diamond equals c (the constant term). The sum equals b (the x-coefficient). The two factors you find become the constants in the factored form (x + A)(x + B).
Factor x² + 7x + 12: set up diamond with product = 12, sum = 7. Solve: A = 3, B = 4. Therefore x² + 7x + 12 = (x + 3)(x + 4). The diamond problem and the factoring step are the same task expressed differently.
Product = 10, Sum = 7 → Factor pairs of 10: (1,10)→11 ✗ · (2,5)→7 ✓ → Answer: A = 2, B = 5
Product = −24, Sum = −2 → Sign rule: negative product → opposite signs. Factor pairs: (−6, 4)→−2 ✓ → Answer: A = 4, B = −6
Factor x² + 3x − 10 → Diamond: product = −10, sum = 3 → Opposite signs, positive larger → (5,−2)→3 ✓ → x² + 3x − 10 = (x + 5)(x − 2)
Enter any product and sum — get both factors with a full step-by-step solution.
◆ Open Solver →