Knaph

Factoring62 of 1002 min read

Difference of Squares

Omar sees 49−x249 - x^2 and wonders if it can become two brackets. There is no middle term, which is odd. What kind of product has no middle term at all?

The pattern and why it works

A difference of squares is one square taken from another: A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B). Multiply the brackets to see why: (A−B)(A+B)=A2+AB−AB−B2(A - B)(A + B) = A^2 + AB - AB - B^2. The two middle terms cancel.

So x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3).

A big square of side a with a small square of side b cut from its corner, leaving an L shape, labelled a² − b². Beside it reads (a + b)(a − b) = a² − b².

Bigger pieces

AA and BB can be anything that squares to the term. 9x2−25y2=(3x)2−(5y)2=(3x−5y)(3x+5y)9x^2 - 25y^2 = (3x)^2 - (5y)^2 = (3x - 5y)(3x + 5y).

The order can be turned around: 49−x2=72−x2=(7−x)(7+x)49 - x^2 = 7^2 - x^2 = (7 - x)(7 + x). Check: (7−x)(7+x)=49−x2(7 - x)(7 + x) = 49 - x^2.

A sum does not factor

x2+9x^2 + 9 is a sum of squares. Try (x+3)(x+3)(x + 3)(x + 3): it gives x2+6x+9x^2 + 6x + 9. Try (x+3)(x−3)(x + 3)(x - 3): it gives x2−9x^2 - 9. Neither is x2+9x^2 + 9, and no other bracket works, so it stays as it is.

Your turn: 16a2−116a^2 - 1. Answer: (4a−1)(4a+1)(4a - 1)(4a + 1).

Careful

x2−9x^2 - 9 is not (x−3)2(x - 3)^2. That would have a middle term −6x-6x.

Try it at home

  1. Pick two numbers, like 12 and 8, and work out 12² − 8².
  2. Now work out (12 − 8)(12 + 8). Do you get the same number?
  3. Try it with two numbers of your own.

Words in this lesson

  • difference of squares - one perfect square taken away from another, like x2−9x^2 - 9.

Big idea

A difference of squares factors as A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B), but a sum of squares does not factor.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.