Combining Like Terms Step by Step
How to spot like terms, add their coefficients correctly and check the result, with worked examples of rising difficulty.
Key takeaways
- Like terms share identical variable parts, including every exponent; their coefficients may differ.
- Combining works because of the distributive property, which lets you factor out the shared variable part.
- Each term keeps the sign written in front of it when you move or group it.
- Adding like terms never changes the exponents.
- Testing a number in both the original and simplified forms catches most mistakes.
To combine like terms, find the terms that have exactly the same variables raised to exactly the same powers, then add or subtract their coefficients while leaving the variable part unchanged. So 7x + 2x - 4x becomes 5x.
Terms that differ in their variable part, such as 3x and 3x², or 2a and 2b, cannot be merged. They simply stay side by side in the simplified expression.
What makes terms alike
A term is a piece of an expression separated by addition or subtraction. Its coefficient is the numerical factor, and the rest is its variable part. For a refresher on the vocabulary, see terms, factors and coefficients.
| Pair | Like? | Reason |
|---|---|---|
| 5y and -8y | Yes | same variable part y |
| 4ab and 9ba | Yes | order of multiplication does not matter |
| 2x² and 7x | No | exponents differ |
| 3m²n and 3mn² | No | different letters carry the square |
| 6 and -11 | Yes | both are constants |
| √x and 2√x | Yes | same variable part √x, with x ≥ 0 |
The test is strict. Match every letter and every exponent, and ignore the coefficients while matching.
Why the method works
Consider 7x + 2x. By the distributive property, a shared factor can be pulled out.
7x + 2x
= (7 + 2)x (distributive property, in reverse)
= 9x Seven of something plus two of the same something makes nine of it. The property behind this is the workhorse of algebra.
Now try 7x + 2y. There is no shared factor involving the letters, so nothing can be pulled out in a way that leaves a single term. If x = 1 and y = 10, the value is 27. Neither 9x, which is 9, nor 9xy, which is 90, matches.
The same reasoning shows why exponents do not change. x² + x² = (1 + 1)x² = 2x². It is not x⁴. With x = 3, the left side is 9 + 9 = 18, while x⁴ would be 81.
The step-by-step method
- Mark each term together with its sign. Treat subtraction as adding a negative term.
- Sort into families of like terms. Underlining, circling or colors all work.
- Add the coefficients within each family.
- Write the results, usually from highest degree to lowest, with the constant last.
- Check with a test value.
Apply it to 4x - 7 + 3x² + 2x + 10 - x².
Terms: +4x, -7, +3x², +2x, +10, -x²
x² group: 3x² - x² = 2x²
x group: 4x + 2x = 6x
numbers: -7 + 10 = 3
Result: 2x² + 6x + 3 Check with x = 2. The original gives 8 - 7 + 12 + 4 + 10 - 4 = 23. The result gives 8 + 12 + 3 = 23.
Hidden coefficients and negative ones
A variable standing alone has a coefficient of 1. A variable with only a minus sign has a coefficient of -1.
So 8k - k = 7k, not 8. And -m + 5m = 4m.
Subtraction signs deserve extra care. In 3p - 9p, the coefficients are 3 and -9, giving -6p. In -2p - 5p, they are -2 and -5, giving -7p.
When two terms are exact opposites, they add to zero: 4q - 4q = 0. You then drop that family from the answer. In 4q + 3 - 4q, the result is simply 3, and the expression has the same value no matter what q is.
Several variables
With more letters, match carefully.
Simplify 5a²b - 3ab² + 2ab - a²b + 4ab² - 7ab.
a²b group: 5a²b - a²b = 4a²b
ab² group: -3ab² + 4ab² = ab²
ab group: 2ab - 7ab = -5ab
Result: 4a²b + ab² - 5ab Check with a = 2 and b = 3. The original terms are 60, -54, 12, -12, 72 and -42, which total 36. The result gives 48 + 18 - 30 = 36.
Writing letters in alphabetical order within each term, so that ba becomes ab, makes families easier to see.
Powers, roots and other variable parts
The variable part of a term can be more elaborate than a letter, and the rule stays the same: the parts must match exactly.
Square roots behave this way. In 5√3 + 2√3, the shared part is √3, so the sum is 7√3. Terms with √3 and √5 are unlike and cannot be merged. Sometimes a root must be simplified before the match appears. Since √12 = 2√3, the expression √12 + √3 becomes 2√3 + √3 = 3√3.
A whole expression in parentheses can also act as the common part. In 4(x + 1) - (x + 1), both terms contain the factor x + 1, with coefficients 4 and -1. Combining gives 3(x + 1), which equals 3x + 3. Expanding first gives 4x + 4 - x - 1 = 3x + 3, the same result.
Negative exponents follow suit. The terms 6x⁻² and -2x⁻², with x ≠ 0, combine to 4x⁻². But x⁻² and x² are different variable parts and stay separate.
The constant π is a number, so 3π + 5π = 8π. In 2πr + πr, the shared part is πr, and the sum is 3πr.
A longer example with every feature
Simplify 2(3a² - a + 4) - (a² - 5a) + 3(2 - a).
Clear the parentheses first, one group at a time.
2(3a² - a + 4) = 6a² - 2a + 8 (multiply each term by 2)
-(a² - 5a) = -a² + 5a (multiply each term by -1)
3(2 - a) = 6 - 3a (multiply each term by 3) Now gather the families.
a² terms: 6a² - a² = 5a²
a terms: -2a + 5a - 3a = 0
numbers: 8 + 6 = 14
Result: 5a² + 14 The a terms cancel completely. Verify with a = 2. The original is 2(12 - 2 + 4) - (4 - 10) + 3(0) = 28 + 6 + 0 = 34. The simplified form is 5(4) + 14 = 34.
Where combining shows up in problems
Combining like terms often turns a described situation into a short rule. Say a rectangle has length 2w + 3 and width w. Its perimeter is the sum of all four sides.
P = (2w + 3) + w + (2w + 3) + w
P = 6w + 6 (w terms: 2 + 1 + 2 + 1 = 6) If the perimeter is 48 centimeters, then 6w + 6 = 48 gives w = 7. The sides are 17 and 7, and 17 + 7 + 17 + 7 = 48.
Units follow the same logic as letters. You can add 3 meters and 4 meters to get 7 meters, but 3 meters and 4 seconds do not combine. Square meters and meters do not combine either, much as x² and x do not.
Consecutive integers give another example. If the first is n, then the next two are n + 1 and n + 2, and their sum is 3n + 3. Three consecutive integers that total 72 satisfy 3n + 3 = 72, so n = 23. The numbers are 23, 24 and 25.
Fractions and decimals as coefficients
Coefficients need not be whole numbers. The rule is unchanged; only the arithmetic is.
For (1/2)n + (2/3)n, use a common denominator: 3/6 + 4/6 = 7/6, so the sum is (7/6)n.
For 0.4t - 1.25t, compute 0.4 - 1.25 = -0.85, giving -0.85t.
Terms written as n/2 and n/5 are like terms too, because they mean (1/2)n and (1/5)n. Their sum is (7/10)n. More cases appear in simplifying expressions that mix fractions and variables.
When parentheses come first
If like terms are locked inside parentheses, clear the parentheses before combining.
Simplify 3(2x + 5) - 2(x - 4).
3(2x + 5) - 2(x - 4)
= 6x + 15 - 2x + 8 (distribute 3 and -2)
= 4x + 23 (combine like terms) Test x = 1: the original is 3(7) - 2(-3) = 21 + 6 = 27, and 4 + 23 = 27. The last term in the second line is the usual trouble spot, since -2 times -4 is +8. See removing parentheses after a minus sign.
Common mistakes
- Adding unlike terms: writing 3 + 4x as 7x. At x = 2, the first is 11 and the second is 14.
- Adding exponents: writing 2y + 3y as 5y². The correct sum is 5y.
- Losing a sign: copying 6 - 2r + r as 6 - 3r. The correct result is 6 - r.
- Merging across a product: treating 2(x)(x) as 2x. It is 2x².
- Crossing an equals sign without care: within one side you only regroup. Moving a term to the other side of an equation requires doing an operation to both sides.
How to check a simplification
Substituting a number is the fastest check, and a few choices make it more reliable.
Avoid 0 and 1 as your only tests. At x = 0 every term containing x vanishes, so a wrong x coefficient goes unnoticed. At x = 1 the powers x, x² and x³ all equal 1, so mixing them up is invisible. A value such as 2, 3 or -2 exposes far more.
With several variables, give them different values. If a = b, an incorrect merge of a²b with ab² would still appear to work.
Compute the original exactly as it was written, not your half-simplified second line, or a copying error made in that line will hide.
A second check needs no numbers: count the families. If the original contains x² terms, x terms and constants, the result should have at most one of each. Two x terms left in the answer mean the job is unfinished, and a new kind of term, such as x³ appearing from nowhere, means something was multiplied that should have been added.
Practice with answers
- 9w + 4 - 3w - 11
- x² - 5x + 2x² + 5x
- 4cd - d + 6dc + 3d
- 2(y - 3) + 5y
- (3/4)z - z + 2
Answers: 6w - 7; 3x²; 10cd + 2d; 7y - 6; and -(1/4)z + 2.
In the second problem the x terms cancel completely. In the third, 6dc is the same as 6cd.
Combining like terms is rarely the final goal. It is the tidying step that makes the next one, whether solving an equation, graphing or factoring, much easier to see.