← Level 5 – Equations

13 / 30 ⏱ 18 minutes

The formulas (a+b)², (a−b)², a²−b²

Three formulas used all the time in algebra. Where they come from and how they make calculating faster.

Three formulas you’ll meet a thousand times

(a + b)²: what is it? Careful, it isn’t a² + b². Try numbers: (3 + 4)² = 7² = 49, but 3² + 4² = 9 + 16 = 25. It doesn’t fit. Somewhere, 24 got lost.

Where? (a + b)² means (a + b)(a + b). Expand everything times everything: a² + ab + ba + b² = a² + 2ab + b². The lost piece is 2ab. With our numbers, 2 · 3 · 4 = 24. It fits.

Because this calculation keeps coming up, it’s remembered as a formula. Today you’ll learn three:

(a + b)² = a² + 2ab + b², (a − b)² = a² − 2ab + b² and a² − b² = (a + b)(a − b).

They aren’t magic spells to cram: you can work out each one in a minute by expanding. But anyone who knows them by heart calculates three times faster and, most of all, recognizes them backward too, which will come in handy with equations.

Adam is working out 21² in his head and it takes him a while. Tessa: “Break it apart. 21 is 20 + 1. The formula: (20 + 1)² = 20² + 2 · 20 · 1 + 1² = 400 + 40 + 1 = 441.” Adam tries 19² himself: “That’s (20 − 1)²… 400 − 40 + 1 = 361.” Then he has an idea: “And what about 21 · 19?” Tessa smiles: “(20 + 1)(20 − 1) = 20² − 1² = 399. The third formula.” Adam writes all three on a bookmark for his notebook.

💡

The middle term 2ab is “twice the two together”. If you’re not sure of a formula, expand (a + b)(a + b) by hand: the formula works itself out in thirty seconds.

Where the formulas come from and how to use them

Working out (a + b)²: expand (a + b)(a + b) everything times everything: a · a + a · b + b · a + b · b. The terms ab and ba are the same, so they combine: a² + 2ab + b².

Working out (a − b)²: the same, just with a minus: a² − ab − ba + b² = a² − 2ab + b². The outer terms have a plus (minus times minus), the middle one a minus.

Working out a² − b²: expand (a + b)(a − b): a² − ab + ba − b². The middle terms cancel: a² − b². It’s called the difference of squares.

Using it forward: quick squaring: (x + 5)² = x² + 2 · x · 5 + 5² = x² + 10x + 25. Plug a and b into the template, xong.

Using it backward: factoring: you see x² − 49 and recognize a difference of squares: x² − 7² = (x + 7)(x − 7). This “recognizing” is priceless with equations and simplifying.

Always decide first what a is and what b is. In (3x + 2)², a = 3x and b = 2. And then a² = 9x², not 3x².

Example 1: (x + 6)²

The template: a² + 2ab + b², where a = x, b = 6.

a² = x². 2ab = 2 · x · 6 = 12x. b² = 36.

The answer: x² + 12x + 36.

A check by expanding: (x + 6)(x + 6) = x² + 6x + 6x + 36 = x² + 12x + 36. It fits. The formula just skipped the in-between step: the answer is the same as an honest “everything times everything”.

Example 2: (2x − 3)²

The template: a² − 2ab + b², where a = 2x, b = 3.

a² = (2x)² = 4x². Careful: the two gets squared too!

2ab = 2 · 2x · 3 = 12x. With the minus sign: −12x.

b² = 9.

The answer: 4x² − 12x + 9.

The most common mistake is a² = 2x². The whole a is 2x, so a² = 2x · 2x = 4x².

Example 3: 102 · 98 in your head

It looks like a job for a calculator. But: 102 = 100 + 2 and 98 = 100 − 2.

So 102 · 98 = (100 + 2)(100 − 2) = a difference of squares = 100² − 2² = 10,000 − 4 = 9,996.

In your head, in five seconds. This trick always works when you multiply two numbers the same distance from a round number: 21 · 19, 45 · 35, 103 · 97. Formulas aren’t just for tests: they save work.

⚠️

(a + b)² is NOT a² + b². The middle term 2ab must not get lost. Check it with numbers any time: (3 + 4)² = 49, but 9 + 16 = 25. Anyone who forgets 2ab loses points in every other eighth-grade problem.

Practice: your turn to count 🎲

Now try it for real. You’ll see all the questions at once, like on paper. Bắt đầu with ten. If it’s going well, add more.

Fill in the number for the question mark. (a + b)² has 2ab in the middle, and a² − b² is (a − b)(a + b).

Practice questions

On paper

Work out each formula once, then use it three times. Working it out is insurance against forgetting.

  1. Work out (a + b)² by expanding (a + b)(a + b). Then use the template to work out (x + 4)² and (x + 10)².

  2. Work out (x − 5)² and (3x − 1)². For the second one, first write down what a is and what b is.

  3. Factor using the difference of squares: x² − 25, x² − 81, 4x² − 9.

  4. Work out in your head using the formulas: 31², 29², 31 · 29. For each, write which formula you used.

Đến lượt bạn 💪

  1. I can write all three formulas and work them out by expanding.
  2. I don’t forget the middle term 2ab.
  3. I can recognize a difference of squares backward too: x² − 36 = (x + 6)(x − 6).
✅

Done when: you have a formula worked out, eight uses on paper including mental math, and a streak of five right in the practice.

What to take away from this lesson