Math Core

Lesson 4.3 · Expressions

Combining like terms

Long expressions are hard to work with. 5x+3−2x+7−x5x + 3 - 2x + 7 - x has five terms, but it means the same thing as 2x+102x + 10, which has only two. Combining like terms is how you make that happen, and it's a step you'll use in almost every equation in Algebra 1.

What makes terms "like"

Definition

Like terms

Like terms have exactly the same variables raised to exactly the same powers. Only their coefficients may differ. All constant terms are like terms with each other.

like termsnot like termsreason
6k6k and −k-k6k6k and 6666 has no variable
2x22x^2 and 9x29x^22x22x^2 and 2x2xdifferent powers of xx
−3ab-3ab and abab3ab3ab and 3a3a3a3a has no bb
44 and −12-\tfrac{1}{2}5m5m and 5n5ndifferent variables

The order of the letters doesn't matter: baba and abab are like terms, because multiplication is commutative.

Why it works

Combining like terms is the distributive property run backward. For example,

7y+4y=(7+4)y=11y.7y + 4y = (7 + 4)y = 11y.

You can also picture it: 77 bags of yy marbles plus 44 more bags is 1111 bags. But 7y+47y + 4 is seven bags plus four loose marbles. You can't write that as a single term.

Combining like terms

Add the coefficients of like terms and keep the variable part exactly the same. Terms that aren't alike stay separate.

The process

  1. Read each term with the sign in front of it. In 9−4x9 - 4x, the xx-term is −4x-4x.
  2. Use the commutative and associative properties to group like terms together.
  3. Add the coefficients within each group. Remember that xx means 1x1x and −x-x means −1x-1x.
  4. Write the result in a standard order: higher powers first, constant last.

Worked example: Integers and a hidden coefficient

Simplify −5a+8−a+3a−12-5a + 8 - a + 3a - 12.

The aa-terms are −5a-5a, −a-a and 3a3a. The constants are 88 and −12-12.

−5a+8−a+3a−12=(−5a−a+3a)+(8−12)=(−5−1+3)a+(−4)=−3a−4\begin{aligned} -5a + 8 - a + 3a - 12 &= (-5a - a + 3a) + (8 - 12) \\ &= (-5 - 1 + 3)a + (-4) \\ &= -3a - 4 \end{aligned}

Worked example: More than one variable part

Simplify 4x2−3x+6−x2+7x−24x^2 - 3x + 6 - x^2 + 7x - 2.

Sort the terms into three groups:

  • x2x^2-terms: 4x2−x2=3x24x^2 - x^2 = 3x^2
  • xx-terms: −3x+7x=4x-3x + 7x = 4x
  • constants: 6−2=46 - 2 = 4

The result is 3x2+4x+43x^2 + 4x + 4. Notice that 3x23x^2 and 4x4x stay separate, because the powers are different.

Worked example: Subtracting an expression

Simplify (3m−2n)−(5m−6n+1)(3m - 2n) - (5m - 6n + 1).

Subtracting a group means subtracting every term in it, so each sign inside the second group flips:

(3m−2n)−(5m−6n+1)=3m−2n−5m+6n−1=(3m−5m)+(−2n+6n)−1=−2m+4n−1\begin{aligned} (3m - 2n) - (5m - 6n + 1) &= 3m - 2n - 5m + 6n - 1 \\ &= (3m - 5m) + (-2n + 6n) - 1 \\ &= -2m + 4n - 1 \end{aligned}

Common mistake

Three mistakes show up again and again:

  • Losing a sign. In 12−5b+2b12 - 5b + 2b, the bb-terms are −5b-5b and 2b2b, which give −3b-3b. The answer is 12−3b12 - 3b, not 12−7b12 - 7b.
  • Mixing powers. 3x2+2x3x^2 + 2x does not simplify. It is not 5x25x^2 or 5x35x^3.
  • Flipping only the first sign when you subtract a group. In −(5m−6n+1)-(5m - 6n + 1), all three signs change.

Tip

Check your answer by substituting a simple value, like a=2a = 2, into both the original and the simplified expression. In the first example: −10+8−2+6−12=−10-10 + 8 - 2 + 6 - 12 = -10, and −3(2)−4=−10-3(2) - 4 = -10. They match.

Practice

Practice 1

Which pair are like terms?

Practice 2

Simplify 9a−4−11a+109a - 4 - 11a + 10.

Practice 3

Simplify 3x2+5x−x2−8x+23x^2 + 5x - x^2 - 8x + 2. What is the coefficient of xx in the result?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Simplify 4m+3n−m+5n−24m + 3n - m + 5n - 2.

Practice 5

Simplify (6k−5)−(−2k+4)(6k - 5) - (-2k + 4).

Practice 6

Simplify 23y+4−16y\dfrac{2}{3}y + 4 - \dfrac{1}{6}y. What is the coefficient of yy?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

A rectangle has length 3w+23w + 2 and width ww. Adding all four sides, its perimeter simplifies to aw+4aw + 4. What is aa?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

Simplify 5p−3−2p+7−3p+p5p - 3 - 2p + 7 - 3p + p, then evaluate it when p=−6p = -6.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.