Recognising perfect-square trinomials, difference of squares, the algebra-tile rectangle for x² + 7x + 10, the sum-and-product rule with a sign guide, splitting the middle term when the leading coefficient is not 1, and rectangles and pools.
Lesson 2 of 4
6 min read
8 practice questions
Reading identities backwards
Here is a simple but powerful idea: read an identity from right to left, and it factorises an expression for you. We will first use the square identities to spot perfect-square trinomials. Then we turn to the general quadratic x2+(a+b)x+ab. You will see it three ways: as a rectangle of algebra tiles, as the rule "find two numbers with the right sum and product", and finally for a leading coefficient other than 1.
Perfect squares
If an expression matches the shape a2+2ab+b2, then it equals (a+b)2. Your job is to spot the match.
Example 1. Take x2+10x+25. We have x2=(x)2 and 25=52, and the middle term fits too, since 10x=2(x)(5). So it is (x+5)2.
Example 2.49y2+28y+4=(7y)2+2(7y)(2)+22=(7y+2)2.
Example 3.16m2−40mn+25n2=(4m)2−2(4m)(5n)+(5n)2=(4m−5n)2. The minus sign on the middle term tells you it is (a−b)2.
Example 4. Look at 3p2+24pq+48q2. The first coefficient is not a square, but 3 divides every term, so 3(p2+8pq+16q2)=3(p+4q)2. Make it a habit: always take out a common factor first.
The middle term is your check. x2+12x+36 is a square (2⋅6=12 ✓), but x2+10x+36 is not, even though both end terms are squares.
Three-term squares.a2+b2+c2+2ab+2bc+2ca=(a+b+c)2, and the signs travel with the letters. For example, 4x2+y2+9z2−4xy−6yz+12zx has a=2x, b=−y, c=3z (check: 2ab=−4xy ✓, 2bc=−6yz ✓, 2ca=12zx ✓), so it is (2x−y+3z)2.
Algebra tiles: a rectangle with sides x+2 and x+5
If you have algebra tiles, try this with your hands. Lay out one x2-tile. To its right, place 2 tiles of size x×1, and below the x2-tile, 5 such tiles. Fill the corner with a 5×2 block of unit tiles. The whole thing is a rectangle x+2 wide and x+5 tall, and it contains x2+7x+10.
The tiles for x squared plus 7x plus 10 close into an (x + 2) by (x + 5) rectangle.
So x2+7x+10=(x+2)(x+5): the 7x is split as 2x+5x, and the 10 units are arranged 2 by 5. Could we split 7x another way, say as 3x+4x? Then we would need 12 unit tiles to close the rectangle, not 10. So the constant decides the split for us.
Without tiles: sum and product
(x+a)(x+b)=x2+(a+b)x+ab. Once you have played with tiles, the rule makes sense: to factor x2+px+q, find two numbers with sum p and product q.
Example 6. For x2+13x+40 we need product 40 and sum 13. The pairs for 40 are (1,40),(2,20),(4,10),(5,8). The pair with sum 13 is 5 and 8. So the answer is (x+5)(x+8).
Example 7. For x2−9x+20 we need product 20 and sum −9. Both numbers must be negative, so they are −4 and −5, giving (x−4)(x−5).
Example 8. For x2+3x−28 we need product −28 and sum 3. The signs are opposite, and the larger one is positive: 7 and −4. So we get (x+7)(x−4).
Example 9. For x2−2x−35 we need product −35 and sum −2, which gives −7 and 5. So the answer is (x−7)(x+5).
A quick guide to the signs. If the constant is positive, both numbers share the sign of the middle term. If the constant is negative, the numbers have opposite signs, and the one with the larger size carries the sign of the middle term.
Leading coefficient not 1
(px+a)(qx+b)=pqx2+(pb+aq)x+ab. So to factor Ax2+Bx+C, find two numbers with product AC and sum B. Use them to split the middle term, and then group.
Example 10. For 6x2+17x+12 we have AC=72 and need sum 17, which gives 8 and 9.
6x2+8x+9x+12=2x(3x+4)+3(3x+4)=(3x+4)(2x+3)
Example 11. For 8x2−14x−15 we have AC=−120 and need sum −14, which gives −20 and 6.
8x2−20x+6x−15=4x(2x−5)+3(2x−5)=(2x−5)(4x+3)
Rectangles and pools
Example 12. A rectangle is assembled from one square of side x, 9 strips x by 1, and 18 unit squares. What are its sides?
The area is x2+9x+18=(x+3)(x+6), so the sides are x+3 and x+6.
Example 12: the rectangle has sides x + 3 and x + 6.
Example 13. A pool's length is 5 m more than its width and its area is 84 m². Find the width.
Call the width w. Then w(w+5)=84, which gives w2+5w−84=0. We need product −84 and sum 5, so the numbers are 12 and −7. From (w+12)(w−7)=0 we get w=7. We throw away −12, since a length cannot be negative. So the pool is 7 m wide and 12 m long.