Skip to content
๐ŸŽฏโญ INTERACTIVE LESSON

Factoring Polynomials

Learn step-by-step with interactive practice!

Factoring Polynomials - Complete Interactive Lesson

Part 1: The Greatest Common Factor

๐Ÿงฉ Factoring Polynomials

Part 1 of 5 โ€” The Greatest Common Factor


Topics in This Part

Section
What Does "Factoring" Mean?
Finding the GCF of a Polynomial
Factoring Out the GCF
Why GCF Comes First

๐Ÿ”‘ Key Concept: Factoring is un-multiplying โ€” rewriting a sum of terms as a product. The first move in every factoring problem is to pull out the greatest common factor (GCF).

What Does "Factoring" Mean?

When you multiply, you turn a product into a sum:

3x(x+2)=3x2+6x3x(x + 2) = 3x^2 + 6x

Factoring runs that backward โ€” it turns a sum into a product:

3x2+6x=3x(x+2)3x^2 + 6x = 3x(x + 2)

The factored form 3x(x+2)3x(x+2) and the expanded form 3x2+6x3x^2+6x are equal for every value of xx โ€” they're just two ways of writing the same expression.

๐Ÿ’ก Why bother? A product equals zero only when one of its factors is zero. That's why factoring is the gateway to solving equations (Part 5) โ€” and to simplifying, graphing, and calculus later on.

Finding the GCF of a Polynomial

The greatest common factor of a polynomial has two pieces:

  1. The largest integer that divides every coefficient.
  2. The lowest power of each variable shared by every term.

Example: 12x3+18x212x^3 + 18x^2

TermCoefficientVariable part
12x312x^31212x3x^3
18x218x^21818x2x^2
  • GCF of 1212 and 1818 is 66.
  • Lowest power of xx present in both is x2x^2.

So the GCF is โ€‰6x2\,6x^2, and 12x3+18x2=6x2(2x+3)12x^3 + 18x^2 = 6x^2(2x + 3).

โš ๏ธ Take the lowest power, not the highest. Both terms must contain the factor you pull out, so x2x^2 (not x3x^3) is the most xx every term shares.

Concept Check ๐ŸŽฏ

What's Left Inside?

Once you pull out the GCF, the expression in parentheses is what remains after dividing each term by the GCF.

10x3โˆ’15x2+5xโŸGCF=5x=5x(2x2โˆ’3x+1โŸeachย termโ€‰รทโ€‰5x)\underbrace{10x^3 - 15x^2 + 5x}_{\text{GCF} = 5x} = 5x\big(\underbrace{2x^2 - 3x + 1}_{\text{each term} \,\div\, 5x}\big)

Term by term: 10x35x=2x2\dfrac{10x^3}{5x} = 2x^2, โ€…โ€Šโˆ’15x25x=โˆ’3x\;\dfrac{-15x^2}{5x} = -3x, โ€…โ€Š5x5x=1\;\dfrac{5x}{5x} = 1.

โš ๏ธ Don't drop the last 11. When a term equals the GCF, dividing leaves 11, not 00 โ€” that 11 must appear inside the parentheses.

What's Inside the Parentheses? ๐Ÿ”ฝ

After pulling out the GCF, choose the correct leftover factor.

Always Check by Re-Multiplying

After factoring, distribute back to confirm you recover the original:

7x(2x2+x+3)=14x3+7x2+21xโ€…โ€Šโœ“7x(2x^2 + x + 3) = 14x^3 + 7x^2 + 21x \;โœ“

๐Ÿ’ก This re-multiply check costs ten seconds and catches almost every GCF slip โ€” a wrong coefficient or a dropped 11 shows up immediately. Try the drill below, then check each by distributing.

Factor Out the GCF ๐Ÿงฎ

Each expression equals GCFโ‹…(โ€ฆ)\text{GCF} \cdot (\ldots). Enter the GCF only.

1) โ€…โ€Š6x2+9xโ€…โ€Šโ‡’โ€…โ€Š\;6x^2 + 9x \;\Rightarrow\; GCF =โ€‰?= \,? 2) โ€…โ€Š15y4โˆ’25y3โ€…โ€Šโ‡’โ€…โ€Š\;15y^4 - 25y^3 \;\Rightarrow\; GCF =โ€‰?= \,? 3) โ€…โ€Š14x3+7x2+21xโ€…โ€Šโ‡’โ€…โ€Š\;14x^3 + 7x^2 + 21x \;\Rightarrow\; GCF =โ€‰?= \,?

On to Trinomials

๐Ÿ”‘ Habit for life: Pull out the GCF first, every single time. A leftover common factor hides inside everything that follows โ€” and it makes the trinomials in Parts 2โ€“3 much friendlier.

In Part 2 we tackle the heart of factoring: turning x2+bx+cx^2 + bx + c into a product of two binomials.

Part 2: Trinomials with Leading Coefficient 1

๐Ÿงฉ Factoring Polynomials

Part 2 of 5 โ€” Trinomials with Leading Coefficient 1


๐Ÿ”‘ The Idea: To factor x2+bx+cx^2 + bx + c, find two numbers that multiply to cc and add to bb. Those two numbers become the constants in (x+_)(x+_)(x + \_)(x + \_).

The Sum-and-Product Method

x2+bx+c=(x+p)(x+q)wherepโ‹…q=cโ€…โ€Šย andย โ€…โ€Šp+q=bx^2 + bx + c = (x + p)(x + q) \quad\text{where}\quad p \cdot q = c \;\text{ and }\; p + q = b

This works because multiplying out gives:

(x+p)(x+q)=x2+(p+q)x+pq(x + p)(x + q) = x^2 + (p + q)x + pq

Worked Example: x2+7x+12x^2 + 7x + 12

Find two numbers that multiply to 1212 and add to 77.

Factor pair of 1212Sum
1,121, 121313
2,62, 688
3,43, 477 โœ“

The pair is 33 and 44, so x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x + 3)(x + 4).

โœ… Check: (x+3)(x+4)=x2+4x+3x+12=x2+7x+12(x+3)(x+4) = x^2 + 4x + 3x + 12 = x^2 + 7x + 12 โœ“

Reading the Signs

The signs of bb and cc tell you the signs of pp and qq before you start:

Sign of ccSign of bbBoth factors areโ€ฆ
++++both positive
++โˆ’-both negative
โˆ’-(either)one ++, one โˆ’- (bigger one matches bb's sign)

Example: x2โˆ’5x+6x^2 - 5x + 6

c=+6c = +6 (factors same sign) and b=โˆ’5b = -5 (negative), so both factors are negative: โˆ’2-2 and โˆ’3-3.

x2โˆ’5x+6=(xโˆ’2)(xโˆ’3)x^2 - 5x + 6 = (x - 2)(x - 3)

Example: x2+2xโˆ’15x^2 + 2x - 15

c=โˆ’15c = -15 (opposite signs). Need a pair differing to give +2+2: that's +5+5 and โˆ’3-3.

x2+2xโˆ’15=(x+5)(xโˆ’3)x^2 + 2x - 15 = (x + 5)(x - 3)

Predict the Signs ๐Ÿ”ฝ

Before factoring, decide the signs of the two constants in (xโ€‰โ–กโ€‰p)(xโ€‰โ–กโ€‰q)(x \,\square\, p)(x \,\square\, q).

Verify Every Factorization

The middle term is the quickest place a sign error shows up, so always FOIL back and watch it:

(x+5)(xโˆ’3)=x2โˆ’3x+5xโŸ+2xโˆ’15=x2+2xโˆ’15โ€…โ€Šโœ“(x + 5)(x - 3) = x^2 \underbrace{- 3x + 5x}_{+2x} - 15 = x^2 + 2x - 15 \;โœ“

๐Ÿ’ก If your inner-plus-outer terms don't recombine to the original middle term, swap a sign or reach for a different factor pair โ€” then re-check.

Factor the Trinomial ๐Ÿงฎ

Each factors as (x+p)(x+q)(x + p)(x + q) with pโ‰คqp \le q. Enter pp then qq (include the sign, e.g. -3).

1) x2+8x+15=(x+p)(x+q)x^2 + 8x + 15 = (x + p)(x + q) โ†’ p=โ€‰?p = \,?, โ€…โ€Šq=โ€‰?\;q = \,? 2) x2โˆ’9x+14=(x+p)(x+q)x^2 - 9x + 14 = (x + p)(x + q) โ†’ p=โ€‰?p = \,?, โ€…โ€Šq=โ€‰?\;q = \,?

Concept Check ๐ŸŽฏ

Part 3: Trinomials when a โ‰  1 (the AC Method)

๐Ÿงฉ Factoring Polynomials

Part 3 of 5 โ€” Trinomials when aโ‰ 1a \ne 1 (the AC Method)


๐Ÿ”‘ The Challenge: When the leading coefficient aa isn't 11, you can't just split the constant. The AC method (also called factoring by grouping) handles it every time.

The AC Method

To factor ax2+bx+cax^2 + bx + c:

  1. Multiply aโ‹…ca \cdot c.
  2. Find two numbers that multiply to acac and add to bb.
  3. Split the middle term bxbx using those two numbers.
  4. Group in pairs and factor each pair.
  5. Pull out the common binomial.

Worked Example: 6x2+11x+36x^2 + 11x + 3

  1. aโ‹…c=6โ‹…3=18a \cdot c = 6 \cdot 3 = 18.
  2. Two numbers multiplying to 1818, adding to 1111: โ€…โ€Š9\;9 and 22.
  3. Split: 6x2+9x+2x+36x^2 + 9x + 2x + 3.
  4. Group: (6x2+9x)+(2x+3)=3x(2x+3)+1(2x+3)(6x^2 + 9x) + (2x + 3) = 3x(2x + 3) + 1(2x + 3).
  5. Common binomial (2x+3)(2x+3): โ€…โ€Š(2x+3)(3x+1)\;(2x + 3)(3x + 1).

โœ… Check: (2x+3)(3x+1)=6x2+2x+9x+3=6x2+11x+3(2x+3)(3x+1) = 6x^2 + 2x + 9x + 3 = 6x^2 + 11x + 3 โœ“

Find the AC Split ๐Ÿงฎ

For each trinomial, compute acac, then give the two numbers (smaller first) that multiply to acac and add to bb.

1) 3x2+10x+83x^2 + 10x + 8: โ€…โ€Šac=โ€‰?\;ac = \,?, then the two numbers are โ€‰?\,? and โ€‰?\,?

A Worked Example with a Negative

Factor 4x2โˆ’4xโˆ’34x^2 - 4x - 3

  1. aโ‹…c=4โ‹…(โˆ’3)=โˆ’12a \cdot c = 4 \cdot (-3) = -12.
  2. Two numbers multiplying to โˆ’12-12, adding to โˆ’4-4: โ€…โ€Šโˆ’6\;-6 and +2+2.
  3. Split: 4x2โˆ’6x+2xโˆ’34x^2 - 6x + 2x - 3.
  4. Group: (4x2โˆ’6x)+(2xโˆ’3)=2x(2xโˆ’3)+1(2xโˆ’3)(4x^2 - 6x) + (2x - 3) = 2x(2x - 3) + 1(2x - 3).
  5. Common binomial: (2xโˆ’3)(2x+1)(2x - 3)(2x + 1).

โš ๏ธ Watch the grouping signs. When the third term is negative, factor so the leftover binomials match. Here +(2xโˆ’3)+(2x - 3) comes from factoring +1+1 out of (2xโˆ’3)(2x - 3) โ€” not โˆ’1-1.

โœ… Check: (2xโˆ’3)(2x+1)=4x2+2xโˆ’6xโˆ’3=4x2โˆ’4xโˆ’3(2x-3)(2x+1) = 4x^2 + 2x - 6x - 3 = 4x^2 - 4x - 3 โœ“

Walk the AC Method ๐Ÿ”ฝ

You're factoring 2x2+7x+62x^2 + 7x + 6. Choose what happens at each stage.

Concept Check ๐ŸŽฏ

Part 4: Special Patterns (difference of squares, perfect square trinomials, sum/difference of cubes)

๐Ÿงฉ Factoring Polynomials

Part 4 of 5 โ€” Special Patterns


๐Ÿ”‘ The Shortcut: A handful of forms factor instantly once you recognize them โ€” no trial and error. Learn to spot a difference of squares, a perfect square trinomial, and a sum/difference of cubes.

Difference of Squares

a2โˆ’b2=(a+b)(aโˆ’b)a^2 - b^2 = (a + b)(a - b)

Two perfect squares separated by a minus sign. (A sum of squares, a2+b2a^2 + b^2, does not factor over the real numbers.)

Examples

ExpressionRecognize asFactored
x2โˆ’9x^2 - 9x2โˆ’32x^2 - 3^2(x+3)(xโˆ’3)(x+3)(x-3)
4x2โˆ’254x^2 - 25(2x)2โˆ’52(2x)^2 - 5^2(2x+5)(2xโˆ’5)(2x+5)(2x-5)
x2โˆ’1x^2 - 1x2โˆ’12x^2 - 1^2(x+1)(xโˆ’1)(x+1)(x-1)

โš ๏ธ x2+9x^2 + 9 is prime over the reals โ€” there is no middle term to "lose," and a sum of squares has no real factorization.

Perfect Square Trinomials

a2+2ab+b2=(a+b)2a2โˆ’2ab+b2=(aโˆ’b)2a^2 + 2ab + b^2 = (a + b)^2 \qquad a^2 - 2ab + b^2 = (a - b)^2

A perfect square trinomial has a squared first term, a squared last term, and a middle term equal to twice the product of their square roots.

Examples

TrinomialFirst \sqrt{}Last \sqrt{}Middle checkFactored
x2+6x+9x^2 + 6x + 9xx332โ‹…xโ‹…3=6x2\cdot x\cdot 3 = 6x โœ“(x+3)2(x+3)^2
x2โˆ’10x+25x^2 - 10x + 25xx552โ‹…xโ‹…5=10x2\cdot x\cdot 5 = 10x โœ“(xโˆ’5)2(x-5)^2
9x2+12x+49x^2 + 12x + 43x3x222โ‹…3xโ‹…2=12x2\cdot 3x\cdot 2 = 12x โœ“(3x+2)2(3x+2)^2

๐Ÿ’ก If the middle term doesn't match 2ab2ab, it isn't a perfect square โ€” fall back to the AC method.

Concept Check ๐ŸŽฏ

Sum & Difference of Cubes

a3+b3=(a+b)(a2โˆ’ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2) a3โˆ’b3=(aโˆ’b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)

A handy memory device is SOAP: the binomial sign is the Same, the linear sign is Opposite, and the last sign is Always Positive.

Worked Example: x3+8x^3 + 8

Here a=xa = x and b=2b = 2 (since 23=82^3 = 8):

x3+8=(x+2)(x2โˆ’2x+4)x^3 + 8 = (x + 2)(x^2 - 2x + 4)

Worked Example: 8x3โˆ’278x^3 - 27

Here a=2xa = 2x (since (2x)3=8x3(2x)^3 = 8x^3) and b=3b = 3:

8x3โˆ’27=(2xโˆ’3)((2x)2+(2x)(3)+32)=(2xโˆ’3)(4x2+6x+9)8x^3 - 27 = (2x - 3)\big((2x)^2 + (2x)(3) + 3^2\big) = (2x - 3)(4x^2 + 6x + 9)

๐Ÿ’ก The quadratic factor a2โˆ“ab+b2a^2 \mp ab + b^2 almost never factors further โ€” leave it as is.

Match the Pattern ๐Ÿ”ฝ

Identify which special pattern fits each expression.

Apply the Cube Formula ๐Ÿงฎ

For x3โˆ’64=(xโˆ’b)(x2+bx+b2)x^3 - 64 = (x - b)(x^2 + bx + b^2), identify bb and fill in the quadratic factor.

1) b=โ€‰?b = \,? (since b3=64b^3 = 64) 2) The constant term of the quadratic factor, b2=โ€‰?b^2 = \,?

Part 5: A Strategy, Solving, & Mastery Check (with Exit Quiz)

๐Ÿงฉ Factoring Polynomials

Part 5 of 5 โ€” A Strategy, Solving, & Mastery Check


You can now (1) pull out a GCF, (2) factor simple trinomials, (3) use the AC method, and (4) spot special patterns. The last skill is choosing which tool to reach for โ€” and using factoring to solve.

The Factoring Game Plan

Work through these in order, every time:

StepAskIf yesโ€ฆ
1Is there a GCF?Factor it out first.
2Two terms?Try difference of squares or sum/difference of cubes.
3Three terms?Use sum-and-product (a=1a=1) or the AC method (aโ‰ 1a\ne 1); check for a perfect square.
4Four terms?Try grouping.
5AlwaysRe-check each factor โ€” can anything factor further?

โš ๏ธ Factor completely. After pulling a GCF, the inside often still factors. Example: 3x2โˆ’27=3(x2โˆ’9)=3(x+3)(xโˆ’3)3x^2 - 27 = 3(x^2 - 9) = 3(x+3)(x-3) โ€” three layers, not one.

Factoring Four Terms by Grouping

When a polynomial has four terms, group them in pairs and factor each pair, then pull out the shared binomial.

Worked Example: x3+3x2+2x+6x^3 + 3x^2 + 2x + 6

(x3+3x2)โŸx2(x+3)+(2x+6)โŸ2(x+3)=x2(x+3)+2(x+3)=(x+3)(x2+2)\underbrace{(x^3 + 3x^2)}_{x^2(x+3)} + \underbrace{(2x + 6)}_{2(x+3)} = x^2(x + 3) + 2(x + 3) = (x + 3)(x^2 + 2)

โœ… Check: (x+3)(x2+2)=x3+2x+3x2+6=x3+3x2+2x+6(x+3)(x^2+2) = x^3 + 2x + 3x^2 + 6 = x^3 + 3x^2 + 2x + 6 โœ“

Solving Equations by Factoring

The Zero-Product Property says: if Aโ‹…B=0A \cdot B = 0, then A=0A = 0 or B=0B = 0.

Worked Example: solve x2+3xโˆ’10=0x^2 + 3x - 10 = 0

  1. Factor: (x+5)(xโˆ’2)=0(x + 5)(x - 2) = 0.
  2. Set each factor to zero: x+5=0x + 5 = 0 or xโˆ’2=0x - 2 = 0.
  3. Solve: x=โˆ’5x = -5 or x=2x = 2.

โš ๏ธ One side must be zero first. To solve x2+3x=10x^2 + 3x = 10, move everything over โ†’ x2+3xโˆ’10=0x^2 + 3x - 10 = 0 before factoring. The Zero-Product Property only works against 00.

Solve by Factoring ๐Ÿงฎ

Factor, then use the Zero-Product Property. Enter the larger solution.

1) x2โˆ’xโˆ’12=0โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?x^2 - x - 12 = 0 \;\Rightarrow\; x = \,? (larger root) 2) x2โˆ’16=0โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?x^2 - 16 = 0 \;\Rightarrow\; x = \,? (larger root)

Mixed Practice ๐ŸŽฏ

Exit Quiz โœ…

Answer all three to finish the lesson.