1A

Expanding brackets

Like terms, the distributive law, expanding binomial products and the three special expansions: perfect squares and the difference of squares.

Like terms

A pronumeral is just a number we haven't named yet, so it follows all the usual rules of arithmetic. Terms are like terms when they have exactly the same pronumerals with the same powers. Only like terms can be combined.

In $2a^2 + 5ab - 7a^2 + ab - 4$, the $a^2$ terms combine to $-5a^2$ and the $ab$ terms combine to $6ab$. That leaves $-5a^2 + 6ab - 4$: three unlike terms, so we stop there.

Expanding one bracket

You already expand brackets in mental arithmetic. To work out $6 \times 53$, most people think "$6 \times 50$ is $300$, plus $6 \times 3$ is $18$, so $318$". That is the distributive law:

Distributive law
$$a(x + y) = ax + ay$$

The number outside multiplies every term inside, including its sign.

Example 1●

Expand and simplify $4p(2 - q) - 3q(1 - 2p)$.

$= 8p - 4pq - 3q + 6pq$
The 4p multiplies 2 and −q. The −3q multiplies 1 and −2p, and −3q × −2p is positive.
$= 8p + 2pq - 3q$
−4pq and +6pq are like terms.

Two brackets

For $(x + 4)(x - 7)$, treat the first bracket as two separate pieces. Each piece multiplies the whole second bracket:

$(x + 4)(x - 7) = x(x - 7) + 4(x - 7) = x^2 - 7x + 4x - 28 = x^2 - 3x - 28$

So every term in the first bracket meets every term in the second. With two terms in each bracket, that gives four products. The grid below shows them as the four parts of a rectangle.

Expanding with a grid

The top and side are the two brackets. Each box is one product. The two blue boxes are like terms, and they combine into the middle term.

Try this

Make the two blue boxes cancel each other out. What do you notice about the brackets? You've found the difference of squares.

Example 2●●

Expand $(2x - 1)(x^2 + 3x - 5)$.

$= 2x^3 + 6x^2 - 10x - x^2 - 3x + 5$
Same idea with a longer second bracket: 2x multiplies all three terms, then −1 does.
$= 2x^3 + 5x^2 - 13x + 5$
Collect like terms.

The three special expansions

These three come up so often that you should know them by heart, both forwards (expanding) and backwards (factoring in the next section).

Special expansions
$$(A + B)^2 = A^2 + 2AB + B^2$$ $$(A - B)^2 = A^2 - 2AB + B^2$$ $$(A + B)(A - B) = A^2 - B^2$$
Example 3●

Expand (a) $(3m + 2)^2$ (b) $(x - 5y)^2$ (c) $(4 + k)(4 - k)$.

(a) $9m^2 + 12m + 4$
A = 3m, B = 2: square it, double the product, square it.
(b) $x^2 - 10xy + 25y^2$
A = x, B = 5y. The middle term is −2 × x × 5y.
(c) $16 - k^2$
A sum times a difference of the same two terms.

Your turn

Expand $\left(t - \dfrac{1}{t}\right)^2$.

Show the working

Use $(A - B)^2$ with $A = t$ and $B = \dfrac1t$. Here $2AB = 2 \times t \times \dfrac1t = 2$, so the answer is $t^2 - 2 + \dfrac{1}{t^2}$.

Flashcards
$(A + B)^2$
$A^2 + 2AB + B^2$
$(A - B)^2$
$A^2 - 2AB + B^2$
$(A + B)(A - B)$
$A^2 - B^2$
Practice
  1. $-3(2x - 5) =$

  2. Expand and simplify $7 - 2(x - 2)$. Its answer has the form $k - 2x$. Find $k$.

  3. Simplify $4a^2b - 7a^2b + a^2b$. Enter the coefficient of $a^2b$.

  4. Expand $(2x - 3)(x + 5)$. What is the coefficient of $x$?

  5. $(3x - 1)^2 =$

  6. $(2x + 7)(2x - 7) =$

  7. Expand $(2x - 1)(x^2 + 3x - 5)$. What is the coefficient of $x$?

  8. Simplify $(\sqrt5 + \sqrt2)(\sqrt5 - \sqrt2) + (\sqrt3)^2 + 1$.

  9. Exam style: $\left(x + \dfrac1x\right)^2 - \left(x - \dfrac1x\right)^2$ simplifies to a constant. Find it.

  10. Which pair are like terms?

Formula sheet