Try it with your numbers
Show every step
The method is a tidy way to handle factoring trinomials whose leading coefficient is not , where guessing binomials by trial and error turns slow. It never asks you to guess. It asks you to search a short, finite list.
Why does the box method work for factoring?

Multiplication is the whole story. When you expand as an area model, the four cells of the rectangle hold , , and . This is the same bookkeeping as the FOIL method, laid out spatially instead of in a line. The two outer products of FOIL are exactly the two middle cells.
Now look at what those cells have in common. The two diagonals of any such box multiply to the same value:
So the two middle cells, and , multiply to and add to . That is the entire reason you hunt for two numbers with product and sum . They are the two middle cells, and the box tells you where they live.
Factoring runs the area model backwards. Each row of a filled box is a common factor times a piece of the second binomial, so the GCF of a row or column recovers one term of a factor. This is the same idea behind multiplying polynomials with a grid, reversed.
Quick check
Answer: and
Box method factoring step by step
Here is the full procedure:
- Pull out any common factor from all three terms first.
- Compute , the leading coefficient times the constant.
- Find and with and .
- Draw a box. Put top left, bottom right, and and in the other two cells, in either order.
- Take the GCF of each row and each column. Give each the sign that makes its cells come out right.
- Read one binomial from the row labels and the other from the column labels.
Example 1. Factor . Here and . The numbers have opposite signs, and the positive one is larger. Factor pairs of are ; ; ; , and only works. So and .
Row 1 has and , with GCF . Row 2 has and , with GCF . Column 1 has and , with GCF . Column 2 has and , with GCF . The completed box is:
Every cell equals its row label times its column label, which confirms the work. The row labels give and the column labels give :
The step that most often goes wrong is the one before the box: pulling out a common factor. A leftover common factor makes large and the search painful, and forgetting to write it back at the end makes the answer wrong.
How do you find the two middle numbers with negatives?
Two signs decide everything: the sign of and the sign of . Read them first and half the candidates disappear.
| The two numbers | ||
|---|---|---|
| positive | positive | both positive |
| positive | negative | both negative |
| negative | positive | opposite signs, larger is positive |
| negative | negative | opposite signs, larger is negative |
When is positive, the numbers are added, so you look for factor pairs of whose sum is . When is negative, the numbers are subtracted, so you look for pairs whose difference is . List pairs from the outside in and stop at the first hit, because there is only ever one pair that works.
Example 2. Factor . Here and , so both numbers are negative. Pairs of are and , and only fits, so and .
Put and on the diagonal and and in the other cells. Row 1 has GCF and row 2 has GCF . Column 1 has GCF and column 2 has GCF :
The answer is . The sign trap lives in the bottom row: the GCF must be , not , or the cells and cannot both be produced.
Quick check
Answer: and
Box method factoring with a common factor or negative lead
A trinomial like looks like it needs , but every term is even. Take out first and the numbers shrink.
Example 3. Factor . Pull out to get . Now and , and with product , so and . Row 1 has GCF , row 2 has GCF , column 1 has GCF , and column 2 has GCF :
So , and the complete answer is:
A negative leading coefficient gets the same treatment. For , factor out to get . Then , , , and the box gives . Check: , so the outer restores the original.
When does box method factoring fail?
Some trinomials do not factor over the integers, and the box cannot create a factoring that does not exist. The sign that you have hit one is that no factor pair of gives the right sum or difference. Since the list of pairs is finite, you can prove failure rather than just give up.
Take . Here , and the pairs and differ by and . You need , so nothing works. The trinomial is prime over the integers.
The numbers and are the roots of , so . If is a perfect square, the trinomial factors over the integers.
Test it on Example 1: , so , exactly as found. For , , which is not a square, so you can stop at once. This ties factoring directly to the quadratic formula, and a negative discriminant means no real roots at all.
For large coefficients, the rational root theorem offers a second route: list the candidate roots and test them, instead of scanning factor pairs of a three-digit .
Box method vs factoring by grouping and special cases
The box and factoring by grouping are the same algebra in different clothing. Grouping splits the middle term into and factors in pairs. For Example 1:
The four terms and the final factors are identical to the box. The box keeps like terms aligned and shows you the sign of each GCF, which is why many students make fewer sign errors with it.
If , the box has two identical middle cells and the answer is a square. For , and , giving .
The box also handles the cases around ordinary trinomials. A difference of two squares like has a middle cell pair of and that cancel, which gives . A perfect square trinomial is the case above. And a four-term polynomial like fits the box directly: rows and , columns and , giving .
How do you check a box method factoring answer?

Multiplying out the factors always works, but there are faster checks. Before you expand anything, confirm that the first terms of your binomials multiply to and the last terms multiply to . If either fails, the box was misread.
The fastest full test is a number substitution. Pick and compare both sides. For Example 1, the trinomial gives , and the factors give . Try as well: and . A wrong sign in one binomial almost always breaks at least one of these.
Try this: Factor with the box method. Then test your answer at and by evaluating both the trinomial and your factors, and see whether the four numbers agree.
Two cautions when using substitution. Avoid , because it only tests the constant term. And a match at one value does not prove the factoring, since unrelated expressions can agree at a point, but a match at two or three well-chosen values makes an error very unlikely.
Quick check
Answer:
Where is factoring trinomials used in real problems?
Any time an area has a quadratic expression, factoring recovers its dimensions. If a rectangular garden has area square feet, its sides are and feet. At that is a by garden with area , and the trinomial gives .
The bigger use is solving equations. Setting and using the factored form gives or , so or . These roots come straight from the factors, which is the content of the factor theorem: is a root exactly when is a factor. Notice also that the numerators and divide the constant and the denominators and divide the leading coefficient , as the rational root theorem predicts.
The same grid extends to two variables, as in . To build speed, work through a set of factoring practice problems and aim to read the sign pattern before you list a single factor pair.
Practice problems
0 of 5 solved
- Factor with the box method.
Answer:
Here and , so and . The box holds , , and . Rows give and , columns give and , so the answer is . - Factor .
Answer:
and , so and . Rewrite as . The first row has GCF and the second has GCF , which gives . - Factor .
Answer:
and , so and . Rewrite as . The answer is . - Factor .
Answer:
and , so and . Rewrite as . The answer is . - Factor completely: .
Answer:
Pull out first: . For the trinomial, and , so and . Then , so the full answer is .
Common questions
What is the box method for factoring?
It is a grid version of splitting the middle term. You find two numbers that multiply to and add to , place them in a box with and , then read the two binomials from the GCF of each row and column.
Does the order of the two middle terms in the box matter?
No. Swapping the two middle cells only swaps which binomial you write first, and multiplication is commutative, so the product is identical. The signs matter far more than the order.
Can the box method factor a trinomial when ?
Yes. When the box still works, though simply finding two numbers that multiply to and add to is usually faster. The box earns its place when is not and guessing binomials gets messy.
What do I do if no pair of numbers works?
The trinomial is probably prime over the integers. Check : if it is not a perfect square, no integer factoring exists and you can stop searching.
How do I handle a negative leading coefficient?
Factor out first so the trinomial starts with a positive coefficient, then run the box on what remains. Keep the in front of your final answer.
Is the box method the same as factoring by grouping?
They use the same four terms. The box arranges the split middle term in a grid, while grouping writes it in a line and factors in pairs. Both give the same result.