Algebra 2 practice

Difference of Squares: Formula and How to Factor

The formula: a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b) — any two perfect squares separated by a minus factor in one move. Here's how to spot the pattern (including 9x2−169x^2 - 16 and x4−16x^4 - 16), the traps, then practice with explained feedback.

Start practicing — free

No login, no card. Open Algebra 2 and pick the tile.

What you'll practice

A difference of squares is a two-term expression where both terms are perfect squares separated by a minus sign, like x2−49x^2 - 49. It factors in one move: a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b). These questions train you to spot the pattern fast — including coefficients (9x2−169x^2 - 16) and two-variable forms (4x2−25y24x^2 - 25y^2).

Worked example

Factor x2−49x^2 - 49.

  1. Check both terms are perfect squares: x2=(x)2x^2 = (x)^2 and 49=(7)249 = (7)^2. ✓
  2. Check the sign between them is minus. ✓
  3. Apply the pattern a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b) with a=xa = x, b=7b = 7.
  4. x2−49=(x+7)(x−7)x^2 - 49 = (x+7)(x-7). Check: (x+7)(x−7)=x2−7x+7x−49=x2−49(x+7)(x-7) = x^2 - 7x + 7x - 49 = x^2 - 49. ✓

Common mistakes

  • Trying to factor a SUM of squares: x2+49x^2 + 49 does not factor over the reals — the pattern needs a minus.
  • Forgetting the coefficient is squared too: 9x2−16=(3x+4)(3x−4)9x^2 - 16 = (3x+4)(3x-4), not (9x+4)(x−4)(9x+4)(x-4).
  • Stopping too early: x4−16=(x2+4)(x2−4)x^4 - 16 = (x^2+4)(x^2-4), and x2−4x^2 - 4 factors again into (x+2)(x−2)(x+2)(x-2).

Try a few

1. Factor x2−81x^2 - 81.

  • (x+9)(x−9)(x+9)(x-9)
  • (x−9)(x−9)(x-9)(x-9)
  • (x+9)(x+9)(x+9)(x+9)
  • (x+3)(x−27)(x+3)(x-27)

2. Factor 9x2−169x^2 - 16.

  • (3x+4)(3x−4)(3x+4)(3x-4)
  • (9x+4)(x−4)(9x+4)(x-4)
  • (3x−4)(3x−4)(3x-4)(3x-4)
  • (3x+8)(3x−2)(3x+8)(3x-2)

3. Factor 4x2−25y24x^2 - 25y^2.

  • (2x+5y)(2x−5y)(2x+5y)(2x-5y)
  • (4x+5y)(x−5y)(4x+5y)(x-5y)
  • (2x−5y)(2x−5y)(2x-5y)(2x-5y)
  • (2x+25y)(2x−y)(2x+25y)(2x-y)

Want more — with instant scoring and a streak?

FAQ

What is the difference of squares formula?
a² − b² = (a + b)(a − b). Any two perfect squares separated by a minus sign factor this way: x² − 49 = (x + 7)(x − 7).
How do you recognize a difference of squares?
Two terms, both perfect squares, separated by a minus sign. If any of those three checks fails, the pattern doesn't apply.
Does a sum of squares factor?
Not over the real numbers. x² + 49 stays as it is — only the difference pattern factors into (a+b)(a−b).
Is Cramzoo free?
Cramzoo is free to start — every unit opens with free skills and no account is needed. This particular skill is part of Premium ($6/month or $30/year), which unlocks every skill plus the parent progress dashboard.
How is this different from IXL?
No punishing score. A wrong answer gives you a step-by-step explanation, not a number that drops — and every question is double-checked for accuracy before it reaches you.

Related Algebra 2 skills

Ready to practice?

Every question reviewed. Mistakes turn into explanations, never a score that punishes you for trying.

Start practicing — free

No login, no card. Open Algebra 2 and pick the tile.