Writing Algebraic Expressions

Learn to use letters to represent unknown numbers and write expressions

1. Letters for Unknown Numbers

The Big Idea

In algebra, we use a letter (like n, x, or y) to stand for an unknown number. We use a letter when we don't know the exact value of something.

Example: Mystery Cupcakes

There are some cupcakes in a box, but we don't know how many. We can use the letter n to represent this unknown number.

In boxnn cupcakes
n represents the number of cupcakes in the box

Key Point: We can use ANY letter to represent an unknown number. Common choices are n, x, y, p, q, and m.

Why Use Letters?

If there are n cupcakes in the box and 3 cupcakes on a plate, how many cupcakes are there altogether?

Cupcakes in boxTotal cupcakes
55 + 3 = 8
66 + 3 = 9
1010 + 3 = 13
nn + 3

(n + 3) is an algebraic expression!

2. Addition Expressions

When we add, we write the sum with a + sign, for example n + 3 or 7 + y. The order does not matter in addition.

Example 1: Raju's Cookies

Raju had 7 cookies at first. His mother gave him y more cookies. How many cookies does Raju have now?

Total7y?

Answer: Raju has (7 + y) cookies.

Example 2: Alan's Oranges

After eating k oranges, Alan has 3 oranges left. How many oranges did he have at first? Express your answer in terms of k.

At firstk3?

Answer: He had (k + 3) oranges at first.

Reasoning: eaten + left = total, so k + 3 = total

Practice: Addition Expression

Hassan is 12 years old now. In p years' time, how old will Hassan be? Express your answer in terms of p.

ShowHide solution
Future age12p?

Solution: Hassan will be (12 + p) years old.

Current age + years to pass = Future age

3. Subtraction Expressions

When we subtract, the ORDER matters!

  • p - 2 means "start with p, take away 2"
  • 12 - j means "start with 12, take away j"

Example 1: Buns in a Bag

There are p buns in a bag. Leila takes out 2 buns. How many buns are left in the bag?

At first?2p

Answer: There are (p - 2) buns left in the bag.

Example 2: Mary's Apples

Mary had 12 apples at first. She gave away j apples. How many apples did she have left? Express your answer in terms of j.

At first?j12

Answer: She had (12 - j) apples left.

Notice: This is NOT (j - 12)! Order matters in subtraction.

Common Subtraction Phrases

Subtract c from 20
Total?c20
Expression: 20 - c
15 less than d
Total?15d
Expression: d - 15 (NOT 15 - d!)

Watch out! "15 less than d" means d - 15, NOT 15 - d

Practice: Subtraction Expression

Hassan is 12 years old now. r years ago, how old was Hassan? Express your answer in terms of r.

ShowHide solution
Now?r12

Solution: Hassan was (12 - r) years old.

4. Multiplication Expressions

Special Rule for Multiplication

In algebra, we write m × 8 as 8m (number before letter, no × sign!)

  • 5 × q = 5q
  • n × 3 = 3n
  • 2 × y × 4 = 8y

Example 1: Shirts and Buttons

Each shirt has 8 buttons. If Jiahao has m shirts, how many buttons are there altogether?

Number of shirtsNumber of buttons
11 × 8 = 8
22 × 8 = 16
55 × 8 = 40
mm × 8 = 8m
m shirts × 8 buttons each
Buttons888...8m
Each unit of 8 buttons, repeated m times = 8m buttons

Answer: There are 8m buttons altogether.

Example 2: Leila and Siti's Stickers

Leila has q stickers. Siti has 5 times as many stickers as Leila. How many stickers does Siti have?

Comparing Stickers
LeilaqSitiqqqqq?
Siti has 5 groups of q stickers

q + q + q + q + q = 5 × q = 5q

Answer: Siti has 5q stickers.

3 groups of x

Totalxxx3x
3 × x = 3x

Practice: Multiplication Expression

A notebook costs $w. Amy buys 6 notebooks. How much does she pay? Express your answer in terms of w.

ShowHide solution
6 notebooks at $w each
Costwwwwww6w

Solution: Amy pays $6w or $(6w).

5. Division Expressions

Writing Division

We write division as a fraction:

  • y ÷ 6 = y6\frac{y}{6}
  • p ÷ 3 = p3\frac{p}{3}

Example 1: Sharing Money

$p is shared equally among 3 children. How much does each child get?

$p shared among 3 children
Total???$p
Each part = p ÷ 3

Answer: Each child gets $(p3)(\frac{p}{3}).

Let's check with p = 120:

$120 ÷ 3 = $40 for each child

Example 2: Simon and Lucas

Simon has 5 times as much money as Lucas. They have a total of $q. Express the amount of money Lucas has in terms of q.

Simon and Lucas's Money
SimonLucas?$q
6 equal units = $q total

Step 1: Count total units: 5 + 1 = 6 units

Step 2: 6 units = $q

Step 3: 1 unit = $q ÷ 6 = $(q6)(\frac{q}{6})

Answer: Lucas has $(q6)(\frac{q}{6}).

Divide y by 6

Total??????y
Each part = y ÷ 6

Practice: Addition and Multiplication Together

Mr Low rented a bus for p students. He was charged $30 for the bus rental and $6 for each student. Express the total amount Mr Low paid in terms of p.

ShowHide solution
Bus Rental Cost
Total$30$6p?
Bus rental + cost for p students

Answer: Mr Low paid $(30 + 6p).

Summary: Ways to Write Expressions

StatementExpression
Add 10 to aa + 10
12 more than bb + 12
Subtract c from 2020 - c
15 less than dd - 15
3 groups of x3x
Divide y by 6y6\frac{y}{6}

Key Takeaways

  • ✓ A letter can stand for an unknown number
  • ✓ Addition: n + 3 means "n plus 3"
  • ✓ Subtraction: Be careful with order! "5 less than m" = m - 5
  • ✓ Multiplication: Write 4 × n as 4n (number first, no × sign)
  • ✓ Division: Write n ÷ 5 as n5\frac{n}{5} (fraction form)
  • ✓ Always read word problems carefully to identify the operation!

Watch the video lesson on this topic

Simplifying Algebraic Expressions ›

All Primary 6 (Grade 6) study notes

Home Campus has video lessons, practice questions with worked solutions and worksheets for Primary 3 to 6. Register free to practise and keep track of progress.

These notes were written with the help of AI and checked question by question before they were published. Spotted a mistake? Tell us.