Algebra · JSS 2, JSS 3
Perfect squares
Expand a bracket squared in one step.
- (a + b)2 = a2 + 2ab + b2
- (a − b)2 = a2 − 2ab + b2
What the letters mean
- a, b
- any numbers or terms
Worked example
Use (a + b)2 to work out 1022 without a calculator.
Step 1: Write 102 as 100 + 2
1022 = (100 + 2)2
Step 2: Expand
= 1002 + 2 × 100 × 2 + 22
= 10,000 + 400 + 4
Step 3: Add
= 10,404
Final answer: 10,404
(a + b)2 is not a2 + b2: don't forget the middle term 2ab.
When to use it
Use these formulas whenever a bracket is squared, such as (x + 5)2 or (2y − 3)2, or to square a number near a round number without a calculator. They also work backwards: an expression like x2 + 10x + 25 factorises as (x + 5)2. Don't use them for (a + b)(a − b), which is the difference of two squares.
Why it works
Squaring means multiplying the bracket by itself: (a + b)2 = (a + b)(a + b). Multiply each term in the first bracket by each term in the second: a × a = a2, a × b = ab, b × a = ab and b × b = b2. The two ab terms add up to 2ab. For (a − b)2, both middle terms are −ab, giving −2ab, while (−b) × (−b) = +b2.
Try it yourself
Expand (3x − 4)2.
Try it first, then show the solution
- Match the pattern (a − b)2: a = 3x and b = 4
- Square the first term: a2 = (3x)2 = 9x2
- Middle term: 2ab = 2 × 3x × 4 = 24x, with a minus sign
- Last term: b2 = 42 = 16, which is always positive
- Put it together: 9x2 − 24x + 16
Answer: 9x2 − 24x + 16
See it
Play with this picture from the Expanding Brackets lesson.
Each part's area = its side × its top. Dashed pink parts are negative.
Sides: 4(x + 3)
Parts: 4x + 12
Area = 4x + 12
Common mistakes
- Squaring only the letter. (3x)2 is 9x2, not 3x2, because 3x × 3x = 9x2. The number in front must be squared too.
- Giving the last term a minus sign in (a − b)2. Since (−b) × (−b) is positive, (x − 6)2 = x2 − 12x + 36, not x2 − 12x − 36.
In BECE and WASSCE
Expanding squared brackets can appear in BECE as a direct 'expand' or 'simplify' question. In WASSCE it also turns up inside longer work, such as completing the square or solving quadratics. Objective questions may also ask for the value of k that makes x2 + kx + 49 a perfect square (here k = 14 or −14).
Questions students ask
How can I tell if an expression is a perfect square?
Check three things: the first and last terms are squares, the last term is positive, and the middle term is twice the product of their square roots. For x2 + 8x + 16, the roots are x and 4, and 2 × x × 4 = 8x, so it equals (x + 4)2.
Can I square numbers like 99 with this formula?
Yes. Write 99 as 100 − 1. Then 992 = 1002 − 2 × 100 × 1 + 12 = 10,000 − 200 + 1 = 9,801. It is a quick way to square numbers close to a multiple of 10.