Collecting like terms
Year 7 · Algebra for Beginners: Expressions and Equations (Year 7)
Like terms have exactly the same variable (and the same power). Collecting like terms means grouping them and adding or subtracting their coefficients to make the expression shorter.
How it works
- Name the parts: A term is one part of the expression. A coefficient is the number multiplying a variable. A constant has no variable.
- Find the like terms: Like terms have exactly the same variable and the same power. 5x and 2x are like terms. 5x and 3y are not.
- Colour each group: Use one colour for all the x terms, another for the y terms, another for the constants.
- Keep the sign with its term: The + or − in front of a term belongs to that term. In 5x − 3x the second term is −3x. A term with no number, like y, has coefficient 1.
- Add or subtract the coefficients: Work on the numbers only. 5x + 2x = 7x, because 5 + 2 = 7. The variable stays the same.
- Write the shorter expression: Write each group once: 7x + 2y + 7. Different variables stay separate.
- Check by substituting: Let x = 2 and y = 1. Start: 5(2) + 3(1) + 2(2) − 1 + 7 = 23. Finish: 7(2) + 2(1) + 7 = 23. The values match.
Worked examples
Example 1
4a + 7 + 2a − 3
a terms: 4a + 2a = 6a.
Constants: 7 − 3 = 4.
Answer: 6a + 4
Example 2
8x + 5y − 3x + 2y
x terms: 8x − 3x = 5x.
y terms: 5y + 2y = 7y.
Answer: 5x + 7y
Example 3
a + b + a + b + b
a terms: a + a = 2a. b terms: b + b + b = 3b.
Answer: 2a + 3b
Example 4
3x + 2y + 4 − x
x terms: 3x − x = 2x.
Answer: 2x + 2y + 4
Example 5
5c − c + 4c + 3b
c terms: 5 − 1 + 4 = 8, so 8c.
Answer: 8c + 3b
Example 6
6m + 2 − 4m − 5
m terms: 6m − 4m = 2m.
Constants: 2 − 5 = −3.
Answer: 2m − 3
A common mistake
Adding different variables, such as 3a + 2b = 5ab. Only like terms (the same variable) can be added.
Remember
Same variable: add the coefficients. Different variables: keep them apart. The sign stays with its term.
Open the interactive lessonAll Year 7 lessons
More lessons in this unit
- Missing numbers: undo with the inverse operation
- Writing Algebra from Words (Year 7)
- Algebra words: variable, coefficient, constant, term
- Algebra: what 7a, 3z and x² mean
- Substitution: putting numbers in for variables
- Using Formulas in Algebra: Substitution (Year 7)
- Number patterns and rules
- Solving equations: one step