2.5 Prime Factorization and the Least Common Multiple

Learning Objectives

By the end of this section, you will be able to:

  • Find the prime factorization of a composite number
  • Find the least common multiple (LCM) of two numbers

Find the Prime Factorization of a Composite Number

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.

You may want to refer to the following list of prime numbers less than 50 as you work through this section.

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 36.36. We can start with any factor pair such as 33 and 12.12. 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 4.4. We write these factors on the tree under the 12.

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 2⋅2.2·2. We write these factors under the 4.4. Since 22 is prime, we circle both 2s.

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.

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

Note that we could have started our factor tree with any factor pair of 36.36. We chose 1212 and 3,3, but the same result would have been the same if we had started with 22 and 18,4 and 9,or6 and 6

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 36, we divide 36 by 2, the smallest prime factor of 36.

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 3.

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, 3, 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.

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

Find the Least Common Multiple (LCM) of Two Numbers

One of the reasons we look at multiples and primes is to use these techniques to find the least common multiple of two numbers. This will be useful when we add and subtract fractions with different denominators.

Listing Multiples Method

A common multiple of two numbers is a number that is a multiple of both numbers. Suppose we want to find common multiples of 10 and 25. We can list the first several multiples of each number. Then we look for multiples that are common to both lists—these are the common multiples.


We see that 50 and 100 appear in both lists. They are common multiples of 10 and 25. We would find more common multiples if we continued the list of multiples for each.

The smallest number that is a multiple of two numbers is called the least common multiple (LCM). So the least LCM of 10 and 25 is 50.

Prime Factors Method

Another way to find the least common multiple of two numbers is to use their prime factors. We’ll use this method to find the LCM of 12 and 18.

We start by finding the prime factorization of each number.

Then we write each number as a product of primes, matching primes vertically when possible.

Now we bring down the primes in each column. The LCM is the product of these factors.The image shows the prime factorization of 12 written as the equation 12 equals 2 times 2 times 3. Below this equation is another showing the prime factorization of 18 written as the equation 18 equals 2 times 3 times 3. The two equations line up vertically at the equal symbol. The first 2 in the prime factorization of 12 aligns with the 2 in the prime factorization of 18. Under the second 2 in the prime factorization of 12 is a gap in the prime factorization of 18. Under the 3 in the prime factorization of 12 is the first 3 in the prime factorization of 18. The second 3 in the prime factorization has no factors above it from the prime factorization of 12. A horizontal line is drawn under the prime factorization of 18. Below this line is the equation LCM equal to 2 times 2 times 3 times 3. Arrows are drawn down vertically from the prime factorization of 12 through the prime factorization of 18 ending at the LCM equation. The first arrow starts at the first 2 in the prime factorization of 12 and continues down through the 2 in the prime factorization of 18. Ending with the first 2 in the LCM. The second arrow starts at the next 2 in the prime factorization of 12 and continues down through the gap in the prime factorization of 18. Ending with the second 2 in the LCM. The third arrow starts at the 3 in the prime factorization of 12 and continues down through the first 3 in the prime factorization of 18. Ending with the first 3 in the LCM. The last arrow starts at the second 3 in the prime factorization of 18 and points down to the second 3 in the LCM.

Notice that the prime factors of 1212 and the prime factors of 1818 are included in the LCM. By matching up the common primes, each common prime factor is used only once. This ensures that 3636 is the least common multiple.

Section 2.5 Exercises

Practice Makes Perfect

Find the Prime Factorization of a Composite Number

In the following exercises, find the prime factorization of each number using the factor tree method.

  1. 86
  2. 78
  3. 132
  4. 455
  5. 693
  6. 420
  7. 115
  8. 225
  9. 2475
  10. 1560
    In the following exercises, find the prime factorization of each number using the ladder method.
  11. 56
  12. 72
  13. 168
  14. 252
  15. 391
  16. 400
  17. 432
  18. 627
  19. 2160
  20. 2520
    In the following exercises, find the prime factorization of each number using any method.
  21. 150
  22. 180
  23. 525
  24. 444
  25. 36
  26. 50
  27. 350
  28. 144
    Find the Least Common Multiple (LCM) of Two Numbers

In the following exercises, find the least common multiple (LCM) by listing multiples.

  1. 8,12
  2. 4,3
  3. 6,15
  4. 12,16
  5. 30,40
  6. 20,30
  7. 60,75
  8. 44,55
    In the following exercises, find the least common multiple (LCM) by using the prime factors method.
  9. 8,12
  10. 12,16
  11. 24,30
  12. 28,40
  13. 70,84
  14. 84,90
    In the following exercises, find the least common multiple (LCM) using any method.
  15. 6,21
  16. 9,15
  17. 24,30
  18. 32,40

Everyday Math

313

Grocery shopping Hot dogs are sold in packages of ten, but hot dog buns come in packs of eight. What is the smallest number of hot dogs and buns that can be purchased if you want to have the same number of hot dogs and buns? (Hint: it is the LCM!)314. 

Grocery shopping Paper plates are sold in packages of 1212 and party cups come in packs of 8.8. What is the smallest number of plates and cups you can purchase if you want to have the same number of each? (Hint: it is the LCM!)

Writing Exercises

  1. Do you prefer to find the prime factorization of a composite number by using the factor tree method or the ladder method? Why?
  2. Do you prefer to find the LCM by listing multiples or by using the prime factors method? Why?

Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

.

ⓑ Overall, after looking at the checklist, do you think you are well-prepared for the next Chapter? Why or why not?