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.
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.
| Terms | Like or unlike? | Reason |
|---|---|---|
| and | like | both have letter part |
| and | like | is the same as () |
| and | like | both have letter part |
| and | unlike | different letters |
| and | unlike | and are different |
| and | unlike | 7 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 .
| Kind of term | Terms collected | Coefficients | Result |
|---|---|---|---|
| a-terms | 5 − 9 + 2 = −2 | ||
| b-terms | 4 + 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
Show the solution
- Step 1(a) There are 8 's, so the sum is .
- Step 2(b) Add the coefficients: 4 + 3 + 1 = 8 (the last is ).
- Step 3So .
Answer: (a) (b)
Example 2
Two kinds of term
Show the solution
- Step 1Collect the a-terms: .
- Step 2Collect the b-terms: .
- Step 3 and are unlike, so stop: .
Answer:
Example 3
Adding and subtracting together
Show the solution
- Step 1a-terms: .
- Step 2b-terms: .
- Step 3Answer: .
- Step 4Check with : 5 + 4 − 9 + 3 + 2 − 7 = −2 ✓
Answer:
Example 4
Fraction coefficients
Show the solution
- Step 1Add the coefficients: .
- Step 2Common denominator 6: .
- Step 3So the sum is (or ).
Answer:
Example 5
Perimeter of a rectangle
Show the solution
- Step 1Perimeter = length + width + length + width.
- Step 2.
- Step 3x-terms: . Numbers: .
- 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.