Difference of Squares

Difference of squares is the factoring pattern a² - b² = (a + b)(a - b). In Intermediate Algebra, you use it to factor binomials, simplify expressions, and solve polynomial equations faster.

Last updated July 2026

What is Difference of Squares?

Difference of squares is a special factoring pattern in Intermediate Algebra that shows up when you have two perfect squares with a subtraction sign between them. If an expression looks like a² - b², you can rewrite it as (a + b)(a - b).

The main thing to notice is that both terms must be perfect squares, and the expression must be a difference, not a sum. So x² - 49 works because 49 is 7², and the factored form is (x + 7)(x - 7). But x² + 49 does not fit this pattern, because addition does not factor this way over the real numbers.

This pattern works because of the distributive property. If you multiply (a + b)(a - b), the middle terms cancel: a² - ab + ab - b² = a² - b². That cancellation is what makes difference of squares such a clean shortcut when you are factoring or multiplying polynomials.

A lot of Intermediate Algebra work depends on spotting this structure quickly. Sometimes the expression is not written in obvious square form at first, so you may need to rewrite it before factoring. For example, 4x² - 25 becomes (2x)² - 5², then factors to (2x + 5)(2x - 5).

The most common mistake is trying to use the pattern on a trinomial, like x² - 6x + 9, which is not a difference of squares. That one is a perfect square trinomial instead. Another mistake is forgetting to factor out a common factor first, because an expression like 2x² - 8 is not ready yet until you pull out the 2.

Why Difference of Squares matters in Intermediate Algebra

Difference of squares shows up in three big places in Intermediate Algebra: multiplying polynomials, factoring special products, and solving polynomial equations. Once you recognize the pattern, you can factor faster and with fewer trial-and-error steps.

It also connects directly to later skills. When you are solving polynomial equations, factoring is often the step that gets the equation to zero product form. If the expression includes a difference of squares, that shortcut can make an equation much easier to solve.

This pattern also helps you check your own work. If you expand (a + b)(a - b) and do not get a² - b², something went wrong with your distribution or sign handling. That makes difference of squares a useful bridge between multiplying and factoring, not just a memorization trick.

In algebra problems, the pattern often appears after simplification. A quadratic, rational expression, or equation may not look factorable at first, but rewriting terms as squares can reveal the structure. That is why this term keeps coming back across the unit, instead of staying in one isolated section.

Keep studying Intermediate Algebra Unit 6

How Difference of Squares connects across the course

Factoring

Difference of squares is one factoring method you add to your toolbox. Instead of searching for two numbers that multiply and add, you spot a specific pattern and rewrite the expression as two binomials. That makes it faster than general factoring when the expression matches the form exactly.

FOIL Method

FOIL is the easiest way to verify a difference of squares factorization. If you multiply (a + b)(a - b) using FOIL, the inside and outside terms cancel out. That cancellation is the reason the pattern works, so FOIL helps you see why the formula is true, not just memorize it.

Perfect Square

You need perfect squares on both sides of the subtraction sign before the pattern applies. If one or both terms are not perfect squares, the expression is not a difference of squares. Spotting square roots quickly is what lets you decide whether to factor using this shortcut.

Polynomial Equations

After you factor a difference of squares, you can often solve the equation by setting each factor equal to zero. That makes this pattern a direct step in solving polynomial equations. It is one of the fastest ways to turn a polynomial into something you can solve.

Is Difference of Squares on the Intermediate Algebra exam?

A quiz or problem set may ask you to factor an expression like x² - 81, 9y² - 16, or 4m² - 25. Your job is to rewrite each term as a square, spot the subtraction, and factor it into two binomials. If the expression is part of an equation, you usually keep going by using the Zero Product Property after factoring.

You may also see a reverse question, where you are given a product like (3x + 2)(3x - 2) and asked to expand it. In that case, distribute carefully and check that the middle terms cancel. A common error is writing the factors with the same sign, which gives a perfect square trinomial instead of a difference of squares.

Difference of Squares vs Perfect Square

These get mixed up because both involve squares, but they are not the same pattern. A difference of squares has subtraction and factors into two binomials with opposite signs, while a perfect square trinomial has three terms and comes from squaring a binomial. If you see a middle term, it is probably not difference of squares.

Key things to remember about Difference of Squares

  • Difference of squares has the form a² - b² = (a + b)(a - b).

  • Both terms must be perfect squares, and the operation between them must be subtraction.

  • This pattern is a shortcut for factoring and for expanding products that cancel in the middle.

  • You can use it to solve polynomial equations once the expression is set equal to zero.

  • If there is a common factor first, factor that out before checking for difference of squares.

Frequently asked questions about Difference of Squares

What is difference of squares in Intermediate Algebra?

It is a factoring pattern for expressions that look like a² - b². You rewrite them as (a + b)(a - b), as long as both terms are perfect squares. This comes up in factoring, multiplying polynomials, and solving equations.

How do you know if something is a difference of squares?

Check two things: both terms must be perfect squares, and the sign between them must be minus. For example, x² - 36 works because x² = x squared and 36 = 6 squared. x² + 36 does not fit this pattern.

What is the difference between difference of squares and a perfect square trinomial?

Difference of squares has two terms, while a perfect square trinomial has three. Difference of squares factors into conjugates like (a + b)(a - b), but a perfect square trinomial factors as (a ± b)². If you see a middle term, you are probably dealing with the trinomial pattern.

Can you use difference of squares to solve equations?

Yes. First factor the expression, then set each factor equal to zero if the equation equals zero. That is a standard move in Intermediate Algebra when solving polynomial equations.