MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Factorising — taking out a common factor

L2.1 — Algebraic ExpressionsLecture 4 of 4~2480 words

A sum you can do in one step

Work out without a calculator. The slow way is two long multiplications and an addition. There is a much faster way.

Both products contain 47. So the sum is 47 lots of 36, plus 47 lots of 64. Together that is 47 lots of , which is 47 lots of 100.

Check the slow way: . ✓

Look at what happened. The last lecture used the distributive law to split a product into a sum: . Here the law ran the other way. A sum was packed back into a product. The last lecture promised exactly this: "Factorising starts from and finds the 3 that was handed out." This lecture keeps that promise.

Expanding, run backwards

Expanding and factorising are the same law, read in opposite directions.

To factorise an expression means to write it as a product: something multiplied by something. Each part of that product is called a factor of the expression. So 3 and are factors of . This is the same word as in the lecture on factors and multiples, where 4 and 6 are factors of 24 because .

Expanding is the easy direction. You are told what to multiply, and you multiply. Factorising is harder, because you must find the number that was handed out. Nobody tells you what it is. The rest of this lecture shows how to find it, and why the method works.

Sharing into identical bags

Start with a real problem. You have 12 cookies and 18 chocolates. You want to pack all of them into gift bags. Every bag must hold the same things: the same number of cookies and the same number of chocolates. Nothing may be left over. What is the largest number of bags you can make?

The number of bags must divide 12 exactly, and it must divide 18 exactly. So it is a common factor of 12 and 18. The largest is the highest common factor (HCF), which is 6. Each bag holds cookies and chocolates. So 12 cookies and 18 chocolates are the same as 6 bags of (2 cookies and 3 chocolates).

Now replace the cookies with boxes. Each box is a closed box with the same secret number inside, as in the lecture on what algebra is. Each chocolate becomes a counter worth 1. The collection is now . Share it into 6 identical bags. Each bag holds 2 boxes and 3 counters, which is .

n n 2n + 3 n n 2n + 3 n n 2n + 3 n n 2n + 3 n n 2n + 3 n n 2n + 3
The collection , shared into 6 identical bags. Each bag holds , so .

Six copies of is written . So . This is the box picture of the last lecture, read backwards. Expanding counted by copies, then by kind. Factorising starts from the kinds and asks how many identical copies they make.

Check with : , and . ✓

Try it yourself below. Choose a number of bags and see whether the collection shares equally.

Explore — sharing a collection into identical bags

Choose a collection. Then change the number of bags with the slider or the − and + buttons. Find every number of bags that leaves nothing over, and find the largest.

Collection:

Number of bags =

The table shares (12 boxes and 18 counters) into different numbers of identical bags.

BagsEach bag holdsResult
1: true, but nothing taken out
2: correct, not complete (6 and 9 share 3)
3: correct, not complete (4 and 6 share 2)
43 boxes, 4 counters, 2 counters left overnot a common factor
6: complete

Only common factors of 12 and 18 share with nothing left over. The largest, the HCF 6, gives bags that cannot be split again.

What should you have seen? A number of bags works only when it divides both numbers exactly. So it must be a common factor. Smaller common factors work too, but their bags can be split again. The HCF gives the most bags, and each bag is as small as it can be. When the two numbers share no factor except 1, as with , only one bag works. Then the expression has no common factor to take out.

Factorising by taking out a common factor

1. Find the HCF of all the terms, including any letters they share.

2. Write the HCF outside a bracket.

3. Divide each term by the HCF. The results go inside the bracket, each with its sign.

4. Check by expanding. You must get back the expression you started with.

Each step has its reason. Step 1 finds the largest number of identical copies. Step 3 finds what goes in each copy. Step 4 uses the last lecture: expanding undoes factorising, so it is always a complete check.

Letters can be common factors too

Factorise . Start with the numbers. The HCF of 4 and 10 is 2.

Now the letters. Write each term as a product of its parts: , and . A common factor must fit inside both terms, exactly as in the lecture on HCF and LCM. Both terms contain one , so is shared. The second of is not shared, because has only one . So the HCF of the whole expression is .

Divide each term by : , and . So .

x² x² x² x² x x 5 x x area = 4x² + 10x = 2x(2x + 5)
Four tiles and ten strips (each 1 by ) fit together as one rectangle, tall and long. So .

The tiles from the lecture on like terms show the same thing. Four squares and ten strips can be arranged as one rectangle. Its height is , and its length is . Factorising finds the tallest rectangle that the pieces can make with nothing left over. Expanding found the area of a rectangle. Factorising finds the rectangle from its area.

Check by expanding: and . ✓ Check with : , and . ✓

The rule for a letter follows from "fit inside both". Take the letter only if every term contains it. Take its smallest power, because that is all the terms can share.

The term that turns into 1

This is the hard part of the lecture. Spend time here. The method is the same, but one step catches almost everybody.

Factorise . The HCF of 12, 8 and 4 is 4. Every term contains at least once, and at least once. So the HCF of the expression is .

Divide each term by , with its sign:

So .

The trouble is the last term. The whole of was taken out of it, and it seems that nothing is left. So many students write . But a term divided by itself is 1, not 0. In the bag picture, every bag still holds one copy of that term's share. Expand the wrong answer: . The has vanished.

That is it. That is the whole idea. The bracket must have exactly as many terms as the expression you started with. Count them before you finish. Three terms went in, so three terms must come out.

Stop and think

Mei factorises as . Wei factorises it as . Who is right? Test both with .

Show the answer

Wei is right. With , the question gives . Wei's answer gives . ✓ Mei's answer gives 10. Mei's "answer" is not even a factorisation of the whole expression: it lost the second term. , and that 1 must stay in the bracket.

Complete, or only correct?

Look again at . The answer is true. Expand it, and you get . But the bracket still contains a common factor, because 6 and 9 share 3. In the bag picture, each bag could be split again. So is correct, but it is not factorised completely.

The test is simple. When you finish, look inside the bracket. If its terms still share a factor other than 1, take that out as well. . Using the HCF in Step 1 avoids the second step.

A common factor can also be negative. can be written , because and . Taking out a negative number changes the sign of every term inside the bracket. That is the rule for a negative multiplier from the last lecture, read backwards. Taking out the negative is useful when the first term is negative, but is also correct.

Sort the answers below. For each one, decide whether it is fully factorised, correct but not complete, or wrong.

Sort — complete, not complete, or wrong?

Put each answer in a box. Expand it in your head to see whether it is right. Then look inside the bracket for a factor that is still shared. Read the reason on every card, even when you are right.

Ten answers, sorted, with the reason for each.

AnswerVerdictReason
fully factorisedExpands correctly; 2 and 3 share no factor except 1.
not completeExpands correctly, but 6 and 9 still share 3.
not completeExpands correctly, but 4 and 6 still share 2.
wrong18 was not divided by 6; this expands to .
fully factorisedExpands correctly; and 5 share nothing.
not complete4 and 10 still share 2.
not complete and still share .
wrongExpands to .
wrongThe 1 is missing; this expands to .
fully factorised and .

Worked examples

Worked Example 1 — A number as the common factor

Factorise .

Step 1: the factors of 6 are 1, 2, 3, 6. The factors of 15 are 1, 3, 5, 15. The HCF is 3. There is no letter in 15, so no letter is shared.

Step 2 and Step 3: and .

Answer: .

Step 4: and . ✓ Inside the bracket, 2 and 5 share nothing, so the answer is complete.

Worked Example 2 — Two letters

Factorise completely.

Numbers: the HCF of 18 and 27 is 9. Letters: both terms contain at least one and at least one . The first term has only one , and the second has only one . So the HCF is .

Divide: , and .

Answer: .

Check with and : the question gives . The answer gives . ✓

Worked Example 3 — A negative common factor

Factorise (a) , taking out a negative number, and (b) .

(a) The HCF of 6 and 15 is 3. The first term is negative, so take out . Divide each term by , with its sign: , and . Answer: . Check: . ✓

(b) The HCF of 20 and 8 is 4. Answer: . Check with : , and . ✓

Worked Example 4 — A factor that proves something

Show that the sum of any three consecutive whole numbers is a multiple of 3.

Call the smallest number . The next two are and . Their sum is .

Factorise: . The sum is 3 times a whole number, so it is a multiple of 3, whatever is.

The factorised form says more. is the middle number. So the sum is always 3 times the middle number. Check with 7, 8 and 9: . ✓

The expanded form hid this. The factorised form shows it at once. A factor is easy to see only when the expression is written as a product.

Trap 1 — Losing the 1

is not . The last term divided by is 1, and the 1 stays in the bracket: . Count the terms. Three went in, so three must come out.

Trap 2 — Stopping too early

is true, but not complete, because 6 and 9 still share 3. Use the HCF, not just any common factor. Then look inside the bracket once more before you finish.

Trap 3 — A negative factor that changes only one sign

Taking out of does not give . Expand that: it gives . Every term inside must be divided by , so the answer is . At , the question gives 3, the right answer gives 3, and the wrong answer gives .

Try it yourself

Work each one on paper first. Open a hint only when you are stuck. Check every answer by expanding.

  1. Factorise completely: (a) (b) (c) (d)

    Hint 1

    Find the HCF of the numbers first. Then ask which letters appear in every term.

    Hint 2

    In (c), both terms contain , and the HCF of 9 and 6 is 3, so take out . In (d), take out .

    Full answer

    (a) . (b) . (c) and , so . (d) and , so . Check (d): and . ✓

  2. Factorise completely . Check your answer with and .

    Hint 1

    The HCF of 18, 24 and 6 is 6. Which letters are in all three terms?

    Hint 2

    Take out . The last term is . Do not lose it.

    Full answer

    , , and . So the answer is . Check with , : the question gives . The answer gives . ✓

  3. (a) Ravi writes . Is his answer correct? Is it complete? (b) Factorise , taking out a negative number.

    Hint 1

    For (a), expand Ravi's answer. Then look inside his bracket.

    Hint 2

    For (b), the HCF of 12 and 8 is 4. Take out and divide each term by , with its sign.

    Full answer

    (a) and , so it is correct. But 4 and 6 still share 2, so it is not complete. The HCF of 20 and 30 is 10: . (b) and , so . Check with : , and . ✓

  4. A whole bracket can be a common factor. Factorise . Check your answer with .

    Hint 1

    Treat as one box. The expression is boxes plus 5 boxes.

    Hint 2

    Both terms contain the factor . Take it out, and ask what is left from each term.

    Full answer

    Taking out leaves from the first term and 5 from the second. So . Check with : the question gives . The answer gives . ✓ This idea, a bracket as a common factor, is the last step in factorising quadratics in Upper Secondary.

The bigger idea

Factorising can save work, and computers use it every second. Work out at . As written, it needs three multiplications: and , then . Factorised, it is . That needs only two: , then .

For longer expressions, the saving grows. needs six multiplications as written, but only three as . This nested form is called Horner's method, after William Horner, who published it in 1819. The Chinese mathematician Qin Jiushao had described the same method in 1247. Computers still use it when they work out such expressions.

Factorising has an even bigger use ahead. A product of two numbers is zero only when one of the numbers is zero. So if , then or . In Upper Secondary, this simple fact solves equations that no amount of rearranging can solve.

Key concepts in this lesson