Algebraic identities

Multiplying 103×103103 \times 103 the long way takes a page of working — unless you notice that 103=100+3103 = 100+3 and reach for a shortcut you already half-know: (a+b)2=a2+2ab+b2(a+b)^2 = a^2+2ab+b^2. That single line turns a messy multiplication into three easy terms added up in your head. An algebraic identity is an equation that is true for every value of the letters in it, not just one special value, and the ICSE Class 8 chapter gives you a small toolkit of these — four square and product identities, plus the cube identities that follow the same logic with one more factor. Learn to recognise which identity a given expression matches, and expansion, mental squaring, and evaluating expressions from a+ba+b and abab all become one-line substitutions instead of slow multiplication.

The core insight

A handful of standard identities — proved once by expanding brackets with the distributive law — let you expand, square, cube, or evaluate algebraic expressions instantly by substitution instead of multiplying term by term every time.

The core idea

An identity differs from an ordinary equation. The equation 2x+3=72x+3=7 is true only when x=2x=2; the identity (a+b)2=a2+2ab+b2(a+b)^2=a^2+2ab+b^2 is true for every value you put in for aa and bb. That is what makes identities reusable tools rather than one-off facts to solve.

The four standard square/product identities. These are the core of the ICSE Class 8 chapter, and every one of them follows from multiplying out brackets using the distributive law you already know:

(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
(a+b)(a−b)=a2−b2(x+a)(x+b)=x2+(a+b)x+ab(a+b)(a-b) = a^2-b^2 \qquad (x+a)(x+b) = x^2+(a+b)x+ab

where: aa, bb, xx stand for any numbers, monomials, or algebraic terms; 2ab2ab is the middle "cross term" that appears when you multiply two binomials; a2−b2a^2-b^2 is called the difference of two squares.

The cube identities. Following the standard Class 8 syllabus, the same idea extends one factor further, to (a+b)3(a+b)^3 and the sum/difference of cubes:

(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
a3+b3=(a+b)(a2−ab+b2)a3−b3=(a−b)(a2+ab+b2)a^3+b^3 = (a+b)(a^2-ab+b^2) \qquad a^3-b^3 = (a-b)(a^2+ab+b^2)

where: the coefficients 1,3,3,11,3,3,1 in the cube expansions are the same pattern you would get from repeated multiplication; the powers of aa fall from 3 to 0 while the powers of bb rise from 0 to 3, which is a memory aid, not a coincidence.

How the identities connect. (a+b)2(a+b)^2 and (a−b)2(a-b)^2 differ only in the sign of the middle term, because swapping bb for −b-b throughout the first identity produces the second. And (a+b)(a−b)(a+b)(a-b) is really the (x+p)(x+q)(x+p)(x+q) pattern with p=bp=b, q=−bq=-b: the middle coefficient becomes p+q=b+(−b)=0p+q=b+(-b)=0, which is exactly why the middle term vanishes and only a2−b2a^2-b^2 survives. Four separate-looking facts collapse into one family once you see this.

Why bother memorising these at all? Every one of the eight identities above can be reconstructed from scratch just by multiplying out the brackets with the distributive law — nothing here is a magic rule handed down without reason. The point of memorising them is speed: in an exam, expanding (3x−5y)2(3x-5y)^2 term by term from first principles takes far longer than recognising the pattern a=3xa=3x, b=5yb=5y and writing down 9x2−30xy+25y29x^2-30xy+25y^2 in one line. Treat the identities the way you treat multiplication tables — facts you could always re-derive, but that you keep ready-to-hand because re-deriving them every single time wastes valuable exam minutes. The same logic applies in the Factorisation chapter that follows this one, where you will run every one of these identities in reverse: given an expanded polynomial, you spot which identity produced it and factorise instantly instead of guessing.

Figure
A square of side a plus b split into four regions a squared, a times b, a times b, and b squared showing the geometric meaning of the identity a plus b whole squared
Why (a+b)² = a² + 2ab + b² — a square split into four pieces a² ab ab b² a b a b Total area of the big square: (a+b) times (a+b) Sum of the four pieces: a² + ab + ab + b² = a² + 2ab + b² The two equal ab rectangles are exactly the middle term 2ab that is easy to forget.

Derivation of the (a+b)^2 identity

Derivation AProving (a+b)^2 = a^2 + 2ab + b^2 from the distributive law

The goal is to show that the identity (a+b)2=a2+2ab+b2(a+b)^2 = a^2+2ab+b^2 is not a rule to memorise blindly but a direct, guaranteed consequence of the distributive law of multiplication over addition applied twice, which means it must hold true for every possible value of aa and bb without exception, including negative numbers, fractions, and algebraic terms.

Step 1. Rewrite the square as a product. By definition, squaring means multiplying a quantity by itself, so (a+b)2(a+b)^2 means (a+b)×(a+b)(a+b)\times(a+b). Write it as a product of two brackets: (a+b)(a+b)(a+b)(a+b).

Step 2. Apply the distributive law to the first bracket. Treat the first (a+b)(a+b) as a single multiplier and distribute it over the two terms of the second bracket: (a+b)(a+b)=a(a+b)+b(a+b)(a+b)(a+b) = a(a+b) + b(a+b).

Step 3. Distribute again inside each piece. a(a+b)=a⋅a+a⋅b=a2+aba(a+b) = a\cdot a + a\cdot b = a^2+ab, and b(a+b)=b⋅a+b⋅b=ab+b2b(a+b) = b\cdot a + b\cdot b = ab+b^2. Putting the two pieces together gives (a+b)2=a2+ab+ab+b2(a+b)^2 = a^2+ab+ab+b^2.

Step 4. Combine the like terms. The two middle terms abab and abab are identical, so they add to 2ab2ab, leaving (a+b)2=a2+2ab+b2(a+b)^2 = a^2+2ab+b^2 exactly as claimed. Because every step used only the distributive law, which holds for all real numbers, the result holds for every choice of aa and bb — that is precisely what makes it an identity rather than an equation to be solved.

Worked example

Find 1032103^2 using an identity, then use the same identity to evaluate a2+b2a^2+b^2 when a+b=9a+b=9 and ab=14ab=14.

Step 1. Write 103103 as (100+3)(100+3), matching the pattern (a+b)2(a+b)^2 with a=100a=100 and b=3b=3.

Step 2. Apply (a+b)2=a2+2ab+b2(a+b)^2=a^2+2ab+b^2: 1032=1002+2(100)(3)+32=10000+600+9103^2 = 100^2+2(100)(3)+3^2 = 10000+600+9.

Step 3. Add the terms: 1032=10609103^2 = 10609.

Step 4. For the second part, rearrange the same identity: a2+b2=(a+b)2−2aba^2+b^2=(a+b)^2-2ab. Substituting a+b=9a+b=9 and ab=14ab=14 gives a2+b2=92−2(14)=81−28=53a^2+b^2 = 9^2-2(14) = 81-28 = \mathbf{53}.

Competitive stretch

The same rearrangement finds a−ba-b too, using (a−b)2=(a2+b2)−2ab=53−28=25(a-b)^2=(a^2+b^2)-2ab = 53-28=25, so a−b=25=5a-b=\sqrt{25}=5 (taking a>ba>b). This matches a=7,b=2a=7,b=2 since 7+2=97+2=9 and 7×2=147\times2=14. The same identity, read as (a+b)(a−b)=a2−b2(a+b)(a-b)=a^2-b^2, also speeds up products like 52×48=(50+2)(50−2)=502−22=2500−4=249652\times48=(50+2)(50-2)=50^2-2^2=2500-4=2496 whenever two numbers sit equally spaced around a round number. The cube identities extend this same mental-maths trick one step further. To cube 9999, write 99=(100−1)99=(100-1), matching (a−b)3(a-b)^3 with a=100a=100, b=1b=1: (100−1)3=1003−3(100)2(1)+3(100)(1)2−13=1000000−30000+300−1=970299(100-1)^3 = 100^3-3(100)^2(1)+3(100)(1)^2-1^3 = 1000000-30000+300-1 = 970299. Notice how each term is computed independently before the final addition, exactly as in the square-identity example above — the pattern of substituting into a memorised formula, rather than multiplying 99×99×9999\times99\times99 directly, is what makes both tricks fast under exam conditions.

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 in this chapter.
  • Mixing up the sign in (a−b)2=a2−2ab+b2(a-b)^2=a^2-2ab+b^2, writing −2ab-2ab as +2ab+2ab or vice-versa for (a+b)2(a+b)^2.
  • Confusing (a+b)(a−b)=a2−b2(a+b)(a-b)=a^2-b^2 with (a−b)2(a-b)^2: these expand to very different results even though the brackets look similar.
  • Applying a square identity where a cube is needed — (a+b)3(a+b)^3 has four terms, not the three terms of (a+b)2(a+b)^2, so mixing the two formulas gives a wrong answer.

Ask the tutor: Not sure which identity fits a particular expression, or want more practice evaluating expressions from a+ba+b and abab? Ask the AI tutor to work through more examples with you.

Why is (a+b)^2 not just a^2 + b^2? It feels like squaring should just square each term.

Squaring a sum is not the same as squaring each part separately, because (a+b)2(a+b)^2 means (a+b)(a+b) multiplied by itself, and multiplying two binomials always produces a middle cross term. Try it with numbers: (2+3)2=25(2+3)^2=25, but 22+32=132^2+3^2=13 — clearly different. The missing piece is 2ab2ab, which comes from the two cross-multiplications a×ba\times b and b×ab\times a in the distributive expansion. Always include it.

Do I really need to memorise the cube identities, or can I just multiply it out each time?

You can always multiply (a+b)3(a+b)^3 as (a+b)2×(a+b)(a+b)^2\times(a+b) if you forget the formula, and doing this once is a good way to convince yourself the identity is correct. But under exam time pressure, multiplying out four terms takes far longer than substituting into a memorised identity. Notice the coefficient pattern 1,3,3,11,3,3,1 and the powers of aa falling while powers of bb rise — that pattern makes the formula much easier to recall than treating it as four unrelated terms.

How do I decide which identity to use when I see a new expression?

Look at the structure before you touch the algebra. Two identical brackets being squared, like (2x+3y)2(2x+3y)^2, is the (a+b)2(a+b)^2 or (a−b)2(a-b)^2 pattern depending on the sign. Two brackets with the same terms but opposite signs, like (2x+3y)(2x−3y)(2x+3y)(2x-3y), is the difference-of-squares pattern. Two brackets sharing the same first letter but different constants, like (x+5)(x+3)(x+5)(x+3), is the (x+a)(x+b)(x+a)(x+b) pattern where the middle coefficient is the sum a+ba+b and the constant is the product abab. Matching the shape first saves you from expanding blindly.

Before this

Where this leads