Function Machines
Question 11 mark
Here is a number machine.
Work out the output when the input is 2.
Hint
Go through the boxes from left to right.
Worked solution
- Work forwards, doing each box in order.
- 2\times5=10.
- 10+8=18.
- The output is 18.
Question 21 mark
Here is a number machine.
Work out the output when the input is 15.
Hint
Do the first box, then put your answer into the second box.
Worked solution
- Work forwards, finishing the first box before the second.
- 15-8=7.
- 7\times2=14.
- The output is 14.
Question 31 mark
Here is a number machine.
Work out the output when the input is 20.
Hint
Work through the boxes in order, from left to right.
Worked solution
- Work forwards through the two boxes.
- 20\div4=5.
- 5+6=11.
- The output is 11.
Question 41 mark
Here is a number machine.
Work out the output when the input is 3.
Hint
Multiply first, then subtract.
Worked solution
- Work forwards through the boxes, in order.
- 3\times9=27.
- 27-6=21.
- The output is 21.
Question 52 marks
Here is a number machine.
Work out the input when the output is 43.
Hint
Start at the output and work backwards, doing the opposite of each box.
Worked solution
- Work backwards, undoing the last box first.
- 43+11=54.
- 54\div6=9.
- The input is 9.
Question 62 marks
Here is a number machine.
Find the output when the input is 57.
Hint
Finish the addition before dividing.
Worked solution
- Do each operation in the order shown by the machine.
- 57+3=60.
- 60\div4=15.
- The output is 15.
Question 72 marks
Here is a number machine.
The output is 85.
Work out the input.
Hint
Start at the output and undo the last box first.
Worked solution
- Work backwards, undoing subtraction before multiplication.
- 85+7=92.
- 92\div4=23.
- The input is 23.
Question 82 marks
Here is a number machine.
The output is 7.
Work out the input.
Hint
Work backwards: undo the subtracting first, then undo the dividing.
Worked solution
- Work backwards, undoing subtraction before division.
- 7+8=15.
- 15\times3=45.
- The input is 45.
Question 91 mark
Here is a number machine.
Find the output when the input is 5.
Hint
Multiply first, then subtract.
Worked solution
- Work forwards through both boxes.
- 5\times7=35.
- 35-9=26.
- The output is 26.
Question 102 marks
Here is a number machine.
Find the output when the input is 74.
Hint
Subtract before dividing.
Worked solution
- Finish the first box before applying the second.
- 74-4=70.
- 70\div7=10.
- The output is 10.
Question 111 mark
Here is a number machine.
Work out the output when the input is 72.
Hint
Work from left to right.
Worked solution
- Work forwards through the boxes.
- 72\div8=9.
- 9-3=6.
- The output is 6.
Question 122 marks
Here is a number machine.
Work out the input when the output is 112.
Hint
Undo the addition, then undo the multiplication.
Worked solution
- Work backwards from the output.
- 112-4=108.
- 108\div9=12.
- The input is 12.
Question 132 marks
Here is a number machine.
Work out the input when the output is 66.
Hint
Undo the last box first.
Worked solution
- Work backwards, using the opposite operation for each box.
- 66\div6=11.
- 11+7=18.
- The input is 18.
Question 142 marks
Here is a number machine.
The number in the first box is missing.
When the input is 9, the output is 119.
Work out the missing number.
Hint
Work backwards through the box you know.
Worked solution
- Undo the last box to find the number that comes out of the first box.
- 119\div7=17.
- The first box adds enough to turn 9 into 17.
- 17-9=8.
- The missing number is 8.
Question 152 marks
Here is a number machine.
The number in the second box is missing.
When the input is 8, the output is 41.
Work out the missing number.
Hint
Put the input through the first box, then compare with the output.
Worked solution
- Go forwards through the box you know.
- 8\times3=24.
- The second box adds enough to turn 24 into 41.
- 41-24=17.
- The missing number is 17.
Question 16Challenge2 marks
Here is a number machine.
Find the input when the output is −45.
Hint
Undo subtraction first and take care with the negative number.
Worked solution
- Work backwards from the negative output.
- -45+13=-32.
- -32\div8=-4.
- The input is −4.
Question 17Challenge2 marks
Here is a number machine.
Find the input when the output is −1.
Hint
Undo the addition first, then undo the division. Take care with the negative numbers.
Worked solution
- Work backwards, undoing the last box first. The inverse of +6 is −6.
- -1-6=-7.
- The inverse of \div2 is \times2: -7\times2=-14.
- The input is −14.
Question 18Challenge2 marks
Here is a number machine.
The number in the first box is missing.
When the input is −7, the output is 36.
Work out the missing number.
Hint
Undo the multiplication first, then work out what you add to −7 to reach that number.
Worked solution
- Undo the last box to find the number that comes out of the first box. The inverse of \times3 is \div3.
- 36\div3=12.
- The first box adds enough to turn −7 into 12.
- 12-(-7)=12+7=19.
- The missing number is 19.
Question 19Challenge2 marks
Here is a number machine.
There is a number for which the output is the same as the input.
Find this number.
Hint
Call the input n and write an expression for the output, or try some inputs.
Worked solution
- Call the input n. The machine multiplies by 5, then subtracts 24, so the output is 5n-24.
- The output is the same as the input, so 5n-24=n.
- Subtract n from both sides: 4n-24=0, so 4n=24 and n=6.
- Check: 6\times5=30, then 30-24=6.
- The number is 6.
Question 20Challenge2 marks
Here is a number machine.
Find the number for which the output is the same as the input.
Hint
Try some inputs, or call the input n and set the output equal to n.
Worked solution
- Call the input n. The output is 4n-33.
- The output equals the input, so 4n-33=n.
- Subtract n from both sides: 3n=33, so n=11.
- Check: 11\times4=44, then 44-33=11.
- The number is 11.
Builds on: Negative Numbers
Next: Solving One- and Two-Step Equations, Substitution
More on this topic: Function Machines worksheet with full solutions