AlgebraIntermediate

Factoring Polynomials

Factoring is the process of rewriting an expression as a product of simpler expressions. It is the reverse of expanding brackets. Mastering factoring is essential for solving quadratic equations, simplifying fractions, and much of advanced algebra.

1 What Factoring Means

Factoring an expression means rewriting it as a multiplication. Just as 12 = 3 × 4, the polynomial x² + 5x + 6 = (x + 2)(x + 3). The factors (x + 2) and (x + 3) multiply together to give the original expression.

Why bother? Because factored form makes it trivial to find where an expression equals zero. If (x+2)(x+3) = 0, you immediately know x = -2 or x = -3. That same conclusion from x² + 5x + 6 = 0 requires more work. (where the expression equals zero), simplify fractions, and solve equations. If (x + 2)(x + 3) = 0, then x = −2 or x = −3 , immediate from factored form, but not obvious from x² + 5x + 6 = 0.

Factoring vs Expanding

Expanding: (x + 2)(x + 3) → x² + 5x + 6. Factoring: x² + 5x + 6 → (x + 2)(x + 3). They are inverse operations. FOIL (First, Outer, Inner, Last) is used to expand; factoring reverses this process.

2 Step 1: Always Check for GCF First

Before anything else, always check for a common factor. If all terms share one, factor it out first. This simplifies everything that comes after and is the most overlooked step. , this simplifies everything that follows.

GCF Factoring
Factor: 6x³ + 9x² − 3x
1Find the GCF of all terms: GCF(6, 9, 3) = 3; GCF(x³, x², x) = x; so GCF = 3x
2Factor out 3x: 3x(2x² + 3x − 1)
3Check by expanding: 3x(2x²) + 3x(3x) + 3x(−1) = 6x³ + 9x² − 3x ✓
Answer: 3x(2x² + 3x − 1)

3 Difference of Squares

When you see two perfect squares being subtracted, you can factor immediately using a² - b² = (a+b)(a-b). This one is worth recognizing on sight. It applies whenever you have two perfect squares being subtracted.

Difference of Squares
Factor: x² − 25
1Recognize a² − b²: x² − 25 = x² − 5²
2Apply the pattern: (x + 5)(x − 5)
3Check: (x + 5)(x − 5) = x² − 5x + 5x − 25 = x² − 25 ✓
Answer: (x + 5)(x − 5)
Trickier Difference of Squares
Factor: 4x² − 49
1Recognize: 4x² = (2x)² and 49 = 7²
2Apply pattern: (2x + 7)(2x − 7)
3Check: (2x)² − 7² = 4x² − 49 ✓
Answer: (2x + 7)(2x − 7)
Sum of squares doesn't factor

a² + b² does NOT factor over the real numbers. x² + 25 cannot be factored using real numbers. Only the DIFFERENCE of squares factors this way.

4 Factoring Trinomials

For x² + bx + c (leading coefficient 1): find two numbers that multiply to c and add to b. These numbers become the constants in the factors.

Simple Trinomial
Factor: x² + 7x + 12
1Find two numbers that multiply to 12 AND add to 7
2Pairs that multiply to 12: (1,12), (2,6), (3,4)
3Which pair adds to 7? 3 + 4 = 7 ✓
4Write the factors: (x + 3)(x + 4)
5Check: x² + 4x + 3x + 12 = x² + 7x + 12 ✓
Answer: (x + 3)(x + 4)
Trinomial with Negative Terms
Factor: x² − 5x + 6
1Need two numbers that multiply to +6 and add to −5
2Both must be negative (multiply to positive, add to negative)
3Pairs: (−1,−6) add to −7; (−2,−3) add to −5 ✓
4Factors: (x − 2)(x − 3)
Answer: (x − 2)(x − 3)

5 Factoring by Grouping

For four-term polynomials, group terms in pairs, factor each pair, then factor out the common binomial.

Factoring by Grouping
Factor: 2x³ + 4x² + 3x + 6
1Group: (2x³ + 4x²) + (3x + 6)
2Factor each group: 2x²(x + 2) + 3(x + 2)
3Factor out the common binomial (x + 2): (x + 2)(2x² + 3)
Answer: (x + 2)(2x² + 3)

Try the Quadratic Formula Calculator

Once a polynomial is factored, use the quadratic formula calculator to verify the roots.

Open Calculator →

Practice Problems

Factor: x² + 9x + 20
Find two numbers multiplying to 20 and adding to 9: 4 and 5. Answer: (x + 4)(x + 5)
Factor: x² − 16
Difference of squares: x² − 4² = (x + 4)(x − 4)
Factor: 2x² + 8x
GCF = 2x. Answer: 2x(x + 4)
Factor: x² − 3x − 18
Need numbers multiplying to −18 and adding to −3: −6 and +3. Answer: (x − 6)(x + 3)

Sources & Further Reading

The explanations on this page draw on the following established sources. We link to primary and secondary sources so you can verify claims and go deeper on any topic.