Subject: Class 10 Mathematics Chapter: Real Numbers Topic: HCF Formula – Find greatest common divisor efficiently correctly
The HCF, or Highest Common Factor, is also called the Greatest Common Divisor (GCD). Given two or more positive integers, the HCF is the largest positive integer that divides each of them exactly, leaving no remainder. For example, the numbers 12 and 18 share the factors 1, 2, 3 and 6. The largest of these is 6, so $\text{HCF}(12, 18) = 6$.
The HCF answers the practical question: "What is the biggest size of a common unit that divides everything evenly?" Whether we are cutting cloth into identical squares, packing items into equal boxes, or arranging students into equal groups, the HCF gives the best possible grouping size.
There are three standard methods to compute the HCF of numbers. Each has its own use, and a good student should be comfortable with all three.
List all factors of each number, circle the common ones, and pick the largest.
Example: Find HCF of 24 and 36. - Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24 - Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36 - Common factors: 1, 2, 3, 4, 6, 12 - HCF = 12
Write each number as a product of primes. The HCF is the product of the common prime factors, each raised to the smallest power in which it appears across the numbers.
Example: Find HCF of 36 and 84. - $36 = 2^2 \times 3^2$ - $84 = 2^2 \times 3 \times 7$ - Common primes: 2 and 3. Smallest powers: $2^2$ and $3^1$. - $\text{HCF} = 2^2 \times 3 = 12$
This method applies the division lemma repeatedly until the remainder is zero. The last non-zero divisor is the HCF. This is the preferred method for large numbers because it avoids factorization.
Example: Find HCF of 455 and 42. - $455 = 42 \times 10 + 35$ - $42 = 35 \times 1 + 7$ - $35 = 7 \times 5 + 0$ - HCF = 7
Let the prime factorisation of a number $a$ be written as $a = p_1^{\alpha_1} \times p_2^{\alpha_2} \times \dots \times p_k^{\alpha_k}$ and of $b$ as $b = p_1^{\beta_1} \times p_2^{\beta_2} \times \dots \times p_k^{\beta_k}$, where some exponents may be zero. Then:
$$\text{HCF}(a, b) = p_1^{\min(\alpha_1, \beta_1)} \times p_2^{\min(\alpha_2, \beta_2)} \times \dots \times p_k^{\min(\alpha_k, \beta_k)}$$
In words: HCF = product of common primes taken to their smallest powers. If no prime is common to all the numbers, the HCF is 1, meaning the numbers are coprime (or relatively prime).
Solution: $96 = 2^5 \times 3$ and $404 = 2^2 \times 101$. The only common prime is 2, with smallest power $2^2$. Hence $\text{HCF}(96, 404) = 4$.
Solution: $12 = 2^2 \times 3$, $15 = 3 \times 5$, $21 = 3 \times 7$. The only common prime among all three is 3, and it appears to the first power everywhere. Hence $\text{HCF}(12, 15, 21) = 3$.
Find HCF of 306, 657 and 963.
Solution: First find HCF of 306 and 657: - $657 = 306 \times 2 + 45$ - $306 = 45 \times 6 + 36$ - $45 = 36 \times 1 + 9$ - $36 = 9 \times 4 + 0$ So HCF(306, 657) = 9. Now divide 963 by 9: $963 = 9 \times 107$, so 9 divides 963. Hence HCF of all three numbers is 9.
To find the HCF of several numbers, find the HCF of any two, then the HCF of that result with the next number, and so on. The final result is the HCF of all numbers. This works because HCF is associative: $\text{HCF}(\text{HCF}(a, b), c) = \text{HCF}(a, b, c)$.
flowchart TD
A[Start with three numbers a, b, c] --> B[HCF of a and b = h1]
B --> C[HCF of h1 and c = h2]
C --> D[Final HCF = h2]
D --> E[Verify: h2 divides a, b and c exactly]
The HCF satisfies several important properties that are useful in problem solving:
For two positive integers $a$ and $b$:
$$\text{HCF}(a, b) \times \text{LCM}(a, b) = a \times b$$
This identity has a very practical use: if one of HCF or LCM is known, the other is immediate.
Example: LCM of two numbers is 14 times their HCF. The sum of the numbers is 60. If HCF is 6, find the numbers.
Solution: Let the numbers be $6x$ and $6y$ where $x$ and $y$ are coprime. LCM $= 6xy$. Given LCM $= 14 \times 6 = 84$, so $xy = 14$. Also $6x + 6y = 60$, so $x + y = 10$. The coprime pairs with product 14 and sum 10 are $x = 7, y = 2$ (and reverse). Hence the numbers are $6 \times 7 = 42$ and $6 \times 2 = 12$.
| Numbers | Prime factorization | Common primes (smallest power) | HCF |
|---|---|---|---|
| 14, 21 | $2\cdot7$, $3\cdot7$ | $7$ | 7 |
| 16, 20 | $2^4$, $2^2\cdot5$ | $2^2$ | 4 |
| 90, 126 | $2\cdot3^2\cdot5$, $2\cdot3^2\cdot7$ | $2\cdot3^2$ | 18 |
| 11, 13 | $11$, $13$ | none | 1 |
| 45, 60 | $3^2\cdot5$, $2^2\cdot3\cdot5$ | $3\cdot5$ | 15 |
| 625, 3125 | $5^4$, $5^5$ | $5^4$ | 625 |
A milkman has two containers of 120 litres and 90 litres. Find the largest container that can measure both quantities an exact number of times.
Solution: We need HCF(120, 90). $120 = 2^3 \times 3 \times 5$, $90 = 2 \times 3^2 \times 5$. Common primes with smallest powers: $2 \times 3 \times 5 = 30$. So a 30-litre container works.
Three groups of 84, 120 and 156 students are to be arranged in equal rows with no group mixing. Find the maximum number of students in each row.
Solution: HCF(84, 120, 156) = HCF(84, 120) = 12, then HCF(12, 156) = 12. So maximum 12 students per row.
A floor is 55 m long and 22 m broad. Find the largest square tile that covers it exactly.
Solution: HCF(55, 22) = 11. Largest square tile has side 11 m.
Three traffic lights change after 48, 72 and 108 seconds. After how many seconds will they change together again?
Solution: This requires the LCM, not the HCF. LCM(48, 72, 108) = 432 seconds. This reminds us to read problems carefully — when the question asks "after how long together again", use LCM; when it asks "largest common size", use HCF.
For very large numbers, Euclid's algorithm is fastest. Let us summarize the algorithm:
flowchart TD
S[Start with c > d] --> T[Divide c by d<br>c = d*q + r]
T --> U{Is r = 0?}
U -- Yes --> V[HCF = d]
U -- No --> W[Set c = d, d = r]
W --> T
V --> X[Stop]
| Mistake | Why it is wrong | Correct approach |
|---|---|---|
| Taking the largest power instead of smallest | HCF must divide both numbers; larger power may exceed one number's exponent | Always take the smallest power of common primes |
| Including non-common primes | HCF only contains factors common to all numbers | Non-common primes are excluded entirely |
| Using HCF×LCM identity for 3 numbers | The identity is false for three or more numbers | Find HCF and LCM separately for 3+ numbers |
| Confusing HCF with LCM | HCF is smaller than or equal to both; LCM is larger | Recall HCF ≤ each number ≤ LCM |
| Stopping Euclid's algorithm early | The last non-zero remainder is needed | Continue until remainder is exactly zero |
| Treating HCF of fractions incorrectly | HCF is defined for integers in Class 10 | Convert to whole units first |
The HCF is one of the most practical concepts in the entire chapter. It can be found by listing, by prime factorization, or by Euclid's division algorithm, and the last method is unbeatable for large numbers. Combined with the identity $\text{HCF} \times \text{LCM} = a \times b$, the HCF unlocks solutions to many word problems involving equal distribution, container capacity, and tile sizes.
Exam importance: HCF questions are almost guaranteed in every board paper. Expect at least one direct "find the HCF" question and one application-based word problem. Solving HCF questions via the Fundamental Theorem of Arithmetic (prime factorization) is the examiner's favourite, so master the method of smallest powers.