Factoring polynomials is the bridge between algebra and almost everything that follows — solving equations, simplifying rational expressions, integrating in calculus. This guide goes through the six standard techniques in order, so when you see a polynomial you have a checklist instead of a guess.
The decision tree
For any polynomial, ask in this order:
- Common factor? Pull it out first.
- Two terms → difference of squares / cubes.
- Three terms → perfect square or integer-pair search.
- Four terms → grouping.
- High-degree → rational root test, then synthetic division.
Following this order saves time and prevents missed factorisations.
Method 1: Greatest common factor (GCF)
Always pull out the GCF first. It simplifies everything else.
Example: Factor .
- GCF of is . GCF of is .
- Combined GCF: .
- .
- Now factor the inner quadratic: find numbers multiplying to and adding to . Try and : ✓.
- Final: .
Method 2: Difference of squares
If you see , immediately apply
Example: .
Watch for hidden squares: .
Method 3: Sum and difference of cubes
Example: .
The middle term in the trinomial factor often confuses students — it has the opposite sign from the original cubes' sign, then a positive last term.
Method 4: Perfect square trinomial
Example: — recognise because and .
This pattern shows up everywhere in calculus (completing the square, Gaussian integrals).
Method 5: Integer-pair search for
Find two numbers that multiply to and add to .
Example: Factor .
- Pairs of : . Pair adds to . ✓
- Result: .
For with , use the AC method: find pair multiplying to and adding to , split the middle term, factor by grouping.
Method 6: Factoring by grouping
Used when you have four terms. Group in pairs, factor each pair, hope for a common binomial.
Example: Factor .
- Group: .
- Common factor : .
Grouping also handles trinomials when the AC method requires splitting the middle term.
Method 7 (advanced): Rational root theorem
For higher-degree polynomials with integer coefficients, the rational root theorem says any rational root has dividing the constant term and dividing the leading coefficient. Test those candidates with synthetic division — once you find one root , is a factor and you can reduce the polynomial's degree.
Example: Factor .
- Possible rational roots: .
- Test : . ✓ So is a factor.
- Synthetic division gives , which factors as .
- Final: .
Common mistakes
- Forgetting to pull out the GCF first — leads to ugly factoring and missed simplification.
- Sign errors in difference of squares — . Many students accidentally write the perfect-square form.
- Trying to factor primes. Not every quadratic factors over the integers. has no real factorisation. Switch to the quadratic formula or accept "irreducible."
- Stopping after one pass. Always check whether each factor can be factored further (especially after pulling out a GCF — the inner expression often factors again).
Practice with our solver
Drop any polynomial into the free Factoring Calculator and we'll show every step, including which method we tried and why. Pair it with the Quadratic Solver when factoring fails for second-degree.
For specific worked examples:
- Factor x² + 7x + 12
- Factor x² - 16
- Solve x² + 5x + 6 = 0 (factoring + zero product property)