Home › Elementary › Stage A › Unit 9: Patterns and number machines › 9.4
9.4 Function machines
A function machine applies operations in order. The input 4 through “× 3 then + 2” gives 4 × 3 + 2 = 14.
To find the input from the output, work backwards using the inverse operations: subtract instead of add, divide instead of multiply.
Worked exampleOutput 20 from “× 3 then + 2”. Backwards: 20 − 2 = 18, then 18 ÷ 3 = 6.
A function can also be written as an equation: y = 3x + 2, or as a mapping: x → 3x + 2.