Difference of Squares: A Quick Factoring Trick
Factoring can sometimes look complicated, but one useful algebra pattern can make certain problems much faster. The difference of squares is a simple factoring trick that lets you turn an expression into two binomials in just a few steps.
The Main Idea
When you subtract one perfect square from another perfect square, you can factor the expression using a special pattern.
The Difference of Squares Formula
Small-screen tip: If the formula extends beyond a small phone screen, swipe horizontally inside the equation box.
Why does it work?
Multiply the two factors:
The middle terms, +ab and −ab, cancel each other. That leaves the difference of the two squares.
How to Use the Trick
- Check for subtraction. The expression should have a minus sign between two terms.
- Check that both terms are perfect squares.
- Find the square roots. These become the two numbers or expressions inside the factors.
- Write one factor with subtraction.
- Write the other factor with addition.
- Check your answer by multiplying the factors back together.
Worked Example 1: x2 − 25
Step 1: Identify the squares.
x2 is a square, and 25 = 52.
Step 2: Find their square roots.
The square roots are x and 5.
Step 3: Apply the formula.
Answer:
Worked Example 2: 81 − 16
Step 1: Recognize the perfect squares.
81 = 92 and 16 = 42.
Step 2: Apply the difference of squares formula.
Step 3: Simplify the factors.
Answer: 81 − 16 = 65
Worked Example 3: 100 − 49
Recognize that 100 = 102 and 49 = 72.
Answer: 100 − 49 = 51
Worked Example 4: 9x2 − 25
Here, 9x2 can be written as (3x)2, while 25 = 52.
Now apply the formula:
Answer: 9x2 − 25 = (3x − 5)(3x + 5)
A Quick Memory Tip
“Squares minus squares = difference times sum.”
Remember: one factor uses −, and the other uses +.
Common Mistakes to Avoid
- Using addition instead of subtraction: The pattern applies to a2 − b2, not a2 + b2.
- Forgetting the plus factor: The answer is (a − b)(a + b), not two subtraction factors.
- Misidentifying perfect squares: Make sure both terms can be written as squares.
- Forgetting to simplify: For numerical problems, multiply the resulting factors when appropriate.
- Not checking the answer: Multiplying the factors back together is a quick way to catch sign errors.
When Can You Use the Difference of Squares?
This factoring pattern works when an expression has the form:
Both A and B can be numbers, variables, or algebraic expressions. The important part is that both terms are squares and they are being subtracted.
Quick Comparison
| Expression | Difference of Squares? | Reason |
|---|---|---|
| x2 − 16 | Yes | x2 and 16 are squares. |
| x2 + 16 | No | The operation is addition. |
| 25y2 − 9 | Yes | 25y2 = (5y)2 and 9 = 32. |
| x2 − 10 | No | 10 is not a perfect square. |
Mobile table tip: On a small phone screen, swipe horizontally inside the table to see all columns.
Practice Questions
Try these problems before checking the answers.
- Factor x2 − 36.
- Factor x2 − 64.
- Factor 49x2 − 25.
- Calculate 121 − 81 using the difference of squares.
- Factor 16y2 − 9.
- Calculate 10002 − 9992 using the difference of squares.
Answers
- x2 − 36 = (x − 6)(x + 6)
- x2 − 64 = (x − 8)(x + 8)
- 49x2 − 25 = (7x − 5)(7x + 5)
- 121 − 81 = (11 − 9)(11 + 9) = 2 × 20 = 40
- 16y2 − 9 = (4y − 3)(4y + 3)
- 10002 − 9992 = (1000 − 999)(1000 + 999) = 1 × 1999 = 1999
Why This Trick Is Useful
The difference of squares is more than a factoring shortcut. It can also make mental calculations much faster. Instead of multiplying or subtracting very large numbers directly, you can look for nearby perfect squares and use the formula.
For example, the calculation 10002 − 9992 looks large, but the formula turns it into 1 × 1999, which is easy to calculate.
Final Takeaway
Whenever you see one square minus another square, think of the difference of squares.
Memory tip: Difference of squares = difference × sum. Recognize the pattern, find the square roots, use one minus factor and one plus factor, and then check your result.


0 Comments