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 71 mark
Here is a number machine.
Work out the output when the input is −13.
Hint
Do the first box before the second. What is -13+7?
Worked solution
- Work forwards, finishing the first box before the second. Do not work out -13+7\times5 on a calculator in one go: that multiplies first.
- -13+7=-6.
- -6\times5=-30.
- The output is −30.
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.
The input is k.
Write down the output in terms of k.
Hint
Do to k what each box says, in order. How do you write k divided by 5?
Worked solution
- Put k through the boxes in order.
- The first box divides by 5: k\div5 is written \frac{k}{5}.
- The second box subtracts 2: \frac{k}{5}-2.
- The output is \frac{k}{5}-2 (also written \frac{1}{5}k-2 or 0.2k-2).
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.
The input is m.
Write down the output in terms of m.
Hint
The machine subtracts 6 first, so the whole of m-6 is multiplied by 5. How do you show that?
Worked solution
- Put m through the boxes in order.
- The first box subtracts 6: m-6.
- The second box multiplies all of m-6 by 5, so it needs a bracket: 5(m-6).
- Writing m-6\times5 is wrong: that multiplies only the 6.
- The output is 5(m-6), or 5m-30 multiplied out.
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.
The input is t and the output is s.
Work out a formula for s in terms of t.
Hint
Put t through the machine to get an expression. A formula needs s= in front of it.
Worked solution
- Put t through the boxes in order.
- The first box multiplies by 4: 4t.
- The second box subtracts 15: 4t-15.
- The output is s, so the formula is s=4t-15. The expression 4t-15 on its own is not a formula: it needs the s=.
Question 17Challenge2 marks
Here is a number machine.The numbers in both boxes are missing.
When the input is 9, the output is 47.
When the input is 4, the output is 17.
Complete the number machine.
Hint
The same two numbers must work for both inputs. Compare how much the input goes up with how much the output goes up.
Worked solution
- The same machine must work for both pairs, so do not choose numbers that fit only one of them.
- The input goes up by 9-4=5 and the output goes up by 47-17=30.
- Subtracting the same number from both does not change the gap, so multiplying turns a gap of 5 into a gap of 30: 30\div5=6. The first box is \times\,6.
- Input 4: 4\times6=24, and 24-17=7, so the second box is -\,7.
- Check with input 9: 9\times6=54 and 54-7=47, as required.
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 19Challenge1 mark
Here is a number machine.The input is n.
The first box subtracts a number.
Complete the number machine so that the output is 6n-54.
Hint
Call the missing number a. Put n through the machine with a bracket, then multiply out and compare with 6n-54.
Worked solution
- If the first box is -\,a, the output is 6(n-a)=6n-6a.
- This must be 6n-54, so 6a=54.
- a=54\div6=9. The first box is -\,9, not -\,54: the 54 is the subtracted number after it has been multiplied by 6.
- Check: 6(n-9)=6n-54.
Question 20Challenge4 marks
Here are two number machines.
The input to both machines is 24.
The outputs are the same.
Work out the value of b.
Hint
Start with the machine that has no letter in it and work out its output.
Worked solution
- Work out the output of the bottom machine, which has no letter.
- 24\div3=8, then 8\times7=56.
- The top machine must also give 56. Its first box: 24\times4=96.
- The second box subtracts b from 96 to leave 56: 96-b=56.
- b=96-56=40. It is not −40, and not 96+56.
- Check: 96-40=56, the same as the bottom machine.
- b=40.
Builds on: Negative Numbers
Next: Solving One- and Two-Step Equations, Substitution
More on this topic: Function Machines worksheet with full solutions