Free Mathematics Class 8 CBSE notes · practise this chapter with an AI quiz

← All study notes

The Middle Term Everyone Forgets When Squaring a Bracket

Learn the identities for a sum squared and a difference squared, use the difference of two squares to compute products instantly, and learn to spot and correct a wrong expansion.

Why is a plus b, all squared, not just a squared plus b squared?

Because squaring a bracket means multiplying it by itself, which produces a middle term as well. Test it with numbers: (3+4)2=72=49(3 + 4)^2 = 7^2 = 49, while 32+42=9+16=253^2 + 4^2 = 9 + 16 = 25.

The missing 2ab=2×3×4=242ab = 2 \times 3 \times 4 = 24 makes up the difference, since 9+24+16=499 + 24 + 16 = 49. This page covers everything in the CBSE Class 8 Mathematics chapter's second part: the three standard identities and how to spot a wrong expansion.
Formula

How do you expand a sum squared?

The identity is:

(a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2

It comes straight from multiplying the bracket by itself:

(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2(a + b)(a + b) = a^2 + ab + ba + b^2 = a^2 + 2ab + b^2

The two middle products are identical, which is where the 2 comes from.

Worked examples.

(x+5)2=x2+2(x)(5)+25=x2+10x+25(x + 5)^2 = x^2 + 2(x)(5) + 25 = x^2 + 10x + 25

(2x+3)2=4x2+2(2x)(3)+9=4x2+12x+9(2x + 3)^2 = 4x^2 + 2(2x)(3) + 9 = 4x^2 + 12x + 9

(3a+4b)2=9a2+24ab+16b2(3a + 4b)^2 = 9a^2 + 24ab + 16b^2

Used on numbers, it makes awkward squares easy:

1022=(100+2)2=10 000+400+4=10 404102^2 = (100 + 2)^2 = 10\,000 + 400 + 4 = 10\,404

512=(50+1)2=2500+100+1=260151^2 = (50 + 1)^2 = 2500 + 100 + 1 = 2601

252=(20+5)2=400+200+25=62525^2 = (20 + 5)^2 = 400 + 200 + 25 = 625

The term to watch is the middle one, and the trap is the coefficient. In (2x+3)2(2x + 3)^2 the middle term is 2×2x×3=12x2 \times 2x \times 3 = 12x, not 6x6x — the 22 from the identity multiplies the whole of 2x2x and 33. Writing 4x2+6x+94x^2 + 6x + 9 is the standard error.

How do you expand a difference squared?

The identity is the same shape with one sign changed:

(a−b)2=a2−2ab+b2(a - b)^2 = a^2 - 2ab + b^2

Only the middle term becomes negative. The last term stays positive, because (−b)×(−b)=+b2(-b) \times (-b) = +b^2.

Worked examples.

(x−4)2=x2−2(x)(4)+16=x2−8x+16(x - 4)^2 = x^2 - 2(x)(4) + 16 = x^2 - 8x + 16

(3x−2)2=9x2−12x+4(3x - 2)^2 = 9x^2 - 12x + 4

(5a−2b)2=25a2−20ab+4b2(5a - 2b)^2 = 25a^2 - 20ab + 4b^2

Used on numbers:

982=(100−2)2=10 000−400+4=960498^2 = (100 - 2)^2 = 10\,000 - 400 + 4 = 9604

492=(50−1)2=2500−100+1=240149^2 = (50 - 1)^2 = 2500 - 100 + 1 = 2401

972=(100−3)2=10 000−600+9=940997^2 = (100 - 3)^2 = 10\,000 - 600 + 9 = 9409

The sign of the last term is what students get wrong. In (x−4)2(x - 4)^2 the final term is +16+16, not −16-16, because a negative number squared is positive. So the expansion has one minus sign and two plus signs — check that pattern on every answer.

The two identities can be remembered as one: (a±b)2=a2±2ab+b2(a \pm b)^2 = a^2 \pm 2ab + b^2, where only the middle sign follows the bracket.

How does the difference of two squares speed up multiplication?

The identity is:

(a+b)(a−b)=a2−b2(a + b)(a - b) = a^2 - b^2

Expanding shows why the middle terms disappear:

(a+b)(a−b)=a2−ab+ba−b2=a2−b2(a+b)(a-b) = a^2 - ab + ba - b^2 = a^2 - b^2

The −ab-ab and +ab+ab cancel exactly.

Worked examples in algebra.

(x+7)(x−7)=x2−49(x + 7)(x - 7) = x^2 - 49

(2x+5)(2x−5)=4x2−25(2x + 5)(2x - 5) = 4x^2 - 25

(3a+4b)(3a−4b)=9a2−16b2(3a + 4b)(3a - 4b) = 9a^2 - 16b^2

Used on numbers, it is the fastest of the three. Look for two numbers equally spaced either side of a round number:

103×97=(100+3)(100−3)=10 000−9=9991103 \times 97 = (100 + 3)(100 - 3) = 10\,000 - 9 = 9991

52×48=(50+2)(50−2)=2500−4=249652 \times 48 = (50 + 2)(50 - 2) = 2500 - 4 = 2496

45×35=(40+5)(40−5)=1600−25=157545 \times 35 = (40 + 5)(40 - 5) = 1600 - 25 = 1575

106×94=(100+6)(100−6)=10 000−36=9964106 \times 94 = (100 + 6)(100 - 6) = 10\,000 - 36 = 9964

It also factorises any difference of two squares:

x2−81=(x+9)(x−9),49−y2=(7+y)(7−y)x^2 - 81 = (x + 9)(x - 9), \qquad 49 - y^2 = (7 + y)(7 - y)

The condition for the numerical shortcut is that the two numbers must be the same distance from the midpoint. So 103×97103 \times 97 works because both are 3 away from 100, but 103×96103 \times 96 does not — checking that the offsets match is the step to take before reaching for this identity.

How do you spot and correct a wrong expansion?

Substitute numbers into both the original expression and the answer. If they disagree, the expansion is wrong — and the difference tells you what is missing.

Error 1. A student writes (x+5)2=x2+25(x + 5)^2 = x^2 + 25.

Test with x=1x = 1: the original is (1+5)2=36(1 + 5)^2 = 36, while the answer gives 1+25=261 + 25 = 26. They differ by 10.

The middle term 2ab=2(x)(5)=10x2ab = 2(x)(5) = 10x was omitted. The correct expansion is

x2+10x+25x^2 + 10x + 25

and at x=1x = 1 that gives 1+10+25=361 + 10 + 25 = 36. Correct.

Error 2. A student writes (x−3)2=x2−6x−9(x - 3)^2 = x^2 - 6x - 9.

Test with x=0x = 0: the original is (−3)2=9(-3)^2 = 9, while the answer gives −9-9. The last term's sign is wrong, since (−3)2=+9(-3)^2 = +9. The correct expansion is x2−6x+9x^2 - 6x + 9.

Error 3. A student writes (2x+3)2=4x2+6x+9(2x + 3)^2 = 4x^2 + 6x + 9.

Test with x=1x = 1: the original is 52=255^2 = 25, while the answer gives 4+6+9=194 + 6 + 9 = 19. The middle term should be 2(2x)(3)=12x2(2x)(3) = 12x, giving 4x2+12x+94x^2 + 12x + 9, which at x=1x = 1 is 2525. Correct.

An alternative method always exists, and showing it confirms the result. Instead of the identity, expand (2x+3)2(2x+3)^2 as a plain product of two brackets:

(2x+3)(2x+3)=4x2+6x+6x+9=4x2+12x+9(2x + 3)(2x + 3) = 4x^2 + 6x + 6x + 9 = 4x^2 + 12x + 9

The same answer by a different route.

Substitution is the tool worth carrying away. Any single value of xx that makes the two sides disagree proves the expansion wrong, and x=1x = 1 or x=0x = 0 is usually the quickest to test — which is why it is worth doing before writing the answer down.
Exam tip

Exam tip: checking your expansion with a number

Identity questions are quick marks, and one substitution protects all of them.

After expanding, put x=1x = 1 into the original and into your answer. If they match, the expansion is almost certainly right; if not, you have caught the error before it cost anything.

Write the identity
before
substituting: *(a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2*. That line is marked on its own.

For the middle term, multiply the whole of each part — in (2x+3)2(2x+3)^2 it is 2×2x×3=12x2 \times 2x \times 3 = 12x, not 6x6x.

Check the sign pattern: a difference squared has one minus sign, in the middle, and a positive last term.

And before using a2−b2a^2 - b^2 on numbers, confirm the two are the same distance from the round midpoint.
Did you know

Why does squaring a bracket produce three terms rather than two?

Because two terms multiplied by two terms give four products, and two of them turn out to be the same.

Expanding (a+b)(a+b)(a+b)(a+b) produces a2a^2, then abab, then baba, then b2b^2. The two middle products are identical, so they combine into a single 2ab2ab — leaving three terms rather than four.

Picture it as area: a square of side a+ba + b splits into a square of a2a^2, a square of b2b^2, and two rectangles each measuring aa by bb. Those two rectangles are precisely the 2ab2ab that the careless expansion throws away.
Key takeaways

Algebraic identities: quick revision

- (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2 — the middle term exists because two identical products combine, so (3+4)2=49(3+4)^2 = 49, not 2525.
- (a−b)2=a2−2ab+b2(a - b)^2 = a^2 - 2ab + b^2 — only the middle sign changes, and the last term stays positive.
- (a+b)(a−b)=a2−b2(a + b)(a - b) = a^2 - b^2, because the middle products cancel.
- On numbers: 1022=10 404102^2 = 10\,404, 982=960498^2 = 9604, 103×97=9991103 \times 97 = 9991 and 52×48=249652 \times 48 = 2496 — but the two factors must be equally spaced from the midpoint.
- The identity also factorises: x2−81=(x+9)(x−9)x^2 - 81 = (x+9)(x-9).
- Check any expansion by substituting x=1x = 1 — a mismatch proves it wrong, and expanding as a plain product of two brackets is the alternative method that confirms the right answer.

You will remember all of this far better after answering five questions on it than after reading it twice.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on We Distribute, Yet Things Multiply — Part 2Create a free account
← Back to all articles