Algebraic identities
Some products show up so often that mathematicians give them special names. Knowing these identities lets you skip the FOIL work and write the answer in one move. They also work in reverse , for factorising.
Concept
Identity 1: Square of a sum.
(a+b)2=a2+2ab+b2.
Why? (a+b)(a+b)=a2+ab+ab+b2=a2+2ab+b2.
Identity 2: Square of a difference.
(a−b)2=a2−2ab+b2.
Same FOIL with b replaced by −b. Note the middle term is minus 2ab, while the last term (−b)2=b2 is positive.
Identity 3: Difference of squares.
(a+b)(a−b)=a2−b2.
Why? (a+b)(a−b)=a2−ab+ab−b2=a2−b2. The middle terms cancel.
Identity 4: Cube of a sum.
(a+b)3=a3+3a2b+3ab2+b3.
Identity 5: Cube of a difference.
(a−b)3=a3−3a2b+3ab2−b3.
Identity 6: Sum and difference of cubes.
a3+b3=(a+b)(a2−ab+b2),a3−b3=(a−b)(a2+ab+b2).
These are the ones used most often in class VIII. We will see more later when you study quadratics in detail.
Why memorise? Because algebra problems often hide one of these identities inside them. The moment you spot it, the problem becomes a one-step computation.
Example: compute 97×103 without a calculator.
- Recognise 97×103=(100−3)(100+3), which is a difference of squares.
- =1002−32=10000−9=9991.
Example: compute 1052.
- 1052=(100+5)2=1002+2(100)(5)+52=10000+1000+25=11025.
The identity is a shortcut not just for algebra but for arithmetic.
Worked examples
Example 1. Expand (2x+3)2.
- Use (a+b)2=a2+2ab+b2 with a=2x,b=3.
- =4x2+12x+9.
Example 2. Expand (5a−4)2.
- Use (a−b)2.
- =25a2−40a+16.
Example 3. Compute (x+y)(x−y) when x=13 and y=7 without separate multiplication.
- (x+y)(x−y)=x2−y2=169−49=120.
Example 4. Expand (x+2)3.
- =x3+3x2(2)+3x(4)+8=x3+6x2+12x+8.
Try it yourself
- Expand (3x+4)2.
- Expand (a−7)2.
- Expand (2p+5q)(2p−5q).
- Compute 1022 using an identity.
- Compute 99×101 using an identity.
- Expand (x−1)3.
- Show that (a+b)2−(a−b)2=4ab.
- Show that a3−b3 when a=5,b=3 equals (a−b)(a2+ab+b2) both computed and predicted.
Activity / Insight
Identity from a square. Draw a square of side (a+b). Cut it into four pieces: a square of side a, two rectangles of a×b, and a square of side b. The total area is (a+b)2 and the four pieces sum to a2+2ab+b2. You have just seen identity 1. Try a similar geometric proof for (a−b)2 , it's a bigger square minus the pieces you cut away.