Function machines · Year 6
In Year 6 you learn: outputs from a rule; finding the input or the rule.
A flow diagram (also called a function machine) takes an input number, does a rule to it and gives an output number. If you know any two of the input, the rule and the output, you can find the third.
Key facts
- Input → rule → output: do the rule to the input to get the output.
- To find the input, work backwards from the output: undo each step with the inverse operation, last step first.
- The inverse of + is −, and the inverse of × is ÷.
- To find a rule, look at how each input changes into its output. Check the rule works for every pair.
Worked examples
Example 1
A function machine turns 1 into 3, 2 into 6 and 4 into 12. What is the rule?
Answer: × 3