GoalWrite a function that links two quantities, and use it to find values.
New words
function · a rule that connects two quantitiesvariable · a letter that stands for a number that can changein terms of · written using another letter, for example y in terms of x
Explanation
A function is a rule that connects two quantities. Suppose Tom is 3 years older than his sister. When she is 8, he is 11. Let her age be x and his age be y. Then y = x + 3. The letters x and y are variables because their values can change. A rule such as ‘5 times as long’ becomes y = 5x. To write a function, choose a letter for each quantity, then describe how to get one from the other. To find y, put the value of x into the rule. To find x from y, work backwards with the inverse operation.
Sister’s age x
6
8
10
12
Tom’s age y
9
11
13
15
Worked examples
Small pizza s ($)
Big pizza b ($)
9
13
11
15
15
19
A big pizza costs $4 more than a small pizza. The small pizza costs $s and the big pizza costs $b. The function is b = s + 4. If s = 9, then b = 13.
Ribbon r (m)
Rope p (m)
3
15
8
40
10
50
A rope is 5 times as long as a ribbon. The ribbon is r m long and the rope is p m long, so p = 5r. If r = 3, then p = 15. If p = 40, then r = 40 ÷ 5 = 8.
Mia x
Pedro y
15
13
10
8
6
4
Pedro has 2 fewer stickers than Mia. Mia has x stickers and Pedro has y stickers, so y = x − 2. If Mia has 15, Pedro has 13.
Class activity
Story functions: write a short rule about two people, for example ‘I am 4 cm taller than my cousin’. Pick letters for the two heights. Choose three values for one person and let a partner work out the other person’s height. Then ask your partner to write the function. Make three different stories, one with adding, one with taking away and one with multiplying.
Practice
1
Ana picks 6 more flowers than Leo. Leo picks x flowers and Ana picks y flowers. Write a function for y in terms of x.
Leo x
4
7
10
Ana y
?
?
?
y = x + 6
2
A cyclist rides 12 km each hour. After t hours the distance is d km. Write a function. Find d when t = 5 and t when d = 90.
Time t (h)
Distance d (km)
5
?
?
90
d = 12t; d = 60; t = 7.5
3
A packet holds 8 biscuits. Write a function for the number of biscuits y in x packets. How many biscuits are in 9 packets? How many packets hold 56 biscuits?
y = 8x; 72 biscuits; 7 packets
4
A tall glass holds 50 ml more than a short glass. The short glass holds s ml and the tall glass holds t ml. Write a function for t. Find t when s = 175 and s when t = 300.