Relationship Between HCF, LCM and the Product of Two Numbers
Quantitative Aptitude › HCF, LCM and Divisibility Rules · Topic 2.3
For any two positive numbers, the product of the numbers equals the product of their HCF and LCM. This rule lets one unknown be found from the other three quantities, and it is used to find the second number, the LCM or the HCF quickly.
6 min read · Quantitative Aptitude · HCF, LCM and Divisibility Rules
Quick Answer
For any two positive numbers, the product of the numbers equals the product of their HCF and LCM. This rule lets one unknown be found from the other three quantities, and it is used to find the second number, the LCM or the HCF quickly.
At a Glance
- Core rule a × b = HCF × LCM
- Works for Exactly two numbers
- Numbers in HCF form a = h·x, b = h·y, x and y co-prime
- LCM in that form h·x·y
- Common use Find the second number
- Fails for Three or more numbers
Where Does It Fit?
This topic combines Highest Common Factor (HCF) by Division and Prime Factorization Method and Lowest Common Multiple (LCM) by Division and Prime Factorization Method into one rule. It is checked in practice in Verification Using the Rule: Product of Two Numbers = HCF × LCM and extended to fractions in HCF and LCM of Fractions and Decimal Numbers.
What Is the Relationship Between HCF, LCM and the Product?
In short: multiply the HCF and the LCM of two numbers and you get exactly the product of the two numbers.
The rule
- First number × Second number = HCF × LCM
- LCM = (product of the numbers) ÷ HCF
- HCF = (product of the numbers) ÷ LCM
- Second number = (HCF × LCM) ÷ First number
| Numbers | HCF | LCM | Product | HCF × LCM |
|---|---|---|---|---|
| 12 and 18 | 6 | 36 | 216 | 216 |
| 15 and 20 | 5 | 60 | 300 | 300 |
| 8 and 9 | 1 | 72 | 72 | 72 |
| 24 and 36 | 12 | 72 | 864 | 864 |
Why Does the Rule Work?
In short: any two numbers can be written with their HCF h as a = h×x and b = h×y, where x and y are co-prime numbers. Their LCM is then h×x×y.
- Product: a × b = h×x × h×y = h²×x×y.
- HCF times LCM: h × (h×x×y) = h²×x×y, which is the same.
- Consequence: if the numbers are given as ratio x : y with HCF h, the numbers are hx and hy and the LCM is hxy.
- Warning: the proof depends on there being only two numbers, so the rule does not extend to three numbers.
How Do You Solve Ratio and Pair Problems?
In short: write the numbers as h×x and h×y with x and y co-prime, then use the given HCF, LCM or ratio.
- Given the ratio of numbers and the HCF: the numbers are h times each ratio term.
- Given ratio and LCM: LCM = h×x×y, so find h from it.
- Pairs with given HCF and LCM: LCM ÷ HCF = x×y. List co-prime pairs (x, y) with that product.
- Link: the ladder and prime methods for the HCF and LCM themselves are in Highest Common Factor (HCF) by Division and Prime Factorization Method and Lowest Common Multiple (LCM) by Division and Prime Factorization Method.
Solved Examples
Example 1
Question: The HCF of two numbers is 12 and their LCM is 180. One number is 36. Find the other.
- Product of the numbers = HCF × LCM = 12 × 180 = 2160.
- Other number = 2160 ÷ 36 = 60.
Answer: 60
Example 2
Question: The product of two numbers is 2028 and their HCF is 13. Find the LCM.
- LCM = product ÷ HCF = 2028 ÷ 13.
- 2028 ÷ 13 = 156.
Answer: 156
Example 3
Question: Two numbers are in the ratio 3 : 4 and their HCF is 5. Find the numbers and their LCM.
- The numbers are 5 × 3 = 15 and 5 × 4 = 20.
- LCM = h×x×y = 5 × 3 × 4 = 60.
- Check: 15 × 20 = 300 = 5 × 60.
Answer: 15 and 20; LCM 60
Example 4
Question: How many pairs of numbers have HCF 6 and LCM 36?
- Write the numbers as 6x and 6y with x, y co-prime. Then LCM ÷ HCF = x×y = 36 ÷ 6 = 6.
- Co-prime pairs with product 6: (1, 6) and (2, 3).
- The pairs are (6, 36) and (12, 18).
Answer: 2 pairs (unordered)
Example 5
Question: Two numbers are in the ratio 4 : 5 and their LCM is 140. Find the numbers.
- Numbers = 4h and 5h; LCM = 4 × 5 × h = 20h.
- 20h = 140, so h = 7.
- Numbers = 28 and 35.
Answer: 28 and 35
Shortcuts and Tricks
- Use LCM = product ÷ HCF for two numbers; it avoids listing multiples.
- If the ratio and the HCF are given, the numbers are simply HCF times the ratio terms.
- For pair-counting questions, divide LCM by HCF and list co-prime factor pairs of the quotient.
- After solving, test your numbers: their product must equal HCF × LCM.
- Never apply the product rule to three numbers.
Common Mistakes
- Using the rule for three numbers. For 4, 6 and 8 the product 192 is not HCF × LCM = 2 × 24 = 48.
- Forgetting that the LCM must be a multiple of the HCF, so inconsistent data is impossible.
- Treating the ratio terms as the numbers instead of multiplying by the HCF.
- Counting ordered pairs when the question asks for unordered pairs, or the reverse.
- Mixing up the HCF and LCM in the formula after division.
Practice Questions
- HCF = 8, LCM = 48, one number is 16. Find the other.
- Product of two numbers is 1728 and HCF is 12. Find the LCM.
- Two numbers are in the ratio 2 : 3 and their LCM is 48. Find their HCF.
- HCF = 15 and LCM = 180. Find the product of the two numbers.
- Numbers 21 and 28: verify that product = HCF × LCM.
Answers: 1) 24; 2) 144; 3) 8; 4) 2700; 5) 7 × 84 = 588 = 21 × 28.
Why Is This Topic Important?
- Shortcut It finds a missing number in one step.
- Frequent Ratio and pair questions appear in SSC CGL.
- Check It verifies HCF and LCM answers, as in Verification Using the Rule: Product of Two Numbers = HCF × LCM.
- Foundation The h×x form is reused in later number problems.
What Comes Next?
The next topic is HCF and LCM of Fractions and Decimal Numbers, which extends the HCF and LCM to fractions and decimals.
Key Terms and Formulas
- HCF × LCM Equals the product of two numbers
- h×x, h×y Two numbers written with their HCF h
- Co-prime pair x and y with HCF 1
- Product Result of multiplying the two numbers
- Unordered pair (a, b) and (b, a) counted once
- Missing number The unknown found from the rule
Related Topics
- Lowest Common Multiple (LCM) by Division and Prime Factorization Method
- HCF and LCM of Fractions and Decimal Numbers
- Highest Common Factor (HCF) by Division and Prime Factorization Method
- Applications of HCF and LCM in Word Problems (Bells Ringing Together, Tank Filling, Traffic Lights)
Exam Corner
Points to Remember
- For two numbers, product = HCF × LCM.
- The LCM is a multiple of the HCF.
- The numbers are h×x and h×y with x and y co-prime.
- The rule does not hold for three numbers.
- LCM ÷ HCF = x × y for the co-prime parts.
Do Not Confuse With
- Two vs three numbers The product rule holds only for two numbers.
- Product vs LCM The product equals the LCM only if the HCF is 1.
- Ratio vs numbers The ratio terms are the co-prime parts, not the numbers.
- Ordered vs unordered Pairs (6, 36) and (36, 6) are the same unordered pair.
Memory Hook
Two numbers, one rule: product equals HCF times LCM.
GS Relevance
Frequently Asked Questions
What is the relationship between HCF, LCM and the product of two numbers?
For two positive numbers, the product of the numbers equals the product of their HCF and LCM. For example, 12 and 18 have HCF 6 and LCM 36, and 12 times 18 is 216, which equals 6 times 36. The rule helps to find a missing number or LCM quickly.
How do you find the second number from HCF and LCM?
To find the second number, multiply the HCF by the LCM and divide by the first number. If the HCF is 12, the LCM is 180 and one number is 36, the second number is 12 times 180 divided by 36, which is 60.
Does the HCF-LCM product rule work for three numbers?
The product rule does not work for three or more numbers. For the numbers 4, 6 and 8 the HCF is 2 and the LCM is 24, so HCF times LCM is 48, while the product of the numbers is 192. The rule holds only for exactly two numbers.
How do you find numbers from their ratio and HCF?
To find numbers from their ratio and HCF, multiply each ratio term by the HCF. If two numbers are in the ratio 3 to 4 and their HCF is 5, the numbers are 15 and 20, and their LCM is 5 times 3 times 4, which is 60.
How many pairs of numbers have a given HCF and LCM?
To count pairs, divide the LCM by the HCF and list the co-prime factor pairs of the quotient. For HCF 6 and LCM 36 the quotient is 6, with co-prime pairs 1 and 6, and 2 and 3, giving the unordered number pairs 6 and 36, and 12 and 18.
PYQ Practice — Statement Analysis
1 For two numbers, the product equals HCF multiplied by LCM.
This holds for exactly two positive numbers.
2 If the HCF of two numbers is 1, their LCM equals their product.
Product = 1 × LCM, so the LCM equals the product.
3 The rule product = HCF × LCM holds for three numbers as well.
For 4, 6 and 8 the product is 192 but HCF × LCM is 48.
4 Two numbers can have HCF 7 and LCM 30.
The LCM must be a multiple of the HCF, and 30 is not a multiple of 7.
Related Topics
Browse the full Quantitative Aptitude index