# Using Prime Factorization to Find the GCF

In my other lesson, I discussed the procedure on how to find the Greatest Common Factor using the List Method. This method is only effective when dealing with smaller numbers.

That’s why we need to learn a backup method to determine the GCF when larger numbers are involved. This alternate method takes advantage of the usefulness of **Prime Factorization**.

I must caution you that there is a prerequisite for this lesson. You will need to have an understanding of how to perform prime factorization on an integer.

Please don’t feel bad if you need to take the refresher lesson. Trust me, it is easy! You will soon realize that you are back here in no time. Here’s the link: ☞ Integer Prime Factorization ☜

## Steps on How to Determine the GCF using Prime Factorization

These are the steps on how to find the **greatest common factor **of two numbers using Prime Factorization. Although this method can be extended to find the GCF of multiple numbers, I just want to focus on two numbers.

**1)** Write the Prime Factorization of each number. In other words, express each number as a **product** of numbers written in an exponential form. Obviously, the base will always be a prime number.

**2)** Identify the numbers that have the same base. Disregard the exponent for now.

**3)** Compare the exponents of the numbers with a common base. **Select** the number which has the **least exponent value**. For instance, in {2^2} and {2^4}, choose {2^2} because its exponent has a lesser value than that of {2^4}, that is, 2 < 4.

**4)** Multiply the numbers that you **selected in step #3** to determine the greatest common factor.

## Examples of Determining the Greatest Common Factor (GCF) using Prime Factorization

**Example 1:** What is the GCF of **36** and **120** ?

Begin by expressing each number into its prime factorized form.

Next, we identify the exponential numbers that have the same base. Notice that {2^2} and {2^3} have a common base of 2. On the other hand, {3^2} and 3 have a common base of 3. We ignore 5 for a simple reason that 36 doesn’t have a prime factor of 5. Again, it must be common to both.

I need you to **slow down** here before continuing. The integer 3 appears to have no exponent. If ever you see a positive integer which doesn’t have an exponent on its upper right corner, don’t jump into conclusion that it has an exponent of zero. That’s wrong! This is a common pitfall of many of my students. The fact is, it is assumed to have an exponent of 1. Therefore, 3 is equal to {3^1}.

For emphasis, we encircle the numbers that have a common base using the same color. Red circles for {2^2} and {2^3} while blue for {3^2} and 3.

Now we are going to select which number has the least exponent value for each common prime factor.

In the case of {2^2} and {2^3}, we pick {2^2} because 2 < 3.

For {3^2} and 3, we pick 3 because 1 < 3.

The arrows indicated the numbers that we chose.

The final step is to multiply the numbers that we have selected from the previous step. The chosen numbers are those that have a common prime number base with the least exponent value. Therefore, the GCF of 36 and 120 is {2^2} times 3 which equals to 12.

**Example 2:** What is the GCF of **150** and **180** ?

This problem is not different from the first one. The numbers are just relatively larger. Finding the GCF of these two numbers should take extra work – especially with the prime factorization part. But the steps remain the same which should give us a boost of confidence.

Start by prime factorizing **150** and **180**.

Now we identify the numbers with a common base. They are color coded for emphasis.

- Common base of 2 and {2^2} is 2.

- Common base of 3 and {3^2} is 3.

- Common base of {5^2} and 5 is 5.

For the numbers that have a common base, select the number with the smallest exponent value. Between 2 and {2^2}, we chose 2. Between 3 and {3^2}, we chose 3. And finally, we chose 5 between {5^2} and 5.

For the last step, we multiply together the numbers we have chosen from the previous step to determine the GCF. Thus, the GCF of **150** and **180** is 2 times 3 times 5 which is equal to **30**.

**Example 3:** What is the GCF of **1,260** and **1,960** ?

Let’s take this skill of finding of the greatest common factor to the next level. This time we will find the GCF of two numbers that have numerical values between 1,000 and 2,000.

By now, you’ve probably realized that finding the GCF of these numbers using the list method is going to be cumbersome. This is the reason why I have to create a separate lesson on finding the GCF using the Prime Factorization method. It is more efficient, accurate, and prone to less errors especially when you are working it out by hand.

To get to the heart of this method, you will need to have a good grasp on how to prime factorize a positive integer using the Prime Factor Tree.

I can’t overemphasize the importance of **Prime Factor Tree**. Trust me, it will be your best friend from here on out during your study of algebra in general.

In a **nutshell**, here’s the method of prime factorization using the Prime Factor Tree. Start dividing the given number by the smallest prime number which is 2. If 2 evenly divides the number, draw a diagonal down towards the left (branch of the tree) of the given number and write 2. Then, write the quotient by drawing a diagonal down towards the right. The quotient will become part of the trunk of the tree.

Keep dividing the subsequent quotients by 2 while recording your results as branches (divisors) and part of the trunk (quotients that are composite numbers). Keep going until such time when 2 can no longer divide the quotient. That’s when you move to the next prime number which is 3, and so on. Repeat the process until the quotient is a prime number. This is when you stop.

❖ Here’s the Prime Factor Tree of the number **1,260** and its Prime Factorization.

❖ Below is the Prime Factor Tree of the number **1,960** and its Prime Factorization.

Finally, since we have successfully prime factorized the two large numbers, we can now proceed as usual just like in examples #1 and #2.

- Write the prime factorizations of
**1260**and**1960**side by side. It’s a good practice to align the numbers with the same base.

- Identify the numbers written in exponential form that have the same base. Just like before, don’t mind the exponents yet.

- Compare the exponents of the exponential numbers having a common base. Select the exponential number that has the least exponent value. Between {2^2} and {2^3}, we chose {2^2}, not {2^3}, because the exponent of the former is less than the latter. Ignore {3^2} because it has no matching number with a base of 3. For 5 and 5 , simply select 5 since they are exactly the same – a duplicate for that matter. And finally, we chose 7 over {7^2} for the same reason that 1 < 2.

- The last step to get the greatest common factor of
**1,260**and**1,960**is to multiply the numbers we have selected from the previous step. Therefore, the GCF of**1,260**and**1,960**is equal to {2^2} times 5 times 7 which gives us 140.