Subject: Mathematics - Arithmetic Chapter: LCM and HCF Topic: Factors, multiples, highest common factor, lowest common multiple, product relation, fractions, applications
The concepts of the Highest Common Factor (HCF) and the Lowest Common Multiple (LCM) are among the most frequently tested ideas in the RRB JE CBT-1 examination. They form the foundation for many other chapters such as ratios, fractions, time and work, and pipe and cistern problems. A question from HCF and LCM appears in almost every shift of the examination, either directly or as a hidden step inside another problem, so a candidate who masters this chapter earns reliable marks.
The HCF of two or more numbers is the largest number that divides each of them completely without leaving any remainder. The LCM is the smallest number that is exactly divisible by each of the given numbers. These two ideas seem simple, but examiners combine them with real-life situations such as finding the greatest measure of a container, the least number of tiles, the time after which bells ring together, or the smallest number that leaves the same remainder when divided by given numbers.
In this chapter we will study how to find the HCF and LCM by prime factorisation and by the division method, the relationship between HCF and LCM, the HCF and LCM of fractions, and the standard types of application questions that appear in the paper. We will also learn the quick tricks that allow a candidate to solve these problems mentally in a matter of seconds.
Before studying HCF and LCM, we must clearly understand the ideas of factors and multiples. A factor of a number is a divisor that divides the number exactly. For example, the factors of 24 are 1, 2, 3, 4, 6, 8, 12 and 24. Every number has at least two factors, namely 1 and the number itself. A multiple of a number is obtained by multiplying that number by any positive integer. The multiples of 5 are 5, 10, 15, 20, 25 and so on, and there is no largest multiple of any number.
Prime factorisation is the expression of a number as a product of its prime factors. For example, 72 = 2 x 2 x 2 x 3 x 3 = 2^3 x 3^2, and 108 = 2^2 x 3^3. Expressing numbers in this prime power form makes the computation of HCF and LCM extremely easy, because both can be read off directly from the exponents.
Two or more numbers that have no common factor other than 1 are called co-prime numbers. For example, 8 and 9 are co-prime, and 14 and 25 are co-prime. Co-prime numbers are important because the HCF of co-prime numbers is always 1, and the LCM of co-prime numbers is always their product.
The HCF, also called the Greatest Common Divisor (GCD), is the largest number that divides two or more numbers without leaving a remainder. For example, the HCF of 12 and 18 is 6, because 6 is the largest number that divides both 12 and 18 completely.
There are two standard methods to find the HCF. The first is the prime factorisation method. Here we write each number in its prime factor form, take the common prime factors, and multiply them with the lowest exponent with which each appears in any of the numbers. For example, to find the HCF of 72 and 108, we write 72 = 2^3 x 3^2 and 108 = 2^2 x 3^3. The common primes are 2 and 3, and the lowest exponents are 2 for 2 and 2 for 3, so the HCF is 2^2 x 3^2 = 4 x 9 = 36.
The second method is the division method, also called the Euclid method. To find the HCF of two numbers by this method, we divide the larger number by the smaller number, then divide the divisor by the remainder, and continue this process until the remainder becomes zero. The last divisor is the HCF. For example, for 24 and 36, we divide 36 by 24 to get remainder 12, then divide 24 by 12 to get remainder 0, so the HCF is 12.
The HCF of three or more numbers is found by first finding the HCF of any two numbers and then finding the HCF of that result with the third number, and so on. The HCF of any number and 1 is always 1, and the HCF of two numbers where one divides the other completely is always the smaller number.
The LCM is the smallest number that is exactly divisible by each of the given numbers. For example, the LCM of 4 and 6 is 12, because 12 is the smallest number divisible by both 4 and 6. The multiples of 4 are 4, 8, 12, 16, 20, 24 and the multiples of 6 are 6, 12, 18, 24, and the smallest common multiple is 12.
In the prime factorisation method for LCM, we write each number in prime factor form, then take every prime that appears in any of the numbers, each with its highest exponent. For example, to find the LCM of 72 and 108, we take 2^3 and 3^3, giving LCM = 2^3 x 3^3 = 8 x 27 = 216.
In the division method for LCM, we place all the numbers in a row, divide by the smallest prime that divides at least two of them, bring down the numbers not divisible, and repeat until no two numbers have a common factor. The LCM is the product of all the prime divisors used and the final numbers left in the row. This method is especially fast for three or more numbers.
The LCM of any number and 1 is the number itself. The LCM of two co-prime numbers is their product. The LCM of a set of numbers is always greater than or equal to the largest of the numbers, while the HCF is always smaller than or equal to the smallest of the numbers.
There is a very important relationship between the HCF and LCM of two numbers. For two numbers a and b, the product of the two numbers is always equal to the product of their HCF and LCM, that is, a x b = HCF x LCM. For example, for 24 and 36, the HCF is 12 and the LCM is 72, and 12 x 72 = 864 = 24 x 36. This relationship is used to find the HCF when the LCM is known, or the LCM when the HCF is known.
It must be remembered that this product relation holds exactly for two numbers only. For three or more numbers, the relation becomes HCF x LCM = (a x b x c) / (number of common factors of pairs), which is not directly useful in competitive exams. Therefore examiners usually restrict the product relation to pairs of numbers.
Another useful consequence is that the LCM of two numbers is the product of the numbers divided by their HCF. This is written as LCM = (a x b) / HCF. This formula is often the fastest way to compute the LCM of two large numbers once their HCF has been found by quick observation.
Questions on the HCF and LCM of fractions are very common in the RRB JE examination. The rules are simple to remember. The HCF of two or more fractions is the HCF of their numerators divided by the LCM of their denominators. The LCM of two or more fractions is the LCM of their numerators divided by the HCF of their denominators.
For example, to find the HCF of 2/3 and 4/9, we compute HCF of numerators, which is HCF of 2 and 4 = 2, divided by LCM of denominators, which is LCM of 3 and 9 = 9, giving an HCF of 2/9. To find the LCM of the same fractions, we take LCM of numerators, which is LCM of 2 and 4 = 4, divided by HCF of denominators, which is HCF of 3 and 9 = 3, giving an LCM of 4/3.
The same rule extends to decimals. When fractions are given in decimal form, such as 0.12 and 0.18, we first convert them to fractions, 12/100 and 18/100, and then apply the fraction rule. After simplification we obtain the HCF and LCM of the decimals.
The most common application of LCM is the bell question. When several bells ring together at the start and then ring after different intervals, the time after which they ring together again is the LCM of the intervals. For example, if three bells ring after 6, 8 and 12 seconds respectively, they will ring together after LCM of 6, 8 and 12, which is 24 seconds.
The greatest length or measure type of question uses HCF. For example, to find the greatest length of a tape that can measure exactly the lengths 36, 48 and 60 metres, we take the HCF of 36, 48 and 60, which is 12 metres. Similarly, the greatest number of students in a group such that a given collection can be distributed equally is the HCF of the numbers.
The remainder type questions combine both ideas. The smallest number which, when divided by each of several divisors, leaves the same remainder r, is the LCM of the divisors plus r. The greatest number which divides two numbers leaving the same remainder is the HCF of the difference of the two numbers and the smaller number. The largest number which divides a and b and leaves remainders r1 and r2 is the HCF of (a - r1) and (b - r2).
| Property | HCF | LCM |
|---|---|---|
| Meaning | Largest number dividing all given numbers | Smallest number divisible by all given numbers |
| Value | Always less than or equal to the smallest number | Always greater than or equal to the largest number |
| Prime factorisation | Common primes with lowest exponents | All primes with highest exponents |
| Co-prime numbers | Always 1 | Always the product of the numbers |
| Fractions | HCF of numerators / LCM of denominators | LCM of numerators / HCF of denominators |
| Pair of numbers | HCF | LCM | HCF x LCM | Product of numbers |
|---|---|---|---|---|
| 12 and 18 | 6 | 36 | 216 | 216 |
| 24 and 36 | 12 | 72 | 864 | 864 |
| 9 and 15 | 3 | 45 | 135 | 135 |
| 14 and 21 | 7 | 42 | 294 | 294 |
| 4 and 6 | 2 | 12 | 24 | 24 |
flowchart TD
A[LCM and HCF] --> B[HCF / GCD]
A --> C[LCM]
B --> B1[Prime factorisation: common primes, lowest exponents]
B --> B2[Division method: divide till remainder zero]
B --> B3[HCF of co-primes is 1]
C --> C1[Prime factorisation: all primes, highest exponents]
C --> C2[Division method: common division table]
C --> C3[LCM of co-primes is product]
A --> D[Product relation: a x b = HCF x LCM]
A --> E[Fractions: HCF = HCF of numerators / LCM of denominators]
E --> E1[LCM = LCM of numerators / HCF of denominators]
A --> F[Applications]
F --> F1[Bell rings together: LCM of intervals]
F --> F2[Greatest measure / length: HCF]
F --> F3[Remainder problems: LCM + r or HCF of differences]
The following diagrams show the two standard methods used to compute the HCF of two numbers.
HCF and LCM are among the most scoring topics in the RRB JE CBT-1 arithmetic section, because the underlying rules are few, the application pattern is fixed, and the calculations are short. In this chapter we studied the meaning of factors and multiples, the two standard methods of computing HCF and LCM, the all-important product relation a x b = HCF x LCM, the special rules for fractions, and the classic bell, measure and remainder application problems. Since these concepts reappear inside ratio, fraction, time and work, and pipe and cistern questions, mastering them multiplies the benefit across the whole paper. With regular practice of short computation drills and application problems, a candidate can answer every HCF and LCM question quickly, accurately, and with complete confidence.