Learning Outcomes
- Find the prime factorization of a number
- Find the least common multiple of a list of numbers
The word factor can be both a noun and a verb. To factor a number is to rewrite it by breaking it up into a product of smaller numbers. For example, we can factor 12 by writing it as [latex]6\ast2[/latex]. We say that 6 and 2 are factors of 12. But so are 3 and 4. There are many ways to write this number.
Composite numbers, like 24, are natural numbers that can be written as products of other natural numbers. Prime numbers are natural numbers that have only two possible factors, themselves and the number 1.
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 [latex]50[/latex] as you work through this section.
[latex]2,3,5,7,11,13,17,19,23,29,31,37,41,43,47[/latex]
For the example with the number [latex]12[/latex] above,
[latex]2 \cdot 2 \cdot 3[/latex]
is called the prime factorization of [latex]12[/latex]. When we write the prime factorization of a number, we write it as a product of only prime factors. Being able to find the prime factorization of a composite number is an especially useful skill to have when working with 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 [latex]36[/latex]. We can start with any factor pair such as [latex]3[/latex] and [latex]12[/latex]. We write [latex]3[/latex] and [latex]12[/latex] below [latex]36[/latex] with branches connecting them.
The factor [latex]3[/latex] is prime, so we circle it. The factor [latex]12[/latex] is composite, so we need to find its factors. Let’s use [latex]3[/latex] and [latex]4[/latex]. We write these factors on the tree under the [latex]12[/latex].
The factor [latex]3[/latex] is prime, so we circle it. The factor [latex]4[/latex] is composite, and it factors into [latex]2\cdot 2[/latex]. We write these factors under the [latex]4[/latex]. Since [latex]2[/latex] is prime, we circle both [latex]2\text{s}[/latex].
The prime factorization is the product of the circled primes. We generally write the prime factorization in order from least to greatest.
[latex]2\cdot 2\cdot 3\cdot 3[/latex]
In cases like this, where some of the prime factors are repeated, we can write prime factorization in exponential form.
[latex]\begin{array}{c}2\cdot 2\cdot 3\cdot 3\\ \\ {2}^{2}\cdot {3}^{2}\end{array}[/latex]
Note that we could have started our factor tree with any factor pair of [latex]36[/latex]. We chose [latex]12[/latex] and [latex]3[/latex], but the result would have been the same if we had started with [latex]2[/latex] and [latex]18, 4[/latex] and [latex]9,\text{ or }6\text{ and }6[/latex].
Find the prime factorization of a composite number using the tree method
- Find any factor pair of the given number, and use these numbers to create two branches.
- If a factor is prime, that branch is complete. Circle the prime.
- If a factor is not prime, write it as the product of a factor pair and continue the process.
- Write the composite number as the product of all the circled primes.
example
Find the prime factorization of [latex]48[/latex] using the factor tree method.
There are other methods that work well to find the prime factorization of a number. Any method that factors out small primes repeatedly until there are only prime factors remaining is acceptable. See the video below for a demonstration of using stacked division to find a prime factorization.
try it
The following video shows how to find the prime factorization of [latex]60[/latex] using the factor tree method.
Finding Least Common Multiples
Consider the multiples of two numbers, 3 and 4. What is the least common multiple between them?
Certainly 3 and 4 have many multiples in common: 12, 24, 36, etc. But 12 is the smallest among them.
The smallest number that is a multiple of two numbers is called the least common multiple (LCM). So the LCM of [latex]3[/latex] and [latex]4[/latex] is [latex]12[/latex].
One of the reasons we find prime factorizations is to use them to find the least common multiple of two or more numbers. This will be useful when we add and subtract fractions with different denominators.
Prime Factors Method
We can find the least common multiple of two numbers by inspecting their prime factors. We’ll use this method to find the LCM of [latex]12[/latex] and [latex]18[/latex].
We start by finding the prime factorization of each number.
[latex]12=2\cdot 2\cdot 3 \qquad[/latex] and [latex]\qquad 18=2\cdot 3\cdot 3[/latex]
Then we find the largest instance of each prime appearing in any one factorization. Here, we see that the number 2 appears twice in the factorization of 12, but only once in 18. And the number 3 appears twice in 18, but only once in 12. So, we select [latex]2\cdot2[/latex] and [latex]3\cdot3[/latex] and multiply them together to find the LCM.
[latex]12=2\cdot 2\cdot 3 \qquad \text{ and } \qquad 18=2\cdot 3\cdot 3[/latex]
[latex]\qquad 2\cdot2 \qquad \qquad \ast \qquad \qquad 3\cdot3[/latex].
[latex]\qquad\quad \qquad 2\cdot2\cdot3\cdot3=36[/latex].
The LCM of 12 and 18 is 36.
If a prime appears the same number of times in any factorization, just select one instance. Let’s find the LCM of a list of numbers as an example.
Find the LCM of 12, 18, 20, and 60. First we’ll write the numbers as products of primes.
[latex]12 = 2\cdot2\cdot3 \qquad 18=2\cdot3\cdot3 \qquad 20=2\cdot2\cdot5 \qquad 60=2\cdot2\cdot3\cdot5[/latex]
We see that the largest instance of the number 2 appears in the numbers 12, 20, and 60. But we just select one largest instance. The largest instance of the number 3 appears in 18, where there are two factors of 3. And the number 5 appears once in 20 and once in 60, so we’ll select one 5.
The LCM of 12, 18, 20, and 60 is
[latex]2\cdot2\cdot3\cdot3\cdot5 = 180[/latex].
So, 180 is the smallest number that 12, 18, 20, and 60 all divide evenly into.
Find the LCM using the prime factors method
- Find the prime factorization of each number.
- Inspect each factorization for the largest number of instances of each prime number appearing in each factorization
- Select one set of each largest instance of each prime factor appearing.
- Multiply the selected factors together to obtain the LCM.
It can be helpful to write the prime factors next to each number, matching them vertically in columns, then bringing down the primes in each column to collect the factors whose product is the LCM. The following examples illustrate this technique.
example
Find the LCM of [latex]15[/latex] and [latex]18[/latex] using the prime factors method.
example
Find the LCM of [latex]50[/latex] and [latex]100[/latex] using the prime factors method.
try it
In the next video we see how to find the Least Common Multiple by using prime factorization.
try it
Candela Citations
- Ex 1: Prime Factorization. Authored by: James Sousa (Mathispower4u.com). Located at: https://youtu.be/2K5pBvb7Sss. License: CC BY: Attribution
- Example: Determining the Least Common Multiple Using Prime Factorization. Authored by: James Sousa (Mathispower4u.com). Located at: https://youtu.be/hZvRDG-HgMY. License: CC BY: Attribution
- Question ID 146554, 145462, 103334. Authored by: Hidegkuti,M; Lumen Learning. License: CC BY: Attribution. License Terms: IMathAS Community License CC-BY + GPL
- Prealgebra. Provided by: OpenStax. Located at: https://openstax.org/books/prealgebra/pages/1-introduction. License: CC BY: Attribution. License Terms: Access for free at https://openstax.org/books/prealgebra/pages/1-introduction