Algebraic expansions

Multiplying out (2x−3y)2(2x-3y)^2 term by term, four products at a time, works — but it is slow, and slow is dangerous under exam pressure. Algebraic expansions are memorised shortcuts, called identities, that let you write the fully multiplied-out form of a bracketed product instantly, just by matching its shape to a known pattern and substituting. This is the opening topic of the Algebra chapter for ICSE Class 9, and it is not a standalone drill. The same five identities reappear a few pages later as factorisation formulae read in reverse, and they resurface all through Class 10 wherever an expression needs to be simplified quickly. Getting fluent here — recognising the pattern on sight, substituting cleanly, and never dropping a sign — pays off across the rest of the syllabus. This article rebuilds the five identities from first principles, works one problem in full step-by-step detail, and lists the sign-and-term traps that account for nearly every mark lost on this topic.

The core insight

Each expansion identity is a proven multiplication shortcut — (a±b)2(a\pm b)^2, (a±b)3(a\pm b)^3, (x+a)(x+b)(x+a)(x+b), and (a+b+c)2(a+b+c)^2 — matched by shape and substituted, rather than re-derived by term-by-term multiplication every time.

The core idea

Two-term squares. These are the two most-used identities in the whole chapter:

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

where: aa and bb are any two algebraic terms (numbers, letters, or whole expressions), and the middle term 2ab2ab carries the sign of the original bracket.

Two-term cubes. The cubic versions extend the same idea one power further:

(a+b)3=a3+3a2b+3ab2+b3,(a−b)3=a3−3a2b+3ab2−b3(a+b)^3 = a^3+3a^2b+3ab^2+b^3, \qquad (a-b)^3 = a^3-3a^2b+3ab^2-b^3

where: the coefficients 1,3,3,11,3,3,1 are fixed, the power of aa falls from 33 to 00 while the power of bb rises from 00 to 33, and in the minus version the signs simply alternate +,−,+,−+,-,+,-.

The linear-factor product. This one governs any product of two binomials that share the same first term xx:

(x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2+(a+b)x+ab

where: aa and bb are the two constants (with their own signs), the coefficient of xx is their sum, and the constant term is their product. This sum-and-product pattern is exactly what you will later reverse to factorise quadratics by splitting the middle term.

The three-term square. With three terms inside the bracket instead of two, every pair now contributes a cross term:

(a+b+c)2=a2+b2+c2+2ab+2bc+2ca(a+b+c)^2 = a^2+b^2+c^2+2ab+2bc+2ca

where: aa, bb, cc are the three terms with their signs attached, and there are exactly three cross terms — one for each of the three possible pairs — so none can be skipped. A useful habit: aa, bb, or cc in any identity can stand for a whole expression, not just a single letter. In (2x+1−3y)2(2x+1-3y)^2 you can read this as (a+b+c)2(a+b+c)^2 with a=2xa=2x, b=1b=1, c=−3yc=-3y, and the identity applies exactly as written provided every substitution — including its sign — is carried through carefully. It also helps to see the five identities as one family rather than five isolated formulae. The squared identities and the cubed identities describe the same underlying operation — multiplying a bracket by itself — carried one power further; the coefficients 1,2,11,2,1 in a square and 1,3,3,11,3,3,1 in a cube are simply how many times each combination of aa's and bb's appears when every term is multiplied against every term. The linear-factor product (x+a)(x+b)(x+a)(x+b) is the odd one out structurally, since it multiplies two different binomials rather than squaring one, which is exactly why its middle term is a plain sum (a+b)x(a+b)x rather than a doubled product 2ab2ab. Keeping that structural distinction clear is what prevents the traps described later in this article. Finally, the three-term square is not a new idea at all — it is the two-term square applied to a bracket that itself contains three pieces, so every one of the three possible pairs among aa, bb, cc contributes its own cross term, in the same way a single pair contributed one cross term in the two-term case.

Figure
A balance diagram showing a plus b squared on one pan matching a squared plus two a b plus b squared on the other pan
An identity is a balance: both sides are always equal (a + b) squared a squared + 2ab + b squared Expanding never changes the value — only the form
Derivation AProving the two-term square identity by direct multiplication

Show, starting only from the meaning of squaring as multiplying a bracket by itself and the ordinary rule of multiplying two binomials term by term, that (a+b)2(a+b)^2 always equals a2+2ab+b2a^2+2ab+b^2 for any values of aa and bb, so that the identity can be trusted as a substitution shortcut rather than re-derived from scratch every time it is used.

Step 1. Write the square as a product of two identical brackets: (a+b)2=(a+b)(a+b)(a+b)^2 = (a+b)(a+b).

Step 2. Multiply every term of the first bracket by every term of the second (distribute aa, then distribute bb):

(a+b)(a+b)=a⋅a+a⋅b+b⋅a+b⋅b(a+b)(a+b) = a\cdot a + a\cdot b + b\cdot a + b\cdot b

Step 3. Simplify each product: a⋅a=a2a\cdot a = a^2, a⋅b=aba\cdot b = ab, b⋅a=abb\cdot a = ab, b⋅b=b2b\cdot b = b^2, giving

a2+ab+ab+b2a^2 + ab + ab + b^2

Step 4. Combine the two identical middle terms ab+ab=2abab+ab = 2ab:

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

The same four-step process — distribute, simplify, combine like terms — proves every other identity in this article; only the number of terms in the bracket changes.

Worked example

Expand (2x−3y)2(2x-3y)^2, then use the result to expand (2x−3y+1)2(2x-3y+1)^2.

Step 1. Match the first bracket to a known pattern: (2x−3y)2(2x-3y)^2 has the form (a−b)2(a-b)^2 with a=2xa=2x and b=3yb=3y.

Step 2. Apply the identity (a−b)2=a2−2ab+b2(a-b)^2 = a^2-2ab+b^2 and substitute:

(2x)2−2(2x)(3y)+(3y)2(2x)^2 - 2(2x)(3y) + (3y)^2

Step 3. Simplify each term: (2x)2=4x2(2x)^2 = 4x^2, 2(2x)(3y)=12xy2(2x)(3y) = 12xy, (3y)2=9y2(3y)^2 = 9y^2, so

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

Step 4. Check with x=1,y=1x=1,y=1: left side (2−3)2=1(2-3)^2=1; right side 4−12+9=14-12+9=1. They match.

Step 5. Now extend to the three-term bracket (2x−3y+1)2(2x-3y+1)^2 by matching it to (a+b+c)2(a+b+c)^2 with a=2xa=2x, b=−3yb=-3y, c=1c=1:

a2+b2+c2+2ab+2bc+2ca=(2x)2+(−3y)2+(1)2+2(2x)(−3y)+2(−3y)(1)+2(1)(2x)a^2+b^2+c^2+2ab+2bc+2ca = (2x)^2+(-3y)^2+(1)^2+2(2x)(-3y)+2(-3y)(1)+2(1)(2x)

Step 6. Simplify each of the six terms and collect:

4x2+9y2+1−12xy−6y+4x4x^2+9y^2+1-12xy-6y+4x

So (2x−3y+1)2=4x2+9y2+1−12xy+4x−6y(2x-3y+1)^2 = \mathbf{4x^2+9y^2+1-12xy+4x-6y}.

Competitive stretch

Notice the first three terms, 4x2−12xy+9y24x^2-12xy+9y^2, are exactly the two-term expansion from Step 3 — reusing an already-expanded pair inside a bigger bracket, instead of restarting from scratch, is a genuine time-saver on longer exam problems. The same shortcut works in reverse: whenever you spot a three-term square, try grouping two of the terms first and checking whether their combination matches a two-term identity you already know, before falling back on the full six-term (a+b+c)2(a+b+c)^2 expansion.

Common traps

  • Writing (a+b)2=a2+b2(a+b)^2 = a^2+b^2, dropping the middle term 2ab2ab entirely — the single most common error at this level.
  • Losing a minus sign in (a−b)3=a3−3a2b+3ab2−b3(a-b)^3 = a^3-3a^2b+3ab^2-b^3, especially on the 3a2b3a^2b or b3b^3 term.
  • In (x+a)(x+b)(x+a)(x+b), computing the sum for the coefficient correctly but the product wrongly (or vice versa) — work out sum and product separately and check both.
  • In (a+b+c)2(a+b+c)^2, forgetting one of the three cross terms — there are three pairs, not two, and each contributes 2×2\times its product.
  • Confusing (x+a)(x+b)(x+a)(x+b) with a squared bracket and inserting a 2ab2ab-style middle term that does not belong there — one pattern squares a single bracket, the other multiplies two distinct binomials.
  • Forgetting that the sum-and-product pattern in (x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b)=x^2+(a+b)x+ab is exactly the pattern reused, in reverse, to factorise a quadratic like x2+7x+12x^2+7x+12 by finding two numbers with sum 77 and product 1212 — so a shaky grip on the expansion direction shows up later as a shaky grip on factorisation too.

Ask the tutor: Stuck telling (a−b)2(a-b)^2 apart from (x+a)(x+b)(x+a)(x+b) at a glance, or want more mixed practice on three-term squares? Ask your AI tutor to run you through a quick set until the pattern recognition is automatic.

Do I have to memorise all five identities separately, or is there a shortcut to remember them?

You do need to know all five, but they are not five unrelated facts. The cubic identities are extensions of the squared ones (same idea, one power higher), and the three-term square is just the two-term square with an extra letter and its matching cross terms added in. Learn (a+b)2(a+b)^2 properly first, understand why the middle term appears from multiplying every term by every term, and the rest follow the same logic.

What if a or b in an identity is itself a negative number or a whole expression, not just a single letter?

The identity still applies exactly as written — substitute whatever aa or bb actually is, sign included, then simplify. If b=−3yb=-3y, then 2ab2ab becomes 2a(−3y)=−6ay2a(-3y) = -6ay; the minus sign is part of bb, not an extra rule to remember. This is exactly how Step 5 of the worked example above handles b=−3yb=-3y inside (a+b+c)2(a+b+c)^2.

How can I quickly check whether an expansion I just did is correct?

Substitute small numbers, such as 11 or 22, for every letter on both the original bracketed form and your expanded answer, and confirm the two sides give the same number — exactly as done in Step 4 of the worked example. It will not catch every possible algebra slip, but it catches the vast majority of sign and term errors in seconds. This trick also works for checking any intermediate line of working, not just the final answer, which makes it useful for locating exactly where a sign error crept in.

Before this

Where this leads