Skip to main content

Section 2.5 Like Terms

Subsection Equivalent Expressions

When we solve an equation such as

\begin{equation*} 2+3x=17 \end{equation*}

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,

\begin{align*} \text{if}~~x=\alert{3}~~~~~\text{then}~~~~~~2x+3x \amp =2(\alert{3})+3(\alert{3})\\ \amp = 6+9=15\\ \text{and}~~~~~~5x \amp = 5(\alert{3})=15 \end{align*}

Both expressions equal 15 when \(x=3\text{.}\)

Reading Question 2.29.

Verify that \(2+3x\) and \(5x\) are equal when \(x=-4\text{.}\)

\begin{align*} 2x+3x \amp =\underline{\qquad\qquad\qquad}\\ \text{and}\qquad 5x \amp =\underline{\qquad\qquad\qquad} \end{align*}
Equivalent Expressions.

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:

\begin{align*} 2+3x \amp = 2+3(\alert{6})=20\\ 5x \amp = 5(\alert{6})=30 \end{align*}

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?

Answer.

When they name the same number for all values of the variable.

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

\begin{equation*} 2x+3x=(x+x)+(x+x+x)=5x \end{equation*}

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.

Like terms are any terms that are exactly alike in their variable factors.

Example 2.31.
  1. \begin{align*} 2x~~\text{and}~~3x~~~~~~ \amp \text{are like terms}\\ -4a~~\text{and}~~7a~~~~~~ \amp \text{are like terms} \end{align*}
    because their variable factors are identical.

  2. \begin{align*} 2x~~\text{and}~~3y~~~~~~ \amp \text{are not like terms}\\ 2x~~\text{and}~~3~~~~~~ \amp \text{are not like terms} \end{align*}
    because their variable factors are different.

Numerical Coefficient.

The numerical factor in a term is called the numerical coefficient, or just the coefficient of the term.

Example 2.32.
  1. In the expression \(3xy\text{,}\) the number 3 is the numerical coefficient.

  2. In a term such as \(xy\) or \(b\text{,}\) the numerical coefficient is 1.

  3. If a variable is preceded by a negative sign, the coefficient of the term is \(-1\text{.}\) For example,

    \begin{align*} -x~~~~~~\text{means}~~~~~~ \amp -1 \cdot x\\ -a~~~~~~\text{means}~~~~~~ \amp -1 \cdot a \end{align*}

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.

  1. \(\displaystyle 5n+3n\)

  2. \(\displaystyle -4y-3y\)

  3. \(\displaystyle -6st+9st\)

Solution.

In each calculation, we do not change the variables we are adding; only the coefficient changes.

  1. \(\displaystyle 5n+3n = (5+3)n = 8n~~~~~~~~ \blert{\text{Add the coefficients,}~ 5 ~\text{and}~ 3.}\)

  2. \(\displaystyle -4y-3y = (-4-3)y = -7y~~~~~~~~ \blert{\text{Add the coefficients,}~ -4~ \text{and}~ -3}.\)

  3. \(\displaystyle -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 \(-4y-3y\text{,}\) and \(3st\) is equivalent to \(-6st+9st\text{.}\)

Simplifying an expression.

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?

Answer.

Any terms that are exactly alike in their variable factors.

3.

How do we add or subtract like terms?

Answer.

Add or subtract the numerical coefficients of the terms.

Caution 2.35.

We cannot add or subtract unlike terms. Thus,

\begin{align*} 2x+3y~~~~~~~~ \amp \text{cannot be simplified}\\ -6x+4xy~~~~~~~~ \amp \text{cannot be simplified}\\ 6-2x~~~~~~~~ \amp \text{cannot be simplified} \end{align*}

Many expressions contain both like and unlike terms. In such expressions we can combine only the like terms.

Example 2.36.

Simplify \(~-4a+2-5+8a+5a\)

Solution.

We combine all the \(a\)-terms, and all the constant terms, like this:

\begin{equation*} -4a+8a+5a=9a ~~~~~~~~\text{and}~~~~~~~~2-5=-3 \end{equation*}

so

\begin{equation*} -4a+2-5+8a+5a=9a-3 \end{equation*}
Caution 2.37.

In Example 2.36, \(9a-3 \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,

\begin{equation*} 5+(-3)=5-3=2 \end{equation*}

We can also remove parentheses when we add like terms. Thus,

\begin{equation*} 5x+(-3x)=5x-3x=2x \end{equation*}
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)+(5x-7)\)

Solution.

Each set of parentheses is preceded by a plus sign, so we may remove the parentheses.

\begin{align*} (5x-7)\amp = 2x+3+5x-7 \amp \blert{\text{Combine like terms.}}\\ \amp = 7x-4 \end{align*}
Caution 2.39.

We must be careful when removing parentheses preceded by a minus sign. In the expression

\begin{equation*} (5x-2)-(7x-4) \end{equation*}

the minus sign preceding \((7x-4)\) 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,

\begin{align*} (5x-2)-(7x-4)\amp = 5x-2\alert{-}7x\alert{+}4 \amp \amp \blert{\text{Change each sign inside parentheses.}}\\ \amp =5x-7x-2+4 \amp \amp \blert{\text{Combine like terms.}}\\ \amp =-2x+2 \end{align*}
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.40.

Simplify \(~-5b-(3-2b)+(4b-6)\)

Solution.

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.

equations

Reading Questions Reading Questions

4.

We can remove parentheses that follow .

Answer.

a plus sign

5.

What must you do if you remove parentheses that follow a minus sign?

Answer.

Change the sign of each term within parentheses.

Subsection Solving Equations and Inequalities

We can now solve equations in which two or more terms contain the variable.

Example 2.41.

Solve the equation \(~2x+7=4x-3\)

Solution.

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

\begin{align*} 2x+7\amp = 4x-3 \amp \amp \blert{\text{Subtract } 2x\text{ from both sides.}}\\ \underline{\blert{-2x}} \amp = \underline{\blert{-2x}}\\ 7 \amp =2x-3 \end{align*}

Now the equation looks like ones we already know how to solve, and we proceed as usual to isolate the variable.

\begin{align*} 7\amp = 2x-3 \amp \amp \blert{\text{Add 3 to both sides.}}\\ \underline{\blert{+3}} \amp = \underline{\blert{+3}}\\ 10 \amp =2x \amp \amp \blert{\text{Divide both sides by 2.}}\\ \dfrac{10}{\blert{2}} \amp = \dfrac{2x}{\blert{2}}\\ 5 \amp = x \end{align*}

The solution is 5.

\begin{equation*} \blert{\text{Check:}}~~~~~~~~~~\text{Does}~~2(\alert{5})+7=4(\alert{5})-3?~~~~~~~\blert{\text{True}} \end{equation*}

If one side of an equation or inequality contains like terms, we should combine them before beginning to solve.

Example 2.42.

Solve \(~2x-4x+14 \lt 3+5x-10\)

Solution.

We combine like terms on each side of the inequality, to get

\begin{align*} \blert{2x-4x} \amp \lt \blert{3}+5x \blert{-1} \amp \amp \blert{2x-4x=-2x~~\text{and}~~ 3-10=7}\\ -2x+14 \amp \lt 5x-7 \end{align*}

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.

\begin{align*} -2x+14 \amp \lt ~~~ 5x-7 \amp \amp \blert{\text{Subtract}~ 5x~ \text{from both sides.}}\\ \underline{\blert{-5x}\qquad} \amp = \underline{\blert{-5x}\qquad}\\ -7x+14 \amp \lt \qquad -7 \amp \amp \blert{\text{Subtract}~ 14~ \text{from both sides.}}\\ \underline{\qquad\blert{-14}} \amp = \underline{\quad\blert{~~{-14}}}\\ -7x \amp \lt \quad~~ {-21} \amp \amp \blert{\text{Divide both sides by}~-7;}\\ \dfrac{-7x}{\blert{-7}} \amp \gt \dfrac{-21}{\blert{-7}} \amp \amp \blert{\text{reverse the direction of the inequality.}}\\ x \amp \gt 3 \end{align*}

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:

\begin{align*} \blert{\text{Check:}}~~~~ \amp x=4:~~2(\alert{4})-4(\alert{4})+14 \lt 5(\alert{4})-10?~~~~\blert{\text{True:}~~6 \lt 13}\\ \amp x=2:~~2(\alert{2})-4(\alert{2})+14 \lt 5(\alert{2})-10?~~~~\blert{\text{False:}~~10 \not\lt 3} \end{align*}

Reading Questions Reading Questions

6.

What should you do if one side of an equation or inequality contains like terms?

Answer.

Combine them.

Here are our guidelines for solving linear equations.

Steps for Solving Linear Equations.
  1. Combine like terms on each side of the equation.

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

  3. Divide both sides by the coefficient of the variable to obtain an equation of the form \(x=a\text{.}\)

Subsection Skills Warm-Up

Exercises Exercises

Exercise Group.

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 one-half 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{.}\)

Exercise Group.

Evaluate.

5.

\(~~3n(n-k)(n+k)~~\) for \(~~n=-4\) and \(k=-6\)

6.

\(~~(t-1)(2t+3)~~\) for \(~~t=\dfrac{2}{3}\)

Subsubsection Answers to Skills Warm-Up

  1. \(\displaystyle 2000-60p\)

  2. \(\displaystyle 0.06(I-1200)\)

  3. \(\displaystyle \dfrac{1}{2}h(a+b)\)

  4. \(\displaystyle \dfrac{k}{k-5}\)

  5. \(\displaystyle 240\)

  6. \(\displaystyle \dfrac{-13}{9}\)

Subsection Lesson

Subsubsection Activity 1: Equivalent Expressions

Exercises Exercises
1.
  1. Show that the expressions \(6+2x\) and \(8x\) are equal if \(x=1\text{:}\)

    \begin{align*} 6+2x \amp = \underline{\hspace{3.636363636363636em}}\\ 8x \amp = \underline{\hspace{3.636363636363636em}} \end{align*}
  2. Show that the expressions \(6+2x\) and \(8x\) are not equal if \(x=2\text{:}\)

    \begin{align*} 6+2x \amp = \underline{\hspace{3.636363636363636em}}\\ 8x \amp = \underline{\hspace{3.636363636363636em}} \end{align*}
  3. Are the expressions \(6+2x\) and \(8x\) equivalent?

2.

Explain the following phrases, and give an example for each.

  1. equivalent expressions

  2. like terms

  3. numerical coefficient

3.

Combine like terms by adding or subtracting.

  1. \(\displaystyle -2x+6x-x\)

  2. \(\displaystyle 3bc-(-4bc)-8bc\)

4.

Simplify by removing parentheses and combining like terms.

  1. \(\displaystyle -5u-6uv+(8uv+9u)\)

  2. \(\displaystyle (32-26)+ (-3+2h)\)

  3. \(\displaystyle (3a-2)-2a-(5-2a)\)

Subsubsection Activity 2: Solving Equations and Inequalities

Steps for Solving Linear Equations.
  1. Combine like terms on each side of the equation.

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

  3. Divide both sides by the coefficient of the variable to obtain an equation of the form \(x=a\text{.}\)

Exercises Exercises
1.

Solve \(~~4-5x=28+3x\)

  • Step 1:

  • Step 2:

  • Step 3:

  • Solution

2.

Solve \(~~10-6d-3d \ge 2-5d\)

  • Step 1:

  • Step 2:

  • Step 3:

  • Solution

Subsubsection Activity 3: Like Terms and Parentheses

Exercises Exercises
1.

One angle of a triangle is three times the smallest angle, and the third angle is 20\(\degree\) greater than the smallest angle.

  1. If the smallest angle is \(x\text{,}\) write expressions for the other two angles.

  2. Write an expression for the sum of the three angles in terms of \(x\text{.}\)

2.

The StageLights theater group plans to sell T-shirts to raise money. It will cost them \(5x+60\) dollars to print \(x\) T-shirts, and they will sell the T-shirts at $12 each.

  1. Write and simplify an expression for their profit from selling \(x\) T-shirts.

  2. How many T-shirts must they sell in order to make a profit of $500?

Subsubsection Wrap-Up

Objectives.

In this Lesson we practiced the following skills:

  • Combining like terms

  • Solving linear equations and inequalities

  • Writing equations for applied problems

Questions.
  1. Does \(6+2x=8x\) ? Why or why not?

  2. Explain how to simplify each side of an equation before beginning to solve.

  3. What is wrong with this expression for the profit inActivity 3, problem 2? \(~~12x-5x+60\)

Subsection Homework Preview

Exercises Exercises

Exercise Group.

Simplify.

1.

\(-2x-16-(-5x)-4\)

2.

\(-3ab+8a-(-5ab)-6a\)

3.

\((6bx+8x)-(2x-2bx)+(-5-3bx)\)

Exercise Group.

Solve.

4.

\(6p-8=-3p-26\)

5.

\(3x-5 \lt -6x+7\)

6.

\(12c-(3+6c) = 3c+4-(8-2c)\)

Subsubsection Answers to Homework Preview

  1. \(\displaystyle 3x-20\)

  2. \(\displaystyle 2ab+2a\)

  3. \(\displaystyle 5bx+6x-5\)

  4. \(\displaystyle -2\)

  5. \(\displaystyle x \lt \dfrac{4}{3}\)

  6. \(\displaystyle -1\)

Exercises Homework 2.5

Exercise Group.

In Problems 1–4, add or subtract like terms.

1.
\(-6x+2x\)
2.
\(-7.6a-5.2a\)
3.
\(3t-4t+2t\)
4.
\(3bc-(-4bc)-8bc\)
Exercise Group.

In Problems 5–6, combine like terms.

5.
\(3+4y-(-8y)-7\)
6.
\(-2st-2+5s-6st-(-4s)\)
Exercise Group.

In Problems 7–10, simplify and combine like terms.

7.
\(4x+(5x-2)\)
8.
\(22y-34-(16y-24)\)
9.
\(6a-5-2a-(2a-5)\)
10.
\((-2-3b)-(2b-4)\)
Exercise Group.

In Problems 11–16, solve the equation or inequality.

11.
\(4m-3=2m+5\)
12.
\(15-9t=33-5t\)
13.
\(-6s=3s\)
14.
\(3x+5 \gt 2x+3\)
15.
\(-8g+35=9g-13+g\)
16.
\(-15y+5-2y-4 \ge -12y+21\)
17.
\(-2-3w+5w \le 4w-44\)
18.
\(-5p-4+3p=2+7p+3\)
19.
  1. Evaluate the expression \(-3y+2+7y-6y-4y-8\) for \(y=2.5\text{.}\)

  2. Simplify the expression in part (a).

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

\begin{equation*} 4-3a+6ab-(-8a)-10+9ab+2a~~~~\text{for}~~a=-2,~b=5 \end{equation*}
Exercise Group.

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.

\(~-(a-3)~\) and \(~-a-3\)

Exercise Group.

Write and simplify an algebraic expression for the perimeter of the figure in Problems 23–24.

23.
rectangle
24.
trapezoid
Exercise Group.

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{.}\)

  1. The number of cats

  2. The total number of cats and dogs

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

  1. The number of nonsmokers

  2. The total number of people in the restaurant

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

  1. Express the distance between them in terms of \(t\text{.}\)

  2. How far apart are the tortoise and the hare after 10 seconds?

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

  1. Write an expression for the tax on Delbert's TV.

  2. Write an expression for the price Delbert paid, including tax.

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

  1. What profit is made from producing and selling \(m\) stereos?

  2. How many stereos must be produced to make a profit of $16,525?

Exercise Group.

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 half-gallon 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 check-out 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 short-answer questions correctly and earned 15 points on the essay. Seana answered 10 short-answer 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 short-answer question worth?