Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Lcm And Hcf Explained With Formulas And Methods

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

How To Find Lcm And Hcf Using Prime Factorization And Division Method

Maths is considered a creative subject that involves the application of principles and solving problems. Be it daily life calculation or entrance exam preparation, mathematics has always been an important subject to cover for students. For some reason, students who do not understand the concepts of Maths develop an unnecessary fear for the subject that hurdles their growth towards success. In this regard, Vedantu, an emerging online educational platform for students helps them to master learning with ease for all subjects including Maths. 


LCM and HCF are important topics of Mathematical calculation that keep evolving and remain important in the syllabus for Maths students. It is therefore important to build a strong foundation right from the beginning by learning the very essence of LCM and HCF. 


What does HCF mean?

  • The largest common factor of all the given numbers is known as the Highest Common Factor of the numbers.

  • The highest number can be divided exactly into two or more numbers without any remainders.

  • It is also known as the Greatest Common Divisor (GCD).

  • The easiest way to find the HCF of two or more given numbers is to create a factor tree.

Here are a few highest common factor examples : 

 

(Image will be uploaded soon)

 

The above picture shows how you can calculate the H.C.F. of 90 and 30 using the prime factorization method.

 

How is HCF calculated?

There are three methods of how to find the highest common factor of any two or more given numbers:

  1.  Factorization Method

  2. Prime Factorization Method

  3. Division Method

 

How to calculate LCM and HCF?

This is how to calculate LCM & HCF:-

1. Factorization Method

In the HCF by factorization method, we find the greatest common factor by listing down the factors of the numbers.

Step 1: List down the factors of all the given numbers.

Step 2: Look for the highest factor among the listed factors which are common for both the given numbers.

Let us take an example:

Problem: Find the H.C.F. of 36 and 45.

Solution: 36 = 1,2,3,4,6.9,12,18,36

45 =1,3,5,9,45

Since the highest common factor of 36 and 45 is 9, therefore H.C.F of 36 and 45 is 9.

2. Prime Factorization Method (Also known as the Factor Tree Method)

Let us consider an example,

Step 1: In calculating the HCF by prime factorization, we factorise the numbers into prime numbers, which is known as the prime factors.

Step 2: Start by dividing the given numbers by 2(the first prime number), go on dividing till you can’t divide the number any further.

Step 3: Finally, then write the numbers as a product of the prime numbers. The product of these common factors is the highest common factor of the given numbers.

Here’s an example for better understanding.

Find the HCF by prime factorization of the numbers 24 and 36.

Solution: To find the HCF by prime factorization,


(Image will be Uploaded soon)


24 = 2 \[\times\] 2 \[\times\] 2 \[\times\] 3 \[\times\] 1

36 = 2 \[\times\] 2 \[\times\] 3 \[\times\] 3 \[\times\] 1

Since the common factors of 24 and 36 are 2 \[\times\] 3 \[\times\] 2 \[\times\] 1= 12

Therefore, the HCF of the 24 and 36 is 12.

Division Method:

 In the division method, we follow the following steps:

Step 1:  Treat the smallest number as the divisor, and the bigger number as the dividend.

Step 2:  Further divide the divisor by the remainder.

Step 3: Stop dividing when the remainder equals zero.

Here’s an example,

Find the H.C.F. of 12,18.

Solution:

                                     12) 18 (1

                                - 12  

                                      6   )12 (2

                                        -12

                                            -------------

                                                0

                                           --------------

 Here, 6 is the H.C.F.


How to find the HCF of 3 Numbers or How to find the Highest Common Factor?

We can find the HCF of 3 numbers either by Prime Factorisation Method or by Division Method. However, the steps for finding the highest common factor remain the same as above.

Here are a few highest common factor examples of how to find the highest common factor.

  1. Find the HCF of 3 numbers 15, 30 and 90 using the Prime Factorization method.

Solution:

3

15

5

5


1

 

2

30

3

15

5

5


1

 

2

90

3

45

3

15

5

5


1

 

15 = 5 \[\times\] 3 \[\times\] 1

30 = 5 \[\times\] 3 \[\times\] 2 \[\times\] 1

90 = 3 \[\times\] 3 \[\times\] 2 \[\times\] 5 \[\times\] 1

The common factors here are 1,3,5.

Therefore, the highest common factor of the numbers,15,30 and 90 is 5×3×1=15.

 

How is LCM Calculated?

LCM by Listing Multiples -

Step 1: You need to list the multiples of each number until at least one of the multiples appears on all the lists.

Step 2: Now find the smallest number that is on all of the lists

Step 3: This number is the Least Common Multiple.

Example: Let’s find the LCM of (6,7,21)

Write down the multiples of 6:  6, 12, 18, 24, 30, 36, 42, 48, 54, 60

Write down the multiples of 7:  7, 14, 21, 28, 35, 42, 56, 63

Write down the multiples of 21: 21, 42, 63

Now you need to find the smallest number that is present on all of the lists. So the LCM(6, 7, 21) is 42.

 

How to find LCM by Prime Factorization?

Step 1: Firstly, find all the prime factors of each given number.

Step 2: Now, list down all the prime numbers found, as many times as these numbers occur most often for anyone given number.

Step 3: In step 3, you need to multiply the list of prime factors together to find the LCM.

Step 4: The LCM (a,b) can be calculated by finding the prime factorization of both the numbers a and b. We can do the same process for the LCM of more than 2 numbers.

For example, Let’s find the LCM (12,30) we find:

First, find the prime factorization of 12 = 2 \[\times\] 2 \[\times\] 3

Second, the prime factorization of 30 = 2 \[\times\] 3 \[\times\] 5

Using all prime numbers we have found as often as each occurs most often we take 2 \[\times\] 2 \[\times\] 3 \[\times\] 5 = 60

Therefore, the LCM (12,30) = 60.

 

How to find LCM by Prime Factorization using the Concept of Exponents?

Step 1: Firstly, you need to find all the prime factors of each of the given numbers and write all the prime factors in exponent form.

Step 2: Now you need to list all the prime numbers found, using the highest exponent found for each of them.

Step 3: Lastly, multiply the list of prime factors you have with exponents together to find the Least common multiple.

For example: Find the LCM(12,18,30)

List down the prime factors of 12 = 2 \[\times\] 2 \[\times\] 3 = 22 \[\times\] 31

List down the prime factors of 18 = 2 \[\times\] 3 \[\times\] 3 = 21 \[\times\] 32

List down the prime factors of 30 = 2 \[\times\] 3 \[\times\] 5 = 21 \[\times\] 31 \[\times\] 51

You need to list all the prime numbers found, the number of times as they occur most often for anyone given number and you need to multiply them together to find the Least common multiple.

After multiplying, 2 \[\times\] 2 \[\times\] 3 \[\times\] 3 \[\times\] 5 = 180

Using the concept of exponents instead, multiply together each of the prime numbers with the highest power

In exponential form, 22 \[\times\] 32 \[\times\] 51 = 180

So, the LCM(12,18,30) = 180.

 

Where are HCF and LCM used?

Highest Common Factor

Least Common Multiple

The Highest Common Factor helps us to figure out how many people can be invited?

The least Common multiple is about an event that is or will be repeating over and over.

The Highest Common Factor helps to arrange something into rows or groups.

The least Common multiple helps to figure out when something will happen again simultaneously.

 

Questions to be solved:

1. Find out the LCM of(24,300)

Prime factors of 24 = 2 \[\times\] 2 \[\times\] 2 \[\times\] 3 = 23 \[\times\] 31

Prime factors of 300 = 2 \[\times\] 2 \[\times\] 3 \[\times\] 5 \[\times\] 5 = 22 \[\times\] 31 \[\times\] 52

List all the prime numbers found, as many times as they occur most often for anyone given number and multiply them together to find the LCM

2 \[\times\] 2 \[\times\] 2 \[\times\] 3 \[\times\] 5 \[\times\] 5 = 600.

Using exponents instead, multiply together each of the prime numbers with the highest power

23 \[\times\] 31 \[\times\] 52 = 600.

So LCM (24,300) = 600.

 

Plus Points of Online learning for the Students in Today's Digital Era

  1. Online learning helps students to overcome the problem of travel expenses, transportation time and save money on energy to invest wholly in learning and education. This motivates students to push their comfort limits and enhance their creative minds by putting all their energy into learning.

  2. Online learning also provides a vast platform with countless resources and a variety of teachers to choose from. Online learning helps students to understand their requirements and learn accordingly without having to compromise on their needs. Online learning is also very economical and helps students to get master learning at a very affordable price. This especially helps the students who are passionate and are not able to apply for inexpensive offline classes.

  3. Online learning also saves students money regarding books and reference prices. Passionate students can refer to soft copies of their books, references and sample question papers solved by expert and experienced teachers online. This makes online learning a blessing in disguise for every student by overcoming all the possible problems that may arise through the offline mode of learning.

FAQs on Lcm And Hcf Explained With Formulas And Methods

1. What is LCM and HCF in Maths?

The LCM (Least Common Multiple) is the smallest number that is a multiple of two or more numbers, while the HCF (Highest Common Factor) is the greatest number that divides them exactly.

  • LCM helps in finding a common multiple.
  • HCF helps in finding the greatest common divisor.
  • Example: For 12 and 18, LCM = 36 and HCF = 6.
These concepts are also known as Least Common Multiple and Greatest Common Divisor (GCD).

2. How do you find the LCM of two numbers?

The LCM of two numbers can be found using prime factorization or the formula method.

  • Step 1: Write prime factors of each number.
  • Step 2: Take the highest power of each prime.
  • Step 3: Multiply them.
Example: 12 = 2² × 3, 18 = 2 × 3²
LCM = 2² × 3² = 36.

3. How do you find the HCF of two numbers?

The HCF of two numbers is found by taking the common prime factors with the smallest powers.

  • Step 1: Find prime factorization of each number.
  • Step 2: Identify common prime factors.
  • Step 3: Multiply the lowest powers.
Example: 12 = 2² × 3, 18 = 2 × 3²
HCF = 2 × 3 = 6.

4. What is the formula relating LCM and HCF?

The formula relating LCM and HCF of two numbers is LCM × HCF = Product of the two numbers.

  • If numbers are a and b, then:
  • LCM(a, b) × HCF(a, b) = a × b
Example: For 12 and 18,
LCM = 36, HCF = 6
36 × 6 = 216 = 12 × 18.

5. What is the difference between LCM and HCF?

The LCM finds the smallest common multiple, while the HCF finds the greatest common factor.

  • LCM is used when adding or subtracting fractions.
  • HCF is used for simplifying fractions.
  • LCM is usually greater than or equal to the numbers.
  • HCF is less than or equal to the smallest number.

6. How do you find LCM and HCF using division method?

The division method (Euclidean algorithm) is mainly used to find HCF, and then LCM can be calculated using the formula.

  • Step 1: Divide the larger number by the smaller number.
  • Step 2: Replace the divisor with the remainder.
  • Step 3: Repeat until remainder is 0.
The last non-zero remainder is the HCF. Then use:
LCM = (Product of numbers) ÷ HCF.

7. Can you give an example of LCM and HCF?

For the numbers 8 and 12, the LCM is 24 and the HCF is 4.

  • 8 = 2³
  • 12 = 2² × 3
  • HCF = 2² = 4
  • LCM = 2³ × 3 = 24
This example clearly shows how prime factorization is used in solving LCM and HCF problems.

8. Why is LCM used when adding fractions?

The LCM of denominators is used when adding fractions to make the denominators equal.

  • Example: 1/4 + 1/6
  • LCM of 4 and 6 = 12
  • Convert: 1/4 = 3/12, 1/6 = 2/12
  • Add: 3/12 + 2/12 = 5/12
Using LCM ensures correct addition of unlike fractions.

9. What are the properties of LCM and HCF?

The key properties of LCM and HCF help in solving number theory problems efficiently.

  • LCM × HCF = Product of the numbers (for two numbers).
  • HCF of co-prime numbers is 1.
  • LCM of co-prime numbers is their product.
  • HCF is always less than or equal to the smallest number.

10. What are common mistakes when finding LCM and HCF?

Common mistakes in finding LCM and HCF include incorrect prime factorization and mixing up highest and lowest powers.

  • Using highest powers for HCF instead of lowest.
  • Missing a prime factor.
  • Confusing LCM with HCF.
  • Arithmetic multiplication errors.
Always check prime factors carefully to get accurate results.