AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Mathematics

Function machines and inverse functions

Week 28 · Unit 24: Functions · 4 lessons
1

Function machines and tables of values

Student’s Book 8: Unit 24, pp. 214–220
GoalUse a function machine to find outputs for different inputs, including negative numbers and fractions, and explain why a function gives only one output for each input.
New words
function · a rule that gives exactly one output for each inputinput · the number you put into the machineoutput · the number that comes out
Explanation

A function machine takes an input, does one operation after another in the order shown, and gives an output. Always follow the order: ‘multiply by 3 and then subtract 2’ is different from ‘subtract 2 and then multiply by 3’. A table of values shows several inputs and their outputs. With negative inputs, take care with the signs. With fractions, you can write the answer as a decimal or as a mixed number. The key idea of a function is that each input gives only one output. A machine that could give two different outputs for the same input is not a function.

x× 3− 2y
Worked examples
Input210−1−2
Output41−2−5−8
Machine: × 3 then − 2. Put in 2, 1, 0, −1 and −2. 2 × 3 − 2 = 4; 1 × 3 − 2 = 1; 0 × 3 − 2 = −2; −1 × 3 − 2 = −5; −2 × 3 − 2 = −8. Each input has exactly one output.
Input621−2
Output4 1/23 1/23 1/42 1/2
Machine: ÷ 4 then + 3. Inputs 6, 2, 1 and −2. 6 ÷ 4 + 3 = 4 1/2; 2 ÷ 4 + 3 = 3 1/2; 1 ÷ 4 + 3 = 3 1/4; −2 ÷ 4 + 3 = 2 1/2. The outputs are not whole numbers, but they are still exactly one value each.
16square root+ 26 or −2
A machine says ‘find a square root, then add 2’ and the input is 16. The square roots of 16 are 4 and −4, so the output could be 6 or −2: two outputs. In this form, it is not a function. (If we only use the positive root, the one on the calculator’s square root key, the machine is a function again.)
Class activity

Machine game. One player is the machine and chooses a secret rule with two steps, such as ‘+ 5 then × 2’. The other player says an input and the machine says the output. After four inputs, the guesser writes the rule. Swap roles. Use negative numbers and decimals too.

Practice
1
Machine: + 5 then × 2. Find the outputs for inputs 3, 0, −5 and 1.5.
x+ 5× 2y
2
Machine: ÷ 5 then − 2. Find the outputs for 20, 5, 0 and −10.
x÷ 5− 2y
3
The table shows the inputs and outputs of a two-step machine that multiplies and then adds. Find the machine.
Input0123
Output3579
4
A table shows: input 1 gives 4, input 2 gives 6, and input 1 also gives 5. Explain why this cannot come from a function machine.
Input121
Output465