Algebraic identities: squares and difference of squares
Multiply in your head. Long multiplication takes half a minute and invites arithmetic slips — but notice that and sit three steps above and below the round number . That symmetry is not a coincidence you have to spot fresh every time; it is a pattern with a name, an algebraic identity, and once you know it the answer drops out in seconds as . This article covers the three standard identities of Class 8: the square of a sum , the square of a difference , and the difference of squares . Each is not a rule to memorise blindly but a direct consequence of the distributive law you already know from expanding two binomials. Once derived and understood, they turn awkward-looking squares and products — , , — into a few lines of easy arithmetic, and they set up factorisation, a core Class 8–9 skill, in the chapter ahead.
The three products , and expand, by the distributive law, to , and respectively, and recognising which pattern a given multiplication matches turns slow arithmetic into a few quick steps.
The core idea
An identity is an equation true for every value of the letters in it — unlike an ordinary equation, which is only true for particular values and has to be solved. The three identities below are always true, for any and whatsoever, which is exactly why they are worth memorising and applying on sight.
1. Square of a sum. Expanding by the distributive law:
where: and are the two terms of the bracket, and are their individual squares, and is twice their product — the "middle term" that is easiest to forget.
2. Square of a difference. Expanding the same way, but with a subtraction:
where: the last term is still , never , because a negative times a negative is positive; only the middle term changes sign compared to the identity above.
3. Difference of squares. Expanding , the two middle terms are opposites and cancel out completely rather than combining:
where: the result has only two terms, not three — this is the tell-tale sign that a product matches this pattern rather than one of the two square identities above. The figure below shows why has that extra term: it is a geometric picture, not just algebra. A square of side splits into a square of side , a square of side , and two identical rectangles of area each — hence .
The two square identities differ only in the sign of the middle term ; the difference-of-squares identity is structurally different, collapsing to two terms because its middle terms cancel. Spotting which of the three shapes a product matches — same bracket twice with a plus, same bracket twice with a minus, or a plus bracket paired with a minus bracket of the same two terms — is the key skill before applying any identity.
The goal is to show that all three standard identities are not separate facts to memorise but a single idea, the distributive law , applied twice to a product of two binomials — so that if you ever forget an identity in an exam, you can rebuild it in under a minute from first principles.
Step 1. Start from the general binomial product, which you already know how to expand: , obtained by distributing each term of the first bracket over the second.
Step 2. For the square of a sum, set and , so the product becomes . Substituting into the general expansion: . Since , the two middle terms are identical and combine: .
Step 3. For the square of a difference, set and , so the product is . The same distribution gives , since . The two middle terms are again identical (both ) and combine to give .
Step 4. For the difference of squares, keep the first bracket as but pair it with instead, i.e. , in one bracket only: . This time the middle terms are opposites, and , and they cancel to zero, leaving only . All three results depend on nothing beyond one application of the distributive law, so they hold for any real numbers and — which is exactly what makes them identities rather than equations to be solved.
Worked example
Use the difference-of-squares identity to compute without long multiplication, and check the result against the earlier example of .
Step 1. Notice that and are equally spaced around the round number : and .
Step 2. Match this to the pattern with , , so apply the identity :
Step 3. Compute each piece:
Step 4. Subtract:
The product is . As a check, this should be close to but slightly less than , and fits: the "loss" from is exactly , however far apart and are chosen, showing the same shortcut used earlier for and works identically here.
Competitive stretch
The same trick extends to decimals: is — no long multiplication of decimals needed, only the square-of-a-difference identity with , .
Common traps
- Forgetting the middle term. Writing drops the entirely; squaring a sum is not the same as summing the squares.
- Sign confusion in . The last term stays , never ; only the middle term flips sign compared to .
- Forcing the wrong identity. The difference-of-squares pattern needs one bracket with a plus and one with a minus of the same two terms; it cannot be applied to or .
- Choosing an awkward split. The shortcut only saves time if is round and easy to square, like , or ; splitting as instead of throws away the advantage.
Ask the tutor: pick any three-digit number close to a multiple of 100 and ask the tutor to walk through the fastest identity-based way to square it.
Why do I need to memorise these identities if I can just multiply the brackets out every time?
You can always fall back on the distributive law, and in fact that is exactly how you should rebuild an identity if you forget it — Step 1 to Step 4 of the derivation above takes under a minute. But in a timed exam, recognising the pattern instantly and writing the three-term or two-term answer directly is much faster than expanding term by term every single time, especially for numeric shortcuts like or where speed matters.
How do I know whether to use the square identity or the difference-of-squares identity on a given multiplication?
Look at the two brackets. If both brackets are literally the same, like or , you have a square — use or and expect three terms. If the two brackets share the same two terms but one has a plus and the other a minus, like , you have a difference of squares — expect only two terms, since the middle terms cancel. For a numeric shortcut, check whether the two numbers are equally spaced above and below a round middle value; if so, that middle value is and the spacing is .
Does the order of a and b matter, and can b be negative?
The identities hold for any real numbers and , including negative ones, because the derivation only used the distributive law, which works for all real numbers. Swapping and does not change or in the sense that the set of values used is the same, but it does change which number plays which role — always match to the round, easy-to-square number when using the identities as a mental-math shortcut, since that is what makes the calculation fast.