Common factors. Highest common factor
🖨 Print a self-study sheet Why print?
Ms Lan has notebooks and pens. She wants to share them into gift packs so that every pack has the same number of notebooks and the same number of pens, with nothing left over. What is the greatest number of gift packs she can make?
The number of packs must divide notebooks exactly, and it must also divide pens exactly. In other words, it is a factor of and a factor of at the same time. This lesson shows you how to find such "shared" numbers, and above all the largest one.
Common factors
We list the factors of each number:
- ;
- .
The numbers that appear in both lists are , , , . These are the possible numbers of packs: , , or .
So and \text{HCF}(18,24)=6. Ms Lan can make at most 6 gift packs, each with 3 notebooks and 4 pens.
Notice something nice: every common factor 1, 2, 3, 6 is a factor of 6. This is no accident.
Finding the HCF with prime factorisation
Listing factors is easy to understand, but for larger numbers such as 84 and 126 it takes a long time. Prime factorisation helps. A common factor can only contain prime factors that appear in every number. Each of those primes cannot have a higher power than it has in any of the numbers. To get the highest common factor, we take each shared prime with the highest power allowed, which is its smallest power among the numbers.
Using the HCF: fractions in simplest form
A fraction \dfrac{a}{b} is in its simplest form if \text{HCF}(a,b)=1, that is, the numerator and the denominator have no common factor other than 1. To simplify a fraction fully in one step, divide both the numerator and the denominator by their HCF.
Examples
We start by listing, to see clearly what common factors mean.
For larger numbers we use prime factorisation.
The rule works for three numbers too. Just remember: a prime must appear in all the numbers.
The HCF lets us simplify a fraction in one step.
Finally, a real problem, solved in four steps.
Key terms
Summary
- A common factor of some numbers is a factor of all of them; the HCF is the largest common factor.
- To find the HCF: write each number as a product of primes, pick the shared primes, take each with its smallest power and multiply.
- The common factors are exactly the factors of the HCF.
- If \text{HCF}(a,b)=1, then a and b are coprime, and \dfrac{a}{b} is in its simplest form.
- Problems about "the largest equal share" or "the longest equal pieces" usually lead to the HCF.
Back to Ms Lan's gifts: the greatest number of packs is \text{HCF}(18,24)=6. Whenever you see "as many as possible" together with "share equally", think of the HCF.
Practice
Each exercise comes with what you need and how to start. Try it yourself first, then open the solution.
Find \text{CF}(12,18) by listing factors, then give \text{HCF}(12,18).
What you need: a common factor appears in both sets of factors.
Steps:
- Write \text{F}(12) and \text{F}(18).
- Pick the shared numbers, then take the largest.
Show solution
We have \text{F}(12)=\{1;2;3;4;6;12\} and \text{F}(18)=\{1;2;3;6;9;18\}.
The numbers in both sets are 1, 2, 3, 6.
So \text{CF}(12,18)=\{1;2;3;6\} and \text{HCF}(12,18)=6.
Answer. \text{CF}(12,18)=\{1;2;3;6\}; \text{HCF}(12,18)=6.
Find the HCF of:
a) 45 and 75;
b) 56 and 140.
What you need: the three-step rule: factorise, pick the shared primes, take the smallest powers.
Steps:
- Write each number as a product of primes.
- Multiply the shared primes with their smallest powers.
Show solution
a) We have 45=3^2\cdot5 and 75=3\cdot5^2.
The shared primes are 3 and 5, each with smallest power 1.
So \text{HCF}(45,75)=3\cdot5=15.
b) We have 56=2^3\cdot7 and 140=2^2\cdot5\cdot7.
The shared primes are 2 (smallest power 2) and 7 (smallest power 1).
So \text{HCF}(56,140)=2^2\cdot7=28.
Therefore \text{HCF}(45,75)=15 and \text{HCF}(56,140)=28.
Answer. a) 15; b) 28.
Find \text{HCF}(36,60,84), then the set of common factors of the three numbers.
What you need: the common factors are the factors of the HCF.
Steps:
- Write the three numbers as products of primes.
- Find the HCF, then list its factors.
Show solution
We have 36=2^2\cdot3^2, 60=2^2\cdot3\cdot5 and 84=2^2\cdot3\cdot7.
The shared primes are 2 (smallest power 2) and 3 (smallest power 1).
So \text{HCF}(36,60,84)=2^2\cdot3=12.
The common factors are the factors of 12: 1; 2; 3; 4; 6; 12.
So \text{CF}(36,60,84)=\{1;2;3;4;6;12\}.
Answer. \text{HCF}=12; \text{CF}=\{1;2;3;4;6;12\}.
Write each fraction in its simplest form:
a) \dfrac{45}{75};
b) \dfrac{56}{140}.
What you need: divide the numerator and the denominator by their HCF.
Steps:
- Use the HCFs from the previous exercise.
- Divide the numerator and the denominator by the HCF.
Show solution
a) Since \text{HCF}(45,75)=15, \dfrac{45}{75}=\dfrac{45\div15}{75\div15}=\dfrac{3}{5}.
b) Since \text{HCF}(56,140)=28, \dfrac{56}{140}=\dfrac{56\div28}{140\div28}=\dfrac{2}{5}.
So \dfrac{45}{75}=\dfrac{3}{5} and \dfrac{56}{140}=\dfrac{2}{5}.
Answer. a) \dfrac{3}{5}; b) \dfrac{2}{5}.
Which of these pairs are coprime: 9 and 16; 14 and 21; 25 and 36?
What you need: two numbers are coprime when their HCF is 1.
Steps:
- Write each number as a product of primes.
- Check whether the two numbers share a prime factor.
Show solution
We have 9=3^2 and 16=2^4: no shared prime, so \text{HCF}(9,16)=1.
We have 14=2\cdot7 and 21=3\cdot7: they share the prime 7, so \text{HCF}(14,21)=7.
We have 25=5^2 and 36=2^2\cdot3^2: no shared prime, so \text{HCF}(25,36)=1.
So the coprime pairs are 9 and 16; 25 and 36.
Answer. 9 and 16; 25 and 36.
A display team has 48 boys and 60 girls. The teacher wants to line them up in columns, each column with the same number of boys and the same number of girls. What is the greatest number of columns? How many boys and girls are then in each column?
What you need: the number of columns is a common factor of 48 and 60; "the greatest" leads to the HCF.
Steps:
- Call the number of columns h and say what it must satisfy.
- Find \text{HCF}(48,60), then the numbers of boys and girls per column.
Show solution
Let the number of columns be h. Since the boys and the girls are shared equally among the columns, h is a common factor of 48 and 60. We want the largest h, so h=\text{HCF}(48,60).
We have 48=2^4\cdot3 and 60=2^2\cdot3\cdot5.
So \text{HCF}(48,60)=2^2\cdot3=12, that is h=12.
Each column has 48\div12=4 (boys) and 60\div12=5 (girls).
So there can be at most 12 columns, each with 4 boys and 5 girls.
Answer. 12 columns; each with 4 boys and 5 girls.
A rectangular yard is 16 m long and 12 m wide. It is to be covered completely with equal square stone slabs whose side is a whole number of metres, with no slab cut. What is the longest possible side of a slab? How many slabs are then needed?
What you need: the side of a slab must divide both the length and the width.
Steps:
- The longest side is \text{HCF}(16,12).
- Count the slabs along each side, then multiply.
Show solution
Let the side of a slab be a m. Since no slab is cut, 16 and 12 are both divisible by a. For the longest side, a=\text{HCF}(16,12).
We have 16=2^4 and 12=2^2\cdot3, so \text{HCF}(16,12)=2^2=4. Therefore a=4.
Along the length there are 16\div4=4 (slabs), and along the width 12\div4=3 (slabs).
The number of slabs is 4\cdot3=12 (slabs).
So the longest side of a slab is 4 m, and 12 slabs are needed.
Answer. 4 m; 12 slabs.
Find the largest natural number a greater than 1 such that both 70 and 84 are divisible by a. How many natural numbers a greater than 1 have this property?
What you need: such numbers a are the common factors of 70 and 84, that is, the factors of the HCF.
Steps:
- Find \text{HCF}(70,84).
- List the factors of the HCF and leave out 1.
Show solution
Since 70 and 84 are both divisible by a, the number a is a common factor of 70 and 84.
We have 70=2\cdot5\cdot7 and 84=2^2\cdot3\cdot7, so \text{HCF}(70,84)=2\cdot7=14.
The common factors of 70 and 84 are the factors of 14: 1; 2; 7; 14.
Leaving out 1, we have 2; 7; 14.
So the largest a is 14, and there are 3 such numbers.
Answer. The largest a is 14; there are 3 numbers.
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
24=2^3\cdot3 and 36=2^2\cdot3^2, so the HCF is 2^2\cdot3=12. A is a common factor but not the highest; C is the lowest common multiple; D misses the factor 3.
The common factors are the factors of 10. B lists multiples of 10; C and D miss some factors.
\text{HCF}(9,16)=1. The others simplify: \dfrac{14}{21}=\dfrac{2}{3}, \dfrac{15}{25}=\dfrac{3}{5}, \dfrac{12}{18}=\dfrac{2}{3}.
The greatest number of plates is \text{HCF}(30,45)=15. A and B are common factors but not the highest; C is the LCM.
Part II. True or false
| a) \text{HCF}(18,30)=6. | ||
| b) Two composite numbers can never be coprime. | ||
| c) If a is divisible by b, then \text{HCF}(a,b)=b. | ||
| d) \text{HCF}(15,1)=15. |
a) True: 18=2\cdot3^2 and 30=2\cdot3\cdot5, so the HCF is 2\cdot3=6. b) False: 8 and 9 are both composite but \text{HCF}(8,9)=1. c) True: b is a factor of both a and b, and no factor of b is larger than b. d) False: \text{HCF}(15,1)=1.
Part III. Short answer
42=2\cdot3\cdot7 and 70=2\cdot5\cdot7, so the HCF is 2\cdot7=14.
\text{HCF}(54,90)=2\cdot3^2=18, and 18 has 6 factors: 1; 2; 3; 6; 9; 18.
Show answers and explanations
- Part I, question 1: B. 24=2^3\cdot3 and 36=2^2\cdot3^2, so the HCF is 2^2\cdot3=12. A is a common factor but not the highest; C is the lowest common multiple; D misses the factor 3.
- Part I, question 2: A. The common factors are the factors of 10. B lists multiples of 10; C and D miss some factors.
- Part I, question 3: C. \text{HCF}(9,16)=1. The others simplify: \dfrac{14}{21}=\dfrac{2}{3}, \dfrac{15}{25}=\dfrac{3}{5}, \dfrac{12}{18}=\dfrac{2}{3}.
- Part I, question 4: D. The greatest number of plates is \text{HCF}(30,45)=15. A and B are common factors but not the highest; C is the LCM.
- Part II, question 1: a) True; b) False; c) True; d) False. a) True: 18=2\cdot3^2 and 30=2\cdot3\cdot5, so the HCF is 2\cdot3=6. b) False: 8 and 9 are both composite but \text{HCF}(8,9)=1. c) True: b is a factor of both a and b, and no factor of b is larger than b. d) False: \text{HCF}(15,1)=1.
- Part III, question 1: 14. 42=2\cdot3\cdot7 and 70=2\cdot5\cdot7, so the HCF is 2\cdot7=14.
- Part III, question 2: 6. \text{HCF}(54,90)=2\cdot3^2=18, and 18 has 6 factors: 1; 2; 3; 6; 9; 18.