Math Lab
Home/Class VII/Ch 11/HCF , Highest Common Factor

HCF , Highest Common Factor

The HCF (or GCD , Greatest Common Divisor) of two numbers is the largest number that divides both of them with no remainder.

Idea

Example: HCF of 1212 and 1818. The common factors are 1,2,3,61, 2, 3, 6. Largest is 66. So HCF(12,18)=6\text{HCF}(12, 18) = 6.

Method 1: Listing factors. Write all factors of each number; find the greatest common one. Works for small numbers.

Method 2: Prime factorisation. Write each number as product of primes. For each prime, take the lower power. Multiply these.

Example: 12=22×312 = 2^2 \times 3 and 18=2×3218 = 2 \times 3^2. Common primes: 22 and 33. Lower powers: 212^1 and 313^1. HCF =2×3=6= 2 \times 3 = 6.

Method 3: Euclidean algorithm. A fast way for large numbers.

To find HCF(a,b)\text{HCF}(a, b) with aba \geq b:

  1. Divide aa by bb. Let rr be the remainder.
  2. If r=0r = 0, then bb is the HCF.
  3. Otherwise, replace aa by bb and bb by rr. Repeat.

Example: HCF(84,60)\text{HCF}(84, 60). 84÷60=184 \div 60 = 1 R 2424. Now HCF(60,24)\text{HCF}(60, 24). 60÷24=260 \div 24 = 2 R 1212. Now HCF(24,12)\text{HCF}(24, 12). 24÷12=224 \div 12 = 2 R 00. So HCF =12= 12.

The Euclidean method is fast because each step reduces the numbers; it stops in just a few steps even for very large inputs.

Using HCF. To simplify a fraction ab\tfrac{a}{b}, divide both by HCF(a,b)\text{HCF}(a, b). So 8460\tfrac{84}{60} becomes 75\tfrac{7}{5} after dividing by 1212.

Worked examples

Example 1. Find HCF(24,36)\text{HCF}(24, 36) by listing.

Factors of 2424: 1,2,3,4,6,8,12,241,2,3,4,6,8,12,24. Factors of 3636: 1,2,3,4,6,9,12,18,361,2,3,4,6,9,12,18,36. Common: 1,2,3,4,6,121,2,3,4,6,12. Largest: 1212.

Example 2. Find HCF(36,60)\text{HCF}(36, 60) by prime factorisation.

36=22×3236 = 2^2 \times 3^2 and 60=22×3×560 = 2^2 \times 3 \times 5. Lower powers: 222^2 and 313^1. HCF =4×3=12= 4 \times 3 = 12.

Example 3. Find HCF(105,70)\text{HCF}(105, 70) by Euclidean algorithm.

105÷70=1105 \div 70 = 1 R 3535. 70÷35=270 \div 35 = 2 R 00. HCF =35= 35.

Example 4. Simplify 4872\tfrac{48}{72} using HCF.

HCF(48,72)=24\text{HCF}(48, 72) = 24. So 4872=23\tfrac{48}{72} = \tfrac{2}{3}.

Try it yourself

  1. HCF(15,25)\text{HCF}(15, 25).
  2. HCF(28,42)\text{HCF}(28, 42) by prime factorisation.
  3. HCF(84,56)\text{HCF}(84, 56) by Euclidean method.
  4. Simplify 7296\tfrac{72}{96}.
  5. HCF(9,16)\text{HCF}(9, 16). (Hint: coprime?)
  6. HCF(120,96)\text{HCF}(120, 96) , any method.
  7. Two numbers have HCF 11 , what is that called?
  8. Find HCF(0,5)\text{HCF}(0, 5). (Convention: HCF involving 00 equals the other number.)

Activity

Pick two of your favourite numbers. Find HCF using all three methods. Verify they give the same answer.

Practice quiz

Quick check on this topic.

Quiz
Quick check : HCF
5 questions · pick the best answer
Q1

HCF(15,25)=\text{HCF}(15, 25)=

Q2

HCF(28,42)=\text{HCF}(28, 42)=

Q3

HCF(84,56)\text{HCF}(84, 56) by Euclidean:

Q4

Simplify 7296\tfrac{72}{96}:

Q5

HCF=1\text{HCF}=1 means: