MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Upper Secondary
MathematicsUpper Secondary

Expanding triple brackets step by step

U2 — Algebra Advancing › U2.1 — Expanding and FactorisingLecture 2 of 5~2630 words

Three brackets, and a checklist that runs out

Here is the next step up:

Three brackets look like a new problem. The tempting move is the same one that failed last time: multiply the first terms and the last terms. That gives and , so .

You already know how to test that. Put . Then the brackets are . But . The two are not equal. So a lot is missing, 710 of it.

The last lecture also gave you a warning. FOIL is a checklist for four products: first, outer, inner, last. It works for two brackets with two terms each. With three brackets there is no "inner" and no "outer" any more. The checklist simply runs out.

The reason behind FOIL does not run out. Every term must meet every term. This lecture shows how to keep that rule when there are three brackets, and why the answer comes out the way it does.

The old skill, used twice

Start with a fact about ordinary multiplication. To work out , you do not multiply three numbers at once. You multiply two of them, . Then you multiply the result by the third: . It does not matter which pair you choose first. , and too.

Brackets are numbers in disguise, so the same is true for them. This means that three brackets can be expanded in two steps:

Step 1 is exactly the last lecture. For , the four products are , , and . They collect to . So now the problem is:

This is where FOIL fails. The first bracket has three terms. Which ones are "first", "outer" and "inner"? The checklist has no answer.

The rectangle with three rows

The last lecture promised that the rectangle never stops working. Here it is. Draw a grid. Put the three terms of the quadratic down the side, one for each row. Put the two terms of the third bracket across the top, one for each column. Then fill each cell with the product of its row and its column.

x 3 x² x³ 3x² 3x 3x² 9x 2 2x 6 the third bracket, x + 3 from step 1: x² + 3x + 2
Step 2 as a grid. The rows are the three terms of x² + 3x + 2. The columns are the two terms of x + 3. Three rows times two columns make six cells, so there are six products.

Three rows and two columns make six cells. So Step 2 has exactly six products. The grid makes it hard to lose one, because an empty cell is easy to see. Here they are in a line:

Now collect like terms. There is one . The two terms make . The two terms make . The number is 6.

Check with : . It matches . Look at that number again: 1716. The tempting answer kept the 1000 and the 6. It threw away the 600 and the 110, the two middle terms.

That is it. That is the whole idea. Three brackets are two expansions in a row. In the second one, each term of the quadratic meets each term of the third bracket, and a grid keeps count.

Expanding three brackets

1. Expand two of the brackets and collect, to get a quadratic.

2. Multiply each term of the quadratic by each term of the third bracket (six products), then collect like terms.

Three brackets of the form always expand to a cubic: an expression whose highest power is .

Why the answer is a cubic: a box of eight blocks

Two brackets made a rectangle, because a rectangle has two sides. Three brackets need a shape with three edges: a box. Think of as the volume of a box. Its width is , its height is and its depth is .

x 3 x 2 x 1
A box with width x + 3, height x + 2 and depth x + 1. Cutting every edge at the x mark splits it into eight blocks. There is one x³ cube and three blocks of x² (x by x by 3, x by x by 2, x by x by 1). There are three blocks of x (x by 2 by 3, x by 1 by 3, x by 1 by 2) and one small block of 1 × 2 × 3 = 6.

Cut each edge into its two parts, as in the picture. The box splits into blocks. Each block takes one part from each edge. So each block is one choice: or the number, from each of the three brackets.

These are the same four terms as the two-step method gave: . The two-step method is just a tidy way to visit all eight blocks. Step 1 joins some of them early, which is why Step 2 has six products and not eight.

Now try it with your own numbers. Change the three brackets and watch the six products in the grid.

Explore — the six products of Step 2

Choose a, b and c in (x + a)(x + b)(x + c). Step 1 expands the first two brackets. The grid shows the six products of Step 2. Look for a rule behind the x² term, the x term and the number.

Four expansions of (x + a)(x + b)(x + c), each checked with x = 10:

BracketsStep 1Expanded
(x + 1)(x + 2)(x + 3)x² + 3x + 2x³ + 6x² + 11x + 6
(x − 2)(x + 1)(x + 4)x² − x − 2x³ + 3x² − 6x − 8
(x + 2)(x + 2)(x + 2)x² + 4x + 4x³ + 6x² + 12x + 8
(x + 3)(x − 3)(x − 5)x² − 9x³ − 5x² − 9x + 45

In every row, the x² term is a + b + c, the x term is ab + bc + ca, and the number is abc. Check the first row with x = 10: 11 × 12 × 13 = 1716 and 1000 + 600 + 110 + 6 = 1716.

Did you see the pattern? For , the box picture explains every term:

The term collects the three blocks that use one number, so its coefficient is the sum of the three numbers. The term collects the three blocks that use two numbers, so its coefficient is the sum of the products of pairs. The number at the end uses all three numbers, so it is their product.

These facts give you two fast checks on any answer. The number at the end must be the product of the three numbers in the brackets. The coefficient must be their sum. In the first example, and . Both match. The checks do not replace the working. They catch most slips before you hand in an answer.

Stop and think

Does the sum check work for ? Is the coefficient ?

Show the answer

No. Expand it: Step 1 gives . Step 2 gives . The coefficient is 11, not 6.

The box shows why. The blocks now use from the first bracket. The blocks and count twice as much, so the coefficient is . The sum rule is true only when every bracket starts with a plain .

The product check still works: . The number at the end only ever uses the numbers in the brackets. Check with : and .

Before you expand: what is ?

A cube of a bracket is three brackets in disguise. Make a guess first.

Predict, then reveal — cubing a bracket

What is when it is expanded? Choose before you work it out.

The expansion of (x + 2)³. Many students write x³ + 8, but that cubes each term and loses six of the eight blocks.

(x + 2)³ = (x + 2)(x + 2)(x + 2). Step 1: (x + 2)(x + 2) = x² + 4x + 4. Step 2: x³ + 2x² + 4x² + 8x + 4x + 8 = x³ + 6x² + 12x + 8.

Check with x = 10: 12³ = 1728, and 1000 + 600 + 120 + 8 = 1728.

The numbers 1, 6, 12, 8 are not random. Divide out the powers of 2 and you get 1, 3, 3, 1: one block with no 2, three blocks with one 2, three with two 2s and one with three. Those counts, 1, 3, 3, 1, appear every time you cube a bracket. You will meet them again later, as a row of Pascal's triangle.

Worked examples

Worked Example 1 — A negative number in a bracket

Expand .

Step 1. . The minus sign stays with the 2 in every product that uses it.

Step 2. Multiply by . The six products are , , , , and .

Collect. The terms are . Read as : the 1 is there even when it is not written. So . The terms are .

Answer: .

Checks. Sum: . Product: . With : , and .

Worked Example 2 — Choosing the best pair first

Expand .

You may expand any pair first. Look for a pair that makes Step 1 short. and are the same terms with opposite signs, so their middle terms cancel: .

Step 2. has only four products: , , and . The last is , and two negatives make a positive.

Answer: .

Checks. Sum: . Product: . With : , and .

Worked Example 3 — A bracket that starts with 2x

Expand .

Step 1. .

Step 2. Multiply by . The six products are , , , , and .

Collect. , and . Answer: .

Checks. The sum check does not apply here, because one bracket starts with . The product check still works: . The leading term is . With : , and .

Worked Example 4 — The volume of a box

A storage box is cm high. It is 2 cm wider than it is high, and 5 cm longer than it is high. Write its volume as an expanded expression. Then find the volume when .

The volume is height × width × length .

Step 1. .

Step 2. Multiply by : every term meets the single term . So the volume is cm³.

There is no number at the end. That makes sense: the first bracket is just , so the product check gives .

When : cm³. Check directly: cm³.

Three classic mistakes

Trap 1 — Cubing each term

is not . Write it as three brackets and expand: . Cubing each term keeps two of the eight blocks of the box. The number check catches it at once: , not 1008.

Trap 2 — Losing a product or a sign in Step 2

Step 2 has six products, and it is easy to write five. Draw the grid, or count your products before you collect. Signs travel with their terms here too. In Worked Example 1, the term gives and . When you collect, remember that means .

Trap 3 — Using the middle bracket twice

Some students expand and then , and multiply the two answers. That uses twice. It is four brackets, not three, and the answer contains . Each bracket is used exactly once: expand one pair, then multiply by the bracket that is left. A quick warning sign: three brackets of the form can never give a power higher than .

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Expand and simplify .

    Hint 1

    Step 1: expand first.

    Hint 2

    Step 1 gives . Now multiply each of its three terms by and by .

    Full answer

    Six products: , , , , , . Collect: . Sum check: . Product check: . With : , and .

  2. Expand .

    Hint 1

    Write it as . Step 1 is .

    Hint 2

    . Multiply it by . Watch the signs: a negative times a negative is positive.

    Full answer

    Six products: , , , , , . Collect: . The counts 1, 3, 3, 1 appear again, with alternating signs. Sum check: . Product check: . With : , and .

  3. Expand and simplify . Which pair should you expand first, and why?

    Hint 1

    Look for two brackets with the same terms and opposite signs.

    Hint 2

    . Now multiply by .

    Full answer

    Expand first, because its middle terms cancel: . Then has four products: , , , . In order: . Product check: . With : , and .

  4. A cube has edges of cm. Every edge is made 1 cm longer. By how much does the volume grow? Use your answer to find without working out either cube.

    Hint 1

    The new volume is . The increase is .

    Hint 2

    Expand with the box picture: one , three blocks of , three blocks of , one block of 1.

    Full answer

    . So the volume grows by cm³. In the picture, the new cube is the old cube plus three thin slabs ( by by 1), three thin rods ( by 1 by 1) and one small corner cube. With : . Check: .

The bigger idea

There was never a separate method for three brackets. There is one law: every term meets every term. Two brackets make a rectangle with four pieces. Three brackets make a box with eight. Four brackets would make 16 pieces, in a shape we can no longer draw, and the law would still hold. Mathematics often works like this. A rule that seems to belong to one picture is really a rule about structure, and it keeps working after the picture runs out.

The patterns you found, sum, sum of pairs and product, also work backwards. If you know that a cubic is , its number 6 tells you which numbers could sit in the brackets. Later, the factor theorem uses exactly this to solve cubic equations. First, the next lecture runs the two-bracket case backwards: given a quadratic, find the two brackets it came from.

Key concepts in this lesson