Chapter 8 · Expressions
Combining Like Terms and Factoring
Learn to combine like terms and to factor expressions. Both use the distributive property to rewrite an expression without changing its value.
You already know how to multiply with the distributive property: . Here is a variable, a letter that stands for a number.
The two sides are equivalent expressions. They have the same value for every number that can stand for, not just for one number you happen to try. In this lesson, a variable can stand for any number unless the problem says otherwise.
Today you will write equivalent expressions in two new ways. First, you will shorten an expression by adding parts of the same kind, such as turning into . Second, you will run the distributive property backward, such as turning back into . Both moves change how an expression looks. Neither changes its value.
A term is a part of an expression that is added or subtracted. In , the terms are , , and .
In the term , the number is the coefficient: the number that multiplies the variable. So means . A term with no variable, such as , is a constant.
Like terms have exactly the same variable part. The variable part is everything in the term except the coefficient, such as the in . Constants have no variable part, so all constants are like terms with each other.
Why can you add like terms? Think of as 3 groups of plus 4 groups of . That makes 7 groups of , whatever number stands for.
The distributive property says this in symbols. In both terms a number is multiplied by , so is a shared factor: one of the things being multiplied. Multiplication works in either order, so it does not matter that is written second. You add the coefficients and keep the variable part:
| Terms | Like terms? | Why |
|---|---|---|
and | Yes | Same variable part, . So . |
and | Yes | means . So . |
and | Yes | Both are constants. So . |
and | No | has the variable part . The constant has none. |
and | No | and are different variables. They can stand for different numbers. |
and | No | means . That is a different variable part from . |
Key concept
One property, two directions
The distributive property is true for all numbers , and . Read one way, it multiplies: . Read the other way, it pulls a shared factor out of every term.
- Combining like terms pulls out the shared variable part and adds the coefficients.
- Factoring means writing an expression as a product. It pulls out a shared number and leaves the rest in parentheses.
Either way you get an equivalent expression. It has the same value as the original for every number the variable can stand for. A property proves this for every number at once. Testing one number cannot.
Worked example
Combine like terms
Let stand for any number. Write as an equivalent expression with as few terms as possible.
Find the like terms. 4x and 3x have the same variable part, x. The constants 9 and 2 are like terms too.
Move like terms next to each other. You can add numbers in any order and any grouping. These are the commutative and associative properties of addition, so the value does not change.
Combine the x-terms. Both have the factor x, so the distributive property lets you add the coefficients: 4 plus 3 is 7.
Add the constants: 9 plus 2 is 11. Then stop. 7x and 11 are not like terms, so you cannot combine them.
Check with one value, x = 2. A check like this can catch a mistake. It cannot prove the expressions are equivalent, because one match is not every value. Steps 2 to 4 are the proof, because the properties hold for every number.
Answer
For every number , the expression is equivalent to .
Now look at the other direction, factoring. You turn a sum into a product: a number times an expression in parentheses.
Take . It is 3 groups of plus 3 groups of . Together that makes 3 groups of , so .
The is a common factor: a number that is a factor of every term. In this lesson, common factors are whole numbers greater than 1. The largest one is the greatest common factor. If the terms share no common factor greater than 1, as in , there is no such number to pull out.
Worked example
Factor with the greatest common factor
Let stand for any number. Factor using the greatest common factor.
Find the common factors of 12 and 18. Factors of 12: 1, 2, 3, 4, 6, 12. Factors of 18: 1, 2, 3, 6, 9, 18. Besides 1, both lists contain 2, 3 and 6. The greatest common factor is 6. Using it means nothing more will be left to pull out.
Divide each term by 6 to find its other factor. You may divide because 6 is not zero.
Rewrite each term as 6 times its other factor. The value does not change, because 6 times 2x is 12x and 6 times 3 is 18.
Both terms now show the factor 6. Use the distributive property backward to write the 6 once, in front of the parentheses.
Check by multiplying back. The distributive property holds for every number x, so getting the original expression back proves the two are equivalent.
Look inside the parentheses. 2 and 3 share no common factor greater than 1, so you are done. A smaller common factor also works, but it leaves more to do. For example, 2(6x + 9) is equivalent too, yet 6x and 9 still share the factor 3.
Answer
For every number , the expression is equivalent to .
Worked example
Combine like terms, then factor
An art club places two orders for paintbrushes. Let be the price of one brush in dollars, so is a positive number. The first order is 6 brushes plus 9 dollars for shipping. The second order is 4 brushes plus 6 dollars for shipping. Write the total cost in dollars with as few terms as possible. Then factor it.
Write the total cost. Each brush costs b dollars, so 6 brushes cost 6b dollars and 4 brushes cost 4b dollars. Every term is an amount in dollars.
Move like terms next to each other. You can add in any order, so the total does not change.
Combine like terms with the distributive property. Add the coefficients: 6 plus 4 is 10. Add the constants: 9 plus 6 is 15. That is 10 brushes and 15 dollars of shipping in all.
Find the greatest common factor of 10 and 15. Factors of 10: 1, 2, 5, 10. Factors of 15: 1, 3, 5, 15. The greatest common factor is 5.
Divide each term by 5, which is not zero: 10b divided by 5 is 2b, and 15 divided by 5 is 3. Then use the distributive property backward to pull out the 5.
Check by multiplying back. The distributive property holds for every value of b, so this proves the factored form is equivalent to 10b + 15.
Answer
The total cost is dollars, which is equivalent to dollars for every price . The factored form shows the total as 5 equal parts, each worth 2 brushes plus 3 dollars of shipping.
Takeaway: combining like terms and factoring are one idea. When terms share a factor, the distributive property lets you pull it out, as in and . Combine only like terms. Factor out only a nonzero number that divides every term.
Each rewrite is an equivalent expression, with the same value as the original for every number the variable can stand for. One test value can expose a mistake, but only the properties prove equivalence.
Next, you will use properties to write equivalent expressions in more ways. You will also use substitution to test whether expressions are equivalent, and you will find mistakes in rewritten expressions.