Skip to main content
Logo image

Section 1.2 Combining Like Terms

Algebraic expressions can be large and complicated, so anything we can do to rewrite an expression in a simpler way is helpful. One of the fundamental skills we have for simplifying expressions is combining like terms.
Figure 1.2.1. Alternative Video Lesson

Subsection 1.2.1 Identifying Terms

Definition 1.2.2.

In an algebraic expression, the terms are quantities being added together.
Note that terms are not the same thing as factors, which are quantities being multiplied together. Factors are studied more later in this book.

Example 1.2.3.

List the terms in the expression \(2\ell+2w\text{.}\)
Explanation.
The expression has two terms that are being added, \(2\ell\) and \(2w\text{.}\)
When an expression has subtraction, we can rewrite the it using addition of a negative to make it easier to see exactly what the terms are.

Example 1.2.4.

List the terms in the expression \(-3x^2+5x-4\text{.}\)
Explanation.
We can rewrite this expression as \(-3x^2+5x+(-4)\) to see that the terms are \(-3x^2\text{,}\) \(5x\text{,}\) and \(-4\text{.}\) Note that the third term is \(-4\text{,}\) not just \(4\text{.}\)

Example 1.2.5.

List the terms in the expression \(3\,\text{cm}+2\,\text{cm}-3\,\text{cm}+2\,\text{cm}\text{.}\)
Explanation.
This expression has four terms: 3 cm, 2 cm, −3 cm, and 2 cm.

Checkpoint 1.2.6.

List the terms in the expression \(5x-4x+10z\text{.}\)
Explanation.
The terms are \(5x\text{,}\) \(-4x\text{,}\) and \(10z\text{.}\)

Subsection 1.2.2 Combining Like Terms

If you have \(3\,\text{cm}+2\,\text{cm}\text{,}\) it is natural to add those together to get 5 cm. That works because their units (cm) are the same. The same idea applies to other terms, even ones that don’t have units. For example, with \(2x+3x\text{,}\) we have \(2\) things and then \(3\) more of those things. All together, we have \(5\) of those things. So \(2x+3x\) is the same as \(5x\text{.}\)
Terms in an algebraic expression that can be combined by adding them together into one new term are called like terms.
  • Sometimes like terms use a common variable, like how \(2x+3x\) has terms that each use \(x\text{.}\) This simplifies to \(5x\text{.}\)
  • Sometimes like terms use the same units, like how \(3\,\text{cm}+2\,\text{cm}\) has terms that each use cm. This simplifies to 5 cm.
  • Sometimes like terms have something else in common, like how \(3\sqrt{7}+2\sqrt{7}\) has terms that each use \(\sqrt{7}\text{.}\) This simplifies to \(5\sqrt{7}\text{.}\)

Example 1.2.7.

In the expressions below, look for like terms and then simplify where possible by adding or subtracting.
  1. \(\displaystyle 5\,\text{in}+20\,\text{in}\)
  2. \(\displaystyle 16\,\text{ft}^2+4\,\text{ft}\)
  3. \(\displaystyle 2\,\apple+5\,\apple\)
  4. \(\displaystyle 5\,\text{min}+12\,\text{ft}\)
  5. \(\displaystyle 5\,\dog-2\,\cat\)
  6. \(\displaystyle 20\,\text{m}-6\,\text{m}\)
Explanation.
We can combine terms with the same units, but we cannot combine terms with distinct units such as minutes and feet.
  1. \(\displaystyle 5\,\text{in}+20\,\text{in}=25\,\text{in}\)
  2. \(16\,\text{ft}^2+4\,\text{ft}\) cannot be combined
  3. \(\displaystyle 2\,\apple+5\,\apple=7\,\apple\)
  4. \(5\,\text{min}+12\,\text{ft}\) cannot be combined
  5. \(5\,\dog-2\,\cat\) cannot be combined
  6. \(\displaystyle 20\,\text{m}-6\,\text{m}=14\,\text{m}\)
One of the examples from Example 7 was \(16\,\text{ft}^2+4\,\text{ft}\text{.}\) The units on these two terms look similar, but they are different. 16 ft2 is a measurement of how much area something has. 4 ft is a measurement of how long something is. Figure 8 illustrates this.
a four-by-four square, illustrating 16 square feet, alongside a line that is four feet long
Figure 1.2.8. There is no way to add 16 ft2 to 4 ft.

Example 1.2.9.

Simplify each expression by combining like terms (if possible).
  1. \(\displaystyle \frac{5}{7}x-\frac{2}{7}x+\frac{3}{7}y\)
  2. \(\displaystyle \frac{1}{2}x+\frac{1}{2}x^2\)
  3. \(\displaystyle -3.01r+1.2s-5t\)
  4. \(\displaystyle \frac{2}{3}y+\frac{5}{6}y\)
  5. \(\displaystyle \frac{10}{3}t-\frac{1}{2}x-t\)
  6. \(\displaystyle x-0.15x\)
Explanation.
  1. This expression has two like terms, \(\frac{5}{7}x\) and \(-\frac{2}{7}x\text{,}\) which we can combine. We have to subtract \(\frac{5}{7}-\frac{2}{7}\text{,}\) which is straightforward since they have the same denominator.
    \begin{equation*} \highlight{\frac{5}{7}x-\frac{2}{7}x}+\frac{3}{7}y =\highlight{\frac{3}{7}x}+\frac{3}{7}y \end{equation*}
    We don’t combine \(\frac{3}{7}x\) and \(\frac{3}{7}y\) because \(x\) and \(y\) are different variables.
  2. This expression cannot be simplified because the variable parts are not the same. We cannot add \(x\)-terms with \(x^2\)-terms just like we cannot add feet (a measure of length) with square feet (a measure of area).
  3. There aren’t any like terms.
  4. The two terms are like terms. To combine them, we need to add \(\frac{2}{3}+\frac{5}{6}\text{.}\) For a review of adding fractions with different denominators, see [cross-reference to target(s) "section-fractions-and-fraction-arithmetic" missing or not unique]. In this case,
    \begin{align*} \frac{2}{3}+\frac{5}{6}\amp=\frac{2}{3}\cdot\frac{2}{2}+\frac{5}{6}\\ \amp=\frac{4}{6}+\frac{5}{6}\\ \amp=\frac{9}{6}=\frac{3}{2} \end{align*}
    So \(\frac{2}{3}y+\frac{5}{6}y=\frac{3}{2}y\text{.}\)
  5. There are two like terms: \(\frac{10}{3}t\) and \(-t\text{.}\) A lonely \(t\) is usually just written as \(t\text{,}\) but we can think of it as \(1t\text{.}\) So we are combining \(\frac{10}{3}t\) and \(-t\) and we need to subtract \(\frac{10}{3}-1\text{.}\)
    \begin{align*} \frac{10}{3}-1\amp=\frac{10}{3}-\frac{3}{3}\\ \amp=\frac{7}{3} \end{align*}
    Our two terms combine to make \(\frac{7}{3}t\text{.}\) There was another term when this started and the final simplified expression is \(\frac{7}{3}t-\frac{1}{2}x\text{.}\)
  6. This expression can be thought of as \(1.00x-0.15x\text{.}\) Subtracting decimals \(1.00-0.15\text{,}\) the result is \(0.85\text{.}\) So we have \(0.85x\text{.}\)

Checkpoint 1.2.10.

Simplify each expression by combining like terms (if possible).
(a)
\(x+0.25x\)
Explanation.
Think of this expression as \(1.00x+0.25x\) and simplify to get \(1.25x\text{.}\)
(b)
\(\frac{4}{9}x-\frac{7}{10}y+\frac{2}{3}x\)
Explanation.
This expression has two like terms that can be combined: \(\frac{4}{9}x\) and \(\frac{2}{3}x\text{.}\) To combine them, we need to add the fractions \(\frac{4}{9}+\frac{2}{3}\text{.}\)
\begin{equation*} \begin{aligned} \frac{4}{9}+\frac{2}{3}\amp=\frac{4}{9}+\frac{6}{9}\\ \amp=\frac{10}{9} \end{aligned} \end{equation*}
So \(\frac{4}{9}x+\frac{2}{3}x=\frac{10}{9}x\text{.}\) And together with the third term, the answer is \(\frac{10}{9}x-\frac{7}{10}y\text{.}\)
(c)
\(\frac{5}{6}y-\frac{8}{15}y+\frac{2}{3}y^2\)
Explanation.
In this expression we can combine the \(y\)-terms. We need to subtract the fractions \(\frac{5}{6}-\frac{8}{15}\text{.}\)
\begin{equation*} \begin{aligned} \frac{5}{6}-\frac{8}{15}\amp=\frac{25}{30}-\frac{16}{30}\\ \amp=\frac{9}{30}\\ \amp=\frac{3}{10} \end{aligned} \end{equation*}
So \(\frac{5}{6}y-\frac{8}{15}y=\frac{3}{10}y\text{.}\) And together with the third term, the answer is \(\frac{3}{10}y+\frac{2}{3}y^2\text{.}\)
(d)
\(4x+1.5y-9z\)
Explanation.
This expression cannot be simplified further because there are not any like terms.

Subsection 1.2.3 Applications

The perimeter of a shape is the length of a strip of tape that could be taped tightly around the shape. When a shape has straight side edges, the perimeter comes from adding all of the side lengths together. This can lead to like terms that can be combined.

Example 1.2.11.

Find the perimeter of this shape, which is not drawn to scale. Simplify the perimeter expression as much as possible.
a five-sided shape whose sides are labeled 2x, 3y, 1.5x, 5y, and x
Explanation.
The perimeter is the result from adding the five sides together: \(2x+3y+1.5x+5y+x\text{.}\) There are three \(x\)-terms that sum to \(4.5x\text{,}\) and two \(y\)-terms that sum to \(8y\text{.}\) So the perimeter is \(4.5x+8y\text{.}\)

Checkpoint 1.2.12.

Find the perimeter of this shape, which is not drawn to scale. Simplify the perimeter expression as much as possible.
a six-sided shape whose sides are labeled 3/2 A, 2/3 B, 3/4 C, 2A, 2/3 B, and 8/17 C
Explanation.
The perimeter is the result from adding the six sides together: \(\frac{3}{2}A+\frac{2}{3}B+\frac{3}{4}C+2A+\frac{2}{3}B+\frac{8}{17}C\text{.}\) There are two \(A\)-terms, two \(B\)-terms, and two \(C\)-terms. We need to find:
\begin{equation*} \begin{aligned} \frac{3}{2}+2\amp=\frac{3}{2}+\frac{2}{1}\cdot\frac{2}{2} \amp\qquad\frac{2}{3}+\frac{2}{3}\amp=\frac{4}{3} \amp\qquad\frac{3}{4}+\frac{8}{17}\amp=\frac{3}{4}\cdot\frac{17}{17}+\frac{8}{17}\frac{4}{4}\\ \amp=\frac{3}{2}+\frac{4}{2} \amp\amp \amp\amp=\frac{51}{68}+\frac{32}{68}\\ \amp=\frac{7}{2} \amp\amp \amp\amp=\frac{83}{68} \end{aligned} \end{equation*}
So the perimeter is \(\frac{7}{2}A+\frac{4}{3}B+\frac{83}{68}C\text{.}\)
Sometimes it makes sense to add two algebra expressions together, and that may give an opportunity to combine like terms.

Example 1.2.13.

A chemist has a bottle with 1.2 L of water mixed with 0.3 L of gasoline. At this time, they have forgotten the density of water (in gL) and the density of gasoline (also in gL) so they use \(w\) and \(g\) as variables for these densities. This means \(1.2w+0.3g\) is the total mass of this mixture, in grams.
There is a second bottle, with 0.9 L of water mixed with 0.5 L of gasoline. The chemist pours it all together. What is the mass of the combined mixture?
Explanation.
The first mass is \(1.2w+0.3g\) grams, and the second mass is \(0.9w+0.5g\) grams. So together, the mass in grams is:
\begin{align*} (1.2w+0.3g)+(0.9w+0.5g)\amp=\firsthighlight{1.2w}+\secondhighlight{0.3g}+\firsthighlight{0.9w}+\secondhighlight{0.5g}\\ \amp=2.1w+0.8g \end{align*}

Reading Questions 1.2.4 Reading Questions

1.

What should you be aware of when there is subtraction in an algebraic expression and you are identifying its terms?

2.

Describe at least two different ways in which a pair of terms would be considered to be “like terms”.

3.

What might help when you are combining like terms, and one of the terms is a lonely variable like \(x\) or \(y\text{?}\)

Exercises 1.2.5 Exercises

Prerequisite/Review Skills

These exercises are only intended for students who are rusty with adding/subtracting decimals and fractions. If you feel comfortable, proceed to Skills Practice.
Fraction Arithmetic.
Add or subtract the fractions.
1.
\({{\frac{7}{17}}}+{{\frac{15}{17}}}\)
2.
\({{\frac{4}{17}}}+{{\frac{9}{17}}}\)
3.
\({{\frac{13}{17}}}-{{\frac{9}{17}}}\)
4.
\({{\frac{14}{19}}}-{{\frac{13}{19}}}\)
5.
\({{\frac{7}{16}}}+{{\frac{15}{16}}}\)
6.
\({{\frac{5}{18}}}+{{\frac{17}{18}}}\)
7.
\({{\frac{7}{12}}}-{{\frac{5}{12}}}\)
8.
\({{\frac{11}{16}}}-{{\frac{3}{16}}}\)
9.
\({{\frac{4}{11}}}+7\)
10.
\({{\frac{5}{13}}}+3\)
11.
\(1-{{\frac{7}{10}}}\)
12.
\(35-{{\frac{9}{2}}}\)
13.
\({{\frac{5}{13}}}+{{\frac{1}{14}}}\)
14.
\({{\frac{1}{15}}}+{{\frac{9}{19}}}\)
15.
\({{\frac{3}{4}}}-{{\frac{2}{3}}}\)
16.
\({{\frac{1}{3}}}-{{\frac{3}{10}}}\)
17.
\({{\frac{8}{9}}}+{{\frac{5}{63}}}\)
18.
\({{\frac{2}{3}}}+{{\frac{11}{21}}}\)
19.
\({{\frac{2}{5}}}-{{\frac{3}{40}}}\)
20.
\({{\frac{4}{5}}}-{{\frac{11}{35}}}\)
21.
\({{\frac{1}{4}}}+{{\frac{5}{12}}}\)
22.
\({{\frac{1}{3}}}+{{\frac{7}{15}}}\)
23.
\({{\frac{7}{12}}}-{{\frac{1}{4}}}\)
24.
\({{\frac{1}{8}}}-{{\frac{5}{88}}}\)
25.
\({{\frac{3}{20}}}+{{\frac{7}{6}}}\)
26.
\({{\frac{7}{10}}}+{{\frac{4}{35}}}\)
27.
\({{\frac{10}{9}}}-{{\frac{4}{21}}}\)
28.
\({{\frac{9}{14}}}-{{\frac{5}{8}}}\)
29.
\({{\frac{7}{36}}}+{{\frac{5}{28}}}\)
30.
\({{\frac{5}{6}}}+{{\frac{9}{14}}}\)
31.
\({{\frac{5}{14}}}-{{\frac{3}{10}}}\)
32.
\({{\frac{5}{6}}}-{{\frac{2}{15}}}\)

Skills Practice

Identifying Terms.
List the terms in each expression.
33.
\({-{\frac{1}{2}}u+t+2.7D+18b}\)
34.
\({-85c-Q - {\frac{1}{5}}p+3.9b}\)
35.
\({{\frac{3}{10}}J-13k+49J}\)
36.
\({-83s-45G+{\frac{5}{3}}G}\)
37.
\({{\frac{1}{10}}+77x^{5}-x^{9}}\)
38.
\({81z^{4}-2.1z+4.2z^{9}}\)
39.
\({5.5y^{8}-y^{9}+y^{9}}\)
40.
\({-60t^{2}+63t^{6}+t^{6}+t^{2}}\)
Combining Like Terms.
Simplify the expression by combining like terms if possible.
41.
\({8.8K+9.4K}\)
42.
\({36R-9.2R}\)
43.
\({X+{\frac{1}{5}}X}\)
44.
\({{\frac{1}{10}}c+34c}\)
45.
\({8.1i-l}\)
46.
\({73n+5T}\)
47.
\({-10u+4u^{3}+{\frac{8}{3}}u^{4}}\)
48.
\({-6z+{\frac{10}{7}}z^{3}+3.9z^{4}}\)
49.
\({{\frac{1}{2}}R - {\frac{5}{3}}F - {\frac{7}{2}}F}\)
50.
\({{\frac{1}{6}}K - {\frac{1}{8}}y+{\frac{1}{2}}K}\)
51.
\({0.4g+6.4g+34R}\)
52.
\({1.8W-4W+6.2N}\)
53.
\({{\frac{10}{9}}c^{2}+{\frac{1}{4}}c^{2}-2c^{5}}\)
54.
\({-{\frac{9}{2}}h^{6} - {\frac{4}{5}}h+h^{6}}\)
55.
\({0.6n^{4}+5.2n^{6}+9.7n^{6}}\)
56.
\({1.5u^{3}+9.2u^{3}-2.8u^{2}}\)
57.
\({-7z - {\frac{5}{2}}z+{\frac{1}{2}}z}\)
58.
\({{\frac{5}{2}}F+8F+{\frac{3}{4}}F}\)
59.
\({-K-4.2K+1.3K}\)
60.
\({5.1R+R-5.4R}\)
61.
\({{\frac{4}{3}}W+2H+{\frac{7}{3}}W+{\frac{9}{10}}H}\)
62.
\({{\frac{8}{3}}r+{\frac{8}{7}}c - {\frac{9}{2}}r - {\frac{5}{3}}c}\)
63.
\({7.2Y-7.1h+0.8h+3.3Y}\)
64.
\({8.6G+48G-80n+n}\)
65.
\({0.3t^{6}+t^{6}-81t^{2}+9.8t^{2}}\)
66.
\({-9.4z^{2}+69z^{5}+z^{2}-9.1z^{5}}\)
67.
\({{\frac{6}{7}}E^{3} - {\frac{3}{5}}E^{5}+{\frac{10}{3}}E^{3}+E^{5}}\)
68.
\({{\frac{3}{10}}K^{3} - {\frac{4}{9}}K^{4}+{\frac{2}{3}}K^{3}+K^{4}}\)

Applications

Perimeter.
Write a simplified expression for the perimeter of the given shape (which is not drawn to scale).
69.
a quadrilateral whose sides are labeled (1/4*U), (7/4*Q), (2*U), and (8/3*Q).
70.
a quadrilateral whose sides are labeled (5/7*B), (7/8*W), (6/5*W), and (4/3*B).
71.
a quadrilateral whose sides are labeled (k), (c), (c), (2.3*k), (4.9*c), and (78*k).
72.
a quadrilateral whose sides are labeled (0.1*R), (h), (h), (R), (13*R), and (83*h).
73.
a quadrilateral whose sides are labeled (1/2*c), (5/8*n), (3/2*c), and (3/2*z).
74.
a quadrilateral whose sides are labeled (3/10*g), (1/3*t), (7/9*z), and (9/8*z).
75. Office Lunch.
Every Friday, an office supervisor provides catered lunches for everyone working in the office. People can order a sandwich (costs \(S\) dollars) or a burrito (costs \(B\) dollars).
One week, the office ordered \(13\) sandwiches and \(10\) burritos. So the bill came to \({13S+10B}\) dollars.
(a)
The next week, the office ordered \(14\) sandwiches and \(8\) burritos. How much was the bill that week, in dollars?
(b)
What was the combined bill for these two weeks?
76. Pies and Cakes.
Kaylin and Humberto are co-owners of a pastry shop. Kaylin bakes pies and Humberto bakes cakes. Kaylin is able to bake \(p\) pies each day she works and Humberto is able to bake \(c\) cakes each day he works.
One month, Kaylin worked \(18\) days and Humberto worked \(20\) days. That month they produced \({18p+20c}\) baked goods in total.
(a)
The next month, Kaylin worked \(22\) days and Humberto worked \(19\) days. How many baked goods did they produce that month?
(b)
How many baked goods was that in total for those two months?
77. Sportsball.
Sportsball is a game similar to basketball. There are three ways for a team to score points: a “long field goal” earns \(L\) points; a “short field goal” earns \(S\) points; and a “penalty shot” earns \(P\) points.
In the first half of one game, a team scored \(6\) penalty shots, \(24\) long field goals, and \(37\) short field goals. So they earned \({6P+24L+37S}\) points.
(a)
In the second half of the game, that same team scored \(19\) penalty shots, \(36\) long field goals, and \(44\) short field goals. How many points did they earn during the second half?
(b)
How many points did the team score in total?
78. Metal Recycling.
A metals recycling plant makes its revenue from selling aluminum at \(A\) dollars per ton, steel at \(S\) dollars per ton, and tin at \(T\) dollars per ton. One week, they processed \(3.64\) tons of aluminum, \(2.28\) tons of steel, and \(2.91\) tons of tin. So they generated \({3.64A+2.28S+2.91T}\) dollars in revenue.
(a)
The next week, they processed \(3.5\) tons of aluminum, \(2.17\) tons of steel, and \(2.72\) tons of tin. How much revenue (in dollars) did this generate that week?
(b)
How much revenue (in dollars) was that in total those two weeks?
You have attempted of activities on this page.