Algebra
How to Factor Polynomials: A Step-by-Step Method Checklist
By MathSolver Pro Editorial Team · Published
Factoring is multiplication in reverse. Work through a fixed checklist, starting with the greatest common factor, and almost every polynomial you meet in algebra can be broken into simple factors.
Why factoring matters
To factor a polynomial is to write it as a product of simpler polynomials. Expanding gives ; factoring goes the other way. The factored form is often far more useful: it shows the roots of an equation immediately, simplifies rational expressions by cancelling common factors, and reveals where a graph crosses the x-axis.
Every factorization can be checked by multiplying the factors back out. If the expansion does not reproduce the original polynomial exactly, something is wrong, so make that check a habit.
The factoring checklist
Teachers and textbooks order the techniques in slightly different ways, but the following checklist works for nearly every polynomial in a first algebra course. Apply it in order and repeat on each factor until nothing more factors.
- Take out the greatest common factor (GCF) of all terms.
- Count the terms. Two terms: look for a difference of squares or a sum or difference of cubes.
- Three terms: look for a perfect square trinomial, then use the product-sum search or the AC method.
- Four terms: try grouping.
- Degree three or more with no obvious pattern: use the rational root test and polynomial division.
- Check each factor again, then multiply out to verify.
Step 1: the greatest common factor
Always begin here. Find the largest number that divides every coefficient and the lowest power of each variable that appears in every term.
Example:
- The GCF of 6, 9 and 15 is 3, and every term contains at least , so the GCF is .
- Divide each term by : .
- The bracket is a trinomial, so continue with the checklist: .
- Final answer: .
If the leading coefficient is negative, factor out a negative GCF. is much easier than working with a negative term.
Trinomials with leading coefficient 1
For , find two numbers and with and . Then .
- : 3 and 4 multiply to 12 and add to 7, so the factors are .
- : and 3 multiply to and add to , so the factors are .
- : and , giving .
Signs give a shortcut. If is positive, both numbers share the sign of . If is negative, the numbers have opposite signs and the larger one in size takes the sign of .
Trinomials with any leading coefficient: the AC method
When , multiply by , find two numbers with product and sum , use them to split the middle term, then factor by grouping.
Example:
- . Two numbers with product 24 and sum are and .
- Split the middle term: .
- Group in pairs: .
- Factor out the common bracket: .
- Check: .
A trinomial with integer coefficients factors over the integers exactly when is a perfect square. For the discriminant is , a perfect square, so the search must succeed. If the discriminant is not a perfect square, stop searching and use the quadratic formula instead.
Special products to recognise
Three patterns appear so often that it pays to know them on sight:
- .
- : apply the pattern twice.
- , because , and .
- and .
A sum of two squares such as does not factor over the real numbers. Its discriminant is , which is negative.
Four terms: factoring by grouping
Split the polynomial into two pairs, take the GCF of each pair, and look for a common bracket.
Example:
- Group: .
- Factor each pair: .
- Take out the common bracket: .
- The second factor is a difference of squares: .
If the brackets do not match, try rearranging the terms into different pairs before giving up.
Higher degree: the rational root test
For a polynomial with integer coefficients, any rational root in lowest terms has dividing the constant term and dividing the leading coefficient. Test candidates until one gives zero, then divide it out.
Example:
- Candidates: .
- Test : , so is a factor.
- Divide (synthetic division with 3): the quotient is .
- Factor the quotient by the AC method: .
- Final answer: , with roots , and .
The polynomial calculator performs the division step by step if you want to compare.
Common factoring mistakes
- Forgetting the GCF, which leaves a harder trinomial and an incomplete answer.
- Stopping too early: is not finished, because factors again.
- Treating like a difference of squares.
- Sign slips in grouping: , not .
- Not checking by expansion. Multiplying out takes seconds and catches every one of the errors above.
Try your own polynomials in the factoring calculator, which shows which method it used at each step, and use factored forms to simplify rational expressions.
How to tell when a polynomial will not factor
Not every polynomial factors over the integers, and recognising that early saves a lot of time. For a quadratic with integer coefficients, compute the discriminant . If it is a perfect square, the quadratic factors into linear factors with rational coefficients. If it is positive but not a perfect square, the roots are irrational and the quadratic is called irreducible over the rationals; if it is negative, it does not factor over the real numbers at all.
For example, has discriminant , which is not a perfect square, so no pair of integers multiplies to 1 and adds to 3. Its roots, , come from the quadratic formula. The sum of squares has discriminant and does not factor over the reals, although it does factor as over the complex numbers.
For cubics and higher degrees, the rational root test gives a finite list of candidates. If none of them is a root, the polynomial has no linear factor with rational coefficients, though a quartic could still split into two quadratics.
Why factoring matters later
Factoring is not an isolated topic. Solving polynomial equations relies on the zero product property: if , then or . Simplifying rational expressions depends on cancelling common factors. Finding the x-intercepts and sign behaviour of a polynomial graph uses the factored form directly, and in calculus, limits of the form are often resolved by factoring and cancelling.
As an example, cannot be evaluated by substitution, but factoring the numerator as and cancelling leaves , so the limit is 4. Partial fractions in integration also start by factoring the denominator completely.
Always check a factorisation by expanding it. Multiplying out takes less time than factoring and catches sign errors immediately.
To check a factorisation of your own, enter it into the factoring calculator or expand your answer with the simplify calculator.
Frequently asked questions
What should I always do first when factoring?
Take out the greatest common factor. It makes every later step easier and is required for a complete factorization.
How can I tell if a quadratic will factor nicely?
Compute . With integer coefficients, the quadratic factors over the integers exactly when this number is a perfect square such as 0, 1, 4, 9 or 16.
Does factor?
Not over the real numbers. A sum of squares has no real roots. Over the complex numbers it factors as .
How do I know when I have factored completely?
Check every factor against the checklist again. When no factor has a common factor, a special-product pattern, or a rational root, the factorization is complete.
What is the first thing to do when factoring?
Always look for a greatest common factor first, including a negative sign if the leading coefficient is negative. Taking it out makes the remaining polynomial smaller and often reveals a familiar pattern such as a difference of squares or a simple trinomial.
Is x squared plus 9 factorable?
Not over the real numbers. A sum of two squares has a negative discriminant, so it has no real roots and no real linear factors. Over the complex numbers it factors as .