Combining like terms without combining things that only look alike

Terms combine only when their variable parts match exactly. The coefficients change; the variable structure does not.

LaTeX article Updated July 13, 2026

4x23x+7+5x2+2x14x^2-3x+7+5x^2+2x-1

A term has two jobs

The coefficient tells how many copies there are; the variable part tells what kind of object is being counted. Like terms have identical variable parts, including every exponent.

That is why 3x and 5x combine, but 3x and 5x² do not. They name different algebraic quantities.

3x+5x=8x3x+5x2 cannot combine3x+5x=8x\qquad3x+5x^2\text{ cannot combine}

Signs travel with their terms

A minus sign immediately before a term belongs to that term. When you rearrange an expression, move the sign with the coefficient.

Rewriting subtraction as addition of a negative makes this explicit and reduces dropped-sign errors.

6x4+2x=6x+(4)+2x6x-4+2x=6x+(-4)+2x

Distribute before you collect

Parentheses may hide terms that are not ready to combine. Use the distributive property first, then group matching variable parts.

A negative multiplier must reach every term inside the parentheses, not just the first one.

2(3x4)(x+5)=6x8x52(3x-4)-(x+5)=6x-8-x-5

Worked example

Common mistakes

  • Adding exponents when adding terms.
  • Combining x with x².
  • Leaving a minus sign behind when rearranging.

Keep these ideas

  • Variable parts must match exactly.
  • Only coefficients combine.
  • Distribute before collecting terms.
Vocab
Variable
Math glossaryVariable
xx

A symbol whose value may vary or be unknown.

Learn more
Expression
Math glossaryExpression
2x+32x+3

A mathematical phrase without a top-level equality or inequality claim.

Learn more
Equation
Math glossaryEquation
2x+3=112x+3=11

A statement that two expressions are equal.

Learn more
Solution
Math glossarySolution
x=4x=4

A permitted value that makes a mathematical statement true.

Learn more
Inverse operation
Math glossaryInverse operation
x+33=xx+3-3=x

An operation that undoes another operation.

Learn more
Math glossary