Factoring Polynomials: Strategies, Examples, and How to Spot the Right Method
A step-by-step guide to factoring polynomials in Algebra I and II: GCF, factoring trinomials, difference of squares, perfect-square trinomials, and factor by grouping.
Why factor polynomials?
Factoring rewrites a polynomial as a product of simpler polynomials. The process is the reverse of expanding (FOIL or distribution). Factoring matters because once a polynomial is in factored form, you can:
- Solve polynomial equations using the zero-product property: if , then or .
- Identify the -intercepts of the corresponding graph.
- Simplify rational expressions by canceling common factors.
This article walks through the five techniques you should reach for, in roughly the order you should try them.
Step 0: Always factor out the GCF first
Before anything else, look for a greatest common factor (GCF) shared by every term — a number, a power of , or both. Pulling it out makes the remaining polynomial smaller and often easier to factor further.
Example 1. Factor .
Both terms share :
Example 2. Factor .
The GCF is :
After factoring out , the remaining trinomial factors further (Method 1 below).
Method 1: Factoring trinomials
For a monic trinomial (leading coefficient ), look for two numbers that multiply to and add to . Those numbers become the constants of the two factors.
Example 3. Factor .
Find two numbers that multiply to and add to . Those are and :
Example 4. Factor .
We need numbers that multiply to and add to . Both are negative: and .
If is negative, the two factors have opposite signs.
Method 2: Factoring trinomials (with )
When the leading coefficient is not , the most reliable approach is the AC method:
- Multiply .
- Find two numbers that multiply to and add to .
- Split the middle term into those two pieces.
- Factor by grouping.
Example 5. Factor .
- .
- Find numbers that multiply to and add to : those are and .
- Split: .
- Group: .
You can sanity-check by FOILing: . ✓
Method 3: Difference of squares
Whenever you see , factor on sight using
This pattern only works for a difference; does not factor over the real numbers.
Example 6. Factor .
This is , so .
Example 7. Factor .
Recognize this as :
Method 4: Perfect-square trinomials
If a trinomial fits the pattern
you can factor it as a single square. The middle term is the giveaway: it must be exactly times the product of the square roots of the first and last terms.
Example 8. Factor .
The first and last terms are perfect squares ( and ), and the middle term equals . ✓ So .
Example 9. Factor .
First term is , last term is , middle is . ✓ So .
Method 5: Factor by grouping (four-term polynomials)
When you have four terms, try grouping them in pairs and factoring each pair.
Example 10. Factor .
Group: .
Both pieces share , so factor it out:
If the two binomials don't match after the first grouping, try rearranging the terms before pairing.
A quick decision flow
When you see a polynomial, work through this short list:
- Always factor out the GCF first. Do not skip this — it makes everything simpler.
- Two terms? Check for a difference of squares.
- Three terms with leading coefficient ? Try Method 1 (find numbers that multiply to and add to ).
- Three terms with leading coefficient ? Use the AC method (Method 2). Also check if it is a perfect-square trinomial.
- Four terms? Try grouping.
If none of these works, the polynomial may be prime (not factorable over the integers), or you may need higher-degree techniques like synthetic division or the rational root theorem (Algebra II topics).
Common mistakes
- Forgetting the GCF. . Skipping the GCF makes the next steps harder and the factored form incomplete.
- Trying to "factor" a sum of squares. is not . Sums of squares do not factor over the real numbers (only over the complex numbers).
- Mixing up signs in difference of squares. , not . The two factors have opposite signs in front of .
- Not checking by expanding. After factoring, multiply your factors back out. If you don't recover the original polynomial, something went wrong.
Practice Yourself
Try each one on paper first, then click Show answer to check your work.
- 1Practice problem 1
Factor completely.
Show answerHide answer
GCF is : .
- 2Practice problem 2
Factor .
Show answerHide answer
Difference of squares: .
- 3Practice problem 3
Factor .
Show answerHide answer
Find two numbers that multiply to and add to : those are and . So .
- 4Practice problem 4
Factor using the AC method.
Show answerHide answer
. Find numbers that multiply to and add to : and . Split: . Group: .
- 5Practice problem 5
Factor by grouping.
Show answerHide answer
Group: . Note: does not factor further over the reals.
Related Topics
Frequently Asked Questions
Which method should I try first?
Always factor out the GCF first. Then count terms: two terms hint at difference of squares, three terms point to trinomial factoring, and four terms suggest grouping.
Does every polynomial factor over the integers?
No. Some polynomials are prime — they cannot be factored into lower-degree polynomials with integer coefficients. is a classic example. Over the complex numbers, it factors as .
How is factoring related to solving equations?
Once you factor into a product of pieces, the zero-product property says each piece equals zero. Setting each factor equal to zero gives you all the solutions.
How do I know if a trinomial is a perfect square?
Check three things: the first term is a perfect square, the last term is a perfect square, and the middle term equals times the product of the two square roots. If all three match, the trinomial factors as .
What is the AC method?
A reliable way to factor when . You multiply , find two numbers that multiply to that product and add to , split the middle term, and factor by grouping.
Want to keep going?
Try a different problem with the AI Math Solver, browse the practice library, or return to High School Math.