- Foundation
- About 16 min
- 5 practice questions
The square of a difference, perfect squares and (a + b + c)²
Use (a − b)² = a² − 2ab + b² to square numbers and to prove number patterns, factorise perfect-square expressions, and expand the square of a three-term expression.
If something looks wrong, please tell us.
By the end of this lesson you can
- Derive (a − b)² = a² − 2ab + b² and use it to find squares such as 98² mentally.
- Recognise and factorise perfect-square expressions, taking out a common factor first when needed.
- Expand (a + b + c)² = a² + b² + c² + 2ab + 2bc + 2ca and use it for expressions and numbers.
Identities work in both directions. Read left to right, they expand a product; read right to left, they factorise an expression. In this lesson we add two more identities and start factorising.
The square of a difference
Replace b by −b in (a + b)² = a² + 2ab + b²: (a + (−b))² = a² + 2a(−b) + (−b)², which gives (a − b)² = a² − 2ab + b². As an area: start with a square of side a and cut off strips of width b along two sides. The corner square left has side a − b.
(a − b)² = a² − 2ab + b² for all numbers a and b.
Worked example 1: squares just below a round number
98² = (100 − 2)² = 10000 − 2 × 100 × 2 + 4 = 10000 − 400 + 4 = 9604. 59² = (60 − 1)² = 3600 − 120 + 1 = 3481. 199² = (200 − 1)² = 40000 − 400 + 1 = 39601.
Worked example 2: proving the 'always 2' pattern
Call three consecutive numbers n − 1, n and n + 1. Their squares are (n − 1)², n² and (n + 1)². Then (n − 1)² + (n + 1)² − 2n² = (n² − 2n + 1) + (n² + 2n + 1) − 2n² = 2. The terms in n cancel, so the answer is 2 for every n. This short calculation is a proof of the pattern from the last lesson, something no number of examples could give.
Factorising perfect squares
An expression of the form a² + 2ab + b² or a² − 2ab + b² is a perfect square. To spot one, check that the first and last terms are squares and that the middle term is twice the product of their square roots.
Is it a perfect square?
- Take out any common factor For example 12a² + 12ab + 3b² = 3(4a² + 4ab + b²).
- Find the square roots of the end terms 4a² = (2a)² and b² = (b)².
- Test the middle term Is it 2 × 2a × b = 4ab? Yes.
- Write the answer 3(2a + b)², with − instead of + if the middle term is negative.
Worked example 3: three factorisations
(a) x² + 10x + 25: x² = (x)², 25 = 5² and 10x = 2(x)(5), so it is (x + 5)². (b) 49m² − 42m + 9: 49m² = (7m)², 9 = 3² and 42m = 2(7m)(3), with a minus sign, so it is (7m − 3)². (c) 12a² + 12ab + 3b²: take out 3 to get 3(4a² + 4ab + b²) = 3(2a + b)². Check (b) by expanding: (7m − 3)² = 49m² − 42m + 9. Correct.
The square of a three-term sum
Write b + c as a single number d: (a + d)² = a² + 2ad + d² = a² + 2a(b + c) + (b + c)² = a² + 2ab + 2ac + b² + 2bc + c². Rearranged: (a + b + c)² = a² + b² + c² + 2ab + 2bc + 2ca. In a square of side a + b + c divided into a 3 by 3 grid, the three diagonal pieces are squares a², b², c², and the other six are rectangles in pairs ab, bc, ca.
(a + b + c)² = a² + b² + c² + 2ab + 2bc + 2ca: the sum of the three squares plus twice each of the three products.
Worked example 4: using (a + b + c)²
(a) Expand (x + 2y − 3z)². Here a = x, b = 2y, c = −3z. Squares: x² + 4y² + 9z². Products doubled: 2(x)(2y) = 4xy, 2(2y)(−3z) = −12yz, 2(−3z)(x) = −6zx. So the answer is x² + 4y² + 9z² + 4xy − 12yz − 6zx. (b) Find 112² as (100 + 10 + 2)²: 10000 + 100 + 4 + 2(100)(10) + 2(10)(2) + 2(2)(100) = 10000 + 100 + 4 + 2000 + 40 + 400 = 12544.
Key takeaways: (a − b)² = a² − 2ab + b² comes from (a + b)² by replacing b with −b. A perfect square has square end terms and a middle term equal to twice the product of their roots; take out common factors first. (a + b + c)² is the three squares plus twice each pair's product. Algebra can prove a number pattern for every case at once.
Check your understanding
-
1. Using (a − b)², what is 89²?
- 8101
- 7921
- 7941
- 7821
Show answer
Answer: B. 89² = (90 − 1)² = 8100 − 2 × 90 × 1 + 1 = 8100 − 180 + 1 = 7921.
-
2. Which is the factorised form of 36s² − 12st + t²?
- (6s + t)²
- (36s − t)²
- (6s − t)²
- (6s − t)(6s + t)
Show answer
Answer: C. 36s² = (6s)², t² = (t)², and 12st = 2(6s)(t). The middle term is negative, so 36s² − 12st + t² = (6s − t)².
-
3. What is 18x² + 12x + 2 written as a perfect square times a number?
- 2(3x + 1)²
- (3x + 1)²
- 2(9x + 1)²
- (18x + 2)²
Show answer
Answer: A. Take out 2: 18x² + 12x + 2 = 2(9x² + 6x + 1). Then 9x² = (3x)², 1 = 1² and 6x = 2(3x)(1), so the answer is 2(3x + 1)².
-
4. What is the coefficient of yz in the expansion of (2x − y + 4z)²?
- −8
- 8
- −4
- 16
Show answer
Answer: A. In (a + b + c)² the bc term is 2bc. Here b = −y and c = 4z, so 2bc = 2(−y)(4z) = −8yz. The coefficient is −8.
-
5. Three consecutive whole numbers are 10, 11 and 12. What is 10² + 12² − 2 × 11²?
- 0
- 4
- 2
- 22
Show answer
Answer: C. 100 + 144 − 2 × 121 = 244 − 242 = 2. This matches the identity (n − 1)² + (n + 1)² − 2n² = 2 with n = 11.
Sign in to keep track of the lessons you finish.