Skip to content
Study Hall
Lesson 4 of 4Quadratic Expressions
Unit 3 · Lesson 4 of 4

Perfect Squares and Difference of Squares

Recognize and factor perfect square trinomials and differences of squares , and combine every method in this unit into one factoring strategy.

5 min read12 practice questionsAsk AI about this →

Key things to remember

  1. 1Difference of squares: .
  2. 2Perfect square trinomials: and .
  3. 3Perfect square test: first and last terms are squares, the last term is positive, and the middle term is .
  4. 4A second-degree sum of squares such as has no binomial factors using real numbers.
  5. 5Factoring strategy: common factor first, count the terms, factor again where possible, then check by expanding.

Here is a trick for multiplying in your head. Write the numbers as and . A sum times a difference of the same two numbers loses its middle terms: In the same way, Both tricks use the special products from the first lesson. This lesson turns them around: when you can recognize an expression as one of these special patterns, you can factor it in one step, without searching through factor pairs.

Difference of squares

Expanding the right side shows why: The middle terms are opposites, so they cancel. To use the pattern, the expression must have exactly two terms, both must be perfect squares, and they must be subtracted. A perfect square is something that equals an expression times itself: , , . Find and by taking the square root of each term, then write one bracket with and one with . For example, and

a² − b²b² cutaabba − ba − bPQturn Q andmove it beside P(a + b)(a − b)PQablength a + ba − ba² − b² = (a + b)(a − b)same two pieces, so the same area
Fig 1A square of side a with a b by b corner removed has area a² − b². Cutting off the bottom strip and moving it to the side makes one rectangle a + b long and a − b wide.
A sum of squares is different
is a sum of two squares, not a difference. Brackets like give and gives , so no pair of binomials with integer numbers works. In fact a second-degree sum of squares such as or has no binomial factors using any real numbers at all. (A common factor can still come out: , and the bracket stops there.)
VideoSee why a sum times a difference loses its middle terms, and how to spot a difference of squares to factor it.Watch on YouTube

Perfect square trinomials

A perfect square trinomial is the result of squaring a binomial. You can recognize one in three checks: the first term is a perfect square (), the last term is a perfect square () and positive, and the middle term is twice the product of the square roots (), with either sign. The sign of the middle term becomes the sign in the bracket. Test : , , and , which matches the middle term. So . Now test : , but , not , so it is not a perfect square; it factors as instead. The product and sum method from the last lesson also works on a perfect square: for the pair is and , giving . Recognizing the pattern just gets you there faster.

ExpressionSquaresMiddle term testFactored
and ✓
and ✓
and ✓
and , not not a perfect square:
Testing for a perfect square trinomial
VideoLearn to recognize a perfect square trinomial and write it as the square of a binomial.Watch on YouTube

Factoring fully: one strategy for every expression

  1. Common factor first. Take out the GCF (and if the leading term is negative). This often reveals a pattern: .
  2. Count the terms in what is left. Two terms: is it a difference of squares? Three terms: is it a perfect square trinomial? If not, use product and sum, or decomposition when . Four terms: try grouping.
  3. Look inside every bracket to see whether it can be factored again: .
  4. Check by expanding your answer back to the original.

The patterns work with any expression in the place of or , not just single letters. In , the first square is and the second is , so and : Check by expanding both: and . Going beyond second-degree expressions, step 3 matters even more: because the first bracket is itself a difference of squares, while is a sum of squares and stops there.

Squares worth knowing on sight
are the squares of 1 to 12. A term like is , and is . A coefficient that is not a perfect square, such as or , will not fit a square pattern until you take out a common factor.

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Factor .
Example 2
Factor .
Example 3
Factor fully: .
Example 4
Factor fully: .

Where marks get lost

  • Factoring a sum of squares as if it were a difference: , because that product is .
  • Calling every trinomial with square first and last terms a perfect square: has , but its middle term would need to be .
  • Taking the square root of only the coefficient or only the variable: , not or .
  • Stopping too early: is not fully factored; the bracket is a difference of squares, so the answer is .
  • Missing a common factor that hides the pattern: is not a difference of squares as written, but contains one.

Flashcards 8

Difference of squares
Perfect square trinomial (plus)
Perfect square trinomial (minus)
Perfect square test
+ 4 more

Practice

1
Factor .
2
Factor .
3
Use a difference of squares to calculate without a calculator.
4
For what positive value of is a perfect square trinomial?
5
Which expression cannot be factored using real numbers?
6
Factor . Write your answer as a product of two brackets.
7
Factor fully: .
8
Match each expression with the best description of how it factors.
9
Use with and to calculate .
10
Which is a perfect square trinomial?
11
Put the steps of the factoring strategy in order.
  1. 1Count the terms and choose a method for what is left
  2. 2Check by expanding the answer
  3. 3Look inside each bracket and factor again if possible
  4. 4Take out the greatest common factor
12
Factor .

Spot a mistake on this page? Let us know