Try it with your numbers
Show every step
Factoring is multiplication played backwards: you start with a sum of terms in a polynomial and rebuild the product that created it. That also means every answer can be graded by multiplying, which makes this one of the few algebra skills you can check yourself. The sections below follow the order in which the methods should be tried, and the quiz further down runs from easy to hard.
How do you factor a polynomial? The order that works
Use the same order every time. Each step strips away one kind of complexity, and skipping ahead is the most common way to land on an answer that is correct but unfinished.
- Pull out the greatest common factor, including a negative sign if the leading term is negative.
- Count the terms. Two terms suggest a difference of squares or cubes, three suggest a trinomial, and four suggest grouping.
- Look at every new factor and ask whether it splits again.
- Multiply back to confirm.
“Completely factored” means every factor is irreducible, which in most algebra courses means it cannot be split into polynomials with integer coefficients. Writing is only half the job. The finished form is , and graders mark the half-finished version wrong.
Factoring practice problems: take out the GCF first
The GCF takes the largest number that divides every coefficient, then the lowest power of each variable that appears in every term. Take . The numbers share a factor of , and the lowest power of is , so the GCF is .
The trinomial has and middle coefficient , so the split numbers are and : . Multiplying gives , as required. See factoring out the GCF for more on multi-variable cases.
Two traps cost points here. When the GCF equals a whole term, a stays behind: , not . And when the leading term is negative, take out the negative too, because is far easier to work with than the original.
Quick check
Answer:
Factoring trinomials with a leading 1: the sign rule
The pair-of-numbers rule is FOIL in reverse. Expanding gives
so the middle coefficient is the sum and the constant is the product. If that feels familiar, it should: it is the FOIL method read right to left.
The signs tell you where to look before you try any numbers. If is positive, and share a sign, and it matches the sign of . If is negative, and have opposite signs, and the one with the larger absolute value takes the sign of . For , the product is negative, so the signs differ. The pairs of are , , , , and only and differ by . The larger, , gets the minus sign:
For , list the pairs of and stop when one adds to : that is and . Both are negative because and , giving .
For a fuller treatment of this pattern, including odd cases with large constants, see factoring trinomials.
How do you factor when the leading coefficient is not 1?
Use the ac method. Multiply and , find two numbers with that product that add to , split the middle term with them, and factor by grouping. Try : here , and the pair with sum is and .
The step that trips people is the sign when grouping. The second pair, , must be factored as , with the minus sign taken out, or the two brackets will not match. If they do not match, the sign is the first thing to recheck. The full mechanics are in factoring by grouping, and the box method is a visual version some students find less error-prone.
Here is a useful sanity test. If the trinomial has no common factor, none of its factors can have one either. A candidate like for a trinomial with no GCF is wrong before you multiply. And if no pair of numbers hits both the product and the sum , the trinomial does not factor over the integers, so stop searching.
Difference of squares, perfect squares and cubes
These patterns are worth memorizing because they turn a search into a recognition.
| Pattern | Factored form |
|---|---|
For a difference of two squares, watch for a hidden second round. . The factor is a sum of squares and does not split over the real numbers, so the work stops there.
A perfect square trinomial passes a two-second test: the first and last terms are squares, and the middle term equals twice the product of their roots. For , the roots are and , and , so it equals . The cube patterns have a memory aid: the sign in the linear factor matches the original, the middle sign of the quadratic flips, and the last term is always plus. So , and the quadratic piece is irreducible. See sum and difference of cubes for more.
Quick check
Answer:
How can you check a factoring answer fast?

Multiplying back always works, but it is slow for long expressions. A faster check uses substitution. Putting into a polynomial just adds its coefficients, and the factored form must give the same value. For the value at is , and at is . A wrong guess like gives , so it is rejected instantly.
One agreeing value does not prove the answer, because a wrong factoring can match by accident. The reliable fact behind the trick is that two polynomials of degree that agree at different values of are identical. A quadratic therefore needs three matching values to be proven, though in practice two or three well-chosen tests, such as , and , catch nearly every slip.
Try this: Factor , then check it without expanding by substituting and into both the original and your answer. Both pairs of values should match.
When will a polynomial not factor?
For a quadratic , the discriminant decides. It factors over the integers only when the discriminant is a perfect square. For it equals , which is negative, so no real factors exist. For it equals , which is positive but not a perfect square, so the roots are irrational and no integer pair can work.
Before hunting for a pair, compute . If it is not a perfect square, stop: has no integer factorization.
Higher degrees need a different tool. For , the rational root theorem says any rational root divides , so test . At the value is , so by the factor theorem, is a factor. Dividing leaves , which factors as :
Multiplying returns , which confirms it.
Solving equations by factoring and where it is used

Factoring solves equations because of the zero product property: if , then or . Take . Move everything to one side first, since the property only works when the other side is zero:
So or . Checking : . Checking : . Both work.
The classic trap is skipping the zero. From you cannot conclude or , because the property says nothing about products equal to . A second trap is dividing both sides by a variable: dividing by loses the solution , so factor instead.
Factoring also appears in real settings. A rectangle with area has sides and , and a thrown ball’s height equation is solved for the landing time by factoring where possible. When the discriminant is not a perfect square, switch to the formula, with quadratic formula practice problems available for that.
Quick check
Answer: or
How should you practice factoring problems?
Recognition is what makes factoring fast, and recognition comes from varied repetition. Strong practice habits look like this:
- Work one type at a time for a few problems, then switch to mixed sets so you have to decide which method applies.
- Always run the substitution check, which takes ten seconds.
- Keep a short log of your errors, since most people repeat the same two or three: a lost sign, a skipped GCF, or stopping early.
When a problem stalls, return to the order from the first section rather than guessing pairs. Most stuck problems turn out to be a missed GCF or a hidden difference of squares. Aim for the quiz below to feel routine, then try the same problems again a few days later without notes.
Practice problems
0 of 10 solved
- Factor .
Answer:
The GCF of and is , and both terms contain . Divide each term by : and . Result: . - Factor .
Answer:
Find two numbers with product and sum . The pair and works. So . - Factor .
Answer:
The product is negative, so the signs differ. Need product and sum : and . So the factors are . - Factor .
Answer:
Both terms are perfect squares: and . Use to get . - Factor completely.
Answer:
Take out the GCF : . For the trinomial, product and sum gives and . So . - Factor .
Answer:
Multiply . Find two numbers with product and sum : and . Split the middle: . - Factor .
Answer:
Group: . Take out the common : . Then . - Factor .
Answer:
The first term is and the last is . The middle term is with a minus sign. So it is . - Factor .
Answer:
Write and use . That gives . The quadratic has discriminant , so it stops there. - Factor completely.
Answer:
Let : . Substitute back: . Each factor is a difference of squares, giving .
Common questions
What is the first step in factoring any polynomial?
Look for a greatest common factor and pull it out. Doing this first shrinks the numbers and often turns a hard trinomial into an easy one.
How do you know when a polynomial is completely factored?
When none of the factors can be split further into polynomials with integer coefficients. A quick test is to look at each remaining factor for a common factor, a difference of squares, or a quadratic whose discriminant is a perfect square.
How do you check if your factoring is right?
Multiply the factors back together and compare with the original. For a fast check, substitute and one other value into both the original and your factored form, and confirm the results match.
Why does a trinomial like not factor?
Its discriminant is , which is negative, so it has no real roots and cannot split into real linear factors. For integer factoring, the discriminant must be a perfect square.
What is the difference between factoring and solving?
Factoring rewrites an expression as a product and keeps its value. Solving an equation finds the values that make it true, and factoring is one tool for that when one side is zero.
What is the easiest way to factor when the leading coefficient is not 1?
Use the ac method: multiply and , find two numbers with that product that add to , split the middle term, then factor by grouping. If no such pair exists, the trinomial does not factor over the integers.