👁 Preview — Study, Practice and Revise are open; mock tests and the rest of the syllabus unlock on subscription. Unlock all · ₹4,999
← Back to Number System and Simplification
Study mode

LCM and HCF

Introduction to LCM and HCF

In mathematics, understanding the concepts of LCM (Least Common Multiple) and HCF (Highest Common Factor) is essential for solving a wide range of problems involving numbers. These concepts help us find common ground between numbers, whether it is the smallest number that two or more numbers divide into evenly (LCM) or the largest number that divides two or more numbers exactly (HCF).

LCM and HCF are closely linked to other important topics such as divisibility rules, prime factorization, and simplification of fractions. Mastering these concepts will not only help you in competitive exams but also in real-life situations like scheduling events, sharing resources, and simplifying calculations.

Definition and Basic Understanding of LCM and HCF

Least Common Multiple (LCM) of two or more numbers is the smallest number that is a multiple of all the given numbers. In other words, it is the smallest number into which all the numbers divide without leaving a remainder.

Highest Common Factor (HCF), also known as Greatest Common Divisor (GCD), of two or more numbers is the largest number that divides all the given numbers exactly without leaving a remainder.

To find LCM and HCF efficiently, we use prime factorization, which means expressing a number as a product of prime numbers.

Prime Factorization of 24 2 12 2 6 2 3 24 Prime Factorization of 36 2 18 2 9 3 3 36 24 36 3 Common: 2², 3 Unique to 24: 2 Unique to 36: 3

From the factor trees above:

  • 24 = \(2 \times 2 \times 2 \times 3 = 2^3 \times 3\)
  • 36 = \(2 \times 2 \times 3 \times 3 = 2^2 \times 3^2\)

The HCF is the product of the prime factors common to both numbers, taken with the smallest powers:

HCF = \(2^{\min(3,2)} \times 3^{\min(1,2)} = 2^2 \times 3^1 = 4 \times 3 = 12\)

The LCM is the product of all prime factors present in either number, taken with the highest powers:

LCM = \(2^{\max(3,2)} \times 3^{\max(1,2)} = 2^3 \times 3^2 = 8 \times 9 = 72\)

Methods to Find LCM and HCF

There are three common methods to find LCM and HCF:

graph TD    A[Start] --> B{Choose method}    B --> C[Listing multiples/factors]    B --> D[Prime factorization]    B --> E[Division method]    C --> C1[Write multiples/factors]    C1 --> C2[Find common multiples/factors]    C2 --> C3[Select smallest common multiple for LCM]    C2 --> C4[Select greatest common factor for HCF]    D --> D1[Find prime factors of each number]    D1 --> D2[Use min exponents for HCF]    D1 --> D3[Use max exponents for LCM]    E --> E1[Divide numbers by common prime factors]    E1 --> E2[Multiply divisors for HCF]    E1 --> E3[Multiply divisors and remaining numbers for LCM]

Relationship between LCM, HCF and Product of Numbers

For any two numbers \(a\) and \(b\), there is an important relationship:

\[ \text{LCM}(a,b) \times \text{HCF}(a,b) = a \times b \]

This means the product of the LCM and HCF of two numbers equals the product of the numbers themselves. This relationship is very useful for quickly finding one value if the other two are known.

Numbers (a, b) LCM(a,b) HCF(a,b) Product a x b LCM x HCF
12, 18 36 6 216 216
24, 36 72 12 864 864
8, 20 40 4 160 160

Worked Examples

Example 1: Finding LCM and HCF of 24 and 36 Easy
Find the LCM and HCF of 24 and 36 using prime factorization.

Step 1: Find prime factors of each number.

24 = \(2^3 \times 3\)

36 = \(2^2 \times 3^2\)

Step 2: For HCF, take the minimum powers of common primes.

HCF = \(2^{\min(3,2)} \times 3^{\min(1,2)} = 2^2 \times 3 = 4 \times 3 = 12\)

Step 3: For LCM, take the maximum powers of all primes.

LCM = \(2^{\max(3,2)} \times 3^{\max(1,2)} = 2^3 \times 3^2 = 8 \times 9 = 72\)

Answer: HCF = 12, LCM = 72

Example 2: Using Division Method to Find LCM and HCF of 48 and 180 Medium
Use the division method to find the LCM and HCF of 48 and 180.

Step 1: Write the numbers side by side and divide by common prime factors.

Divisor48180
22490
21245
3415
345
45

Step 2: Multiply the divisors to get HCF.

HCF = \(2 \times 2 \times 3 \times 3 = 36\)

Step 3: Multiply HCF by the remaining numbers to get LCM.

LCM = \(36 \times 4 \times 5 = 720\)

Answer: HCF = 36, LCM = 720

Example 3: Application Problem - Scheduling Events Medium
Two events occur every 12 days and 15 days respectively. After how many days will both events coincide again?

Step 1: Identify the problem as finding the LCM of 12 and 15.

Step 2: Prime factorization:

12 = \(2^2 \times 3\)

15 = \(3 \times 5\)

Step 3: LCM = \(2^2 \times 3 \times 5 = 4 \times 3 \times 5 = 60\)

Answer: Both events will coincide after 60 days.

Example 4: Finding LCM and HCF of Three Numbers (18, 24, 30) Hard
Find the LCM and HCF of 18, 24, and 30 using prime factorization.

Step 1: Prime factorize each number.

18 = \(2 \times 3^2\)

24 = \(2^3 \times 3\)

30 = \(2 \times 3 \times 5\)

Step 2: For HCF, take the minimum powers of common primes.

Common prime factors are 2 and 3.

Minimum power of 2 = \(2^1\)

Minimum power of 3 = \(3^1\)

HCF = \(2^1 \times 3^1 = 6\)

Step 3: For LCM, take the maximum powers of all primes.

Maximum power of 2 = \(2^3\)

Maximum power of 3 = \(3^2\)

Include 5 from 30 as \(5^1\)

LCM = \(2^3 \times 3^2 \times 5 = 8 \times 9 \times 5 = 360\)

Answer: HCF = 6, LCM = 360

Example 5: Simplifying Fractions Using HCF Easy
Simplify the fraction \(\frac{84}{126}\) using HCF.

Step 1: Find HCF of numerator and denominator.

Prime factorization:

84 = \(2^2 \times 3 \times 7\)

126 = \(2 \times 3^2 \times 7\)

HCF = \(2^{\min(2,1)} \times 3^{\min(1,2)} \times 7^{\min(1,1)} = 2^1 \times 3^1 \times 7^1 = 42\)

Step 2: Divide numerator and denominator by HCF.

\(\frac{84}{126} = \frac{84 \div 42}{126 \div 42} = \frac{2}{3}\)

Answer: Simplified fraction is \(\frac{2}{3}\)

Formula Bank

Relationship between LCM and HCF
\[ \text{LCM}(a,b) \times \text{HCF}(a,b) = a \times b \]
where: \(a,b\) = two numbers; \(\text{LCM}(a,b)\) = Least Common Multiple; \(\text{HCF}(a,b)\) = Highest Common Factor
LCM from Prime Factors
\[ \text{LCM} = \prod p_i^{\max(e_i,f_i)} \]
where: \(p_i\) = prime factors; \(e_i,f_i\) = exponents in prime factorization of the two numbers
HCF from Prime Factors
\[ \text{HCF} = \prod p_i^{\min(e_i,f_i)} \]
where: \(p_i\) = prime factors; \(e_i,f_i\) = exponents in prime factorization of the two numbers

Tips & Tricks

Tip: Use prime factorization instead of listing multiples for larger numbers.

When to use: When numbers are large and listing multiples is time-consuming or error-prone.

Tip: Remember the formula \(\text{LCM} \times \text{HCF} = \text{Product of numbers}\) to quickly find missing values.

When to use: When two values among LCM, HCF, and product are known.

Tip: Use Venn diagrams to visualize common and unique prime factors.

When to use: To better understand the relationship between LCM and HCF visually.

Tip: For simplifying fractions, find HCF first and divide numerator and denominator by the same number.

When to use: When asked to simplify fractions quickly and accurately.

Tip: Check divisibility rules before prime factorization to speed up factor finding.

When to use: To quickly identify factors of numbers and reduce calculation time.

Common Mistakes to Avoid

❌ Confusing LCM with HCF and using the wrong method.
✓ Remember that LCM relates to multiples (common multiples), while HCF relates to factors (common divisors).
Why: Both involve commonality but in different directions; mixing them leads to incorrect answers.
❌ Listing multiples or factors incompletely, leading to wrong LCM or HCF.
✓ Use prime factorization or the division method to avoid missing factors or multiples.
Why: Manual listing is error-prone, especially for larger numbers.
❌ Not applying the LCM x HCF = product formula correctly for two numbers.
✓ Apply the formula only for two numbers, not for three or more without modification.
Why: The formula is valid strictly for two numbers; misuse leads to errors.
❌ Forgetting to take the highest power of prime factors for LCM.
✓ Always take the maximum exponent of each prime factor when calculating LCM.
Why: Taking minimum or incorrect exponents results in wrong LCM.
❌ Using HCF to simplify fractions but dividing numerator and denominator by different numbers.
✓ Divide both numerator and denominator by the same HCF value.
Why: Dividing by different numbers invalidates the simplification process.
✨ AI exam tools — try them free (included in every plan)
Tip: select any text above to Explain / Example / Simplify it.
Curated videos per subtopic
Top YouTube explainers, AI-ranked for your exam and language. Unlocks with subscription.
Unlock

Try Practice next.

Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.

Go to practice →
Ask a doubt
LCM and HCF · 10 free messages
Ask me anything about this subtopic. You have 10 free messages this session — chat history isn't saved in preview.