Square of Difference Identity with Algebraic Examples

Square of Difference Identity expresses the square of a binomial with a minus sign as three terms. The formula (a − b)² = a² − 2ab + b² helps expand algebraic expressions, simplify calculations and solve aptitude problems involving squares of differences.

On this page

What Is the Square of Difference Identity?

The square of difference identity states that (a − b)² = a² − 2ab + b². It means the square of the first term, minus twice the product of both terms, plus the square of the second term.

The middle term is always negative when the expression is written as (a − b)². For example, (x − 5)² = x² − 10x + 25 because x² − 2(x)(5) + 5² gives x² − 10x + 25.

Square of Difference Identity Video Lessons

Watch short topic-wise lessons for quick revision.

12 Lessons
Lesson 1 of 12 Quick Revision

Square Identities in Algebra

Understand the identities (A+B)², (A−B)², and A²−B², including their expansions and factorisation forms for solving algebraic expressions.

Continue with more lessons and practice in PrepShots.Watch More in App - Start ₹1 Trial →
More Square of Difference Identity Lessons Scroll to explore →

Square of Difference Identity Formula & Tricks

Important Formulas

Square of difference
(a − b)² = a² − 2ab + b²

Expand the square by squaring both terms and subtracting twice their product.

Difference of squares form
a² − b² = (a − b)(a + b)

This is a different identity from the square of difference. It factors the difference between two squares.

Reverse form
a² − 2ab + b² = (a − b)²

An expression is a perfect square when it has two squared terms and a middle term equal to minus twice their product.

Quick Tricks

Remember the sign pattern

The terms in (a − b)² follow the pattern plus, minus, plus: a² − 2ab + b². Only the middle term is negative.

Example: (7 − 2)² = 7² − 2(7)(2) + 2² = 49 − 28 + 4 = 25.
Use a nearby base for quick calculation

Write a number as a convenient larger number minus a difference, then apply the identity.

Example: 98² = (100 − 2)² = 10000 − 400 + 4 = 9604.
Check a perfect-square trinomial

For A² − 2AB + B², verify that the middle term is minus twice the product of the square-root terms.

Example: x² − 12x + 36 = x² − 2(x)(6) + 6² = (x − 6)².

Square of Difference Identity Concepts

Expansion of Two Algebraic Terms

To expand (a − b)², square the first term, subtract twice the product, and add the square of the second term.

Apply the identity directly without multiplying the binomial twice. For (3x − 4)², take a = 3x and b = 4: (3x)² − 2(3x)(4) + 4² = 9x² − 24x + 16.

Example: (2p − 7)² = 4p² − 28p + 49.

Numerical Square of a Difference

A number written as a convenient value minus a small difference can be squared using a² − 2ab + b².

Choose a and b so that the calculation is simple. For 49², use 49 = 50 − 1. Therefore, 49² = 50² − 2(50)(1) + 1² = 2500 − 100 + 1 = 2401.

Example: 997² = (1000 − 3)² = 1000000 − 6000 + 9 = 994009.

Recognising a Perfect-Square Trinomial

An expression A² − 2AB + B² can be written as (A − B)².

First identify the square roots of the first and last terms. Then check whether the middle term equals minus twice their product. Thus, 16x² − 40x + 25 = (4x − 5)² because −2(4x)(5) = −40x.

Example: 9y² − 30y + 25 = (3y − 5)².

Difference Between Similar Identities

The square of difference and difference of squares are different identities.

The square of difference is (a − b)² = a² − 2ab + b², while the difference of squares is a² − b² = (a − b)(a + b). The first produces three terms after expansion; the second factors into two binomials.

Example: (8 − 3)² = 25, whereas 8² − 3² = (8 − 3)(8 + 3) = 55.

Square of Difference Identity Data Table

Use the structured data below while following the explanation and examples.

Common Forms of the Identity

Equivalent and related algebraic forms used in expansion and factorisation.

Form Result Use
(a − b)² a² − 2ab + b² Expand a squared difference
a² − 2ab + b² (a − b)² Factor a perfect-square trinomial
a² − b² (a − b)(a + b) Factor a difference of squares

Note: Do not confuse (a − b)² with a² − b²; the former contains the additional terms −2ab and b².

Learn more concepts on PrepShots

Start ₹1 Trial →

Practice Square of Difference Identity Questions

Practise published questions related to this topic.

Want more practice questions?

Practice in App →

Square of Difference Identity Quick Quiz

Attempt 5 questions and check your score instantly.

Quick Revision Notes

Square of Difference Identity Revision Points

Core formulas, sign rules and recognition checks for quick revision.

  • (a − b)² = a² − 2ab + b².
  • The middle term is negative and equals −2ab.
  • The first and last terms are the squares of the two terms.
  • For a perfect-square trinomial A² − 2AB + B², the factorised form is (A − B)².
  • The identity a² − b² = (a − b)(a + b) is different from the square of difference identity.
  • For quick numerical calculation, write a number as a convenient base minus its difference.

Square of Difference Identity FAQs

What is the square of difference identity formula?

The formula is (a − b)² = a² − 2ab + b².

What is the expansion of (x − 9)²?

(x − 9)² = x² − 2(x)(9) + 9² = x² − 18x + 81.

How do you calculate 96² using the identity?

Write 96 as 100 − 4. Then 96² = (100 − 4)² = 10000 − 800 + 16 = 9216.

How can x² − 14x + 49 be factorised?

Since 14x = 2(x)(7) and 49 = 7², the expression is (x − 7)².

Is (a − b)² equal to a² − b²?

No. (a − b)² = a² − 2ab + b², whereas a² − b² = (a − b)(a + b).

What is (5m − 2n)²?

(5m − 2n)² = 25m² − 20mn + 4n².

Continue learning Square of Difference Identity on PrepShots

Continue on PrepShots