Noescio
Home › Sessions › HCF and LCM from primes

HCF and LCM from primes

Class 10Maths Finding HCF and LCM by factorisationSession 2 Free

From the prime factorisations of two numbers, the HCF is the product of the shared primes at their smallest powers, and the LCM is the product of all the primes at their largest powers.

Definitions

The highest common factor (HCF) of two numbers is the largest whole number that divides both of them exactly. The lowest common multiple (LCM) is the smallest positive whole number that both of them divide exactly.

Listing all the factors or multiples works for small numbers but takes many steps for large ones. Prime factorisation gives a method whose length depends only on how many primes are involved.

The HCF uses the shared primes

Take 6 and 20. Their prime factorisations are 6 = 2 × 3 and 20 = 2² × 5.

The HCF is the product of the primes that appear in both factorisations, each raised to the smaller of its two powers. The prime 2 appears in both: once in 6 and twice in 20. The smaller power is 2¹. The prime 3 appears only in 6, and 5 only in 20, so neither can be part of a number that divides both.

HCF(6, 20) = 2¹ = 2

Why is the smaller power of each shared prime used for the HCF?

The HCF must divide both numbers. 6 contains the prime 2 only once. So any number that divides 6 can contain 2 at most once. That 20 contains 2 twice does not help, because the factor must also divide 6.

With 2² = 4, the result would no longer divide 6. The number with fewer copies of a prime sets the limit.

The LCM uses all the primes

The LCM is the product of every prime that appears in either factorisation, each raised to the larger of its powers.

For 6 and 20, the primes are 2, 3 and 5. The largest powers are 2² (from 20), 3¹ (from 6) and 5¹ (from 20).

LCM(6, 20) = 2² × 3 × 5 = 60

The LCM must be a multiple of both numbers. So it must contain each prime at least as many times as either number contains it. That is why the larger power is used.

6 = 2 3 20 = 2 2 5 HCF — shared, smallest 2 = 2 LCM — all, largest 2 2 3 5 = 60

One set of prime factors, read two ways. The HCF uses only the primes both numbers share, at the smaller power. The LCM uses every prime, at the larger power.

A larger example

Take 96 and 404. 96 = 2⁵ × 3 and 404 = 2² × 101.

The only shared prime is 2, and the smaller power is 2². So HCF = 4. For the LCM, take 2⁵, 3 and 101: LCM = 2⁵ × 3 × 101 = 32 × 303 = 9696.

Factorising each number once gave both answers. Listing the multiples of 404 to find the LCM would take 24 steps.

Find the HCF and LCM of 12 and 18 from their prime factorisations.

12 = 2² × 3 and 18 = 2 × 3².

HCF: both contain 2 and 3. Smaller powers: 2¹ and 3¹. HCF = 2 × 3 = 6.

LCM: larger powers: 2² (from 12) and 3² (from 18). LCM = 4 × 9 = 36.

Three or more numbers

The method extends directly. For the HCF, use only the primes that appear in every number, each at its smallest power. For the LCM, use every prime that appears in any of the numbers, each at its largest power.

For the HCF, a prime shared by only two of three numbers does not count.

Check what you have understood

1To find the HCF of two numbers from their prime factorisations, you take…

The HCF divides both numbers, so it uses only shared primes, each at the smaller power.

2To find the LCM, you take…

The LCM is a multiple of both, so it uses every prime, each at the larger power.

3With 12 = 2² × 3 and 18 = 2 × 3², the HCF of 12 and 18 is ____.

Shared primes at the smaller power: 2 × 3 = 6.

4With 12 = 2² × 3 and 18 = 2 × 3², the LCM is…

Larger powers: 2² × 3² = 4 × 9 = 36.

5Why does the HCF use the smaller power of each shared prime?

The number with fewer copies of a prime sets the limit for anything that divides it.

6For 96 = 2⁵ × 3 and 404 = 2² × 101, the HCF is…

Only 2 is shared, and the smaller power is 2² = 4. The primes 3 and 101 are each in one number only.

Next: the relation HCF × LCM = product of the two numbers.

‹ Previous: Every number is built from primes Next: The product rule, and reading factorisations ›