Collecting Like Terms
Master collecting like terms in algebra: spot matching terms, add and subtract their coefficients, handle negatives and several letters, with full step-by-step worked examples.
Key takeaways
- Like terms have exactly the same letter part (the same variables to the same powers)
- To collect like terms, add or subtract only their number parts (coefficients)
- The sign in front of a term belongs to that term โ keep it attached
- Unlike terms, such as 3x and 3y, cannot be combined
What "collecting like terms" means
In algebra a term is a single chunk of an expression, such as 4a, โ3x, or 7. An expression like 4a + 3a โ 2 is built from several terms joined by + and โ signs.
Collecting like terms (also called combining like terms) means tidying an expression by joining together the terms that are "the same kind". It makes long expressions shorter and easier to work with, without changing their value.
If letters in maths are still new to you, read algebra basics first, then come back here.
What makes terms "like"?
Every term has two parts:
- the coefficient โ the number part (in
4athe coefficient is 4), - the letter part โ the variables and their powers (in
4athe letter part isa).
Like terms have exactly the same letter part. The coefficients can be different.
| Like terms (can combine) | Unlike terms (cannot combine) |
|---|---|
| 3x and 8x | 3x and 8y |
| 5ab and 2ab | 5ab and 2a |
| 4yยฒ and yยฒ | 4yยฒ and 4y |
The reason: 3x means "3 lots of x" and 8x means "8 lots of x", so together they make 11x. But 3x and 8y count different unknowns, so they stay separate โ just like 3 apples and 8 bananas don't merge into one number of fruit of a single type.
The golden rule
To collect like terms, add or subtract the coefficients and keep the letter part exactly the same.
You never change the letters; you only do arithmetic on the numbers in front of them.
Worked example 1: one letter
Simplify 5x + 2x.
5x + 2x
= (5 + 2)x (both are "lots of x", so add the coefficients)
= 7x
Why it works: five x's and two more x's give seven x's. The x is just a label that comes along for the ride.
Worked example 2: subtraction
Simplify 9m โ 4m.
9m โ 4m
= (9 โ 4)m
= 5m
Worked example 3: keeping the signs
Each + or โ belongs to the term after it. Treat โ as a negative coefficient.
Simplify 7y โ 10y.
7y โ 10y
= (7 โ 10)y
= โ3y
A negative answer is perfectly fine. โ3y simply means "3 lots of x in the negative direction".
Worked example 4: numbers and letters mixed
When an expression has both letter terms and plain numbers, collect each kind separately.
Simplify 6a + 5 โ 2a + 3.
Step 1 โ underline or label the like terms:
6a +5 โ2a +3
โ a-terms: 6a and โ2a
โ number terms: +5 and +3
Step 2 โ collect the a-terms: 6a โ 2a = 4a. Step 3 โ collect the numbers: 5 + 3 = 8. Step 4 โ write the simplified expression:
6a + 5 โ 2a + 3 = 4a + 8
By convention we write the letter term first, then the number.
Worked example 5: more than one letter
Simplify 3x + 4y + 2x โ y.
Group the x-terms and the y-terms:
x-terms: 3x + 2x = 5x
y-terms: 4y โ y = 3y (remember โy means โ1y)
So 3x + 4y + 2x โ y = 5x + 3y. The two groups stay separate because x and y are unlike.
Worked example 6: terms with two letters
Simplify 5ab + 2a + 3ab.
5ab and 3ab are like terms (same letter part ab). 2a is different.
5ab + 3ab = 8ab
2a stays as it is
Answer: 8ab + 2a.
A reliable method
- Look at each term and write down its letter part.
- Group terms that share the same letter part (watch the sign in front).
- Add or subtract the coefficients in each group.
- Write the answer, usually letters first (alphabetical), numbers last.
Activity: try these, then check
Simplify each expression.
- 7c + 2c
- 10k โ 6k
- 4x โ 9x
- 8 + 3n โ 5 + n
- 6p + 2q โ p + 4q
- 5xy + 3x + 2xy
Answers:
9c(7 + 2 = 9)4k(10 โ 6 = 4)โ5x(4 โ 9 = โ5)4n + 3(3n + n = 4n; 8 โ 5 = 3)5p + 6q(6p โ p = 5p; 2q + 4q = 6q)7xy + 3x(5xy + 2xy = 7xy; 3x is unlike)
Where this leads
Collecting like terms is the first move in almost every algebra task. You will use it when simplifying expressions, when solving linear equations, and whenever you expand brackets and tidy the result.
Quick quiz
Test yourself and earn XP
Simplify: 4a + 3a
4a and 3a are like terms, so add the coefficients: 4 + 3 = 7, giving 7a. The letter stays the same.
Simplify: 8x โ 5x + 2x
All three are like terms in x: 8 โ 5 + 2 = 5, so the answer is 5x.
Which of these is a pair of like terms?
3ab and 7ab have the same letter part (ab), so they are like terms. 5x and 5y use different letters; 2x and 2xยฒ use different powers.
Simplify: 6y + 4 โ 2y + 3
Collect the y terms: 6y โ 2y = 4y. Collect the numbers: 4 + 3 = 7. Answer: 4y + 7.
Simplify: 7p โ 9p
7 โ 9 = โ2, so 7p โ 9p = โ2p. The answer is allowed to be negative.
FAQ
Like terms are terms with exactly the same combination of letters raised to the same powers, such as 3x and 5x, or 2ab and 7ab. Only their number parts differ.
They count different things. 3 apples plus 4 bananas is not 7 of anything single. 3x + 4y stays as 3x + 4y because x and y are different unknowns.
No. ab and ba mean the same product, so 2ab and 5ba are like terms and combine to 7ab.
Keep exploring
More in Math