Fiveable

🔟Elementary Algebra Unit 7 Review

QR code for Elementary Algebra practice questions

7.4 Factor Special Products

7.4 Factor Special Products

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🔟Elementary Algebra
Unit & Topic Study Guides

Factoring special products is about recognizing specific patterns in polynomials and applying formulas to break them into simpler factors. Once you can spot these patterns quickly, factoring becomes much faster and more reliable than trial and error.

Factoring Special Products

Factoring perfect square trinomials

A perfect square trinomial is what you get when you square a binomial. Recognizing one lets you factor it instantly instead of guessing.

The two forms are:

  • a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a + b)^2
  • a22ab+b2=(ab)2a^2 - 2ab + b^2 = (a - b)^2

To check whether a trinomial is a perfect square:

  1. Confirm the first and last terms are both perfect squares.
  2. Take the square roots of those two terms.
  3. Multiply those square roots together and double the result.
  4. If that matches the middle term (ignoring sign), you have a perfect square trinomial.
  5. The sign of the middle term tells you whether the binomial uses ++ or -.

Example: Factor x2+6x+9x^2 + 6x + 9

  • x2x^2 is a perfect square (a=xa = x), and 99 is a perfect square (b=3b = 3).
  • Twice the product of the square roots: 2(x)(3)=6x2(x)(3) = 6x. That matches the middle term.
  • So x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2.

Example: Factor 9x212x+49x^2 - 12x + 4

  • 9x29x^2 is a perfect square (a=3xa = 3x), and 44 is a perfect square (b=2b = 2).
  • Twice the product: 2(3x)(2)=12x2(3x)(2) = 12x. The middle term is 12x-12x, so the sign is negative.
  • So 9x212x+4=(3x2)29x^2 - 12x + 4 = (3x - 2)^2.
Factoring perfect square trinomials, Factor Special Products – Intermediate Algebra

Sums and differences of cubes

These formulas let you factor expressions where two cubed terms are added or subtracted. They're worth memorizing because you can't factor cubes by the same methods you use for squares.

  • Sum of cubes: a3+b3=(a+b)(a2ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2)
  • Difference of cubes: a3b3=(ab)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)

A helpful way to remember the signs: the first factor matches the sign in the original expression. In the second factor (the trinomial), the first term is always positive, the middle term has the opposite sign of the original, and the last term is always positive.

SOAP mnemonic: The signs in the factored form follow the pattern Same, Opposite, Always Positive.

Example: Factor x3+8x^3 + 8

  1. Identify the cube roots: x3a=xx^3 \to a = x and 8b=28 \to b = 2 (since 23=82^3 = 8).

  2. Write the first factor with the same sign: (x+2)(x + 2).

  3. Build the trinomial: x22x+4x^2 - 2x + 4.

  4. Result: x3+8=(x+2)(x22x+4)x^3 + 8 = (x + 2)(x^2 - 2x + 4).

Example: Factor 64m312564m^3 - 125

  1. Cube roots: 64m3a=4m64m^3 \to a = 4m and 125b=5125 \to b = 5.

  2. First factor (same sign as original): (4m5)(4m - 5).

  3. Trinomial (opposite, always positive): (4m)2+(4m)(5)+52=16m2+20m+25(4m)^2 + (4m)(5) + 5^2 = 16m^2 + 20m + 25.

  4. Result: 64m3125=(4m5)(16m2+20m+25)64m^3 - 125 = (4m - 5)(16m^2 + 20m + 25).

Factoring perfect square trinomials, Trinomio cuadrado perfecto - Wikiversidad

Recognition of special product patterns

Before you can apply a formula, you need to identify which pattern you're looking at. Here's a quick reference:

PatternFormHow to Spot It
Perfect square trinomiala2±2ab+b2a^2 \pm 2ab + b^2Three terms; first and last are perfect squares; middle term is twice the product of their roots
Difference of squaresa2b2a^2 - b^2Two terms, both perfect squares, separated by a minus sign
Sum of cubesa3+b3a^3 + b^3Two terms, both perfect cubes, separated by a plus sign
Difference of cubesa3b3a^3 - b^3Two terms, both perfect cubes, separated by a minus sign
Keep a mental list of common perfect squares (1,4,9,16,25,36,49,64,81,1001, 4, 9, 16, 25, 36, 49, 64, 81, 100) and perfect cubes (1,8,27,64,1251, 8, 27, 64, 125). Recognizing these numbers quickly is half the battle.

Note: There is no "sum of squares" formula. An expression like a2+b2a^2 + b^2 does not factor over the real numbers.

Methods for complete polynomial factoring

When you're given a polynomial to factor completely, follow these steps in order:

  1. Factor out the GCF first. Always look for a greatest common factor before anything else. This simplifies what's left and can reveal a special pattern hiding underneath.

  2. Count the terms and look for patterns.

    • Two terms: check for difference of squares, sum of cubes, or difference of cubes.
    • Three terms: check for a perfect square trinomial; if not, use trial and error or the ac method.
    • Four terms: try factoring by grouping.
  3. Factor each resulting factor again. After your first round of factoring, check whether any factor can be broken down further.

Example: Factor 2x3+6x28x2x^3 + 6x^2 - 8x completely.

  1. GCF is 2x2x: 2x3+6x28x=2x(x2+3x4)2x^3 + 6x^2 - 8x = 2x(x^2 + 3x - 4)

  2. The trinomial x2+3x4x^2 + 3x - 4 isn't a perfect square, so factor it normally. You need two numbers that multiply to 4-4 and add to 33: that's 44 and 1-1.

  3. Result: 2x(x+4)(x1)2x(x + 4)(x - 1)

Example: Factor 3x375x3x^3 - 75x completely.

  1. GCF is 3x3x: 3x375x=3x(x225)3x^3 - 75x = 3x(x^2 - 25)

  2. x225x^2 - 25 is a difference of squares: (x+5)(x5)(x + 5)(x - 5)

  3. Result: 3x(x+5)(x5)3x(x + 5)(x - 5)

The key habit is to always pull out the GCF first. Many students skip this step and then struggle to spot the special pattern that's buried inside.