Writing Expressions for Real-World Situations
How to turn a situation in words (ages, money, lengths, consecutive numbers, speed and rate) into an algebraic expression with its unit, and how to write a formula from a situation and use it.
Before you start
A letter stands for a number. "The length is cm" means that is the number of centimetres.
The short forms: is written , is written , is written , and is written , where the brackets keep together.
From earlier chapters: distance = speed × time; 1 hour = 60 minutes; $1 = 100 cents. For example, at 60 km/h for 2 hours a car travels km.
From Words to an Expression
Many everyday quantities depend on a number we do not know or that can change: a height after a growth spurt, a bill for some number of meals, the age of a person in a few years. An algebraic expression describes such a quantity for every value of the number at once.
The surest way to write the expression is to work one or two cases with numbers first. Watch what you do to the number, then do exactly the same to the letter.
Method: writing an expression for a situation
1. Say what the letter stands for, with its unit ("Mei Ling grows cm": is a number of centimetres).
2. Work a case with a number in place of the letter, and notice the operation you use.
3. Do the same operation to the letter, and write the result in its short form.
4. Write the unit after the expression. If the expression has more than one term, put it in brackets first: cm, dollars.
Example 1: Mei Ling's height
Mei Ling is 151 cm tall. How tall will she be after she grows
(a) 3 cm,
(b) 10 cm,
(c) cm?
Solution
(a) Growing adds to her height: . She will be 154 cm tall.
(b) In the same way, . She will be 161 cm tall.
(c) Whatever she grows is added to 151, so growing cm gives . The expression has two terms, so it goes in brackets before the unit.
(a) 154 cm (b) 161 cm (c) cm. The cases (a) and (b) are this expression with and .
The words of a situation tell you the operation. The table gives the common ones, with as the number. Take care with less than: "5 less than " starts from and takes 5 away, so it is , written in the opposite order from the words.
| Words | Expression |
|---|---|
| 5 more than ; increased by 5; 5 older, taller or heavier than | |
| 5 less than ; decreased by 5; 5 younger, shorter or lighter than | |
| less than 5; subtracted from 5 | |
| 5 times ; multiplied by 5 | |
| half of ; shared equally between 2 | |
| shared equally among 5; divided by 5 |
Example 2: Phrases into expressions
Write an algebraic expression for each of these.
(a) 11 more than
(b) 11 less than
(c) less than 11
(d) 6 less than three times
(e) 4 times the sum of and 9
(f) sweets shared equally among 4 children, then 2 more sweets given to each child
Solution
(a) Add 11 to : .
(b) Start from and take 11 away: . (With : 11 less than 15 is 4, and .)
(c) Start from 11 and take away: . (With : 2 less than 11 is 9, and .)
(d) Three times is . Start from and take 6 away: .
(e) The sum of and 9 is . Four times the whole sum needs brackets: , written . Without brackets, would multiply only by 4.
(f) Each child first gets sweets, then 2 more: . It has two terms, so it goes in brackets before its unit.
(a) (b) (c) (d) (e) (f) sweets for each child
Ages
Every year each person gets one year older. So "in 4 years" adds 4 to an age, and "3 years ago" takes 3 away. The difference between two people's ages never changes.
Example 3: Ravi and his family
Ravi is years old. Write an expression for
(a) Ravi's age in 4 years,
(b) Ravi's age 3 years ago,
(c) the age of his sister, who is 3 years older than Ravi,
(d) the age of his father, who is 4 times as old as Ravi,
(e) the age of his father in 5 years.
Solution
(a) If Ravi were 12, in 4 years he would be . So in 4 years he will be years old.
(b) If he were 12, 3 years ago he was . So 3 years ago he was years old.
(c) "3 years older than Ravi" adds 3 to Ravi's age: years.
(d) 4 times Ravi's age is years.
(e) The father is years old now. In 5 years he will be 5 years older: years. (Not : that would be 4 times Ravi's age in 5 years, a different number. With , the father is 48 now and 53 in 5 years; is wrong.)
(a) years (b) years (c) years (d) years (e) years
Money
A total cost is the number of items times the price of one, added up for each kind of item. The money left, or the change, is the amount you had minus the amount you spent.
Amounts can be added only when they are in the same unit. Change cents into dollars by dividing by 100, and write the result as a decimal: cents is dollars, which is dollars, and cents is dollars. Change dollars into cents by multiplying by 100.
Example 4: Burgers and hot dogs
At a stall a burger costs $3 and a hot dog costs $1. Find the total price of
(a) 2 burgers and 5 hot dogs,
(b) burgers and 4 hot dogs,
(c) burgers and hot dogs.
Solution
(a) Burgers: dollars. Hot dogs: dollars. Total: dollars.
(b) Burgers: dollars. Hot dogs: dollars. Total: dollars.
(c) Burgers: dollars. Hot dogs: dollars (we write , not ). Total: dollars.
In the two terms cannot be joined into one: is a number of dollars that depends on , and 4 is a fixed number of dollars.
(a) $11 (b) dollars (c) dollars
Example 5: Change, and cents into dollars
Siti buys 3 notebooks at dollars each and 6 pencils at cents each.
(a) She pays for the notebooks alone with a $50 note. Write her change.
(b) Write the cost of the 6 pencils in cents, and then in dollars.
(c) Write the total cost of the notebooks and the pencils in dollars.
Solution
(a) The notebooks cost dollars. Change = amount paid − cost = dollars.
(b) The pencils cost cents. In dollars, divide by 100: dollars, which is dollars.
(c) Both amounts must be in dollars before they are added: dollars.
Check with numbers: if a notebook costs $2 and a pencil 50 cents, the notebooks cost $6, the pencils cost 300 cents = $3, and the total is $9. The expression gives .
(a) dollars (b) cents, or dollars (c) dollars
Example 6: Sharing a cost
A group of friends rent a chalet for dollars and spend dollars on food. They share the total cost equally. How much does each friend pay?
Solution
The total cost is dollars.
Sharing equally among people means dividing the whole total by : , written . The fraction line acts as a bracket: the whole of is divided.
Check with numbers: with , and , the total is $336 and each pays dollars; .
Each friend pays dollars. (Not dollars, which would share only the food.)
Lengths and Shapes
The perimeter of a shape is the sum of the lengths of its sides; the area of a rectangle is length × breadth. When a side is an expression, write it in brackets and use it exactly as you would use a number.
Example 7: A rectangle 5 cm longer than it is broad
A rectangular card has breadth cm. Its length is 5 cm more than its breadth. Write expressions for
(a) its length,
(b) its perimeter,
(c) its area.
Solution
(a) "5 cm more than cm" is . The length is cm.
(b) The perimeter is two lengths and two breadths: . The bracket keeps together: both the and the 5 are doubled.
We leave the perimeter in this form. Putting the terms together into one shorter expression is done in the next chapter.
(c) Area = length × breadth , written .
(a) cm (b) cm (c) cm²
Consecutive Whole Numbers
Consecutive whole numbers follow one another, each 1 more than the one before: 14, 15, 16. Consecutive even numbers (or odd numbers) go up in steps of 2: 14, 16, 18, or 15, 17, 19.
Example 8: Consecutive numbers
(a) The smallest of three consecutive whole numbers is . Write the other two.
(b) The middle one of three consecutive whole numbers is . Write all three.
(c) The smallest of three consecutive even numbers is . Write all three.
Solution
(a) Each number is 1 more than the one before: after come and then . (With : 14, 15, 16.)
(b) The number before is and the number after it is .
(c) Even numbers go up in steps of 2: , , . (With : 14, 16, 18.)
(a) and (b) , , (c) , ,
Time, Speed and Rate
The rules of speed and rate hold with letters as they do with numbers: distance = speed × time, time = distance ÷ speed, speed = distance ÷ time, and an amount = rate × time. Make sure the units agree: a speed in km/h needs a time in hours.
Example 9: A car and a printer
A car travels at a steady 60 km/h.
(a) How far does it travel in hours?
(b) How long does it take to travel km?
(c) How far does it travel in minutes?
A printer prints 12 pages a minute.
(d) How many pages does it print in minutes?
Solution
(a) Distance = speed × time km.
(b) Time = distance ÷ speed hours.
(c) The speed is per hour, so change the time into hours first: minutes hours. Distance km. (Check: in 30 minutes, half an hour, the car goes 30 km.)
(d) Pages = rate × time .
(a) km (b) hours (c) km (d) pages
Writing a Formula
When a quantity in a situation has its own letter, the expression for it becomes a formula: the letter, an equals sign, and the expression. Once the formula is written, the quantity can be found for any value of the other letters by substitution.
Definition: formula
A formula connects two or more quantities; the letter on its own on one side of the equals sign is its subject. In , the subject is .
Example 10: Two incomes
Mr Kumar earns dollars a year from a part-time job. His brother, Mr Rajan, earns 10 times as much a year.
(a) Write Mr Rajan's yearly income in terms of .
(b) Mr Rajan earns dollars a year. Write a formula connecting and .
(c) Use the formula to find Mr Rajan's yearly income when Mr Kumar earns $7200 a year.
Solution
(a) 10 times dollars is dollars.
(b) Mr Rajan's income, dollars, is equal to dollars, so . Here is Mr Kumar's yearly income in dollars and is Mr Rajan's, in dollars.
(c) Substitute : .
(a) dollars (b) (c) Mr Rajan earns $72 000 a year.
Example 11: Groups at a holiday camp
Every June, 100 children go to a holiday camp. They are split into groups of equal size, where is a factor of 100.
(a) How many children are there in each group?
(b) There are children in each group. Write a formula for in terms of .
(c) Use the formula to find the number of children in each group when there are 4 groups.
Solution
(a) Sharing 100 children equally among groups: children.
(b) is the number in each group, so . The subject is .
(c) Substitute : .
(a) children (b) (c) There are 25 children in each group.
Example 12: Hiring a hall
A community centre charges $200 to book its hall, plus $15 for every hour it is used.
(a) Write a formula for the cost, dollars, of using the hall for hours.
(b) Find the cost of using the hall for 4 hours.
Solution
(a) With numbers first: for 3 hours the cost is dollars. For hours it is dollars. So , where is the cost in dollars and the number of hours.
(b) Substitute : .
(a) (b) Using the hall for 4 hours costs $260.
Common Mistakes
- Writing "less than" in the order of the words. "5 less than " is , not . Try a number: 5 less than 12 is 7, which is .
- Leaving out brackets. Three shirts at dollars each cost dollars, not ; dollars shared among people is , not .
- Adding amounts in different units. 5 rulers at cents and a $2 notebook do not cost of anything: write cents, or dollars.
- Writing the unit after only part of the expression. " dollars" reads as plus 4 dollars; the total is dollars.
- Mixing up "older" and "younger", "ago" and "in". 3 years ago Ravi was years old; in 3 years he will be years old.
- Writing consecutive numbers as , , . Consecutive whole numbers go up by 1: , , .
- Using minutes with a speed in km/h. At 60 km/h for minutes the distance is not km: change minutes into hours first.
Practice
Try each question before you open its solution. The questions get harder as you go.
Question 1
Write an algebraic expression for each of these.
(a) 12 more than
(b) 12 less than
(c) less than 12
(d) one third of
(e) 4 less than 5 times
(f) twice the sum of and 9
ShowHide solution
(a) Add 12 to : .
(b) Start from and take 12 away: .
(c) Start from 12 and take away: .
(d) One third of is .
(e) 5 times is ; take 4 away: .
(f) The sum is ; twice the whole sum is .
(a) (b) (c) (d) (e) (f)
Question 2
Siti is years old. Write an expression for
(a) her age in 6 years,
(b) her age 2 years ago,
(c) the age of her brother, who is 5 years younger than Siti,
(d) the age of her mother, which is 4 more than 3 times Siti's age,
(e) Siti's age in months.
ShowHide solution
(a) In 6 years she is 6 years older: .
(b) 2 years ago she was 2 years younger: .
(c) 5 years younger than : .
(d) 3 times Siti's age is ; 4 more than that is .
(e) Each year has 12 months: .
(a) years (b) years (c) years (d) years (e) months
Question 3
Hui Min is 20 cm shorter than Ravi, and Ravi is 10 cm shorter than Siti. Ravi is cm tall. Write expressions for the heights of Hui Min and Siti.
ShowHide solution
Hui Min is shorter than Ravi by 20 cm: .
Ravi is 10 cm shorter than Siti, so Siti is 10 cm taller than Ravi: . (Check: if Ravi is 150 cm, Siti is 160 cm and Ravi is indeed 10 cm shorter.)
Hui Min is cm tall and Siti is cm tall.
Question 4
At a bakery, a bun costs $2 and a box of tarts costs $9. Ali has $50. He buys buns and boxes of tarts.
(a) Write the total cost.
(b) Write the amount of money Ali has left.
ShowHide solution
(a) Buns: dollars. Tarts: dollars. Total: dollars.
(b) From $50 he spends dollars on buns and dollars on tarts, so he has dollars left.
Check: with 4 buns and 2 boxes he spends dollars and has $24 left; .
(a) dollars (b) dollars
Question 5
Ravi buys 4 pens at cents each and a file at $3. Write the total cost
(a) in cents,
(b) in dollars.
ShowHide solution
(a) The pens cost cents. The file costs $3 = 300 cents. Total: cents.
(b) The pens cost cents, which is dollars, or dollars. Total: dollars.
Check: if a pen costs 50 cents, the pens cost 200 cents = $2 and the total is $5; .
(a) cents (b) dollars
Question 6
(a) The smallest of four consecutive whole numbers is . Write the other three.
(b) The largest of three consecutive odd numbers is . Write the other two.
(c) Mei Ling says that , and are three consecutive whole numbers. Is she right? Explain.
ShowHide solution
(a) Each is 1 more than the one before: , , .
(b) Odd numbers go in steps of 2. Going down from : , then . (With : 11, 13, 15.)
(c) Try : , , are 5, 10, 15, which go up in steps of 5, not 1. The step from each number to the next is , so they are consecutive only when (1, 2, 3). For any other whole number they are not, so in general she is wrong; three consecutive whole numbers are , , .
(a) , , (b) and (c) No: it works only for ; for example 5, 10, 15 are not consecutive.
Question 7
A rectangular garden is m long. Its breadth is 3 m less than its length. Write expressions for
(a) its breadth,
(b) its perimeter,
(c) its area.
ShowHide solution
(a) 3 m less than m is .
(b) Two lengths and two breadths: .
(c) Area = length × breadth .
(a) m (b) m (c) m²
Question 8
A piece of wire is 60 cm long. Siti cuts off part of it and bends that part into a square of side cm.
(a) How much wire does she use for the square?
(b) How much wire is left?
(c) She bends all of the wire that is left into an equilateral triangle. Write the length of one side of the triangle.
ShowHide solution
(a) A square has 4 equal sides: cm.
(b) The wire left is 60 cm minus the cm used: cm.
(c) An equilateral triangle has 3 equal sides, so the wire left is divided by 3: cm. The whole of is divided.
Check: with , the square uses 24 cm, 36 cm is left, and each side of the triangle is 12 cm; .
(a) cm (b) cm (c) cm
Question 9
(a) Ravi walks at 5 km/h for hours and then rides a bus for 20 km. Write the total distance he travels.
(b) Mei Ling cycles at 15 km/h for minutes. Write the distance she cycles.
(c) A train travels km in 2 hours. Write its average speed.
ShowHide solution
(a) Walking: km. Total: km.
(b) minutes hours. Distance km (dividing 15 and 60 by 15). Check: in 60 minutes she cycles 15 km, and .
(c) Average speed = distance ÷ time km/h.
(a) km (b) km (c) km/h
Question 10
Mr Tan's choir books a hall for sessions. Each session is booked for hours, and the hall costs $40 an hour. Every session ends 1 hour early, and the choir pays only for the hours it uses.
(a) How many hours does the choir use in each session?
(b) Write the total cost.
(c) How much less is this than the cost of all the hours booked?
ShowHide solution
(a) Each session uses 1 hour less than booked: hours.
(b) One session costs dollars. For sessions: , written with the number first, dollars.
(c) The choir saves 1 hour in each of sessions, which is hours at $40 an hour: dollars.
Check: 3 sessions booked for 4 hours each use 3 hours each, 9 hours in all, costing $360; . The 12 hours booked would cost $480, and .
(a) hours (b) dollars (c) dollars
Question 11
A phone plan costs $18 a month, plus 5 cents for every minute of overseas calls.
(a) Write a formula for the monthly bill, dollars, when minutes of overseas calls are made.
(b) Use your formula to find the bill for a month with 120 minutes of overseas calls.
ShowHide solution
(a) minutes at 5 cents cost cents, which is dollars. Adding the fixed $18: , where is the bill in dollars and the number of minutes.
(b) Substitute : .
(a) (b) The bill is $24.
Question 12
In a class there are boys and girls. In a test, the average mark of the boys is and the average mark of the girls is .
(a) Write the total of the boys' marks.
(b) Write the total of the marks of the whole class.
(c) Write the average mark of the whole class.
(d) There are 18 boys with an average of 60 and 22 girls with an average of 70. Use your answer to (c) to find the average mark of the class.
ShowHide solution
(a) Average = total ÷ number, so total = average × number: , written with the letters in alphabetical order. (Check: 10 boys with an average of 60 have 600 marks in all.)
(b) The girls' total is in the same way. The class total is .
(c) There are students. Average = total ÷ number of students . Both the top and the bottom are whole sums.
(d) Substitute , , , : .
(a) (b) (c) (d) The average mark of the class is 65.5.
Key Points
- Say what the letter stands for, with its unit, before you write an expression.
- Work a case with numbers first, then do the same to the letter.
- "5 more than " is ; "5 less than " is ; " less than 5" is .
- "In 4 years" adds 4 to an age; "3 years ago" takes 3 away.
- A total cost is number × price for each kind of item, added; change is the amount paid minus the cost.
- Put amounts in the same unit before adding them: cents is dollars, which is dollars.
- A whole sum that is multiplied or shared goes in brackets or over a fraction line: , .
- An expression with more than one term goes in brackets before its unit: cm, dollars.
- Consecutive whole numbers are , , ; consecutive even or odd numbers go up by 2.
- Distance = speed × time, with the time in the unit of the speed.
- A formula connects quantities: its subject, an equals sign, and an expression, such as . Its value is found by substituting numbers for the other letters.