On this page
Before you start
This page is easier if you are comfortable with:
what a term is adding and subtracting negatives the difference between x and x²
What Collecting like terms means
Like terms have exactly the same letters, such as 3 x and 5 x , or 2 ab and 7 ab . Terms with different letters, such as 3 x and 3 y , cannot be combined.
Add the coefficients (the numbers in front) and keep the letter: 3 x + 5 x = 8 x .
Keep each term’s sign with it: in 4 a − a , the second term is − a . Collecting terms often follows expanding a single bracket , is undone by factorising a common factor , and is the first step in solving ax + b = cx + d and in cancelling a common factor .
This page is part of Expressions, brackets and factorising in Algebra . Topics that work alongside it: Expanding a single bracket , Factorising: common factor , Solving ax + b = cx + d , Product of two linear factors , Expanding double brackets , Perfect square (difference) and Expanding (a + b)³ .
What is it used for? Like terms have the same letters raised to the same powers. Adding them together makes an expression shorter and easier to work with.
Simplifying expressions before solving an equation. Writing a perimeter as a single expression, such as 3x + 2x + 5. Checking that two expressions that look different are really equal.
How to use collecting like terms
Circle or group the like terms, with their signs. Add or subtract the coefficients. Write the answer with the letters. Check by substituting a number.
Graph 3x + 5x − 2x = 6x for x = 0 to 5 x = 3: 18 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 5 10 15 20 25 30 3x + 5x − 2x = 6x for x = 0 to 5 x value 6x Graph with x from 0 to 5 and y from 0 to 32. Shows the curve 6x; point x = 3: 18 at (3, 18). Collecting like terms adds the coefficients: 3 + 5 − 2 = 6.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: one letter Simplify 3 x + 5 x − 2 x .
Try this in the solver: simplify 3x+5x-2x
Simplify
The expression
6 x
Result
The expression is already in its simplest form.
Example 2: two letters Simplify 4 a + 3 b − a + 2 b .
Try this in the solver: simplify 4a+3b-a+2b
Simplify
The expression
3 a + 5 b
Result
The expression is already in its simplest form.
Example 3: two different letters Simplify 7y + 2z − 3y + 5z.
Try this in the solver: simplify 7y+2z-3y+5z
Simplify
The expression
4 y + 7 z
Result
The expression is already in its simplest form.
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
One letter 3x + 5x − 2x = 6x
Add the coefficients: 3 + 5 − 2.
Two letters 4a + 3b − a + 2b = 3a + 5b
Collect a terms and b terms separately.
Numbers and letters 5x + 3 − 2x + 4 = 3x + 7
Numbers collect with numbers.
Unlike terms x² and x do not combine
Different powers are different terms.
Word problems
Collect like terms by adding or subtracting their coefficients. Terms are alike only if the letter part is the same.
One letter Simplify 3x + 5x − 2x.
Add the coefficients 3 + 5 − 2 = 6 Write 6x Check: put x = 2: 6 + 10 − 4 = 12 and 6 × 2 = 12 ✓ 6x.
Two letters Simplify 4a + 3b − a + 2b.
a terms 4a − a = 3a b terms 3b + 2b = 5b Write 3a + 5b Check: a = 2, b = 1: 8 + 3 − 2 + 2 = 11 and 6 + 5 = 11 ✓ 3a + 5b.
With numbers Higher Simplify 5x + 3 − 2x + 4.
x terms 5x − 2x = 3x Numbers 3 + 4 = 7 Write 3x + 7 Check: x = 2: 10 + 3 − 4 + 4 = 13 and 6 + 7 = 13 ✓ 3x + 7.
A perimeter Higher A triangle has sides 2x + 1, x + 4 and 3x − 2. Find its perimeter.
Add the x terms 2x + x + 3x = 6x Add the numbers 1 + 4 − 2 = 3 Write 6x + 3 Check: x = 1: 3 + 5 + 1 = 9 and 6 + 3 = 9 ✓ 6x + 3.
Common mistakes
Combining unlike terms 3x + 2 = 5x ✗
3x + 2 cannot be simplified ✓
x and numbers are different.
Dropping a sign 4a + 3b − a = 4a + 3b + a ✗
4a + 3b − a = 3a + 3b ✓
The minus belongs to the term.
Adding the powers x + x = x² ✗
x + x = 2x ✓
Adding does not change the power.
Forgetting the invisible 1 a − a... treating a as 0 ✗
a means 1a ✓
Count the coefficient 1.
Exam tips
Like terms have the same letters.
Keep the sign with each term.
x means 1x.
Test with a number.
Write in a tidy order.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Simplify 2x + 5x. What is the coefficient of x? Foundation 7
2. Simplify 9a − 4a. What is the coefficient of a? Foundation 5
3. Simplify 3x + 2y + 4x. What is the coefficient of x? Foundation 7
4. Simplify 5x + 3 − 2x + 4. What is the constant term? Higher 7
5. Simplify 6a + 2b − 3a − b. What is the coefficient of b? Higher 1
6. Simplify 4x − 7 − 6x + 2. What is the coefficient of x? Higher −2
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Term A number, letter or product in an expression. Like terms Terms with the same letters and powers. Coefficient The number multiplying the letter. Expression Terms joined by + and −. Simplify Write in the shortest form. Constant A term without a letter.
Frequently asked questions
What are like terms? Terms with the same letter part.
How do I collect like terms? Add or subtract their coefficients.
Can I add x and x²? No, they are unlike.
What is the coefficient of x? It is 1.
Which page covers brackets? expanding a single bracket.
Which page covers factorising? factorising a common factor.