Identity versus equation; (a + b)², (a − b)² and (a + b + c)² as pictures of squares and rectangles and by distributivity; a pattern in consecutive squares explained; a² − b² and Śrīdharācārya's squaring trick for mental arithmetic.
Lesson 1 of 4
5 min read
7 practice questions
Pictures that prove algebra
An identity is an equation that stays true whatever values you give its letters. In this lesson we take the three square identities one at a time. Each one can be seen as a picture made of squares and rectangles. Then we confirm it with the distributive law, so that we know it holds for negatives and fractions too. Finally we put the identities to work on mental arithmetic, including a squaring trick that Śrīdharācārya recorded in the eighth century.
Identity versus equation
Compare two statements. x2−4=5 is true only for x=3 and x=−3, so it is an equation. But (x+1)2=x2+2x+1 is true whatever x is, so it is an identity. Think of an identity as a rule for rewriting an expression, not as a puzzle waiting for a solution.
A pattern to explain
Take three consecutive squares, say 16,25,36. Add the outer two and subtract twice the middle one: 16+36−50=2. Now try 49,64,81: 49+81−128=2. It is always 2. Why should that be? Keep the question in mind, because by the end of this lesson you will be able to prove it.
(a+b)2
Draw a square of side a+b. Cut it with one horizontal and one vertical line into four pieces: a square of side a, a square of side b, and two rectangles a by b. The area of the big square must equal the areas of the pieces added together.
The square on a + b is a squared plus 2ab plus b squared.
(a+b)2=a2+2ab+b2
A picture can only use positive lengths, of course. To be sure the identity also works for negatives and fractions, we use distributivity.
(a+b)(a+b)=a(a+b)+b(a+b)=a2+ab+ba+b2=a2+2ab+b2
Let us check with negatives, taking a=−3 and b=−1. The left side is (−4)2=16, and the right side is 9+6+1=16 ✓.
A warning that every teacher gives: (a+b)2=a2+b2 in general. The two differ by 2ab. The square of the sum is larger when ab>0, smaller when ab<0, and equal only when one of them is 0.
Example 1.(4x+3y)2=16x2+24xy+9y2.
Example 2.(2p+21q)2=4p2+2pq+41q2.
Example 3.532=(50+3)2=2500+300+9=2809.
(a−b)2
You do not need a new idea here. Just replace b by −b in the first identity.
(a−b)2=a2−2ab+b2
This one has a picture too. Start with a square of side a and mark off b along two sides that meet. The corner square of side a−b is what is left after you remove two strips, one a by b and one b by a−b. In symbols, a2−ab−b(a−b)=a2−2ab+b2.
Removing two strips from the square on a leaves the square on a - b.
Example 4.(5m−2n)2=25m2−20mn+4n2.
Example 5.482=(50−2)2=2500−200+4=2304.
Example 6.1972=(200−3)2=40000−1200+9=38809.
The pattern explained. Now we can settle the puzzle from the start. Call three consecutive numbers n−1, n, n+1. The outer squares add up to (n−1)2+(n+1)2=2n2+2. Subtract 2n2, and you are left with 2, every time.
(a+b+c)2
Here is a neat trick: treat two of the terms as one. Write b+c=d. Then (a+d)2=a2+2ad+d2=a2+2a(b+c)+(b+c)2, which expands to
(a+b+c)2=a2+b2+c2+2ab+2bc+2ca
An easy way to remember it: every square, plus twice every pair. The picture is a square of side a+b+c cut into three squares and six rectangles.
Every square, plus two of every pair.
Example 7. For (2x+y−3z)2, take a=2x, b=y, c=−3z, keeping the minus sign with the last term. This gives 4x2+y2+9z2+4xy−6yz−12zx.
You met this one in Grade 8: (a+b)(a−b)=a2−b2. Rearrange it and you get a2=(a+b)(a−b)+b2. Śrīdharācārya (c. 750 CE) used exactly this to square numbers, by pushing them to a convenient neighbour.
672=(67+3)(67−3)+32=70×64+9=4480+9=4489
952=(95+5)(95−5)+25=100×90+25=9025
Numbers ending in 5 come out especially neatly: 452=50×40+25=2025, and 752=80×70+25=5625. So here is a quick rule you can use in your head: multiply the tens digit by one more than itself, then write 25 after it.
The same idea helps with products that sit on either side of a round number: 32×28=(30+2)(30−2)=900−4=896.
Evaluate with an identity: (a) 622; (b) 892; (c) 3042; (d) 9982.
Use a2=(a+b)(a−b)+b2 for 582 and 852.
Evaluate 47×53 and 106×94 without long multiplication.
If x+y=9 and xy=14, find x2+y2 and (x−y)2.
Is (a+b−c)2+(a−b+c)2=2a2+2(b−c)2 an identity? Decide by expanding.
Take any four consecutive squares, such as 9,16,25,36. Compute (first + last) − (second + third). Repeat with another four and prove what you find.