Difference of Squares: Factor a Squared Difference into Two Binomials
Difference of Squares lets you replace with the product , producing an equivalent expression for every value where the originals are defined. It applies whenever both terms are perfect squares and they are separated by subtraction — not addition. Recognizing this pattern and checking the sign between terms is a core factoring fluency skill built in the Unisium Study System.
This guide sits inside the Algebra study map, where you can see the neighboring moves, models, and next-step guides that connect this principle to the rest of algebra.

On this page: The Principle | Conditions | Failure Modes | EE Questions | Retrieval Practice | Practice Ground | Solve a Problem | FAQ
The Principle
The move: Replace a subtraction of two perfect squares with the product of their sum and difference.
The invariant: This produces an equivalent expression with the same value for every allowed variable assignment — the factored form and the expanded form evaluate identically everywhere both are defined.
Pattern:
| Legal ✓ | Illegal ✗ |
|---|---|
The right-hand column shows the attempted move, not merely a non-example. Multiplying returns , not — the result is wrong, so the move is illegal for a sum of squares.
Conditions of Applicability
Condition: Defined where expressions are defined
Before applying, check: confirm the sign between the two terms is subtraction (not addition) and that each term is a recognizable perfect square.
- The move is not legal if the sign is — a sum of two squares does not match this identity; attempting to apply it produces the wrong expression.
- The move is not legal if either term is not a perfect square — for example, has in the second position, which is a perfect cube, not a perfect square.
Want the complete framework behind this guide? Read Masterful Learning.
This pattern is easiest to use once Factor Common Term is automatic, because both moves ask you to see structure rather than expand blindly. Compare it with Perfect Square Trinomial when deciding which special-product pattern is present, and use it next with Zero Product when the factorized result is part of an equation solve.
Common Failure Modes
Failure mode: apply the pattern to (sum of squares instead of difference) → the resulting product expands back to , which is the wrong expression.
Debug: before factoring, verify the sign is ; if it is , this move does not apply.
Elaborative Encoding
Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)
Within the Principle
- What do the two binomial factors and have in common structurally, and why are they called a conjugate pair?
- Why do the middle terms cancel when you expand back out?
For the Principle
- How do you decide whether a given two-term expression is eligible for this move?
- What test would you apply to before invoking Difference of Squares?
Between Principles
- How does Difference of Squares relate to the Distributive Property — specifically, which direction does each rule run?
- How does this principle compare to Factor Common Term as a factoring strategy, and how do they chain together?
Generate an Example
- Describe a two-term expression where the Difference of Squares pattern appears to apply but does not — and explain precisely what disqualifies it.
Retrieval Practice
Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)
State the Difference of Squares move in one sentence: _____Replace a² − b² with (a − b)(a + b), producing an equivalent expression for all values where both sides are defined.
Write the canonical Difference of Squares pattern: _____
State the canonical condition: _____Defined where expressions are defined
Practice Ground
Use these exercises to build move-selection fluency. (See Self-Explanation for how to use worked examples effectively.)
Procedure Walkthrough
Starting from , reach fully factored form.
| Step | Expression | Operation |
|---|---|---|
| 0 | — | |
| 1 | Factor Common Term: GCF is | |
| 2 | Difference of Squares on : , , sign is | |
| 3 | Difference of Squares on : sign is , eligible; has sign — pattern check fails, the move stops here |
Drills
Format A — Forward step: apply the principle once
Apply the principle once.
Reveal
Difference of Squares: ,
Apply the principle once.
Reveal
Difference of Squares: ,
Apply the principle once.
Reveal
Difference of Squares: ,
Apply the principle once.
Reveal
Difference of Squares: ,
Is this expression eligible for the Difference of Squares move? Explain.
Reveal
No. The sign between the two terms is , not . This is a sum of two squares, and the Difference of Squares identity requires subtraction. Applying the pattern here would give , which is not — the move is illegal.
Is this expression eligible for the Difference of Squares move? Explain.
Reveal
No. Although the sign is subtraction (which looks correct), is a perfect cube, not a perfect square. There is no integer-exponent polynomial expression such that . Both terms must be perfect squares for this move to apply.
This is a near-miss: the sign is right, but the exponent in the second term disqualifies it.
Format E — Canonicalization: rewrite in fully factored form
Canonicalize: Rewrite in fully factored form.
Reveal
Factor out the GCF first, then apply Difference of Squares:
Canonicalize: Rewrite in fully factored form.
Reveal
Treat and :
Canonicalize: Rewrite in fully factored form.
Reveal
Apply Difference of Squares twice:
The factor has sign — it is not eligible for this move.
Canonicalize: Can be factored using Difference of Squares? If not, explain why.
Reveal
No. The expression is a sum of two terms, not a difference. The Difference of Squares identity requires the sign to be . Since the sign here is , the move does not apply. This expression can be factored by a different technique, but not by Difference of Squares.
Canonicalize: Rewrite in fully factored form.
Reveal
Recognize and ; sign is , so apply Difference of Squares:
Now inspect each factor. has sign — not eligible. — eligible; apply again:
remains; the sign check stops the recursion there.
Solve a Problem
Apply what you’ve learned with Problem Solving.
Problem: Starting from , reach fully factored form using Difference of Squares.
Full solution
| Step | Expression | Move |
|---|---|---|
| 0 | — | |
| 1 | Eligibility check: ; sign is ; both terms are perfect squares — move is legal | |
| 2 | Difference of Squares with , | |
| 3 | Remove inner parentheses | |
| 4 | Arithmetic: , |
FAQ
What is Difference of Squares?
Difference of Squares is a factoring identity: . It converts a two-term expression — a subtraction of two perfect squares — into a product of two conjugate binomials. The identity holds for any algebraic expressions and wherever those expressions are defined.
When is Difference of Squares valid?
The move is valid when (1) the expression has exactly two terms, (2) both terms are perfect squares, and (3) the operation between them is subtraction. The sign check is critical: it is easy to misread a sum of squares and apply the pattern incorrectly.
What goes wrong if I apply this to a sum of squares?
Applying the pattern to gives , which expands back to the wrong expression. A sum of two squares such as cannot be factored using this identity — the sign check fails before the move is even attempted.
How is Difference of Squares different from Factor Common Term?
Factor Common Term pulls out a shared factor from multiple terms — for example, . Difference of Squares then applies to the result: . The two moves often chain together: GCF first, then Difference of Squares.
Can or be a compound expression?
Yes. The pattern works even when or is a polynomial or product, as long as both positions are perfect squares. For example, .
Does Difference of Squares apply to equations or inequalities?
No. Difference of Squares is a factoring identity for expressions, not an operation on equations or inequalities. It rewrites one expression into an equivalent product — it does not add, multiply, or modify both sides of a relation. Combine it with equation-operation rules (such as Zero Product Property or Additive Equality) when solving equations that contain a difference of squares.
How This Fits in Unisium
Factoring fluency depends on rapid move selection: recognizing which pattern applies, confirming the condition, and applying the transform correctly. Difference of Squares is one of the fastest-loaded patterns in algebra — but only when you have trained the habit of checking the sign between the two terms before applying. Unisium builds this fluency by sequencing many short state-transition drills so the recognition reflex develops before it is needed inside multi-step problems.
Explore further:
- Distributive Property — The reverse direction: expand a product back into a difference
- Factor Common Term — The GCF step that often precedes Difference of Squares
- Retrieval Practice — Make the pattern and condition instantly accessible
Ready to master Difference of Squares? Start practicing with Unisium or explore the full learning framework in Masterful Learning.
Masterful Learning
The study system for physics, math, & programming that works: retrieval, connection, explanation, problem solving, and more.
Ready to apply this strategy?
Join Unisium and start implementing these evidence-based learning techniques.
Start Learning with Unisium Read More GuidesWant the complete framework? This guide is from Masterful Learning.
Learn about the book →