Home›GCSE & FSMQ›Maths›Algebra›Collecting like terms
Collecting like terms
Simplifying expressions. Topic 2 of 27 in Algebra.
Foundation & Higher This topic appears on both Foundation and Higher papers.
Collecting like terms is the first way to simplify an expression. You add and subtract the terms that are the same kind, so a long expression becomes a short one. This lesson covers:
- what makes two terms like terms, and when they are not
- the method: spot, group, combine
- expressions with two or more kinds of term, and numbers on their own
- powers, and terms with more than one letter, like x2y
- fractions and decimals in front of the letters
- the other ways an exam asks for it: perimeters, missing terms, “show that” and algebra pyramids
Before you start, make sure you know what a term, a coefficient and a constant are (that is lesson 1, Notation and substitution), and how to add and subtract negative numbers.
1. What are like terms?
- 3x, 8x, −x and 12x are all x terms, so they are like terms.
- Numbers on their own, like 6 and −2, are like terms with each other. They are the constants.
- The order of the letters does not matter: ab and ba both mean a × b. We write it as ab.
| The two terms | Like terms? | Why |
|---|---|---|
| 3x and 8x | Yes | The same letter, x. |
| 5y and y | Yes | y means 1y. The 1 is not written. |
| 4a and 4b | No | Different letters. Having the same number in front does not matter. |
| x and x2 | No | x2 means x × x. The powers are different. |
| 2ab and 7ba | Yes | ba is the same as ab. |
| 3x2y and 5xy2 | No | x2y is x × x × y, but xy2 is x × y × y. |
| 6 and −2 | Yes | Both are numbers on their own. |
| 4x and 4 | No | One has a letter and the other does not. |
Example 1: sort the terms into groups
Here are some terms: 5p, 3q, p2, −2p, 7, pq, 4qp, q, −1. Put the like terms together.
| Group | Terms | Why |
|---|---|---|
| p terms | 5p, −2p | The sign stays with its term. |
| q terms | 3q, q | q means 1q. |
| p2 terms | p2 | It has no partner: p2 is not a p term. |
| pq terms | pq, 4qp | qp is the same as pq. |
| numbers | 7, −1 | The constants. |
Like or not? Decide, then see why
Are these two terms like terms?
2. The method: spot, group, combine
Why it works: 3x means three lots of x, and 2x means two lots of x. Together that is five lots of x. Each tile below is one x.
So 3x + 2x = 5x. The x does not change, because the things being counted have not changed.
Method
- Spot the like termsEach term takes the sign in front of it. In 5x − 3x, the second term is −3x.
- Group them togetherMove each term with its sign. You can add terms in any order.
- Combine each groupAdd or subtract the numbers in front. Keep the letters and powers exactly as they are.
Example 2: adding
Simplify 3x + 2x + 4x.
- Spot the like terms3x + 2x + 4xThey are all the same kind of term.
- Combine each group: add or subtract the numbers in front3x + 2x + 4x = 9x
3 + 2 + 4 = 9, so there are 9 lots of x.
Example 3: adding and subtracting
Simplify 6a − 3a + 4a.
- Spot the like terms6a − 3a + 4aThey are all the same kind of term.
- Combine each group: add or subtract the numbers in front6a − 3a + 4a = 7a
Work from left to right: 6 − 3 = 3, then 3 + 4 = 7.
Example 4: a term with no number in front
Simplify 5m + m − 2m.
- Spot the like terms5m + m − 2mThey are all m terms. m on its own means 1m.
- Combine each group: add or subtract the numbers in front5m + m − 2m = 4m
m means 1m, so the numbers are 5 + 1 − 2 = 4.
Example 5: when the answer is negative, or zero
Simplify (a) 4p − 7p (b) 3y − 5y + 2y.
| Question | Numbers in front | Answer |
|---|---|---|
| (a) 4p − 7p | 4 − 7 = −3 | −3p |
| (b) 3y − 5y + 2y | 3 − 5 + 2 = 0 | 0 |
−3p is a complete answer: keep the minus sign in front. When the terms cancel out, write 0, not 0y.
Algebra tiles: build an expression, then collect it
Add tiles, or press New expression. Then press Collect.
- A red tile is a negative one. Put a + x and a − x together and collect: they make zero.
- Add x tiles and x2 tiles. Do they ever join up when you collect? Look at their shapes.
- Build 3x + 2 − x − 5, collect it, and check the answer is 2x − 3.
3. Two or more kinds of term
Example 6: two letters
Simplify 7a + 4b + 2a + 3b.
- Spot the like terms7a + 4b + 2a + 3bThe like terms share a colour.
- Group them, each with the sign in front of it7a + 2a + 4b + 3b
- Combine each group: add or subtract the numbers in front7a + 2a = 9a4b + 3b = 7b
Example 7: two letters, with subtraction
Simplify 5x + 4y − 3x + 5y.
- Spot the like terms5x + 4y − 3x + 5yThe like terms share a colour.
- Group them, each with the sign in front of it5x − 3x + 4y + 5y
- Combine each group: add or subtract the numbers in front5x − 3x = 2x4y + 5y = 9y
Example 8: numbers on their own as well
Simplify 2c − 5d + 4 + 3c + 7d + 2.
- Spot the like terms2c − 5d + 4 + 3c + 7d + 2The like terms share a colour.
- Group them, each with the sign in front of it2c + 3c − 5d + 7d + 4 + 2
- Combine each group: add or subtract the numbers in front2c + 3c = 5c−5d + 7d = 2d4 + 2 = 6
The numbers on their own are a group too. They usually go last.
Example 9: starting with a negative term
Simplify −6x + 5y + 4 + 2x − 3y − 7.
- Spot the like terms−6x + 5y + 4 + 2x − 3y − 7The like terms share a colour.
- Group them, each with the sign in front of it−6x + 2x + 5y − 3y + 4 − 7The first term is −6x: the minus sign belongs to it.
- Combine each group: add or subtract the numbers in front−6x + 2x = −4x5y − 3y = 2y4 − 7 = −3
Example 10: a group that cancels out
Simplify 3a − 2b + 5 − 3a + b.
- Spot the like terms3a − 2b + 5 − 3a + bThe like terms share a colour.
- Group them, each with the sign in front of it3a − 3a − 2b + b + 5
- Combine each group: add or subtract the numbers in front3a − 3a = 0−2b + b = −b5 has nothing to collect with
The a terms make 0, so they disappear. −b + 5 can also be written 5 − b. Both are right.
The collector: tap a group of like terms, then collect it
- Tap every term in one group, with its sign, then press Collect these. Do one group at a time.
- Two collected right first time moves you up a level. Level 1 is one letter; level 2 two letters; level 3 adds numbers on their own; level 4 powers; level 5 terms like xy and x2y, and decimals.
4. Powers, and terms with more than one letter
Example 11: squares and plain x terms
Simplify 8x2 + 5x − 4x2 + 7x.
- Spot the like terms8x2 + 5x − 4x2 + 7xx2 terms and x terms are different groups.
- Group them, each with the sign in front of it8x2 − 4x2 + 5x + 7x
- Combine each group: add or subtract the numbers in front8x2 − 4x2 = 4x25x + 7x = 12x
Example 12: x2y terms and x2 terms
Simplify 6x2y − 2x2 + 4x2y − 5x2.
- Spot the like terms6x2y − 2x2 + 4x2y − 5x2The like terms share a colour.
- Group them, each with the sign in front of it6x2y + 4x2y − 2x2 − 5x2
- Combine each group: add or subtract the numbers in front6x2y + 4x2y = 10x2y−2x2 − 5x2 = −7x2
x2y has a y in it and x2 does not, so they are different groups.
Example 13: the letters in a different order
Simplify 3ab + 5ba − 2ab.
- Spot the like terms3ab + 5ba − 2abab and ba are like terms.
- Combine each group: add or subtract the numbers in front3ab + 5ba − 2ab = 6ab
ba means b × a, which is the same as a × b. Write the answer with the letters in alphabetical order.
Example 14: harder: x2y and xy2
Simplify 4xy2 + 2x2y − xy2 + 3x2y.
- Spot the like terms4xy2 + 2x2y − xy2 + 3x2yThe like terms share a colour.
- Group them, each with the sign in front of it4xy2 − xy2 + 2x2y + 3x2y
- Combine each group: add or subtract the numbers in front4xy2 − xy2 = 3xy22x2y + 3x2y = 5x2y
In xy2 the y is squared. In x2y the x is squared. They are not like terms.
Example 15: a power that cancels out
Simplify 5y2 − 3y + 2 − 5y2 + 8y.
- Spot the like terms5y2 − 3y + 2 − 5y2 + 8yThe like terms share a colour.
- Group them, each with the sign in front of it5y2 − 5y2 − 3y + 8y + 2
- Combine each group: add or subtract the numbers in front5y2 − 5y2 = 0−3y + 8y = 5y2 has nothing to collect with
This lesson is about adding and subtracting terms. Multiplying terms, such as 3a × 4b or x2 × x3, follows different rules and is not covered here.
Who is right? Check their working
5. Fractions and decimals in front
Example 16: decimals
Simplify 2.5a + 1.3a − 0.8a.
- Spot the like terms2.5a + 1.3a − 0.8aThey are all the same kind of term.
- Combine each group: add or subtract the numbers in front2.5a + 1.3a − 0.8a = 3a
Example 17: decimals and numbers on their own
Simplify 1.2x + 3 − 0.5x − 4.5.
- Spot the like terms1.2x + 3 − 0.5x − 4.5The like terms share a colour.
- Group them, each with the sign in front of it1.2x − 0.5x + 3 − 4.5
- Combine each group: add or subtract the numbers in front1.2x − 0.5x = 0.7x3 − 4.5 = −1.5
Example 18: fractions
Simplify 12x + 14x.
- Spot the like terms12x + 14xThey are all the same kind of term.
- Combine each group: add or subtract the numbers in front12x + 14x = 34x
12 = 24, so 24 + 14 = 34.
Example 19: a letter over a number
Simplify x3 + x3 + y − y4.
- Spot the like termsx3 + x3 + y − y4The like terms share a colour.
- Combine each group: add or subtract the numbers in frontx3 + x3 = 2x3y − y4 = 3y4
x3 is the same as 13x, so the numbers are 13 + 13 = 23. y is 1y, and 1 − 14 = 34. You can also write the answer as 23x + 34y.
6. The other ways an exam asks for it
Example 20: the perimeter of a rectangle
A rectangle is 3x + 2 cm long and x − 1 cm wide. Write an expression for its perimeter. Give your answer in its simplest form.
- A rectangle has two lengths and two widths. Add all four sides3x + 2 + x − 1 + 3x + 2 + x − 1
- Collect like terms3x + x + 3x + x = 8x2 − 1 + 2 − 1 = 2
Example 21: sides that are not labelled
This pentagon is symmetrical. Write an expression for its perimeter, in its simplest form. The lengths are in centimetres.
- Use the symmetry: the two walls match, and so do the two sloping edgesFive sides: the base, two walls of y + 1, and two edges of 2y + 3.
- Add all five sides4y + y + 1 + y + 1 + 2y + 3 + 2y + 3
- Collect like terms4y + y + y + 2y + 2y = 10y1 + 1 + 3 + 3 = 8
Example 22: find the missing term
Fill in the box to make each one true.
| Question | Think | Answer |
|---|---|---|
| 4a + □ = 9a | 4 and what make 9? 5 | 5a |
| 7y − □ = 2y | 7 take away what leaves 2? 5 | 5y |
| 6a + □ − 2b = 4a − 2b | The b terms already match. 6 and what make 4? −2 | −2a |
Work one group at a time. The missing term can be negative.
Example 23: show that
Show that 7n + 3 − 2n − 8 + n ≡ 6n − 5.
- Work on the left-hand side only7n + 3 − 2n − 8 + n
- Collect like terms, and write every step7n − 2n + n = 6n3 − 8 = −5
- Finish by saying it matches7n + 3 − 2n − 8 + n = 6n − 5, which is the right-hand side.
The sign ≡ means the two sides are equal for every value of n. That makes it an identity (lesson 1). In a “show that” question the answer is given, so the marks are for the working.
Example 24: an algebra pyramid
Each brick is the sum of the two bricks underneath it. Fill in the pyramid.
- Middle left: 2x + x + 3 = 3x + 3
- Middle right: x + 3 + 4x − 1 = 5x + 2
- Top: 3x + 3 + 5x + 2 = 8x + 5
If a brick lower down is missing, work out what must be added, one group at a time. For example, if the top is 8x + 5 and one middle brick is 3x + 3, the other is 5x + 2: 3x and 5x make 8x, and 3 and 2 make 5.
Example 25: check your answer with a number
Mo simplifies 5x + 3 − 2x + 1 and gets 3x + 4. Check it with x = 2.
- The question: 5 × 2 + 3 − 2 × 2 + 1 = 10 + 3 − 4 + 1 = 10
- Mo’s answer: 3 × 2 + 4 = 6 + 4 = 10
The two match. If they had come out different, the answer would be wrong.
A matching check is good evidence, not a proof. Use a value like 2 or 3, not 0 or 1, because 0 and 1 can hide mistakes.
Perimeter checker: add the sides, then check the simplified answer
Algebra pyramids: tap a blank brick, then choose what goes in it
7. Simplify it: type your answer
Work it out on paper, then type your answer. If it is not right, you are told which group to look at again.
- Type letters and numbers on the keypad or your keyboard. For a square, type the letter and then the □2 key (or ^2 on a keyboard).
- Two right first time moves you up a level. The levels match the collector above.
8. Practice: pick your level
A mix of everything on this page. Write your working on paper, then pick an answer. Move up a level when you are getting most of them right.
The mistakes that cost marks
- Adding unlike terms. 3a + 2b written as 5ab. different letters stay separate: 3a + 2b is already simplified.
- Changing the power when adding. 3x + 2x written as 5x2. add the numbers and keep the letters: 5x.
- Joining x2 terms and x terms. 4x2 + 3x written as 7x2 or 7x3. different powers are different groups, so leave it as 4x2 + 3x.
- Joining a number to a letter term. 4x + 3 written as 7x. a number on its own is a different group: 4x + 3.
- Leaving a sign behind. 5x + 2y − 3x, collected as 5x + 3x = 8x. the minus sign moves with its term: 5x − 3x = 2x.
- Forgetting the hidden 1. 6y − y written as 6 or as 6y. y means 1y, so 6y − y = 5y.
- Writing 1x or 0x. write x, not 1x. If a group adds up to 0, leave it out.
- Treating ab and ba as different. they are like terms. Write both as ab and collect them.
- Rounding a fraction. x3 + x3 written as 0.67x. keep it exact: 2x3.
- Missing sides in a perimeter. Adding only the two labelled sides of a rectangle. count the sides first. Equal sides and symmetry tell you the lengths that are not labelled.
Quick checklist
Tick each one when you can do it without looking back.
All ticked. Well done: you have finished Collecting like terms.
Download
Print these and work through them away from the screen.
Stuck on this topic?
These notes are free and always will be. If your child needs someone working through it with them, I run small GCSE maths groups of no more than 5, arranged by ability. Founding member price £35 a lesson, held for the first year, and the first lesson is a free trial.
Book a free trial →