Advanced Factoring

Difference of Squares

A difference of squares is a special factoring pattern: one perfect square minus another perfect square.

The difference of squares formula

The pattern is a² − b² = (a − b)(a + b). The middle terms cancel when the brackets are expanded, leaving only the two squares.

How to spot and factor it

  1. Check that there are two terms separated by subtraction.
  2. Confirm that both terms are perfect squares.
  3. Take the square root of each term.
  4. Write one minus bracket and one plus bracket.

Worked example

Factor x² − 16

  1. x² is the square of x.
  2. 16 is the square of 4.
  3. Use the same terms with opposite signs.

x² − 16 = (x − 4)(x + 4).

Common mistakes

  • Using the rule for a sum of squares.
  • Forgetting one plus and one minus sign.
  • Missing a GCF that should be factored out first.

Practice more

Build fluency with more factoring and quadratic questions, or create an account to track mastery and build a streak.