Combining Like Terms
An expression like is built from terms — the pieces separated by plus and minus signs. Like terms are terms with the exact same variable part: and are like terms, and and are like terms. Combining like terms means merging each matching group into a single term, shrinking the expression down to .
This is the basic cleanup move of algebra. You'll use it every time you simplify an expression, and it's the first step in solving most multi-step equations. The rule is short: same variable, same exponent — then add or subtract the coefficients.
What counts as a like term
Two terms are like terms when their variable parts match exactly — same variable, same exponent. and are like terms. and are not, because the exponents differ. and are not, because the variables differ. Plain numbers (constants) like and are like terms with each other.
The coefficients don't have to match — only the variable parts do. And a variable with no number in front has a coefficient of : the term means , and means . Forgetting that hidden is the most common slip in this skill.
How to combine
Keep the variable part, and add or subtract the coefficients. — three 's plus seven more 's is ten 's. The variable never changes and the exponent never changes; only the count in front does. In particular, is not .
The sign in front of a term belongs to that term and travels with it. In , the terms are , , , and . Group them: and , so the expression simplifies to .
More than one variable
When an expression has several variables, sort the terms into groups — all the -terms, all the -terms, all the constants — and combine within each group. The groups never mix: is fully simplified, and it does not become . Unlike terms sit side by side in the final answer, connected by their signs.
Worked examples
Example 1: one variable
Combine like terms: .
Answer:
Example 2: variable terms and constants
Simplify .
Answer:
Example 3: two variables and a hidden 1
Simplify .
Answer:
Example 4: exponents must match
Simplify .
Answer:
Try one yourself
Common questions
Can I combine and ?
No. Like terms need the same variable raised to the same power, and and are different powers. Matching coefficients don't matter — is already as simple as it gets.
What happens to the sign in front of a term?
It belongs to the term and moves with it. In , the middle of the expression contains , not — so the -terms combine to . Reading each term with its sign is the whole trick.
Are and like terms?
No. is a constant and has a variable, so they can never merge. An answer like is fully simplified — a variable term and a plain number always stay separate.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.