Section 2.5 Like Terms
¶Subsection Equivalent Expressions
When we solve an equation such as
we find a value for the variable that makes the equation true. The solution to this equation is 5, because the two expressions \(2+3x\) and 17 are equal if \(x=5\text{.}\) If we use any other value for \(x\text{,}\) say \(x=9\) or \(x=1\text{,}\) then \(2+3x\) does not equal 17.
It is possible for two algebraic expressions to be equal for all values of the variable. For instance, the expressions \(2x+3x\) and \(5x\) will always give the same value when the same number is substituted for \(x\) in each expression. For example,
Both expressions equal 15 when \(x=3\text{.}\)
Exercise 2.29.
Verify that \(2+3x\) and \(5x\) are equal when \(x=4\text{.}\)
Two algebraic expressions are equivalent if they name the same number for all values of the variable.
Thus, \(2+3x\) and \(5x\) are equivalent expressions, and we can replace one by the other if it will simplify our work.
Caution 2.30.
Although two expressions may name the same number for some values of the variable, they are not necessarily equivalent. For example, to show that the expressions \(2+3x\) and \(5x\) are not equivalent, we only have to find a single value of \(x\) for which they are not equal. If we evaluate each expression for \(x=6\text{,}\) we find:
Because they are not equal for \(x=6\text{,}\) the expressions \(2+3x\) and \(5x\) are not equivalent.
Reading Questions Reading Questions
1.
When are two expressions equivalent?
Subsection Like Terms
We saw above that \(2x+3x\) and \(5x\) are equivalent expressions. This makes sense when we consider what these expressions mean: \(2x\) means two \(x\)'s added together, and \(3x\) means three \(x\)'s added together. Then
We can add two \(x\)'s to three \(x\)'s and get five \(x\)'s, just as we can add two pencils to three pencils, or two dollars to three dollars. In algebra this is called combining like terms.
Like terms are any terms that are exactly alike in their variable factors.
Example 2.31.

\begin{equation*} \begin{aligned} 2x~~\text{and}~~3x~~~~~~ \amp \text{are like terms}\\ 4a~~\text{and}~~7a~~~~~~ \amp \text{are like terms} \end{aligned} \end{equation*}because their variable factors are identical.

\begin{equation*} \begin{aligned} 2x~~\text{and}~~3y~~~~~~ \amp \text{are not like terms}\\ 2x~~\text{and}~~3~~~~~~ \amp \text{are not like terms} \end{aligned} \end{equation*}because their variable factors are different.
The numerical factor in a term is called the numerical coefficient, or just the coefficient of the term.
Example 2.32.
 In the expression \(3xy\text{,}\) the number 3 is the numerical coefficient.
 In a term such as \(xy\) or \(b\text{,}\) the numerical coefficient is 1.
 If a variable is preceded by a negative sign, the coefficient of the term is \(1\text{.}\) For example,\begin{equation*} \begin{aligned} x~~~~~~\text{means}~~~~~~ \amp 1 \cdot x\\ a~~~~~~\text{means}~~~~~~ \amp 1 \cdot a \end{aligned} \end{equation*}
Subsection Adding and Subtracting Like Terms
To add like terms.
Add the numerical coefficients of the terms. Do not change the variable factors of the terms.
Example 2.33.
Add like terms.
 \(5n+3n\)
 \(4y3y\)
 \(6st+9st\)
In each calculation, we do not change the variables we are adding; only the coefficient changes.
 \(5n+3n = (5+3)n = 8n~~~~~~~~ \blert{\text{Add the coefficients,}~ 5 ~\text{and}~ 3.}\)
 \(4y3y = (43)y = 7y~~~~~~~~ \blert{\text{Add the coefficients,}~ 4~ \text{and}~ 3}.\)
 \(6st+9st = (6+9)st = 3st~~~~~~~~ \blert{\text{Add the coefficients,}~ 6 ~\text{and} ~9.}\)
Look Ahead.
In Example 2.33, we replaced each expression by a simpler but equivalent expression. In other words, \(7y\) is equivalent to \(4y3y\text{,}\) and \(3st\) is equivalent to \(6st+9st\text{.}\)
Replacing an expression by a simpler equivalent one is called simplifying the expression.
We subtract like terms in the same way that we add like terms.
To subtract like terms.
Subtract the numerical coefficients of the terms. Do not change the variable factors of the terms.
Example 2.34.
\(6a(8a)=[6(8)a]=14a~~~~~~~~~~\blert{\text{Subtract the coefficients.}}\)Reading Questions Reading Questions
2.
What are like terms?
3.
How do we add or subtract like terms?
Caution 2.35.
We cannot add or subtract unlike terms. Thus,
Many expressions contain both like and unlike terms. In such expressions we can combine only the like terms.
Example 2.36.
Simplify \(~4a+25+8a+5a\)
We combine all the \(a\)terms, and all the constant terms, like this:
so
Caution 2.37.
In Example 2.36, \(9a3 \not= 6a,\) because \(9a\) and \(3\) are not like terms.
Subsection Removing Parentheses
When we add signed numbers, we can remove parentheses that follow an addition symbol. For instance,
We can also remove parentheses when we add like terms. Thus,
Removing parentheses that follow a plus sign.
Parentheses preceded by a plus sign may be omitted, and each term within parentheses keeps its original sign.
Example 2.38.
Simplify \(~(2x+3)+(5x7)\)
Each set of parentheses is preceded by a plus sign, so we may remove the parentheses.
BUT: We must be careful when removing parentheses preceded by a minus sign. In the expression
the minus sign preceding \((7x4)\) applies to each term inside the parentheses. Therefore, when we remove the parentheses we must change the sign of \(7x\) from \(+\) to \(\) and we must change the sign of \(4\) from \(\) to \(+\text{.}\) Thus,
Removing parentheses that follow a minus sign.
If an expression inside parentheses is preceded by a minus sign, we change the sign of each term within parentheses and then omit the parentheses and the minus sign.
Example 2.39.
Simplify \(~5b(32b)+(4b6)\)
Before combining like terms, we must remove the parentheses. We change the signs of any terms inside parentheses preceded by a minus sign; we do not change the signs of terms inside parentheses preceded by a plus sign.
Reading Questions Reading Questions
4.
We can remove parentheses that follow .
5.
What must you do if you remove parentheses that follow a minus sign?
Subsection Solving Equations and Inequalities
We can now solve equations in which two or more terms contain the variable.
Example 2.40.
Solve the equation \(~2x+7=4x3\)
We first get all terms containing the variable on one side of the equation. For this example, we will subtract \(2x\) from both sides of the equation to get
Now the equation looks like ones we already know how to solve, and we proceed as usual to isolate the variable.
The solution is 5.
If one side of an equation or inequality contains like terms, we should combine them before beginning to solve.
Example 2.41.
Solve \(~2x4x+14 \lt 3+5x10\)
We combine like terms on each side of the inequality, to get
Now we continue solving as usual: We want to get all the terms containing \(x\) on one side of the inequality, and all the constant terms on the other side.
The solution is all \(x\)values greater than 3. You can check the solution by substituting one \(x\)value greater than 3 and one value less than 3 into the original inequality, for instance:
Reading Questions Reading Questions
6.
What should you do if one side of an equation or inequality contains like terms?
Here are our guidelines for solving linear equations.
Steps for Solving Linear Equations.
 Combine like terms on each side of the equation.
 By adding or subtracting the same quantity on both sides of the equation, get all the variable terms on one side and all the constant terms on the other.
 Divide both sides by the coefficient of the variable to obtain an equation of the form \(x=a\text{.}\)
Subsection Skills WarmUp
¶Exercises Exercises
Write algebraic expressions.
1.
Getaway Tours offers a Caribbean cruise for $2000 per person if 12 people sign up. For each additional person who signs up, the price per person is reduced by $60. How much will you pay for a cruise if \(p\) additional people sign up?
2.
Anita figures her taxes by subtracting a $1200 deductible from her income, then taking 6% of the result. What is her tax bill if her income is \(I\text{?}\)
3.
The area of a trapezoid is onehalf the product of its height \(h\) and the sum of the two bases, \(a\) and \(b\text{.}\)
4.
The ratio of a number \(k\) to 5 less than \(k\text{.}\)
Evaluate.
5.
\(3n(nk)(n+k)~~~~~~~~\)for \(n=4~\) and \(~k=6\)
6.
\((t1)(2t+3)~~~~~~~~\)for \(t=\dfrac{2}{3}\)
Solutions Answers to Skills WarmUp
Exercises Exercises
Exercises Homework 2.5
In Problems 1–4, add or subtract like terms.
1.
\(6x+2x\)2.
\(7.6a5.2a\)3.
\(3t4t+2t\)4.
\(3bc(4bc)8bc\)In Problems 5–6, combine like terms.
5.
\(3+4y(8y)7\)6.
\(2st2+5s6st(4s)\)In Problems 7–10, simplify and combine like terms.
7.
\(4x+(5x2)\)8.
\(22y34(16y24)\)9.
\(6a52a(2a5)\)10.
\((23b)(2b4)\)In Problems 11–16, solve the equation or inequality.
11.
\(4m3=2m+5\)12.
\(159t=335t\)13.
\(6s=3s\)14.
\(3x+5 \gt 2x+3\)15.
\(8g+35=9g13+g\)16.
\(15y+52y4 \ge 12y+21\)17.
\(23w+5w \le 4w44\)18.
\(5p4+3p=2+7p+3\)19.
 Evaluate the expression \(3y+2+7y6y4y8\) for \(y=2.5\text{.}\)
 Simplify the expression in part (a).
 Evaluate your answer to part (b) for \(y=2.5\text{.}\) Check that you got the same answer for part (a).
20.
Evaluate the expression for the given values of the variables.
In Problems 21–22, choose a value for the variable and show that the following pairs of expressions are not equivalent.
21.
\(~2+7x~\) and \(~9x\)
22.
\(~(a3)~\) and \(~a3\)
Write and simplify an algebraic expression for the perimeter of the figure in Problems 23–24.
23.
24.
For Problems 25–29, write an algebraic expression or an equation to answer each question.
25.
There are 8 more cats than dogs at the county shelter. Write expressions in terms of the number of dogs, \(d\text{.}\)
 The number of cats
 The total number of cats and dogs
 If there are 40 dogs and cats at the shelter, how many dogs are there?
26.
For every smoker in the restaurant there are three nonsmokers. Write expressions in terms of \(x\text{,}\) the number of smokers.
 The number of nonsmokers
 The total number of people in the restaurant
 If there are 36 people in the restaurant, how many are smokers?
27.
A tortoise and a hare are having a race. After \(t\) seconds, the tortoise has traveled \(0.2t\) feet and the hare has traveled \(10t\) feet.
 Express the distance between them in terms of \(t\text{.}\)
 How far apart are the tortoise and the hare after 10 seconds?
 When will they be 147 feet apart?
28.
Delbert bought a high definition TV at a price of \(x\) dollars. The sales tax in his state is 8%.
 Write an expression for the tax on Delbert's TV.
 Write an expression for the price Delbert paid, including tax.
 Delbert paid $928.80 for his TV. What was the price before tax?
29.
The cost of producing \(m\) stereos is \(251m+1355\) dollars, and each stereo sells for $847.
 What profit is made from producing and selling \(m\) stereos?
 How many stereos must be produced to make a profit of $16,525?
For Problems 30–34, write and solve an equation.
30.
Last summer Kevin made 8 batches of barbecue sauce using one bottle of catsup. This summer he made only 5 batches and had 12 ounces of catsup left over. How much catsup does Kevin use in a batch of barbecue sauce?
31.
Arch has two wooden beams of equal length. He makes 3 posts for mailboxes with one beam, and has 33 inches left. He makes another mailbox post with the other beam, and has 131 inches left. How long is each mailbox post?
32.
Quentin bought 12 cans of cat food and a halfgallon of milk that cost $1.80. Tilda bought 8 cans of cat food and a $5 bag of kibble. They paid the same price at the checkout stand. How much does one can of cat food cost?
33.
If Sarah drinks three glasses of milk a day she will exceed her minimum daily requirement for calcium by 70 milligrams. If she drinks only two glasses of milk she will still need another 220 milligrams of calcium. How many milligrams of calcium does a glass of milk contain?
34.
On her last history test, Parisa answered 9 shortanswer questions correctly and earned 15 points on the essay. Seana answered 10 shortanswer questions correctly and got 23 points on the essay. Seana's score on the test was 14 points higher than Parisa's. How many points was each shortanswer question worth?