Combining like terms works by adding or subtracting the coefficients of terms that share exactly the same variable part — same letters, same exponents. If the variable parts differ in any way, the terms stay separate. That single rule governs every example below, from 3x + 5x = 8x through the trickier cases where students lose points on tests.
The most common failure isn't the arithmetic. It's misidentifying which terms are actually "like." Two terms with the same letters but different exponents aren't like terms. Neither are terms with the same letters in a different arrangement, unless the exponents match too. Read the next section carefully, because everything downstream depends on it.
The Like-Term Test: Matching Variables and Exponents Exactly
Two terms qualify as like terms only when their variable portions are identical after you account for exponents. In 7x²y and 3x²y, both terms carry x squared and y to the first power, so they combine to 10x²y. Change either exponent and the pair breaks apart: 7x²y and 3xy² look similar on a quick scan but cannot be added.
Coefficients and signs don't affect whether terms are alike — they only affect the result once you've decided to combine. That means -4ab and 9ab are like terms even though one is negative, and ½x and 6x are like terms despite the fraction. Constants also count as like terms with each other: 5 and -12 combine to -7 because neither carries a variable.
Order of variables inside a term is irrelevant as long as the exponents match, because multiplication is commutative. The term 2xy equals 2yx, so 2xy and 5yx combine to 7xy. This trips up students who've been taught to compare terms visually from left to right instead of comparing the exponent on each variable.
One useful habit: rewrite every term with variables in alphabetical order before you test for likeness. Standardized tests and textbooks at the high-school level overwhelmingly present polynomial terms in alphabetical order anyway — the College Board's SAT math sections and most Algebra I curricula follow this convention — so normalizing early prevents false mismatches.
Five Rules That Cover Every Combination Problem
Five rules handle everything. Apply them in order and the problem resolves itself.
1: Clear parentheses first. Distribute any multiplier across a group before you look for like terms. In 3(x + 4) + 2x, the 3 becomes 3x + 12, and only then does 3x + 2x combine to 5x. 2: Mark each term's sign. Subtraction of a group flips every sign inside it: 8y − (3y − 2) becomes 8y − 3y + 2. Sign errors cause more wrong answers here than any other mistake. 3: Group like terms together. Physically rewrite the expression with like terms adjacent, keeping signs attached: 5x + 3y − 2x + 4y becomes 5x − 2x + 3y + 4y. 4: Add or subtract the coefficients. Combine the numbers, keep the variable part unchanged. 5x − 2x = 3x, never 3x². 5: Check by substituting a value. Pick a simple number like x = 2, evaluate the original and the simplified version, and confirm they match.
Rule five is the one students skip, and it's the one that catches mistakes for free. Take 4(2a + 3) − a + 5. Distributing gives 8a + 12 − a + 5, then combining gives 7a + 17. Substitute a = 1: the original equals 4(5) − 1 + 5 = 24, and the simplified version equals 7 + 17 = 24. Both match, so the simplification is verified.
On tests with time pressure, the substitution check takes about ten seconds and pays for itself. If the two evaluations differ, you have a distribution or sign error somewhere in the middle.
Worked Example With Negative Coefficients and Distribution
A full problem exposes every rule at once. Simplify 3(2x − 4) + 5x − (x − 7).
Distribute the 3: 6x − 12 + 5x − x + 7. Note the final group — subtracting (x − 7) flips to −x + 7. Now group: 6x + 5x − x, and separately −12 + 7. The variables combine to 10x. The constants combine to −5. The answer is 10x − 5.
Check with x = 3. Original: 3(6 − 4) + 15 − (3 − 7) = 6 + 15 + 4 = 25. Simplified: 30 − 5 = 25. Confirmed.
Now watch what happens when the distribution step is wrong. A student who writes 3(2x − 4) as 6x − 4 instead of 6x − 12 gets 10x + 3, and substituting x = 3 yields 33 against the original's 25. The failure is loud, which is exactly what you want — silent failures are the ones that cost marks.
Negative signs demand the most caution. The minus before a parenthesis applies to every term inside, not just the first one. Write the intermediate line explicitly with the flipped signs and you'll rarely lose them.
Same Variables, Different Exponents: A Comparison Table
Students often ask whether x and x² combine. They don't, and the comparison table below makes the boundary visible.
| Expression | Variable parts | Combine? | Result | Why |
|---|---|---|---|---|
| 4x + 9x | x, x | Yes | 13x | Identical exponents (both 1) |
| 4x + 9x² | x, x² | No | 4x + 9x² | Exponents 1 vs 2 differ |
| 6ab − 2ba | ab, ab | Yes | 4ab | Order doesn't matter; exponents match |
| 6ab − 2a²b | ab, a²b | No | 6ab − 2a²b | Exponent on a differs (1 vs 2) |
| 5 + (−3) | none, none | Yes | 2 | Constants are like terms |
| 2xy + 3xz | xy, xz | No | 2xy + 3xz | Second variable differs (y vs z) |
| ½m + 7m | m, m | Yes | 7.5m | Fractions are coefficients, not obstacles |
The row students get wrong most often is row four. The term a²b has a squared on the a and nothing on the b, while ab has nothing on either. They look adjacent in a textbook column but they're not combinable.
When Distribution Must Come Before Combining
You cannot combine terms across a parenthesis until the parenthesis is gone. The expression 2(x + 3) + 4x doesn't contain like terms in its printed form, because the x sits inside a grouping. Distribute first: 2x + 6 + 4x. Now combine to 6x + 6.
The same principle applies to problems that look finished. Expression 5(2y + 1) − 3(y − 4) requires two distributions, producing 10y + 5 − 3y + 12, which combines to 7y + 17. Skip the distribution and no combination is legal.
A rule of thumb: if any term still has a parenthesis attached, you're not ready to combine. Many middle-school math teachers enforce a "lines must be down" rule for exactly this reason — each distribution goes on its own line so the combining step has clear material to work with.
Fractions, Decimals, and the Order-of-Operations Trap
Fractional coefficients combine the same way integers do, but the arithmetic is where errors cluster. The terms (1/2)x + (1/3)x combine to (5/6)x, because the coefficients require a common denominator. The variable part never changes — you're adding halves and thirds, not x's and x's in some exotic way.
One failure case worth naming: students sometimes apply a common denominator to the variable part as well, writing (5/6)x² in that example. The exponent does not move. Only coefficients get the common-denominator treatment.
Decimals behave identically. 0.25n + 1.5n combines to 1.75n. If the decimal places differ, line up the decimal points mentally before adding — the same discipline you'd use in a checkbook register.
Order-of-operations errors also masquerade as combination errors. In 3 + 4 × 2x + 5x, multiplication binds before addition, so the expression is 3 + 8x + 5x = 3 + 13x. Students who add the constants first get a wrong answer that looks like a combining mistake but is really a precedence mistake.
Solving Equations by Combining First
Combining like terms usually precedes solving. In the equation 7x − 2x + 3 = 18, the left side simplifies to 5x + 3 first, then 5x = 15, then x = 3. If you attempt to divide before combining, you divide the uncombined coefficients and get an answer no substitution will verify.
The same discipline applies on both sides of the equals sign. Equation 4(x + 2) + 3x = 5x + 10 requires distribution on the left (4x + 8 + 3x), then combining (7x + 8), before any division. Tests at the Algebra I level — the New York Regents Algebra I exam is one standard example — routinely test whether students combine before dividing, and answer choices include the uncombined-division error to catch shortcuts.
Checking the solution by substitution works the same way it did in the simplification problems. Plug x = 3 into the original equation 7x − 2x + 3 = 18: 21 − 6 + 3 = 18. It checks. The check takes seconds and catches sign errors.
If your solution leaves you with a contradiction like 0 = 5, no value of x satisfies the original equation. If it leaves you with an identity like 0 = 0, every value does.
Polynomial and Multi-Variable Terms: Deeper Exponents
Polynomials in several variables push the like-term test to its limit. In 3x²y³ − 2x²y³ + 7xy², the first two terms are like terms (both carry x²y³) and combine to x²y³. The third term stays alone because its variable exponents differ.
Any term with the exact same exponent ledger is a like term. That's the entire rule, and it never bends. In a polynomial like 4abc − 2acb + 3bca, all three terms are like terms because a, b, and c each appear to the first power in every term, and the answer is 5abc.
Students often ask whether xy and yx differ; they don't, because multiplication commutes. But 2x and 2y do differ, and 2xy and 2x differ, and 2xy and 2xy² differ. The exponent ledger is the fingerprint, and only matching fingerprints combine.
Calculator and Keyboard Input: Where Entering Errors Hide
Online algebra platforms and graphing calculators accept like-term combinations, but they require you to type the expression correctly first. A misplaced parenthesis changes the problem before the calculator ever touches it. Typing 3(2x + 4 into a graphing calculator's entry line, for example, produces a syntax error or silently changes the grouping — and the resulting simplification is correct only for the problem you accidentally typed.
The convention on most platforms — Desmos, TI-84 family calculators with a computer algebra system such as the TI-Nspire CAS, and the standard online algebra calculators — is that an expression must be fully closed before evaluation. Before you press Enter or Equals, count open and closed parentheses. They should pair.
When a calculator returns a result that doesn't match yours, the typing is the first suspect and the arithmetic is the second. Re-run the substitution check by hand. On a platform like Desmos, typing the original expression into one cell and the simplified expression into another shows both graphs; if the graphs overlap exactly, the simplification is correct.
Common failure: entering x2 instead of x^2. The calculator reads the first as the variable x followed by the number 2, which changes the expression's meaning entirely. The error is silent, and the result looks plausible. Format exponents explicitly in every calculator entry.
Checking Your Answer Without the Answer Key
Verification is the most underused skill in early algebra, and it's free. Substitute a simple value into both the original expression and your simplified version. Agreement means the combination is correct for that value. Disagreement means something failed in the distribution, grouping, or arithmetic.
A single substitution doesn't prove a simplification is correct in general, but it catches the vast majority of errors students make — sign flips, exponent confusion, and denominator mistakes all change the value at a simple substitution like x = 2 or a = 1. Two substitutions from different points (say x = 2 and x = −1) catch nearly everything else.
For problems with two variables, pick values that make the arithmetic easy — a = 1, b = 2, for instance. Avoid 0 or 1 in problems with subtraction, because those values sometimes mask a sign flip that a larger value would expose. A value like x = 3 or x = 5 is usually the sweet spot.
FAQ
Do x and x² ever combine to make anything?
No — x and x² are not like terms and their sum stays as x + x². The exponents differ, and the like-term test requires exact equality of variable exponents. Parents sometimes see x + x² collected into x³ in a student's homework; that's the multiplication rule (x · x² = x³) misapplied to addition.
What happens if I combine terms that aren't actually alike?
The expression evaluates differently, and a substitution check will expose the error immediately. Combining 2xy + 3x into 5xy is wrong because the second term carries no y; the correct sum is 2xy + 3x. On a test, wrong combinations almost always produce an answer choice that's present but incorrect.
Can I subtract like terms, or is combining only addition?
Subtracting like terms is standard combining: 9x − 4x = 5x. The coefficient of the second term can be negative and the arithmetic remains ordinary. Watch the sign attached to the term after a minus sign in front of a parenthesis, because the subtraction flips the sign of the whole group.
How is combining like terms different from factoring?
Combining like terms turns a sum of like terms into a single term, so 3x + 5x becomes 8x. Factoring works in the opposite direction: 8x + 12 factors to 4(2x + 3). Both are simplification tools, but they operate in opposite directions and students sometimes apply the wrong one.
Is there a calculator that combines like terms for me?
Computer algebra systems do — the TI-Nspire CAS, Wolfram Alpha, and most online algebra calculators — but they require correct input. A misplaced parenthesis or an exponent typed as "x2" instead of "x^2" produces a wrong result that looks plausible. Use the calculator to verify work, not to replace the step-by-step process.
How long does it usually take to get good at this?
Most students become reliable at combining like terms after roughly 20 to 30 practice problems across the different cases — negatives, distribution, and differing exponents. The skill is narrow but its errors are loud, so a small amount of focused practice goes a long way. Students who skip the substitution check take noticeably longer to reach fluency.
What's the most common mistake on tests?
Misreading a negative sign, especially when a minus sign precedes a parenthesis or when a negative coefficient precedes a variable. The second most common is combining x and x². Both errors are caught by a single substitution check, which is why teachers insist on it.
Can I combine like terms in an inequality?
Yes — combining like terms on either side of an inequality works exactly as it does in an equation. What changes is the final step: dividing or multiplying both sides by a negative number flips the inequality sign. Combining itself never flips anything.