We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > ALGEBRA / TRIG I

Finding the Prime Factorization of a Composite Number

Learning Outcomes

  • Find the prime factorization of a number using the factor tree method
  • Find the prime factorization of a number using the ladder method
In the previous section, we found the factors of a number. Prime numbers have only two factors, the number 11 and the prime number itself. Composite numbers have more than two factors, and every composite number can be written as a unique product of primes. This is called the prime factorization of a number. When we write the prime factorization of a number, we are rewriting the number as a product of primes. Finding the prime factorization of a composite number will help you later in this course.

Prime Factorization

The prime factorization of a number is the product of prime numbers that equals the number. You may want to refer to the following list of prime numbers less than 5050 as you work through this section. 2,3,5,7,11,13,17,19,23,29,31,37,41,43,472,3,5,7,11,13,17,19,23,29,31,37,41,43,47 Tip: Knowing the first five prime numbers will come in handy when reducing fractions.

Prime Factorization Using the Factor Tree Method

One way to find the prime factorization of a number is to make a factor tree. We start by writing the number, and then writing it as the product of two factors. We write the factors below the number and connect them to the number with a small line segment—a "branch" of the factor tree. If a factor is prime, we circle it (like a bud on a tree), and do not factor that "branch" any further. If a factor is not prime, we repeat this process, writing it as the product of two factors and adding new branches to the tree. We continue until all the branches end with a prime. When the factor tree is complete, the circled primes give us the prime factorization. For example, let’s find the prime factorization of 3636. We can start with any factor pair such as 33 and 1212. We write 33 and 1212 below 3636 with branches connecting them. The figure shows a factor tree with the number 36 at the top. Two branches are splitting out from under 36. The right branch has a number 3 at the end with a circle around it. The left branch has the number 12 at the end. The factor 33 is prime, so we circle it. The factor 1212 is composite, so we need to find its factors. Let’s use 33 and 44. We write these factors on the tree under the 1212. The figure shows a factor tree with the number 36 at the top. Two branches are splitting out from under 36. The right branch has a number 3 at the end with a circle around it. The left branch has the number 12 at the end. Two more branches are splitting out from under 12. The right branch has the number 4 at the end and the left branch has the number 3 at the end. The factor 33 is prime, so we circle it. The factor 44 is composite, and it factors into 222\cdot 2. We write these factors under the 44. Since 22 is prime, we circle both 2s2\text{s}. The figure shows a factor tree with the number 36 at the top. Two branches are splitting out from under 36. The right branch has a number 3 at the end with a circle around it. The left branch has the number 12 at the end. Two more branches are splitting out from under 12. The right branch has the number 4 at the end and the left branch has the number 3 at the end with a circle around it. Two more branches are splitting out from under 4. Both the left and right branch have the number 2 at the end with a circle around it. The prime factorization is the product of the circled primes. We generally write the prime factorization in order from least to greatest.

22332\cdot 2\cdot 3\cdot 3

In cases like this, where some of the prime factors are repeated, we can write prime factorization in exponential form.

22332232\begin{array}{c}2\cdot 2\cdot 3\cdot 3\\ \\ {2}^{2}\cdot {3}^{2}\end{array}

Note that we could have started our factor tree with any factor pair of 3636. We chose 1212 and 33, but the same result would have been the same if we had started with 22 and 18,418,4 and 9,or6and69,\text{or}6\text{and}6.

Find the prime factorization of a composite number using the tree method

  1. Find any factor pair of the given number, and use these numbers to create two branches.
  2. If a factor is prime, that branch is complete. Circle the prime.
  3. If a factor is not prime, write it as the product of a factor pair and continue the process.
  4. Write the composite number as the product of all the circled primes.

example

Find the prime factorization of 4848 using the factor tree method. Solution:
We can start our tree using any factor pair of 4848. Let's use 2 and 242\text{ and }24. We circle the 22 because it is prime and so that branch is complete. .
Now we will factor 2424. Let's use 4 and 64\text{ and }6. .
Neither factor is prime, so we do not circle either.We factor the 44, using 2 and 22\text{ and }2. We factor 6, using 2 and 36\text{, using }2\text{ and }3. We circle the 2s and the 32\text{s and the }3 since they are prime. Now all of the branches end in a prime. .
Write the product of the circled numbers. 222232\cdot 2\cdot 2\cdot 2\cdot 3
Write in exponential form. 243{2}^{4}\cdot 3
Check this on your own by multiplying all the factors together. The result should be 4848.
 

try it

[ohm_question]146554[/ohm_question]
The following video shows how to find the prime factorization of 6060 using the factor tree method. https://youtu.be/2K5pBvb7Sss

example

Find the prime factorization of 8484 using the factor tree method.

Answer: Solution:

We start with the factor pair 4 and 214\text{ and }21. Neither factor is prime so we factor them further. .
Now the factors are all prime, so we circle them. .
Then we write 8484 as the product of all circled primes. 22372\cdot 2\cdot 3\cdot 7 2237{2}^{2}\cdot 3\cdot 7
Draw a factor tree of 8484.

 

Prime Factorization Using the Ladder Method

The ladder method is another way to find the prime factors of a composite number. It leads to the same result as the factor tree method. Some people prefer the ladder method to the factor tree method, and vice versa. To begin building the "ladder," divide the given number by its smallest prime factor. For example, to start the ladder for 3636, we divide 3636 by 22, the smallest prime factor of 3636. The image shows the division of 2 into 36 to get the quotient 18. This division is represented using a division bracket with 2 on the outside left of the bracket, 36 inside the bracket and 18 above the 36, outside the bracket. To add a "step" to the ladder, we continue dividing by the same prime until it no longer divides evenly. The image shows the division of 2 into 36 to get the quotient 18. This division is represented using a division bracket with 2 on the outside left of the bracket, 36 inside the bracket and 18 above the 36, outside the bracket. Another division bracket is written around the 18 with a 2 on the outside left of the bracket and a 9 above the 18, outside of the bracket. Then we divide by the next prime; so we divide 99 by 33. The image shows the division of 2 into 36 to get the quotient 18. This division is represented using a division bracket with 2 on the outside left of the bracket, 36 inside the bracket and 18 above the 36, outside the bracket. Another division bracket is written around the 18 with a 2 on the outside left of the bracket and a 9 above the 18, outside of the bracket. Another division bracket is written around the 9 with a 3 on the outside left of the bracket and a 3 above the 9, outside of the bracket. We continue dividing up the ladder in this way until the quotient is prime. Since the quotient, 33, is prime, we stop here. Do you see why the ladder method is sometimes called stacked division? The prime factorization is the product of all the primes on the sides and top of the ladder.

22332232\begin{array}{c}2\cdot 2\cdot 3\cdot 3\\ \\ {2}^{2}\cdot {3}^{2}\end{array}

Notice that the result is the same as we obtained with the factor tree method.

Find the prime factorization of a composite number using the ladder method

  1. Divide the number by the smallest prime.
  2. Continue dividing by that prime until it no longer divides evenly.
  3. Divide by the next prime until it no longer divides evenly.
  4. Continue until the quotient is a prime.
  5. Write the composite number as the product of all the primes on the sides and top of the ladder.

example

Find the prime factorization of 120120 using the ladder method.

Answer: Solution:

Divide the number by the smallest prime, which is 22. .
Continue dividing by 22 until it no longer divides evenly. .
Divide by the next prime, 33. .
The quotient, 55, is prime, so the ladder is complete. Write the prime factorization of 120120. 222352\cdot 2\cdot 2\cdot 3\cdot 5 2335{2}^{3}\cdot 3\cdot 5
Check this yourself by multiplying the factors. The result should be 120120.

   

example

Find the prime factorization of 4848 using the ladder method.

Answer: Solution:

Divide the number by the smallest prime, 22. .
Continue dividing by 22 until it no longer divides evenly. .
The quotient, 33, is prime, so the ladder is complete. Write the prime factorization of 4848. 222232\cdot 2\cdot 2\cdot 2\cdot 3 243{2}^{4}\cdot 3

  In the following video we show how to use the ladder method to find the prime factorization of two numbers. https://youtu.be/V_wBWdndCuw

Contribute!

Did you have an idea for improving this content? We’d love your input.

Licenses & Attributions