Skip to content
S StudyGuide GH

Algebra · Algebraic Expressions · Lesson 2

Adding and Subtracting Algebraic Expressions

A long expression such as is like a market basket with yams and bags of gari thrown in anyhow. In this lesson you will learn to sort it out — collect the like terms together, add or subtract their coefficients (whole numbers, fractions or decimals) and write the answer in its simplest form. You will also use this to write the perimeter of shapes.

NaCCA B7.2.2.1.2 ⏱ about 45 min

By the end you will be able to

  • ✔Identify like terms and unlike terms in an algebraic expression.
  • ✔Add and subtract like terms by adding or subtracting their coefficients.
  • ✔Simplify expressions with whole-number, fraction and decimal coefficients.
  • ✔Write a simplified expression for the perimeter of a shape.

Key words

Like terms
Terms with exactly the same letter part, e.g. and , or and .
Unlike terms
Terms whose letter parts are different, e.g. and , or and .
Coefficient
The number in front of the letter part; in it is .
Simplify
Collect like terms and write the expression with as few terms as possible.
Rational coefficient
A coefficient that is a whole number, fraction or decimal, e.g. 5, or 0.3.
Curriculum reference

Content standard: B7.2.2.1 Simplify algebraic expressions involving the four basic operations and substituting values to evaluate algebraic expressions.

Indicator: Perform addition and subtraction of algebraic expressions with rational coefficients.

Starter

Yams and gari in one basket

On Monday Mama Esi buys 3 tubers of yam and 2 bags of gari for her chop bar in Kumasi. On Thursday she buys 2 more tubers and 1 more bag. How much did she buy altogether? Nobody says "8 yam-garis"! She has 5 tubers of yam and 3 bags of gari. If one tuber costs GH₵y and one bag costs GH₵g, her spending is . Algebra keeps yams with yams and gari with gari — that is the whole secret of this lesson.

1. Like terms and unlike terms

A term is a part of an expression separated by + or − signs. Two terms are like terms when their letter parts are exactly the same. Only the coefficient (the number in front) may be different. Like terms are things of the same kind, so they can be counted together.

TermsLike or unlike?Reason
and likeboth have letter part
and like is the same as ()
and likeboth have letter part
and unlikedifferent letters
and unlike and are different
and unlike7 is a constant; has a letter

2. Adding like terms

Think of as one tuber of yam. Then is four tubers, which we write . In the same way is 4 tubers plus 3 tubers, which is 7 tubers: . To add like terms, add the coefficients and keep the letter part the same.

  • (remember means )

When an expression has more than one kind of term, collect each kind together first. We are allowed to change the order of terms in an addition, as long as each term keeps its own sign. Step through the algebra tiles below.

▶ Moving tiles around does not change how many there are. Sorting like with like gives 5x + 3y.

3. Subtracting like terms

Subtracting works the same way: subtract the coefficients and keep the letter part. If you have 5 tubers of yam and sell 2, you have 3 left: .

▶ Taking away 2 tiles from 5 tiles leaves 3 tiles: only the coefficients change.

In a longer expression, the sign in front of a term belongs to that term and moves with it. In the a-terms are , and ; the b-terms are , and .

5a + 4b − 9a + 3b + 2a − 7b = −2a
Kind of termTerms collectedCoefficientsResult
a-terms5 − 9 + 2 = −2
b-terms4 + 3 − 7 = 0

When a whole bracket is subtracted, the minus sign acts on every term inside it: . For example, .

4. Fractions, decimals and perimeters

Coefficients do not have to be whole numbers. The rule is the same — add or subtract the coefficients — but now you use your fraction and decimal skills.

The perimeter of a shape is the sum of the lengths of all its sides. When the sides are expressions, add them and collect like terms. A triangle with sides , and has perimeter . A rectangle m long and m wide has perimeter metres.

Worked examples

Try each one yourself first, then open the solution and compare every step.

Example 1

Counting like terms

Simplify (a) (b) .
Show the solution
  1. Step 1(a) There are 8 's, so the sum is .
  2. Step 2(b) Add the coefficients: 4 + 3 + 1 = 8 (the last is ).
  3. Step 3So .

Answer: (a) (b)

Example 2

Two kinds of term

Simplify .
Show the solution
  1. Step 1Collect the a-terms: .
  2. Step 2Collect the b-terms: .
  3. Step 3 and are unlike, so stop: .

Answer:

Example 3

Adding and subtracting together

Simplify .
Show the solution
  1. Step 1a-terms: .
  2. Step 2b-terms: .
  3. Step 3Answer: .
  4. Step 4Check with : 5 + 4 − 9 + 3 + 2 − 7 = −2 ✓

Answer:

Example 4

Fraction coefficients

Simplify .
Show the solution
  1. Step 1Add the coefficients: .
  2. Step 2Common denominator 6: .
  3. Step 3So the sum is (or ).

Answer:

Example 5

Perimeter of a rectangle

A rectangular plot is m long and m wide. Write a simplified expression for its perimeter.
Show the solution
  1. Step 1Perimeter = length + width + length + width.
  2. Step 2.
  3. Step 3x-terms: . Numbers: .
  4. Step 4Perimeter metres.

Answer: m

Summary

  • Like terms have exactly the same letter part ( and are like); unlike terms cannot be combined.
  • To add or subtract like terms, add or subtract the coefficients and keep the letter part.
  • The sign in front of a term belongs to it; collect each kind of term with its sign.
  • is already simplest — it is not .
  • Fraction and decimal coefficients follow the same rule; perimeter = sum of all the sides, simplified.

Practice: 15 questions

5 easy, 5 medium, 5 hard. Each one is marked straight away, with a full worked solution.

You can practise without an account, but sign up free or sign in to save your progress.

1 easy
Write in its simplest form.
2 easy
Simplify .
3 easy
Which pair are like terms?
4 easy
Simplify .
5 easy word problem
Ama buys 3 tubers of yam on Monday and 5 tubers on Friday. One tuber costs GH₵y. Write a simplified expression for the total cost in cedis.
6 medium
Simplify .
7 medium
Simplify .
8 medium
Simplify . (Type a fraction like 3/4x.)
9 medium word problem
Kwame's triangular garden in Techiman has sides of length m, m and m. Write a simplified expression for its perimeter.
10 medium
Simplify .
11 hard
Simplify .
12 hard
Simplify .
13 hard
Simplify . (Type fractions like 1/2a.)
14 hard word problem
A rectangular farm plot at Ho is metres long and metres wide.
  1. (a) Write a simplified expression for the perimeter of the plot.

  2. (b) By how many metres is the length greater than the width? Simplify.

  3. (c) Find the perimeter when .

    m
15 hard
Which expression is NOT equal to ?