Lowest Common Multiple
Finding the smallest number that is a multiple of two or more given numbers, and using it to solve problems
Before you start
You can already write a number as a product of its prime factors in index notation, for example , and find a highest common factor (HCF) from prime factors. This lesson uses both.
Common Multiples and the LCM
The multiples of 12 are , , and so on. A number that is a multiple of each of two or more numbers is a common multiple of them.
Example 1: Listing multiples
Question: Find the lowest common multiple of 12 and 18.
Multiples of 12: 12, 24, 36, 48, 60, 72, 84, 96, 108, ...
Multiples of 18: 18, 36, 54, 72, 90, 108, ...
Common multiples of 12 and 18: 36, 72, 108, ...
Answer: The lowest of the common multiples is 36, so the LCM of 12 and 18 is 36.
Definition
The lowest common multiple (LCM) of two or more whole numbers is the smallest positive whole number that is a multiple of each of them.
Every common multiple is a multiple of the LCM: 36, 72, 108, ... are the multiples of 36.
Listing is slow when the numbers are large. Prime factorisation works for any numbers.
LCM by Prime Factorisation
A number is a multiple of only if its own prime factorisation contains . So the LCM must contain the whole prime factorisation of each number, and nothing more.
Rule: LCM by prime factorisation
- Write each number as a product of its prime factors in index notation.
- Take every prime factor that appears in any of the numbers.
- For each one, take the highest power that appears.
- Multiply these together.
Example 2: Two numbers
Question: Find the LCM of 12 and 18 by prime factorisation.
The primes that appear are 2 and 3. The highest power of 2 is (in 12) and the highest power of 3 is (in 18).
LCM
Answer: The LCM of 12 and 18 is 36, as in Example 1.
Example 3: Three numbers
Question: Find the LCM of 20, 35 and 42.
Write each number as a product of prime factors and line the primes up in a table.
| Number | 2 | 3 | 5 | 7 |
|---|---|---|---|---|
| – | – | |||
| – | – | |||
| – | ||||
| LCM takes |
Every prime that appears is taken, even 3, which is in only one of the numbers. Of and , the higher power is taken.
LCM
Answer: The LCM of 20, 35 and 42 is 420.
LCM by Repeated Division
For two numbers, the LCM can also be found by repeated division, as the HCF can: the two numbers are divided together, one step below another, in a ladder.
Example 4: The ladder for two numbers
Question: Find the LCM of 12 and 18 by repeated division.
Divide both numbers by a prime factor they share, and write the results underneath. Repeat until the two numbers left have no common prime factor.
2 and 3 have no common prime factor, so stop. Multiply the divisors on the left by the two numbers left at the bottom.
LCM
Why it works: and . The divisors are the part the two numbers share, and the LCM needs that part once, together with what each number has left at the bottom.
The divisors on their own give the HCF: .
Answer: The LCM of 12 and 18 is 36.
Take care: for the LCM, this ladder works for two numbers only. Used in the same way on three numbers it can give a common multiple that is not the lowest, so for the LCM of three or more numbers use prime factorisation. For the HCF, repeated division works for three numbers too, because there only the divisors are multiplied.
HCF and LCM Side by Side
The HCF and the LCM come from the same prime factorisations, but they take different things from them.
| HCF | LCM | |
|---|---|---|
| Which primes? | Only the primes common to all the numbers | Every prime that appears in any of the numbers |
| Which power? | The lowest power of each | The highest power of each |
Example 5: Both from one table
Question: Find the HCF and the LCM of and . Leave your answers in index notation.
| Number | 2 | 3 | 5 | 7 |
|---|---|---|---|---|
| First number | – | |||
| Second number | – | |||
| HCF takes | – | – | ||
| LCM takes |
2 and 3 are common to both numbers, so the HCF takes the lower power of each. 5 and 7 are not common: the HCF leaves them out, but the LCM takes them.
HCF
LCM
Answer: The HCF is and the LCM is .
The Product of the HCF and the LCM
For two numbers, the HCF and the LCM are linked. Take and : their HCF is 7 and their LCM is , and , which is also .
Why it works: for a prime in both numbers, the HCF takes the lower of its two powers and the LCM takes the higher, so between them they take both. A prime in only one of the numbers goes into the LCM alone, with its power from that number. So the HCF and the LCM together hold every prime factor of both numbers, just as the two numbers multiplied together do.
HCF LCM
Rule: HCF and LCM of two numbers
For any two positive whole numbers, HCF LCM the product of the two numbers.
So if three of the four (the two numbers, their HCF and their LCM) are known, the fourth can be found.
Example 6: Finding the other number
Question: The HCF of two numbers is 16 and their LCM is 240. One of the numbers is 48. Find the other number.
HCF LCM is the product of the two numbers, so the product is .
The other number
Check: and , so HCF and LCM .
Answer: The other number is 80.
Take care: this rule is for two numbers. For three numbers it need not hold: for 6, 9 and 12 the HCF is 3 and the LCM is 36, so HCF LCM , but .
Word Problems
In a word problem, look for a number that must be a multiple of each number given, and the smallest one. That number is the LCM.
Example 7: Wheels
Question: The front wheel of a tricycle has a circumference of 60 cm and each rear wheel has a circumference of 45 cm. Point P on the front wheel and point Q on a rear wheel are both touching the ground. How far must the tricycle travel in a straight line before P and Q next touch the ground at the same time?
P touches the ground again after every 60 cm travelled, and Q after every 45 cm. The distance must be a multiple of both 60 and 45, and the smallest one: the LCM.
LCM
Answer: The tricycle must travel 180 cm. The front wheel then makes 3 full turns and each rear wheel 4.
Example 8: The smallest number that packs evenly
Question: Mr Tan can pack all his erasers into bags of 12, or into bags of 15, or into bags of 20, with none left over each time. What is the smallest number of erasers he could have?
The number of erasers is a multiple of 12, of 15 and of 20. The smallest such number is their LCM.
, ,
LCM
Answer: The smallest number of erasers he could have is 60.
Example 9: The smallest square from rectangular tiles
Question: Identical rectangular tiles, each 55 cm long and 33 cm wide, are laid side by side, all the same way round, with no gaps or overlaps, to make a square. Find (a) the length of a side of the smallest square that can be made, (b) the number of tiles needed.
Along one side of the square, the 55 cm lengths of the tiles lie end to end, so that side is a multiple of 55 cm. Along the next side, the 33 cm widths lie end to end, so it is a multiple of 33 cm.
The two sides of a square are equal, so the side is a common multiple of 55 and 33, and the smallest one is their LCM.
,
LCM
Along one side tiles fit, and along the next . The tiles lie in 5 rows of 3, so tiles are needed.
Check: 3 lengths of 55 cm make 165 cm, and 5 widths of 33 cm also make 165 cm.
Compare the square tiles in the lesson on the HCF: there the largest squares that cover a rectangle come from the HCF of its sides. Here the smallest square that rectangles cover comes from the LCM of their sides.
Answer: (a) The smallest square has sides of 165 cm. (b) 15 tiles are needed.
HCF or LCM?
Ask whether the answer must be a multiple of the numbers given or a factor of them.
- LCM: things repeat (buses, bells, lights, turns of a wheel), or the size of each lot is given (bags of 12, packets of 8) and the total is not, or the size of a tile is given and a square is to be made from such tiles. You want when they next happen together, the smallest total that makes whole lots, or the smallest square. The LCM is never smaller than the largest number given.
- HCF: the totals are given (60 red markers and 84 blue markers) and they are cut, shared or packed into equal groups with nothing left over. You want the greatest size of each part, or the greatest number of groups. The HCF is never larger than the smallest number given.
Common Mistakes
- Taking only the common primes, or the lowest powers. That gives the HCF, not the LCM.
- Multiplying the numbers together. is a common multiple of 12 and 18, but the lowest is 36. The product of two numbers is their LCM only when they have no common prime factor.
- Giving the LCM when the question asks for something else, such as a date, a time or a number of packets.
- Finding the other number by dividing the LCM by the number given. In Example 6, , which is not even a multiple of the HCF, 16. Multiply the HCF by the LCM first, then divide by the number given.
Practice
Work each question on paper before you open its solution.
Question 1
Find the LCM of 24 and 90 by prime factorisation.
ShowHide solution
Solution:
The highest powers are , and . The 5 is in 90 only, but it must still be taken.
LCM
The LCM of 24 and 90 is 360.
Question 2
Use repeated division to find the LCM of 30 and 42. Write down their HCF as well.
ShowHide solution
Solution:
5 and 7 have no common prime factor, so stop.
LCM
HCF
The LCM of 30 and 42 is 210 and their HCF is 6.
Question 3
To find the LCM of 40 and 60, Wei Ming writes: and , so LCM . Explain his mistake and find the correct LCM.
ShowHide solution
Solution:
His prime factorisations are right, but he took only the common primes, each with its lowest power. That gives the HCF.
A quick check: an LCM is never smaller than the largest number, here 60, so 20 cannot be right.
LCM
He found the HCF. The LCM of 40 and 60 is 120.
Question 4
Three numbers are , and . Find (a) their LCM, in index notation, (b) their HCF.
ShowHide solution
Solution:
(a) The primes that appear are 2, 3, 5 and 7. Their highest powers are , , and .
LCM
(b) No prime is a factor of all three numbers: the third has no 2, the second has no 3, the first has no 5, and only the third has 7. So their only common factor is 1.
(a) The LCM is . (b) The HCF is 1.
Question 5
Decide whether each problem needs the HCF or the LCM, then solve it.
(a) A red light flashes every 18 seconds and a blue light flashes every 24 seconds. They have just flashed together. After how many seconds will they next flash together?
(b) A florist uses 18 roses and 24 orchids to make identical bouquets, with no flowers left over. What is the greatest number of bouquets she can make?
ShowHide solution
Solution:
and
(a) The number of seconds must be a multiple of both 18 and 24, and the smallest one: the LCM. LCM
(b) The number of bouquets must be a factor of both 18 and 24, and the greatest one: the HCF. HCF
(a) The lights next flash together after 72 seconds. (b) She can make 6 bouquets, each with 3 roses and 4 orchids.
Question 6
Doris has a piano lesson every 6 days, a swimming lesson every 4 days and an art lesson every 8 days. She has all three lessons on 1 April. On what date will she next have all three on the same day?
ShowHide solution
Solution:
The number of days must be a multiple of 6, of 4 and of 8, and the smallest one: the LCM.
, ,
LCM
24 days after 1 April is 25 April.
Doris next has all three lessons on 25 April.
Question 7
Paper plates are sold in packets of 8 and paper cups in packets of 10. For a class party, Mrs Lee wants to buy exactly as many plates as cups. What is the smallest number of packets of each that she must buy?
ShowHide solution
Solution:
The number of plates is a multiple of 8 and the number of cups is a multiple of 10. The smallest number that is both is the LCM of 8 and 10.
,
LCM
Plates: packets. Cups: packets.
She must buy 5 packets of plates and 4 packets of cups, which gives 40 of each.
Question 8
Two numbers have an HCF of 9 and an LCM of 252. One of the numbers is 63. Find the other number.
ShowHide solution
Solution:
HCF LCM is the product of the two numbers:
The other number
Check: and , so HCF and LCM .
The other number is 36.
Question 9
The product of two numbers is 1960 and their HCF is 14. Find their LCM.
ShowHide solution
Solution:
HCF LCM the product of the two numbers, so .
LCM
For example, 70 and 28 fit: , their HCF is 14 and their LCM is 140.
Their LCM is 140.
Question 10
Identical rectangular pieces of cardboard, each 48 cm by 32 cm, are placed side by side on a table, all the same way round, with no gaps or overlaps, to form a square.
(a) What is the length of a side of the smallest square that can be formed?
(b) How many pieces of cardboard are used?
ShowHide solution
Solution:
One side of the square is a multiple of 48 cm and the next side a multiple of 32 cm. The sides are equal, so the smallest side is the LCM of 48 and 32.
,
LCM
pieces fit along one side and along the next, so pieces are used.
(a) The side of the smallest square is 96 cm. (b) 6 pieces are used.
Key Points
- The LCM of two or more numbers is the smallest positive whole number that is a multiple of each of them.
- By prime factorisation: take every prime that appears, each with its highest power, and multiply.
- The HCF takes only the common primes, each with its lowest power.
- By repeated division of two numbers: the LCM is the product of the divisors and the two numbers left at the bottom.
- For two numbers, HCF LCM the product of the two numbers. This need not be true for three numbers.
- Use the LCM for things that next happen together, for the smallest number that packs evenly and for the smallest square made from identical rectangles. Use the HCF for the greatest equal parts or groups.