Chapter 3/3.5Foundationabout 9 min
Highest common factor and lowest common multiple
Two kombi routes leave the Bulawayo City Hall rank together at 6:00 in the morning. A kombi on Route A leaves every 12 minutes. A kombi on Route B leaves every 18 minutes. When is the next time that two leave together?
Route A leaves at 12, 24, 36, 48, ... minutes past six. Route B leaves at 18, 36, 54, ... minutes past six. The first time on both lists is 36, so they next leave together at 6:36.
You have just found a lowest common multiple.
lowest common multiple The lowest common multiple (LCM) of two or more numbers is the smallest number that is a multiple of all of them.
highest common factor The highest common factor (HCF) of two or more numbers is the largest number that is a factor of all of them.
For small numbers you can simply list. The factors of 12 are 1, 2, 3, 4, 6, 12 and the factors of 18 are 1, 2, 3, 6, 9, 18. The common factors are 1, 2, 3 and 6, so the HCF of 12 and 18 is 6.
For larger numbers, listing is slow. Prime factorisation is faster and it shows what is going on.
Find the HCF and LCM of 60 and 84.
The HCF is the product of the shared primes: 2 × 2 × 3 = 12.
The LCM is the product of everything in the diagram: 5 × 2 × 2 × 3 × 7 = 420.
Check: 60 = 12 × 5 and 84 = 12 × 7. Also 420 = 60 × 7 = 84 × 5.
Now multiply the two answers: 12 × 420 = 5,040. And multiply the two numbers: 60 × 84 = 5,040. This is not a coincidence. In the Venn diagram, HCF × LCM counts the overlap twice and everything else once, which is exactly what 60 × 84 does.
HCF × LCM = the product of the two numbers. For any two whole numbers a and b, HCF(a, b) × LCM(a, b) = a × b.
Which one do I need? In word problems, ask what is happening.
- Sharing or cutting things into equal groups, as large as possible: you need the HCF.
- Things that repeat and must coincide again: you need the LCM.
Gogo MaNcube has 48 oranges and 72 bananas. She wants to pack them into identical bags with no fruit left over, and to make as many bags as possible. How many bags can she make, and what is in each?
coprime Two numbers are coprime if their highest common factor is 1. For example, 8 and 15 are coprime, although neither of them is prime.
Euclid's algorithm. Euclid found a way to get the HCF with no factorising at all. Divide the larger number by the smaller and keep the remainder. Then divide the smaller number by that remainder. Repeat until the remainder is 0. The last divisor is the HCF. For 84 and 60: 84 = 1 × 60 + 24, then 60 = 2 × 24 + 12, then 24 = 2 × 12 + 0. So the HCF is 12. The figure shows why it works: the largest square tile that fits a rectangle of 84 by 60 exactly must also fit every smaller rectangle that is left over. This is the oldest algorithm still in everyday use, and computers run it millions of times a second.
Check your understanding 3.5
- Find the HCF and LCM of 18 and 24.
Show answerHide answer
18 = 2 × 32 and 24 = 23 × 3. HCF = 2 × 3 = 6. LCM = 23 × 32 = 72. - Find the HCF and LCM of 22 × 3 × 5 and 2 × 32 × 7. Leave your answers in index form.
Show answerHide answer
HCF = 2 × 3. LCM = 22 × 32 × 5 × 7. - The HCF of two numbers is 5 and their LCM is 150. One number is 25. Find the other.
Show answerHide answer
Other number = 5 × 150 ÷ 25 = 30. - Are 14 and 25 coprime? Explain.
Show answerHide answer
Yes. 14 = 2 × 7 and 25 = 52 share no prime, so their HCF is 1.
