Read­ing iden­ti­ties back­wards

Here is a sim­ple but pow­er­ful idea: read an iden­tity from right to left, and it fac­torises an expres­sion for you. We will first use the square iden­ti­ties to spot per­fect-square tri­no­mi­als. Then we turn to the gen­eral qua­dratic x2+(a+b)x+abx^2 + (a + b)x + ab. You will see it three ways: as a rec­tan­gle of alge­bra tiles, as the rule "find two num­bers with the right sum and prod­uct", and finally for a lead­ing coef­fi­cient other than 11.

Per­fect squares

If an expres­sion matches the shape a2+2ab+b2a^2 + 2ab + b^2, then it equals (a+b)2(a + b)^2. Your job is to spot the match.

Exam­ple 1. Take x2+10x+25x^2 + 10x + 25. We have x2=(x)2x^2 = (x)^2 and 25=5225 = 5^2, and the mid­dle term fits too, since 10x=2(x)(5)10x = 2(x)(5). So it is (x+5)2(x + 5)^2.

Exam­ple 2. 49y2+28y+4=(7y)2+2(7y)(2)+22=(7y+2)249y^2 + 28y + 4 = (7y)^2 + 2(7y)(2) + 2^2 = (7y + 2)^2.

Exam­ple 3. 16m2−40mn+25n2=(4m)2−2(4m)(5n)+(5n)2=(4m−5n)216m^2 - 40mn + 25n^2 = (4m)^2 - 2(4m)(5n) + (5n)^2 = (4m - 5n)^2. The minus sign on the mid­dle term tells you it is (a−b)2(a - b)^2.

Exam­ple 4. Look at 3p2+24pq+48q23p^2 + 24pq + 48q^2. The first coef­fi­cient is not a square, but 33 divides every term, so 3(p2+8pq+16q2)=3(p+4q)23(p^2 + 8pq + 16q^2) = 3(p + 4q)^2. Make it a habit: always take out a com­mon fac­tor first.

The mid­dle term is your check. x2+12x+36x^2 + 12x + 36 is a square (2⋅6=122 \cdot 6 = 12 ✓), but x2+10x+36x^2 + 10x + 36 is not, even though both end terms are squares.

Three-term squares. a2+b2+c2+2ab+2bc+2ca=(a+b+c)2a^2 + b^2 + c^2 + 2ab + 2bc + 2ca = (a + b + c)^2, and the signs travel with the let­ters. For exam­ple, 4x2+y2+9z2−4xy−6yz+12zx4x^2 + y^2 + 9z^2 - 4xy - 6yz + 12zx has a=2xa = 2x, b=−yb = -y, c=3zc = 3z (check: 2ab=−4xy2ab = -4xy ✓, 2bc=−6yz2bc = -6yz ✓, 2ca=12zx2ca = 12zx ✓), so it is (2x−y+3z)2(2x - y + 3z)^2.

Dif­fer­ence of squares

a2−b2=(a+b)(a−b)a^2 - b^2 = (a + b)(a - b).

Exam­ple 5. 25s2−64t2=(5s+8t)(5s−8t)25s^2 - 64t^2 = (5s + 8t)(5s - 8t). x4−81=(x2+9)(x2−9)=(x2+9)(x+3)(x−3)x^4 - 81 = (x^2 + 9)(x^2 - 9) = (x^2 + 9)(x + 3)(x - 3).

Alge­bra tiles: a rec­tan­gle with sides x+2x + 2 and x+5x + 5

If you have alge­bra tiles, try this with your hands. Lay out one x2x^2-tile. To its right, place 22 tiles of size x×1x \times 1, and below the x2x^2-tile, 55 such tiles. Fill the cor­ner with a 5×25 \times 2 block of unit tiles. The whole thing is a rec­tan­gle x+2x + 2 wide and x+5x + 5 tall, and it con­tains x2+7x+10x^2 + 7x + 10.

Algebra tiles: one x-squared tile, 2 x-tiles beside it, 5 x-tiles below it and a 5 by 2 block of 10 unit tiles, forming a rectangle x + 2 wide and x + 5 tall.
The tiles for x squared plus 7x plus 10 close into an (x + 2) by (x + 5) rec­tan­gle.

So x2+7x+10=(x+2)(x+5)x^2 + 7x + 10 = (x + 2)(x + 5): the 7x7x is split as 2x+5x2x + 5x, and the 1010 units are arranged 22 by 55. Could we split 7x7x another way, say as 3x+4x3x + 4x? Then we would need 1212 unit tiles to close the rec­tan­gle, not 1010. So the con­stant decides the split for us.

With­out tiles: sum and prod­uct

(x+a)(x+b)=x2+(a+b)x+ab(x + a)(x + b) = x^2 + (a + b)x + ab. Once you have played with tiles, the rule makes sense: to fac­tor x2+px+qx^2 + px + q, find two num­bers with sum pp and prod­uct qq.

Exam­ple 6. For x2+13x+40x^2 + 13x + 40 we need prod­uct 4040 and sum 1313. The pairs for 4040 are (1,40),(2,20),(4,10),(5,8)(1, 40), (2, 20), (4, 10), (5, 8). The pair with sum 1313 is 55 and 88. So the answer is (x+5)(x+8)(x + 5)(x + 8).

Exam­ple 7. For x2−9x+20x^2 - 9x + 20 we need prod­uct 2020 and sum −9-9. Both num­bers must be neg­a­tive, so they are −4-4 and −5-5, giv­ing (x−4)(x−5)(x - 4)(x - 5).

Exam­ple 8. For x2+3x−28x^2 + 3x - 28 we need prod­uct −28-28 and sum 33. The signs are oppo­site, and the larger one is pos­i­tive: 77 and −4-4. So we get (x+7)(x−4)(x + 7)(x - 4).

Exam­ple 9. For x2−2x−35x^2 - 2x - 35 we need prod­uct −35-35 and sum −2-2, which gives −7-7 and 55. So the answer is (x−7)(x+5)(x - 7)(x + 5).

A quick guide to the signs. If the con­stant is pos­i­tive, both num­bers share the sign of the mid­dle term. If the con­stant is neg­a­tive, the num­bers have oppo­site signs, and the one with the larger size car­ries the sign of the mid­dle term.

Lead­ing coef­fi­cient not 11

(px+a)(qx+b)=pq x2+(pb+aq)x+ab(px + a)(qx + b) = pq\,x^2 + (pb + aq)x + ab. So to fac­tor Ax2+Bx+CAx^2 + Bx + C, find two num­bers with prod­uct ACAC and sum BB. Use them to split the mid­dle term, and then group.

Exam­ple 10. For 6x2+17x+126x^2 + 17x + 12 we have AC=72AC = 72 and need sum 1717, which gives 88 and 99.

6x2+8x+9x+12=2x(3x+4)+3(3x+4)=(3x+4)(2x+3)6x^2 + 8x + 9x + 12 = 2x(3x + 4) + 3(3x + 4) = (3x + 4)(2x + 3)

Exam­ple 11. For 8x2−14x−158x^2 - 14x - 15 we have AC=−120AC = -120 and need sum −14-14, which gives −20-20 and 66.

8x2−20x+6x−15=4x(2x−5)+3(2x−5)=(2x−5)(4x+3)8x^2 - 20x + 6x - 15 = 4x(2x - 5) + 3(2x - 5) = (2x - 5)(4x + 3)

Rec­tan­gles and pools

Exam­ple 12. A rec­tan­gle is assem­bled from one square of side xx, 99 strips xx by 11, and 1818 unit squares. What are its sides?

The area is x2+9x+18=(x+3)(x+6)x^2 + 9x + 18 = (x + 3)(x + 6), so the sides are x+3x + 3 and x+6x + 6.

Algebra tiles: one x-squared tile, 3 x-tiles beside it, 6 x-tiles below it and a 6 by 3 block of 18 unit tiles, forming a rectangle x + 3 wide and x + 6 tall.
Exam­ple 12: the rec­tan­gle has sides x + 3 and x + 6.

Exam­ple 13. A pool's length is 55 m more than its width and its area is 8484 m². Find the width.

Call the width ww. Then w(w+5)=84w(w + 5) = 84, which gives w2+5w−84=0w^2 + 5w - 84 = 0. We need prod­uct −84-84 and sum 55, so the num­bers are 1212 and −7-7. From (w+12)(w−7)=0(w + 12)(w - 7) = 0 we get w=7w = 7. We throw away −12-12, since a length can­not be neg­a­tive. So the pool is 77 m wide and 1212 m long.

A rectangular pool 12 m long and 7 m wide, labelled with width w = 7 m, length w + 5 = 12 m and area 84 square metres.
Exam­ple 13: the pool is 7 m wide and 12 m long.

Prac­tice

  1. Fac­tor: (a) x2+14x+49x^2 + 14x + 49; (b) 9a2−30ab+25b29a^2 - 30ab + 25b^2; (c) 2y2+20y+502y^2 + 20y + 50; (d) x2+4y2+z2+4xy−4yz−2zxx^2 + 4y^2 + z^2 + 4xy - 4yz - 2zx.
  2. Fac­tor: (a) 36−49k236 - 49k^2; (b) a4−16b4a^4 - 16b^4.
  3. Fac­tor: (a) x2+11x+24x^2 + 11x + 24; (b) x2−12x+27x^2 - 12x + 27; (c) x2+5x−36x^2 + 5x - 36; (d) x2−x−56x^2 - x - 56.
  4. Fac­tor: (a) 3x2+10x+83x^2 + 10x + 8; (b) 10x2−19x+610x^2 - 19x + 6; (c) 4x2+4x−154x^2 + 4x - 15.
  5. Fill in: x2−15x+54=(x−_)(x−_)x^2 - 15x + 54 = (x - \_)(x - \_); 12x2−x−6=(3x+_)(_x−3)12x^2 - x - 6 = (3x + \_)(\_ x - 3).
  6. A rec­tan­gle has area x2+12x+32x^2 + 12x + 32. Give pos­si­ble side lengths.
  7. A rec­tan­gu­lar hall is 77 m longer than it is wide and has area 120120 m². Find its dimen­sions.
  8. A cuboid has vol­ume 5a2b−45b35a^2b - 45b^3. Give pos­si­ble dimen­sions.

Answers

Show answers
  1. (a) (x+7)2(x + 7)^2. (b) (3a−5b)2(3a - 5b)^2. (c) 2(y+5)22(y + 5)^2. (d) (x+2y−z)2(x + 2y - z)^2.
  2. (a) (6+7k)(6−7k)(6 + 7k)(6 - 7k). (b) (a2+4b2)(a+2b)(a−2b)(a^2 + 4b^2)(a + 2b)(a - 2b).
  3. (a) (x+3)(x+8)(x + 3)(x + 8). (b) (x−3)(x−9)(x - 3)(x - 9). (c) (x+9)(x−4)(x + 9)(x - 4). (d) (x−8)(x+7)(x - 8)(x + 7).
  4. (a) AC=24AC = 24, sum 1010: 4,64, 6: (3x+4)(x+2)(3x + 4)(x + 2). (b) AC=60AC = 60, sum −19-19: −15,−4-15, -4: (2x−3)(5x−2)(2x - 3)(5x - 2). (c) AC=−60AC = -60, sum 44: 10,−610, -6: (2x+5)(2x−3)(2x + 5)(2x - 3).
  5. (x−6)(x−9)(x - 6)(x - 9); (3x+2)(4x−3)(3x + 2)(4x - 3).
  6. (x+4)(x+8)(x + 4)(x + 8): sides x+4x + 4 and x+8x + 8.
  7. w(w+7)=120w(w + 7) = 120, w2+7w−120=0w^2 + 7w - 120 = 0, (w+15)(w−8)=0(w + 15)(w - 8) = 0, w=8w = 8. 88 m by 1515 m.
  8. 5b(a2−9b2)=5b(a+3b)(a−3b)5b(a^2 - 9b^2) = 5b(a + 3b)(a - 3b): dimen­sions 5b5b, a+3ba + 3b, a−3ba - 3b.