◆ X Method Tool

X Method Calculator

The X method (also called the diamond method or X game) solves trinomial factoring instantly. Enter your product and sum — get both missing numbers with full steps.

Product (×) 12 Sum (+) 7 A 3 B 4

What Is the X Method?

The X method is a factoring technique where you draw a large X (or diamond) shape, write the product (A × B) at the top and the sum (A + B) at the bottom, then find the two numbers A and B that satisfy both conditions. Those numbers become the factors in the binomial form (x + A)(x + B).

You may know this same method as the diamond method, diamond problem, or X game — different teachers and curricula use different names, but the math is identical. The diamond problem solver handles all three versions instantly.

X Method, Diamond Method, X Game — What's the Difference?

X Method

Name used in many US high school curricula. The shape is drawn as a large X with two diagonal lines crossing. Product goes at the top of the X, sum at the bottom.

Diamond Method

Same technique — shape drawn as a rotated square (diamond). Common in CPM (College Preparatory Mathematics) curriculum. Identical structure, different visual orientation.

🎮

X Game

Informal name used by students and some teachers. Identical structure to the X method and diamond method — fill in the missing two numbers from the product and sum.

All three use the same rule: top = product (A × B), bottom = sum (A + B). This calculator works for all three.

How to Use the X Method Step by Step

Five steps — works for any trinomial, including negatives.

1

Write the Trinomial

Identify b and c in x² + bx + c. The X method uses c as the top value (product) and b as the bottom value (sum) in the X diagram.

2

Fill the X Diagram

Draw your X shape. Place c (the product A × B) at the top and b (the sum A + B) at the bottom. The left and right sections hold the unknowns.

3

Find A and B

Find two numbers A and B where A × B = top value AND A + B = bottom value. Apply sign rules: same signs if product is positive, opposite signs if negative. Also works for factor diamond problems.

4

Write the Factors

The trinomial factors as (x + A)(x + B). If A or B is negative, the sign is included in the binomial — e.g. (x − 2)(x − 3) when A = −2 and B = −3.

5

Verify

Expand (x + A)(x + B) using FOIL. You should recover the original trinomial exactly. If not, recheck your sign rules or factor pairs.

X Method Calculator Examples

Three worked examples using the X method.

X Method Example 1

x² + 7x + 12

12 7 3 4

Top = 12, bottom = 7 → A = 3, B = 4

(x + 3)(x + 4)
X Method Example 2

x² − 5x + 6

6 −5 −2 −3

Both factors negative (positive product, negative sum) → A = −2, B = −3

(x − 2)(x − 3)
X Method Example 3

x² + x − 12

−12 1 4 −3

Opposite signs (negative product) → larger positive: A = 4, B = −3

(x + 4)(x − 3)

Frequently Asked Questions About the X Method Calculator

Yes — the X method and diamond method are the same technique with different names. Both use a four-cell shape (diamond or X) where the top holds the product and the bottom holds the sum. Different teachers and curricula use different names for the same method.
The X game is another name for the X method (also called the diamond method). Students fill in a large X shape with a product on top and sum on bottom, then find the two missing numbers. It is used to factor trinomials of the form x² + bx + c.
The X method calculator takes the product (top value) and sum (bottom value) from your X diagram and instantly finds the two missing numbers — with a full step-by-step explanation of how they were found.
Yes. The calculator fully supports negative numbers. If your product is negative (e.g. −12) or your sum is negative (e.g. −5), the correct signs are applied automatically and shown in the step-by-step solution.

Ready to use the X method calculator?

Open the free tool — enter product and sum, get both factors with every step shown.

◆ Open X Method Tool →