Prealgebra 2e · free preview

2.5 Prime Factorization and the Least Common Multiple

Learning objectives: Find the prime factorization of a composite number; Find the least common multiple (LCM) of two numbers

1. Learning objectives

Learning objectives

Learning objectives

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

2. Find the Prime Factorization of a Composite Number

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.

Definition · 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

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

The factor 33 is prime, so we circle it. The factor 44 is composite, and it factors into 2⋅2.2\cdot{}2. We write these factors under the 4.4. Since 22 is prime, we circle both 2s.2s.

The prime factorization is the product of the circled primes. We generally write the prime factorization in order from least to greatest.

2⋅2⋅3⋅32\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.

2⋅2⋅3⋅322⋅32\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 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,418,4 and 9,or 6 and 6.9,\mathrm{or}\,6\,\mathrm{and}\,6.

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

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

3. Example 2.48

Example 2.48

Example 2.48

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

Solution

  1. Begin the factor tree. Split 4848 into 22 and 2424, using 22 as a prime factor.
  2. Factor the remaining branch. Split 2424 into 22 and 1212, then split 1212 into 22 and 66, and finally split 66 into 22 and 33.
  3. Collect the prime leaves. The figures show the completed tree with prime factors 2,2,2,2,32,2,2,2,3, so the prime factorization is 2⋅2⋅2⋅2⋅32\cdot{}2\cdot{}2\cdot{}2\cdot{}3.
  4. Verify the product. Multiply the factors to obtain 2⋅2⋅2⋅2⋅3=482\cdot{}2\cdot{}2\cdot{}2\cdot{}3=48, confirming the factorization of 4848.

Takeaway: Every leaf of a completed factor tree must be prime, and multiplying the leaves must recover the original number.

4. Example 2.49

Example 2.49

Example 2.49

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

Solution

  1. Choose a factor pair. Split 8484 into 44 and 2121, as shown in the first factor-tree figure.
  2. Factor each composite branch. Split 44 into 2⋅22\cdot{}2 and split 2121 into 3⋅73\cdot{}7.
  3. Read the prime factors. The completed tree in the figures has the prime leaves 2,2,3,72,2,3,7, so the prime factorization is 2⋅2⋅3⋅72\cdot{}2\cdot{}3\cdot{}7.
  4. Verify the result. Multiplying gives 2⋅2⋅3⋅7=842\cdot{}2\cdot{}3\cdot{}7=84, confirming that the prime factorization of 8484 is 22⋅3⋅72^2\cdot{}3\cdot{}7.

Takeaway: The first split of a factor tree may vary, but every branch must still end with prime factors and the same total product.

5. Prime Factorization Using the Ladder Method

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

To add a “step” to the ladder, we continue dividing by the same prime until it no longer divides evenly.

Then we divide by the next prime; so we divide 99 by 3.3.

We continue dividing up the ladder in this way until the quotient is prime. Since the quotient, 3,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.

2⋅2⋅3⋅322⋅32\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. Step 1. Divide the number by the smallest prime.
  2. Step 2. Continue dividing by that prime until it no longer divides evenly.
  3. Step 3. Divide by the next prime until it no longer divides evenly.
  4. Step 4. Continue until the quotient is a prime.
  5. Step 5. Write the composite number as the product of all the primes on the sides and top of the ladder.

6. Example 2.50

Example 2.50

Example 2.50

Find the prime factorization of 120120 using the ladder method.

Solution

  1. Divide by two repeatedly. The ladder figures show 120÷2=60120\mathrm{÷}2=60, 60÷2=3060\mathrm{÷}2=30, and 30÷2=1530\mathrm{÷}2=15, recording three factors of 22.
  2. Move to the next prime. Divide 1515 by 33 to obtain 55, recording the factor 33.
  3. Finish with the last prime. Since 55 is prime, record the factor 55 and stop at 11.
  4. Write and verify the factorization. The factors are 2,2,2,3,52,2,2,3,5, and 2⋅2⋅2⋅3⋅5=1202\cdot{}2\cdot{}2\cdot{}3\cdot{}5=120, so the prime factorization of 120120 is 23⋅3⋅52^3\cdot{}3\cdot{}5.

Takeaway: Each division in the ladder contributes one prime factor, and the process ends only when the quotient reaches one.

7. Example 2.51

Example 2.51

Example 2.51

Find the prime factorization of 4848 using the ladder method.

Solution

  1. Build the ladder. Divide 4848 by 22 to get 2424, then 2424 by 22 to get 1212, 1212 by 22 to get 66, and 66 by 22 to get 33.
  2. Record the factors. The four divisions contribute the prime factors 2,2,2,22,2,2,2, and the final quotient 33 contributes one more prime factor.
  3. Write the factorization. Since 33 is prime, the prime factorization is 2⋅2⋅2⋅2⋅3=24⋅32\cdot{}2\cdot{}2\cdot{}2\cdot{}3=2^4\cdot{}3.
  4. Verify the product. Multiplying the factors gives 16⋅3=4816\cdot{}3=48, matching the original number and the repeated divisions shown in the figures.

Takeaway: Keep the ladder until the quotient reaches one, because every intermediate quotient may still contain an undiscovered prime factor.

8. Find the Least Common Multiple (LCM) of Two Numbers

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.

A common multiple of two numbers is a number that is a multiple of both numbers. Suppose we want to find common multiples of 1010 and 25.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.

10:10,20,30,40, 50,60,70,80,90,100,110,…25:25, 50,75, 100,125,…\begin{array}{l} 10:10,20,30,40,\,50,60,70,80,90,100,110,\ldots \\ 25:25,\,50,75,\,100,125,\ldots \\ \end{array}

We see that 5050 and 100100 appear in both lists. They are common multiples of 1010 and 25.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 1010 and 2525 is 50.50.

Find the least common multiple (LCM) of two numbers by listing multiples.

  1. Step 1. List the first several multiples of each number.
  2. Step 2. Look for multiples common to both lists. If there are no common multiples in the lists, write out additional multiples for each number.
  3. Step 3. Look for the smallest number that is common to both lists.
  4. Step 4. This number is the LCM.

9. Example 2.52

Example 2.52

Example 2.52

Find the LCM of 1515 and 2020 by listing multiples.

Solution

  1. List the multiples of 1515. Multiplying 1515 by 1,2,3,4,1,2,3,4, and so on gives 15,30,45,60,7515,30,45,60,75 and continuing multiples.
  2. List the multiples of 2020. Multiplying 2020 by 1,2,3,4,1,2,3,4, and so on gives 20,40,60,80,10020,40,60,80,100 and continuing multiples.
  3. Find the first shared value. The first number appearing in both lists is 6060, which appears as the fourth multiple of 1515 and the third multiple of 2020.
  4. Check for earlier common values. Every earlier entry in the two lists differs, so no common multiple smaller than 6060 was skipped.
  5. State the least common multiple. Since 6060 is the smallest common multiple of 1515 and 2020, the least common multiple is 6060.

Takeaway: The least common multiple is the first number shared by the multiples lists of 1515 and 2020, which is 6060 rather than the later common multiple 120120.

10. Prime Factors Method

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 1212 and 18.18.

We start by finding the prime factorization of each number.

12=2⋅2⋅3 18=2⋅3⋅312=2\cdot{}2\cdot{}3\,18=2\cdot{}3\cdot{}3

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

12=2⋅2⋅318=2⋅ 3⋅3\begin{array}{l} 12=2\cdot{}2\cdot{}3 \\ 18=2\cdot\,3\cdot{}3 \\ \end{array}

Now we bring down the primes in each column. The LCM is the product of these factors.

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.

Find the LCM using the prime factors method.

  1. Step 1. Find the prime factorization of each number.
  2. Step 2. Write each number as a product of primes, matching primes vertically when possible.
  3. Step 3. Bring down the primes in each column.
  4. Step 4. Multiply the factors to get the LCM.

11. Example 2.53

Example 2.53

Example 2.53

Find the LCM of 1515 and 1818 using the prime factors method.

Solution

  1. Factor both numbers. The figures show 15=3⋅515=3\cdot{}5 and 18=2⋅3⋅318=2\cdot{}3\cdot{}3.
  2. Choose the greatest exponent of each prime. The factor 22 occurs once, the factor 33 occurs twice, and the factor 55 occurs once.
  3. Form the least common multiple. Multiply 2⋅3⋅3⋅52\cdot{}3\cdot{}3\cdot{}5, which equals 9090.
  4. Check the result. The figures show the combined prime factors, and 9090 is divisible by both 1515 and 1818, so the least common multiple is 9090.

Takeaway: For the prime-factors method, use each prime to the greatest exponent found in either number rather than multiplying both factorizations.

12. Example 2.54

Example 2.54

Example 2.54

Find the LCM of 5050 and 100100 using the prime factors method.

Solution

  1. Write the prime factorizations. The figures show 50=2⋅5⋅550=2\cdot{}5\cdot{}5 and 100=2⋅2⋅5⋅5100=2\cdot{}2\cdot{}5\cdot{}5.
  2. Select the greatest exponent for each prime. For 22, select the two copies from 100100; for 55, both numbers contain two copies, so select two copies of 55.
  3. Multiply the selected factors. Compute 2⋅2⋅5⋅5=1002\cdot{}2\cdot{}5\cdot{}5=100.
  4. Verify the least common multiple. Since 100÷50=2100\mathrm{÷}50=2 and 100÷100=1100\mathrm{÷}100=1, both divisions are exact, so the least common multiple of 5050 and 100100 is 100100.

Takeaway: Matching prime factors in an LCM calculation use the greater exponent, and the smaller number may already divide the larger one.

13. Section 2.5 Exercises

Section 2.5 Exercises

Section 2.5 Exercises

Find the Prime Factorization of a Composite Number

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

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

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

Find the Least Common Multiple (LCM) of Two Numbers

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

In the following exercises, find the least common multiple (LCM) by using the prime factors method.

In the following exercises, find the least common multiple (LCM) using any method.

Everyday Math

Writing Exercises

14. Self Check

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?

15. Practice 1

  1. Find the prime factorization using the factor tree method: 8080
  1. Find the prime factorization using the factor tree method: 6060

16. Practice 2

  1. Find the prime factorization using the factor tree method: 126126
  1. Find the prime factorization using the factor tree method: 294294

17. Practice 3

  1. Find the prime factorization using the ladder method: 8080
  1. Find the prime factorization using the ladder method: 6060

18. Practice 4

  1. Find the prime factorization using the ladder method. 126126
  1. Find the prime factorization using the ladder method. 294294

19. Practice 5

  1. 8686
  1. 132132

20. Practice 6

  1. 693693
  1. 115115

21. Practice 7

  1. 24752475
  1. 5656

22. Practice 8

  1. 168168
  1. 391391

23. Practice 9

  1. 432432
  1. 21602160

24. Practice 10

  1. 150150
  1. 525525

25. Practice 11

  1. 3636
  1. 350350

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free