Simplifying Expressions and Collecting Like Terms

On this page

How to spot like terms and collect them to simplify an expression, keeping each term's sign with it, keeping different letters and powers apart, and writing an expression for the perimeter of a shape.

What collecting like terms means

To simplify an expression means to write it in a shorter way that has the same value. You do this by collecting like terms: adding or subtracting the terms that are the same kind of thing. For example, 3t + 2t = 5t, just as 3 tins plus 2 tins make 5 tins.

In the exam you are usually asked to simplify an expression such as 4k + 3 + 2k, for 1 or 2 marks, often near the start of a paper. You also collect like terms when you write an expression for a perimeter and when you solve equations.

Terms, coefficients and like terms

A term is one part of an expression. Terms are separated by + and - signs. In 5x + 3 - 2y, the terms are 5x, +3 and -2y

The coefficient is the number in front of a letter. In 5x the coefficient is 5. A letter on its own has coefficient 1, so x means 1x and m + m + m + m = 4m. Numbers with no letter are collected together too.

Like terms have exactly the same letters, with the same powers. 3m and 8m are like terms. 3m and 3n are not, and nor are m and m^2. To collect like terms, add or subtract their coefficients and keep the letter part the same.

Worked example 1: Adding terms in one letter

Simplify 2w + 6w + w

  1. All three terms are w terms, so they are like terms.
  2. The w on its own has coefficient 1, so the expression is 2w + 6w + 1w
  3. Your turn. Add the coefficients. What is 2 + 6 + 1?

    2 + 6 + 1 = 9

  4. Answer: 9w

Worked example 2: Two different letters

Simplify 5c + 4d + 3c + 2d

  1. Collect the c terms: 5c + 3c = 8c
  2. Your turn. Collect the d terms. Simplify 4d + 2d

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    4d + 2d = 6d

  3. 8c and 6d are not like terms, so they stay as two separate terms.
  4. Answer: 8c + 6d

Keep each sign with its term

The sign in front of a term belongs to that term. In 5b + 2 - 3b - 6, the terms are +5b, +2, -3b and -6. You can move terms around to put like terms together, but always take the sign with them.

A coefficient can be negative: 3b - 5b = -2b. If like terms cancel, as in 4b - 4b = 0, leave them out of the answer.

Worked example 3: Subtracting terms

Simplify 3y + 10 - 7y - 4

  1. The terms are +3y, +10, -7y and -4
  2. Your turn. Collect the y terms. Simplify 3y - 7y

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    3y - 7y = -4y

  3. Collect the numbers: 10 - 4 = 6
  4. Answer: -4y + 6, which can also be written as 6 - 4y

Worked example 4: Two letters and a number

Simplify 6p - 2q + 8 - 9p + 5q

  1. Collect the p terms: 6p - 9p = -3p
  2. Your turn. Collect the q terms. Simplify -2q + 5q

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    -2q + 5q = 3q

  3. The +8 is the only number, so it stays as it is.
  4. Answer: -3p + 3q + 8

Different powers are not like terms

x^2 means x \times x, which is a different kind of term from x. So x^2 and x are not like terms, and 4x^2 + 3x cannot be simplified. Collect the x^2 terms together and the x terms together.

Adding and multiplying give different answers: x + x = 2x, but x \times x = x^2

Worked example 5: Squared terms

Simplify 5x^2 + 4x - 2x^2 + x

  1. The x^2 terms and the x terms are different kinds, so collect them separately.
  2. Collect the x^2 terms: 5x^2 - 2x^2 = 3x^2
  3. Your turn. Collect the x terms. Simplify 4x + x

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    4x + x = 5x

  4. Answer: 3x^2 + 5x

Expressions for a perimeter

The perimeter of a shape is the total distance around its edge. When the sides are given as expressions, add all the sides and then collect like terms.

Sides with the same marks on them are equal in length, so each one must be counted. Brackets round a length, such as (2x + 3) cm, just keep that side's expression together.

Worked example 6: The perimeter of a kite

A kite has two sides of length (x - 1) cm and two sides of length (2x + 3) cm. Write a simplified expression for the perimeter of the kite.

  1. Add all four sides: (2x + 3) + (2x + 3) + (x - 1) + (x - 1)
  2. Collect the x terms: 2x + 2x + x + x = 6x
  3. Your turn. Collect the numbers. What is 3 + 3 - 1 - 1?

    3 + 3 - 1 - 1 = 4

  4. Check with x = 5: the sides are 13, 13, 4 and 4 cm, a total of 34 cm, and 6 \times 5 + 4 = 34
  5. Answer: the perimeter is (6x + 4) cm

Common mistakes

  • Turning repeated adding into a power. k + k + k is 3k, not k^3, which means k \times k \times k.
  • Losing a minus sign. Keep each sign with the term after it, so 3y - 7y gives a negative answer.
  • Forgetting the 1 in front of a letter on its own. x counts as 1x and -x counts as -1x when you collect.
  • Joining unlike terms into one term. 8c + 6d is already fully simplified, so writing it as 14cd loses the mark.
  • Changing the power when collecting. Add the coefficients, keep the power the same, and never collect an x^2 term with an x term.
  • Leaving two signs side by side. Adding a negative term is a subtraction, so write 9 + -2b as 9 - 2b in your final answer.

Practice questions