Pre Algebra

Combining Like Terms

Last updated: March 2026 · Beginner
Before you start

You should be comfortable with:

Real-world applications
📐
Carpentry

Measurements, material estimation, cutting calculations

💰
Retail & Finance

Discounts, tax, tips, profit margins

Algebraic expressions often contain several terms that can be merged into fewer, simpler terms. The process of merging those terms is called combining like terms, and it is one of the most frequently used simplification skills in all of algebra. If you can add 3+53 + 5 to get 88, you can combine 3x+5x3x + 5x to get 8x8x — the logic is the same.

What Are Like Terms?

Like terms are terms that have exactly the same variable(s) raised to exactly the same exponent(s). Only the coefficients may differ.

Like TermsWhy They Match
5x5x and 3x3xSame variable xx, same exponent (1)
2y2-2y^2 and 7y27y^2Same variable yy, same exponent (2)
4ab4ab and ab-abSame variables aa and bb, both to the first power
88 and 3-3Both are constants (no variables)
NOT Like TermsWhy They Don’t Match
5x5x and 5y5yDifferent variables
3x3x and 3x23x^2Same variable but different exponents
2xy2xy and 2x2xSecond term is missing the yy

The key rule: same variable(s), same exponent(s). The coefficient does not matter when deciding whether terms are alike — it only matters when you combine them.

How to Combine Like Terms

To combine like terms, add or subtract their coefficients and keep the variable part unchanged.

Example 1: Simplify 7x+3x7x + 3x

Both terms have the variable xx to the first power, so they are like terms.

7x+3x=(7+3)x=10x7x + 3x = (7 + 3)x = 10x

Think of it this way: 7 apples plus 3 apples equals 10 apples. The “apples” (xx) do not change.

Example 2: Simplify 9y4y9y - 4y

9y4y=(94)y=5y9y - 4y = (9 - 4)y = 5y

Example 3: Simplify 5a+3b+2ab5a + 3b + 2a - b

Group like terms together:

5a+2a+3bb5a + 2a + 3b - b

Combine the aa terms and the bb terms separately:

(5+2)a+(31)b=7a+2b(5 + 2)a + (3 - 1)b = 7a + 2b

Answer: 7a+2b7a + 2b

Example 4: Simplify 3x2+5x2x2+x43x^2 + 5x - 2x^2 + x - 4

Identify like terms:

  • x2x^2 terms: 3x23x^2 and 2x2-2x^2
  • xx terms: 5x5x and xx (remember, x=1xx = 1x)
  • Constants: 4-4

Combine each group:

(32)x2+(5+1)x4=x2+6x4(3 - 2)x^2 + (5 + 1)x - 4 = x^2 + 6x - 4

Answer: x2+6x4x^2 + 6x - 4

Rearranging Before Combining

It often helps to rearrange an expression so that like terms sit next to each other. This reduces errors.

Example 5: Simplify 2m+75m+32m + 7 - 5m + 3

Rearrange to group like terms:

2m5m+7+32m - 5m + 7 + 3

Combine:

3m+10-3m + 10

Answer: 3m+10-3m + 10

Example 6: Simplify 4x+2yx+3y64x + 2y - x + 3y - 6

Rearrange:

4xx+2y+3y64x - x + 2y + 3y - 6

Combine:

3x+5y63x + 5y - 6

Answer: 3x+5y63x + 5y - 6

Expressions with Multiple Variables

When an expression has several different variables, combine only the terms that share the same variable.

Example 7: Simplify 6a2b+3c+4ba+c6a - 2b + 3c + 4b - a + c

Group by variable:

6aa2b+4b+3c+c6a - a - 2b + 4b + 3c + c

Combine:

5a+2b+4c5a + 2b + 4c

Answer: 5a+2b+4c5a + 2b + 4c

Real-World Application: Carpentry — Material Estimates

A carpenter is building two identical bookshelves and one desk. Each bookshelf requires 4x4x feet of lumber for the shelves and 2x2x feet for the frame. The desk requires 3x3x feet for the top and xx feet for the legs, where xx depends on the size grade selected.

Total lumber needed:

Bookshelves: 2(4x+2x)=2(6x)=12x\text{Bookshelves: } 2(4x + 2x) = 2(6x) = 12x

Desk: 3x+x=4x\text{Desk: } 3x + x = 4x

Total: 12x+4x=16x\text{Total: } 12x + 4x = 16x

If the customer picks the medium size grade where x=3x = 3 feet:

16(3)=48 feet of lumber16(3) = 48 \text{ feet of lumber}

Combining like terms first made the final calculation much simpler — one multiplication instead of many separate ones.

Real-World Application: Retail — Inventory Expression

A retail manager tracks weekly stock changes. On Monday the store receives nn boxes of product A and 2n2n boxes of product B. On Wednesday, they return 33 boxes of A and receive nn more boxes of B. The net stock expression is:

n+2n3+nn + 2n - 3 + n

Combine the nn terms:

4n34n - 3

This simplified expression tells the manager that total inventory change depends on four times the base shipment size, minus 3 boxes.

Common Mistakes to Avoid

  1. Combining unlike terms. You cannot add 3x+2y3x + 2y to get 5xy5xy. Different variables stay separate: 3x+2y3x + 2y is already simplified.

  2. Forgetting the invisible coefficient of 1. In x+5xx + 5x, the first term has a coefficient of 11: 1x+5x=6x1x + 5x = 6x

  3. Mixing up exponents. xx and x2x^2 are not like terms. You cannot combine 4x+3x24x + 3x^2 — the expression stays as 3x2+4x3x^2 + 4x.

  4. Dropping the sign. When rearranging terms, the sign in front of each term travels with it. In 83x+28 - 3x + 2, the 3x-3x keeps its negative sign: 3x+8+2=3x+10-3x + 8 + 2 = -3x + 10.

  5. Changing the variable when combining. The variable part does not change — only the coefficient changes. 5x+3x=8x5x + 3x = 8x, not 8x28x^2.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Simplify 6x+2x6x + 2x.

6x+2x=8x6x + 2x = 8x

Answer: 8x8x

Problem 2: Simplify 10y3y+y10y - 3y + y.

10y3y+1y=8y10y - 3y + 1y = 8y

Answer: 8y8y

Problem 3: Simplify 4a+72a+34a + 7 - 2a + 3.

Group like terms: (4a2a)+(7+3)(4a - 2a) + (7 + 3)

2a+102a + 10

Answer: 2a+102a + 10

Problem 4: Simplify 3x2+5x+2x2x3x^2 + 5x + 2x^2 - x.

x2x^2 terms: 3x2+2x2=5x23x^2 + 2x^2 = 5x^2

xx terms: 5xx=4x5x - x = 4x

5x2+4x5x^2 + 4x

Answer: 5x2+4x5x^2 + 4x

Problem 5: Simplify 2m+3n5m+n+82m + 3n - 5m + n + 8.

mm terms: 2m5m=3m2m - 5m = -3m

nn terms: 3n+n=4n3n + n = 4n

Constants: 88

3m+4n+8-3m + 4n + 8

Answer: 3m+4n+8-3m + 4n + 8

Problem 6: Are 7xy7xy and 7yx7yx like terms?

Yes. Multiplication is commutative, so xy=yxxy = yx. These are like terms and can be combined:

7xy+7yx=14xy7xy + 7yx = 14xy

Answer: Yes, they are like terms.

Key Takeaways

  • Like terms share the same variable(s) with the same exponent(s)
  • To combine like terms, add or subtract the coefficients — the variable part stays unchanged
  • Rearranging the expression to group like terms together reduces mistakes
  • Unlike terms (different variables or different exponents) cannot be combined — they stay separate
  • A lone variable like xx has a coefficient of 11; a negative lone variable like x-x has a coefficient of 1-1
  • In real-world applications, combining like terms simplifies formulas before you plug in numbers, saving time and reducing errors

Return to Pre-Algebra for more topics in this section.

Last updated: March 29, 2026