Chapter 5 ยท Expressions

Like Terms and Equivalent Expressions

Learn to spot like terms, use the properties of operations to rewrite expressions, and combine like terms to simplify.

20 min read

You already know how to write and evaluate expressions. Now you will learn to rewrite an expression in a shorter form that has the same value no matter what number the variable stands for.

Let xx stand for any number. The expression 3x3x means 3โ‹…x3 \cdot x, which is three copies of that number added together: x+x+xx + x + x. So 3x+5x3x + 5x is three copies of xx plus five more copies of xx. That makes eight copies in all, or 8x8x.

Now look at 3x+53x + 5. This is three copies of xx plus the number 55. The 55 is not a count of copies of xx, so it cannot join that count.

The rest of this lesson explains which parts of an expression you can combine, why combining them keeps the value the same, and how to do it step by step.

A term is a part of an expression that you add to the other parts. With xx as any number, the expression 3x+53x + 5 has two terms: 3x3x and 55.

In the term 3x3x, the number 33 is the coefficient: the number that multiplies the variable. A term with no variable, such as 55, is a constant.

Two details matter when you list terms:

  • Subtracting a number gives the same result as adding its opposite. The opposite of 77 is โˆ’7-7, so 4xโˆ’74x - 7 means 4x+(โˆ’7)4x + (-7), and its terms are 4x4x and โˆ’7-7. Keep each term's sign with it.
  • A variable standing alone has coefficient 11, because 1โ‹…x=x1 \cdot x = x for every number xx. In the same way, โˆ’x-x means โˆ’1โ‹…x-1 \cdot x, so its coefficient is โˆ’1-1.

Let xx, yy and nn stand for any numbers. A variable term in this lesson is a number times a variable, such as 3x3x or โˆ’2y-2y. Its variable part is that variable.

Like terms are terms with exactly the same variable part. A constant has no variable part, and constants are like terms with each other.

  • 3x3x and โˆ’2x-2x are like terms. Both have the variable part xx, so both are amounts of xx.
  • 3x3x and 3y3y are not like terms. The coefficients match, but the variable parts are different.
  • 44 and โˆ’9-9 are like terms. Both are constants.

To decide, compare only the variable parts. The coefficients do not have to match.

Are the two terms like terms?
TermsVariable partsLike terms?Reason
7x7x and 2x2x
xx and xx
Yes
Same variable part. The coefficients may differ.
4y4y and โˆ’9y-9y
yy and yy
Yes
Same variable part. A negative coefficient does not change the variable part.
12n\frac{1}{2}n and nn
nn and nn
Yes
Same variable part. The term nn has coefficient 11.
66 and โˆ’1.5-1.5
None and none
Yes
Both are constants.
5x5x and 5y5y
xx and yy
No
Different variable parts, even though the coefficients match.
8x8x and 88
xx and none
No
One term has a variable part and the other is a constant.

Worked example

Find the like terms

Let xx and yy stand for any numbers. Name the like terms in the expression 6xโˆ’4+3yโˆ’x+96x - 4 + 3y - x + 9.

  1. Write each subtraction as adding the opposite, so that every term carries its own sign. Subtracting a number and adding its opposite give the same result for all numbers, so the value of the expression does not change.

    6x+(โˆ’4)+3y+(โˆ’x)+96x + (-4) + 3y + (-x) + 9
  2. List the terms, which are the parts you add. There are five of them.

    6x,โˆ’4,3y,โˆ’x,96x, \quad {-4}, \quad 3y, \quad {-x}, \quad 9
  3. Find the terms whose variable part is x. The term negative x means negative 1 times x, so it is an x term with coefficient negative 1.

    6xย andย โˆ’x6x \text{ and } {-x}
  4. Find the terms whose variable part is y. Only one term has it, so that term has no like term in this expression.

    3y3y
  5. Find the constants, which are the terms with no variable. Constants are like terms with each other.

    โˆ’4ย andย 9-4 \text{ and } 9

Answer

The like terms are 6x6x and โˆ’x-x, and the constants โˆ’4-4 and 99 are also like terms. The term 3y3y has no like term in this expression.

Two expressions are equivalent only if they have the same value for every value of the variable, not just for some values. In this lesson, an equals sign between two expressions with a variable means that they are equivalent. You are not solving for the variable. It can be any number, and the two expressions must agree every time.

You already know how to evaluate an expression by substituting a number for the variable. Substituting can show that two expressions are not equivalent: one value that gives two different results is enough. But a match for one value does not prove that they are equivalent, because equivalent means equal for every value and you cannot test them all.

To be sure, you use the properties of operations. Each property is true for all numbers. So when you rewrite an expression by using a property, the new expression has the same value as the old one for every value of the variable.

In the table below, aa, bb, cc and xx each stand for any number.

Properties of operations
PropertyRuleWhat it lets you doExample
Commutative property of addition
a+b=b+aa + b = b + a
Add in any order.
3x+7=7+3x3x + 7 = 7 + 3x
Associative property of addition
(a+b)+c=a+(b+c)(a + b) + c = a + (b + c)
Group the numbers you add in any way.
(2x+5)+4=2x+(5+4)(2x + 5) + 4 = 2x + (5 + 4)
Commutative property of multiplication
aโ‹…b=bโ‹…aa \cdot b = b \cdot a
Multiply in any order.
xโ‹…6=6โ‹…x=6xx \cdot 6 = 6 \cdot x = 6x
Associative property of multiplication
(aโ‹…b)โ‹…c=aโ‹…(bโ‹…c)(a \cdot b) \cdot c = a \cdot (b \cdot c)
Group the numbers you multiply in any way.
2โ‹…(3x)=(2โ‹…3)x=6x2 \cdot (3x) = (2 \cdot 3)x = 6x
Distributive property
a(b+c)=ab+aca(b + c) = ab + ac
Multiply a sum by multiplying each of its terms.
2(3x+4)=2โ‹…3x+2โ‹…4=6x+82(3x + 4) = 2 \cdot 3x + 2 \cdot 4 = 6x + 8

The distributive property also works from right to left: ab+ac=a(b+c)ab + ac = a(b + c). When two terms have the same factor, meaning the same number or variable multiplied in each, you can write that factor once and add what is left. You can multiply in either order, so you may also write the shared factor on the right. With xx as any number, this is why the eight copies of xx at the start of the lesson were correct:

3x+5x=(3+5)x=8x3x + 5x = (3 + 5)x = 8x

Key concept

Why you can combine like terms

Like variable terms share a factor: the same variable. The distributive property lets you add their coefficients and keep the variable. The rule below is true for any numbers aa, bb and xx, including negative numbers, fractions and decimals. So its two sides are equivalent: they are equal for every value of xx.

Constants are like terms too. You combine them by adding the numbers.

A variable term and a constant are not like terms, and neither are two terms with different variables. The rule does not apply to them, so they stay as separate terms.

ax+bx=(a+b)xax + bx = (a + b)x

Worked example

Use properties to write an equivalent expression

Let xx stand for any number. Use the properties of operations to write 2(x+5)+3x2(x + 5) + 3x as an equivalent expression with only two terms.

  1. The first term is 2 times a sum, so start with the distributive property: multiply 2 by each term inside the parentheses. The property is true for all numbers, so the value stays the same for every value of x.

    2(x+5)+3x=2โ‹…x+2โ‹…5+3x=2x+10+3x2(x + 5) + 3x = 2 \cdot x + 2 \cdot 5 + 3x = 2x + 10 + 3x
  2. Reorder so the like terms 2x and 3x are next to each other. You are adding all three terms, so the commutative and associative properties of addition allow any order and grouping.

    2x+10+3x=2x+3x+102x + 10 + 3x = 2x + 3x + 10
  3. Use the distributive property from right to left. The like terms 2x and 3x share the factor x, so write x once and add the coefficients.

    2x+3x+10=(2+3)x+102x + 3x + 10 = (2 + 3)x + 10
  4. Add the coefficients. The terms 5x and 10 are not like terms, because one has the variable part x and the other is a constant. They stay separate.

    (2+3)x+10=5x+10(2 + 3)x + 10 = 5x + 10
  5. Check for slips by substituting 4 for x in the first and last expressions. Both give 30. One matching value does not prove that the expressions are equivalent. The properties used in steps 1 to 4 do that, because they are true for all numbers.

    2(4+5)+3โ‹…4=2โ‹…9+12=18+12=30and5โ‹…4+10=20+10=302(4 + 5) + 3 \cdot 4 = 2 \cdot 9 + 12 = 18 + 12 = 30 \quad \text{and} \quad 5 \cdot 4 + 10 = 20 + 10 = 30

Answer

The expression 5x+105x + 10 is equivalent to 2(x+5)+3x2(x + 5) + 3x. The two expressions have the same value for every value of xx.

In this lesson, to simplify an expression means to write an equivalent expression that has no parentheses and no like terms left to combine. When an expression has no parentheses, four moves will do it:

  1. Write each subtraction as adding the opposite, so each term keeps its sign.
  2. Reorder the terms so like terms are together. The commutative and associative properties of addition allow this.
  3. For each group of like variable terms, add the coefficients and keep the variable. The distributive property allows this. Add the constants as numbers.
  4. Check that no two of the remaining terms are like terms.

Moves 1 to 3 each use a fact that is true for all numbers. So the simplified expression is equal to the original one for every value of the variable.

Worked example

Simplify with two variables and negative terms

Let xx and yy stand for any numbers. Simplify 8xโˆ’3yโˆ’5x+7+yโˆ’108x - 3y - 5x + 7 + y - 10.

  1. Write each subtraction as adding the opposite, so every term keeps its sign. This gives the same result for all numbers.

    8x+(โˆ’3y)+(โˆ’5x)+7+y+(โˆ’10)8x + (-3y) + (-5x) + 7 + y + (-10)
  2. Reorder so like terms are together. You are adding all six terms, so the commutative and associative properties of addition allow the new order.

    8x+(โˆ’5x)+(โˆ’3y)+y+7+(โˆ’10)8x + (-5x) + (-3y) + y + 7 + (-10)
  3. Combine the x terms with the distributive property: add the coefficients 8 and negative 5, and keep x.

    8x+(โˆ’5x)=(8+(โˆ’5))x=3x8x + (-5x) = (8 + (-5))x = 3x
  4. Combine the y terms the same way. The term y has coefficient 1, so add negative 3 and 1, and keep y.

    โˆ’3y+y=(โˆ’3+1)y=โˆ’2y-3y + y = (-3 + 1)y = -2y
  5. The constants are like terms, so add them as numbers.

    7+(โˆ’10)=โˆ’37 + (-10) = -3
  6. Put the three results together, and write adding a negative as subtracting. The terms that remain are an x term, a y term and a constant, so no two are like terms and the expression is simplified.

    3x+(โˆ’2y)+(โˆ’3)=3xโˆ’2yโˆ’33x + (-2y) + (-3) = 3x - 2y - 3

Answer

The simplified expression is 3xโˆ’2yโˆ’33x - 2y - 3. It is equal to 8xโˆ’3yโˆ’5x+7+yโˆ’108x - 3y - 5x + 7 + y - 10 for every value of xx and every value of yy.

Worked example

Simplify with fraction and decimal numbers

Let nn stand for any number. Simplify 34nโˆ’2.5+12n+6โˆ’n\frac{3}{4}n - 2.5 + \frac{1}{2}n + 6 - n.

  1. Write each subtraction as adding the opposite, which gives the same result for all numbers.

    34n+(โˆ’2.5)+12n+6+(โˆ’n)\frac{3}{4}n + (-2.5) + \frac{1}{2}n + 6 + (-n)
  2. Reorder so like terms are together. Addition allows any order and grouping.

    34n+12n+(โˆ’n)+(โˆ’2.5)+6\frac{3}{4}n + \frac{1}{2}n + (-n) + (-2.5) + 6
  3. Combine the three n terms with the distributive property: add their coefficients and keep n. The term negative n has coefficient negative 1. Using the two-term rule twice gives the same result.

    34n+12n+(โˆ’n)=(34+12+(โˆ’1))n\frac{3}{4}n + \frac{1}{2}n + (-n) = \left(\frac{3}{4} + \frac{1}{2} + (-1)\right)n
  4. Add the coefficients. Rewrite them with the common denominator 4 first, so the parts are the same size.

    34+24+(โˆ’44)=54+(โˆ’44)=14\frac{3}{4} + \frac{2}{4} + \left(-\frac{4}{4}\right) = \frac{5}{4} + \left(-\frac{4}{4}\right) = \frac{1}{4}
  5. The constants are like terms, so add them as numbers.

    โˆ’2.5+6=3.5-2.5 + 6 = 3.5
  6. Write the result. One term has the variable part n and the other is a constant, so they are not like terms and the expression is simplified.

    14n+3.5\frac{1}{4}n + 3.5

Answer

The simplified expression is 14n+3.5\frac{1}{4}n + 3.5. It is equal to 34nโˆ’2.5+12n+6โˆ’n\frac{3}{4}n - 2.5 + \frac{1}{2}n + 6 - n for every value of nn.

Here is the idea to keep. Like terms have exactly the same variable part, and constants are like terms with each other. The properties of operations are true for all numbers, so rewriting an expression with them gives an equivalent expression: one that is equal to the original for every value of the variable. Combining like terms is the distributive property at work: add the coefficients and keep the variable. A variable term and a constant, or two terms with different variables, stay separate.

Next, you will use these ideas to add and subtract linear expressions, which are expressions built from constants and terms that are a number times a variable.