Enter an equation or problem
Camera input is not recognized!

Solution - Least common multiple (LCM) by prime factorization

Solution

84
84

The least common multiple of 12, 21 and 42 is 84. Check: 84 ÷ 12 = 7, 84 ÷ 21 = 4 and 84 ÷ 42 = 2, so 84 is a multiple of each of them.

Step-by-step explanation

1. Find the prime factors of 12

122623

The prime factors of 12 are 2, 2 and 3.

2. Find the prime factors of 21

2137

The prime factors of 21 are 3 and 7.

3. Find the prime factors of 42

4222137

The prime factors of 42 are 2, 3 and 7.

4. Build a prime factors table

Determine the maximum number of times each prime factor (2, 3, 7) occurs in the factorization of the given numbers:

Prime factorNumber12 21 42 Max. occurrence
22012
31111
70111

The prime factors 3 and 7 occur one time, while 2 occurs more than once.

5. Calculate the LCM

The least common multiple is the product of all factors in the greatest number of their occurrence.

LCM = 2⋅2⋅3⋅7

LCM = 22⋅3⋅7

LCM = 84

The least common multiple of 12, 21 and 42 is 84.

6. Check your work

Check your work by making sure the result is a multiple of every original number: 84 / 12 = 7, 84 / 21 = 4 and 84 / 42 = 2.

Each division gives a whole number, so 84 is a common multiple. The factor table used the highest needed power of each prime and no extra prime factors, so this common multiple is the least one.

Why learn this

Learn more with Tiger
The least common multiple (LCM), sometimes called the lowest common multiple, is helpful for understanding the relationships between numbers. For example, if it takes Earth 365 days to orbit the sun and it takes Venus 225 days to orbit the sun and both are in perfect alignment at the time this scenario is given, how long will it take for Earth and Venus to align again? We can use LCM to determine that the answer would be 16,425 days.

LCM is also a very important part of many mathematical concepts that also have real-world applications. For example, we use LCMs when adding and subtracting fractions, which we use quite frequently.