Counting the same thing in different ways

Give a growing pattern of dots to a few friends and ask them to count it. One sees a square with a corner missing. Another sees a square plus two rows. A third sees a rectangle plus a strip. Each way of seeing gives a different-looking expression, and yet when you expand them, they all agree. That is what this lesson is about: describing patterns and shaded regions with algebra in more than one way, and then using the identities to confirm that every route leads to the same place. A mixed practice set follows.

One pattern, four expressions

Here is a pattern of circles that grows like this: 3,8,15,24,…3, 8, 15, 24, \ldots at steps 1,2,3,41, 2, 3, 4.

Steps 1 to 4 of a circle pattern: squares of 2 by 2, 3 by 3, 4 by 4 and 5 by 5 circles, each with one corner circle missing, giving 3, 8, 15 and 24 circles.
Step k is a (k + 1) by (k + 1) square with one circle missing
  • Square minus one. Step kk is a (k+1)×(k+1)(k + 1) \times (k + 1) square with one circle missing: (k+1)2−1(k + 1)^2 - 1.
  • Square plus two rows. A k×kk \times k square with two extra rows of kk: k2+2kk^2 + 2k.
  • Rectangle plus a row. A k×(k+1)k \times (k + 1) rectangle and a row of kk: k(k+1)+kk(k + 1) + k.
  • One rectangle. kk rows of k+2k + 2: k(k+2)k(k + 2).

Now expand them: (k+1)2−1=k2+2k(k + 1)^2 - 1 = k^2 + 2k; k(k+1)+k=k2+2kk(k + 1) + k = k^2 + 2k; k(k+2)=k2+2kk(k + 2) = k^2 + 2k. They are all the same. So at step 1515 there are 225+30=255225 + 30 = 255 circles, whichever way you like to count.

A second pattern. This one uses tiles: 8,12,16,…8, 12, 16, \ldots Step nn is a square of side n+2n + 2 with a square of side nn taken out of the middle, giving (n+2)2−n2=4n+4(n + 2)^2 - n^2 = 4n + 4. Or you could see it as four strips of n+1n + 1, which gives 4(n+1)4(n + 1). Either way, step 1010 has 4444 tiles.

Steps 1 to 3 of a tile pattern: squares of side 3, 4 and 5 with a centre square of side 1, 2 and 3 left empty, giving frames of 8, 12 and 16 tiles.
Tile frames of 8, 12 and 16 tiles

Shaded regions

A square frame. Four identical m×nm \times n rectangles (n>mn > m) are laid around a central square so that together they form a square of side m+nm + n. There are two ways to find the area of the square in the middle:

Four identical m by n rectangles arranged around a central square to make a large square of side m + n; the central square left over has side n − m.
Four m by n rectangles around a square of side n − m
  • Take the outer square and subtract the four rectangles: (m+n)2−4mn(m + n)^2 - 4mn.
  • Notice that its side is n−mn - m: (n−m)2(n - m)^2.

Expanding, m2+2mn+n2−4mn=m2−2mn+n2m^2 + 2mn + n^2 - 4mn = m^2 - 2mn + n^2 ✓.

Rectangles inside a square. A square of side xx has an x×yx \times y rectangle cut away along one edge. The area left is x2−xy=x(x−y)x^2 - xy = x(x - y). With x=8x = 8 and y=3y = 3, that is 4040.

A framed rectangle. A p×sp \times s rectangle has a border of width rr all round it, like a photo in a frame. The border's area is (p+2r)(s+2r)−ps=2r(p+s)+4r2(p + 2r)(s + 2r) - ps = 2r(p + s) + 4r^2. With p=6p = 6, r=3.5r = 3.5 and s=9s = 9, it comes to 7×15+49=1547 \times 15 + 49 = 154.

A 9 by 6 rectangle inside a border 3.5 wide on every side, making an outer rectangle 16 by 13; the shaded border has area 154.
A 6 by 9 rectangle with a border 3.5 wide

More identities worth noticing

Suppose someone claims the expression below always comes to two. Let's check: (k+1)(k+2)−(k+3)=k2+3k+2−k−3=k2+2k−1(k + 1)(k + 2) - (k + 3) = k^2 + 3k + 2 - k - 3 = k^2 + 2k - 1. That is not a constant, so the claim "always 22" is false.

Now take the product of two odd numbers that differ by four: (2q+1)(2q−3)=4q2−4q−3=4(q2−q)−3(2q + 1)(2q - 3) = 4q^2 - 4q - 3 = 4(q^2 - q) - 3. That is three less than a multiple of 44. So it is never a multiple of 44.

The squares of even numbers, (2n)2=4n2(2n)^2 = 4n^2, are multiples of 44. The squares of odd numbers, (2n+1)2=4n2+4n+1=4n(n+1)+1(2n + 1)^2 = 4n^2 + 4n + 1 = 4n(n + 1) + 1, are one more than a multiple of 88, because n(n+1)n(n + 1) is always even.

Here is one that doesn't quite work out: (6n+2)2−(4n+3)2=(10n+5)(2n−1)=20n2−5(6n + 2)^2 - (4n + 3)^2 = (10n + 5)(2n - 1) = 20n^2 - 5. The result is 55 less than 20n220n^2, and 20n220n^2 is a perfect square only for special values of nn. So the claim that this is always "55 less than a square" is false in general.

The middle square minus the outer product. For three consecutive numbers n−1,n,n+1n - 1, n, n + 1: n2−(n−1)(n+1)=n2−(n2−1)=1n^2 - (n - 1)(n + 1) = n^2 - (n^2 - 1) = 1. It is always 11.

Half the sum times the sum. For two numbers a,ba, b: (a+b)×a+b2=(a+b)22\displaystyle (a + b) \times \dfrac{a + b}{2} = \dfrac{(a + b)^2}{2}, which is half the square of the sum.

Practice

  1. Compute with the named identity: 46246^2 (1A); 397×403397 \times 403 (1C); 91291^2 (1B); 43×4543 \times 45 (1C, with a=44a = 44).
  2. Expand: (a) (p−1)(p+11)(p - 1)(p + 11); (b) (3a−9b)(3a+9b)(3a - 9b)(3a + 9b); (c) −(2y+5)(3y+4)-(2y + 5)(3y + 4); (d) (6x+5y)2(6x + 5y)^2; (e) (2x−12)2\displaystyle \left(2x - \dfrac{1}{2}\right)^2; (f) 7p×3r×(p+2)7p \times 3r \times (p + 2).
  3. Pick the expressions that fit: (a) "two more than a square": s2+2s^2 + 2, (s+2)2(s + 2)^2, 2s22s^2, s+2s + 2. (b) "the sum of the squares of two consecutive numbers": m2+(m+1)2m^2 + (m + 1)^2, (m+(m+1))2(m + (m + 1))^2, m2+(m−1)2m^2 + (m - 1)^2, (2m)2+(2m+1)2(2m)^2 + (2m + 1)^2.
  4. In a calendar, take a 2×22 \times 2 block: aa, a+1a + 1, a+7a + 7, a+8a + 8. Multiply along each diagonal and subtract. What do you get, and why?
  5. Verify or refute: (a) (k+2)(k+5)−(k+3)(k+4)(k + 2)(k + 5) - (k + 3)(k + 4) is always −2-2; (b) (2q+3)(2q−1)(2q + 3)(2q - 1) is a multiple of 44; (c) (3n+1)2−(3n−1)2(3n + 1)^2 - (3n - 1)^2 is a multiple of 1212.
  6. A number leaves remainder 22 on division by 99 and another leaves 66. Remainders of their sum, difference and product on division by 99?
  7. Take three consecutive numbers, square the middle, subtract the product of the outer two. Try several sets, state the identity, and prove it.
  8. Which is larger, without full computation: 17×2317 \times 23 or 19×2119 \times 21? 30×7030 \times 70 or 31×6931 \times 69?
  9. Two square lawns of side gg sit side by side, and a tiled path of width ww runs round the outside of the pair. Find the tiled area.
  10. For the pattern 4,9,16,25,…4, 9, 16, 25, \ldots (step 1,2,3,41, 2, 3, 4) and for 2,6,12,20,…2, 6, 12, 20, \ldots, draw step 55, give step 1010, and write the expression for step yy.

Answers

Show answers
  1. (40+6)2=1600+480+36=2116(40 + 6)^2 = 1600 + 480 + 36 = 2116. (400−3)(400+3)=159991(400 - 3)(400 + 3) = 159991. (90+1)2(90 + 1)^2 or (100−9)2=8281(100 - 9)^2 = 8281. (44−1)(44+1)=1935(44 - 1)(44 + 1) = 1935.
  2. (a) p2+10p−11p^2 + 10p - 11. (b) 9a2−81b29a^2 - 81b^2. (c) −6y2−23y−20-6y^2 - 23y - 20. (d) 36x2+60xy+25y236x^2 + 60xy + 25y^2. (e) 4x2−2x+14\displaystyle 4x^2 - 2x + \dfrac{1}{4}. (f) 21p2r+42pr21p^2r + 42pr.
  3. (a) s2+2s^2 + 2. (b) m2+(m+1)2m^2 + (m + 1)^2, m2+(m−1)2m^2 + (m - 1)^2, (2m)2+(2m+1)2(2m)^2 + (2m + 1)^2 all qualify (with different names for the smaller number); (m+(m+1))2(m + (m + 1))^2 does not.
  4. (a+1)(a+7)−a(a+8)=a2+8a+7−a2−8a=7(a + 1)(a + 7) - a(a + 8) = a^2 + 8a + 7 - a^2 - 8a = 7. Always 77, the length of a week.
  5. (a) k2+7k+10−k2−7k−12=−2k^2 + 7k + 10 - k^2 - 7k - 12 = -2: true. (b) 4q2+4q−34q^2 + 4q - 3: three less than a multiple of 44: false. (c) (3n+1+3n−1)(3n+1−3n+1)=6n×2=12n(3n + 1 + 3n - 1)(3n + 1 - 3n + 1) = 6n \times 2 = 12n: true.
  6. (9p+2)+(9q+6)=9(p+q)+8(9p + 2) + (9q + 6) = 9(p + q) + 8: 88. Difference 9(p−q)−4=9(p−q−1)+59(p - q) - 4 = 9(p - q - 1) + 5: 55. Product 81pq+54p+18q+12=9(…)+1281pq + 54p + 18q + 12 = 9(\ldots) + 12: 12→312 \to 3.
  7. n2−(n−1)(n+1)=1n^2 - (n - 1)(n + 1) = 1.
  8. 17×23=202−9=39117 \times 23 = 20^2 - 9 = 391; 19×21=400−1=39919 \times 21 = 400 - 1 = 399: the second. 30×70=210030 \times 70 = 2100; 31×69=213931 \times 69 = 2139, since (50−19)(50+19)=2500−361=2139(50 - 19)(50 + 19) = 2500 - 361 = 2139; the second.
  9. Outer rectangle (2g+2w)(g+2w)(2g + 2w)(g + 2w); lawns 2g22g^2; path =2g2+4gw+2gw+4w2−2g2=6gw+4w2= 2g^2 + 4gw + 2gw + 4w^2 - 2g^2 = 6gw + 4w^2.
  10. First: (y+1)2(y + 1)^2; step 1010: 121121. Second: y(y+1)y(y + 1); step 1010: 110110.