Skip to content
S StudyGuide GH

Algebra · Algebraic Expressions · Lesson 4

Substituting Values into Algebraic Expressions

An expression such as is like a recipe that works for any number: put in the number of electricity units you used and out comes your bill. In this lesson you will replace letters by numbers — including negative numbers and fractions — and work out the value of expressions using the correct order of operations.

NaCCA B7.2.2.1.4 ⏱ about 45 min

By the end you will be able to

  • ✔Substitute given values for letters in an algebraic expression.
  • ✔Use the order of operations (BODMAS) correctly after substituting.
  • ✔Substitute negative numbers safely using brackets.
  • ✔Simplify an expression first, then substitute to evaluate it.
  • ✔Use formulas such as perimeter, area and cost to solve real-life problems.

Key words

Substitute
Replace a letter by a given number.
Evaluate
Work out the value (a single number) of an expression.
Formula
A rule written with letters that connects quantities, e.g. Area .
BODMAS
The order of operations: Brackets, Of/Orders (powers), Division and Multiplication, Addition and Subtraction.
Curriculum reference

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

Indicator: Substitute values to evaluate algebraic expressions.

Starter

How much is the light bill?

Yaw's family in Koforidua buys prepaid electricity. Suppose the bill is worked out with the rule "GH₵1.50 for every unit used, plus a fixed charge of GH₵12", which we can write as cedis for u units. Last month they used 100 units. This month they used 240. The rule stays the same; only the number for u changes. Putting the number in place of the letter is called substitution, and it is how every formula — from your school fees to a trotro fare — is used.

1. What substitution means

A letter in an expression is a box waiting for a number. To evaluate an expression we substitute: we take the letter out and put the given number in its place. Then we calculate. The secret is to remember the hidden signs: means , means and means .

  1. 1Write the expression down.
  2. 2Rewrite it with each letter replaced by its number, putting in the × signs (and brackets around negative numbers).
  3. 3Calculate using BODMAS: powers, then × and ÷, then + and −.
  4. 4Write the final value clearly.

▶ Each letter is replaced by its number. The hidden × signs appear, and BODMAS tells us to multiply before adding.

2. Order of operations and negative numbers

After substituting you have an ordinary calculation, so the usual order of operations applies. For example, if then . The power belongs only to the , so we square 3 first and then multiply by 2 — not .

Negative values need extra care. Put them in brackets when you substitute, so you do not lose the sign. Let and :

ExpressionSubstituteValue
11
1
−2
−3

3. Simplify first, then substitute

When an expression is long, simplify it before substituting. You do less arithmetic and make fewer mistakes. With and :

  • : the a-terms give , the b-terms give , so the expression is .
  • .
  • .

4. Formulas in real life

A formula is an expression with a job to do. Substituting into formulas lets you find perimeters, areas, costs and bills. For a rectangle of length and width : perimeter and area .

▶ A rectangle 8 m by 5 m: substitute l = 8 and w = 5 into area = lw to get 40 m².

FormulaValuesWorkingAnswer
Perimeter 26 m
Area 40 m²
Triangle area 24 m²
Bill GH₵162

Worked examples

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

Example 1

A first substitution

Find the value of when and .
Show the solution
  1. Step 1Substitute: .
  2. Step 2Multiply first: .
  3. Step 3Add: 14.

Answer: 14

Example 2

Simplify, then substitute

Simplify and find its value when and .
Show the solution
  1. Step 1Simplify: .
  2. Step 2Substitute: .
  3. Step 3Check: , , ✓

Answer:

Example 3

Negative values

If and , find (a) (b) .
Show the solution
  1. Step 1(a) .
  2. Step 2(b) The power acts on only: .
  3. Step 3So .

Answer: (a) 11 (b) 3

Example 4

A long expression

Simplify and evaluate it when and .
Show the solution
  1. Step 1a-terms: .
  2. Step 2b-terms: .
  3. Step 3Substitute: .
  4. Step 4Check in the original: 14 + 20 − 8 + 8 − 6 = 28 ✓

Answer:

Example 5

Perimeter and area

A rectangular garden has length m and width m. Use and to find its perimeter and area.
Show the solution
  1. Step 1 m.
  2. Step 2 m².

Answer: Perimeter 26 m, area 40 m²

Summary

  • To substitute, replace each letter by its value and put back the hidden × signs: with is .
  • After substituting, follow BODMAS: powers first, then × and ÷, then + and −.
  • Put negative values in brackets: and .
  • Simplify long expressions first, then substitute — less work, fewer mistakes.
  • Formulas such as and are used by substitution.

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
If , find the value of .
2 easy
If and , find the value of .
3 easy
If , what is the value of ?
4 easy
Evaluate when .
5 easy word problem
A kenkey seller charges GH₵k for one ball, so 6 balls cost cedis. How much do 6 balls cost when ?
6 medium
If and , find the value of .
7 medium
Simplify , then find its value when and .
8 medium
If , what is the value of ?
9 medium word problem
A rectangular garden in Sunyani is m long and m wide. Use to find its perimeter.
m
10 medium
Simplify and find its value when and .
11 hard
Simplify , then evaluate it when and .
12 hard
Simplify , then evaluate it when , and .
13 hard word problem
A family's monthly electricity bill, in cedis, is given by , where is the number of units used.
  1. (a) Find the bill when .

  2. (b) Find the bill when .

  3. (c) How much more is the second bill than the first?

14 hard
If , , and , find the value of .
15 hard
Simplify , then evaluate it when and .