Fiveable

📘Intermediate Algebra Unit 6 Review

QR code for Intermediate Algebra practice questions

6.3 Factor Special Products

6.3 Factor Special Products

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

Factoring special products lets you break down certain expressions quickly by recognizing their structure instead of using trial and error. Three patterns show up constantly: perfect square trinomials, differences of squares, and sums/differences of cubes. Once you can spot these forms, factoring becomes much faster.

Factoring Special Products

Perfect Square Trinomial Factoring

A perfect square trinomial comes from squaring a binomial. It takes one of two forms:

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

The key feature is that middle term: it's always twice the product of the square roots of the first and last terms. That's how you confirm you're dealing with a perfect square trinomial and not just a regular trinomial.

Steps to factor:

  1. Check whether the first and last terms are both perfect squares. Find their square roots (aa and bb).
  2. Verify the middle term equals 2ab2ab. If it doesn't, this pattern doesn't apply.
  3. Look at the sign of the middle term:
    • Positive middle term → (a+b)2(a + b)^2
    • Negative middle term → (ab)2(a - b)^2

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

  • x2x^2 is a perfect square (root: xx). 99 is a perfect square (root: 33).
  • Middle term check: 2(x)(3)=6x2(x)(3) = 6x. That matches.
  • Middle term is positive, so the answer is (x+3)2(x + 3)^2.

Example: Factor x210x+25x^2 - 10x + 25.

  • Roots are xx and 55. Middle term check: 2(x)(5)=10x2(x)(5) = 10x. That matches.
  • Middle term is negative, so the answer is (x5)2(x - 5)^2.

This pattern is closely related to completing the square, which you'll use later to solve quadratic equations and rewrite them in vertex form.

Perfect square trinomial factoring, Trinomio cuadrado perfecto - Wikiversidad

Differences of Squares Factoring

A difference of squares is an expression of the form a2b2a^2 - b^2. It factors as:

a2b2=(a+b)(ab)a^2 - b^2 = (a + b)(a - b)

This works because when you multiply (a+b)(ab)(a + b)(a - b) using FOIL, the middle terms cancel out, leaving only a2b2a^2 - b^2. Notice there's no "sum of squares" version: a2+b2a^2 + b^2 does not factor over the real numbers.

Steps to factor:

  1. Confirm both terms are perfect squares and they're being subtracted.
  2. Find the square roots of each term (aa and bb).
  3. Write the factored form as (a+b)(ab)(a + b)(a - b).

Example: Factor x216x^2 - 16.

  • x2x^2 has root xx. 1616 has root 44. Subtraction? Yes.
  • Answer: (x+4)(x4)(x + 4)(x - 4).

The two factors (a+b)(a + b) and (ab)(a - b) are called conjugates. You'll see conjugates again when rationalizing denominators and working with complex numbers.

Perfect square trinomial factoring, Factor Special Products – Intermediate Algebra

Sums and Differences of Cubes

These patterns handle expressions where two terms are cubed:

  • 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 mnemonic: the first factor (a±b)(a \pm b) uses the same sign as the original expression. In the second factor, the signs follow the pattern opposite, always positive. So for a sum of cubes, you get ++, then -, ++. For a difference of cubes, you get -, then ++, ++.

Steps to factor:

  1. Confirm both terms are perfect cubes. Find their cube roots (aa and bb).

  2. Write the first factor using the same sign as the original: (a+b)(a + b) or (ab)(a - b).

  3. Build the second factor using the pattern:

    • Square the first cube root: a2a^2
    • Multiply the two cube roots with the opposite sign: ab\mp ab
    • Square the second cube root: +b2+ b^2

Example: Factor x3+8x^3 + 8.

  • Cube roots: xx and 22 (since 23=82^3 = 8).
  • First factor (same sign): (x+2)(x + 2).
  • Second factor: x22x+4x^2 - 2x + 4.
  • Answer: (x+2)(x22x+4)(x + 2)(x^2 - 2x + 4).

Example: Factor x327x^3 - 27.

  • Cube roots: xx and 33 (since 33=273^3 = 27).
  • First factor (same sign): (x3)(x - 3).
  • Second factor: x2+3x+9x^2 + 3x + 9.
  • Answer: (x3)(x2+3x+9)(x - 3)(x^2 + 3x + 9).

Additional Factoring Techniques

Before applying any special product pattern, always factor out the GCF first. For example, 2x2182x^2 - 18 doesn't look like a difference of squares at first, but pulling out the 2 gives you 2(x29)=2(x+3)(x3)2(x^2 - 9) = 2(x + 3)(x - 3).

Also watch for expressions that need factoring more than once. Something like x416x^4 - 16 is a difference of squares: (x2+4)(x24)(x^2 + 4)(x^2 - 4). But x24x^2 - 4 is itself a difference of squares, so the fully factored form is (x2+4)(x+2)(x2)(x^2 + 4)(x + 2)(x - 2).

When an expression doesn't match any special pattern and regular factoring methods don't work, the quadratic formula can still solve the related equation directly.