01 — Explanation
What is a function machine?
A function machine represents a rule as a sequence of operations: an input goes in, is transformed step by step, and an output comes out. It's a visual bridge between arithmetic and algebra — the same machine that computes "input , then " is just a diagram for the formula .
02 — Explanation
How do I find an output from a given input?
Apply each operation in order, left to right, using the result of one step as the input to the next.
Example: input , operations "" then "": , then .
Exam Tip
these are quick, reliable marks — always show each intermediate value rather than jumping straight to the output, since a slip part-way through can still earn a method mark if the working is visible.
03 — Explanation
How do I work backwards to find an input from an output?
Reverse both the order of operations and each operation itself (addition ↔ subtraction, multiplication ↔ division). The last operation applied going forward must be the first one undone.
Example: a machine applies "" then "", and the output is 48. Reverse order: undo first (), then undo (). Input .
Common Mistake
undoing the operations in the same left-to-right order instead of reversing it — e.g. calculating when the machine was then is correct, but the reverse order must always match which operation was actually applied last.
04 — Explanation
How do I build a function machine from an algebraic expression?
Identify which operation touches the variable first. In , the subtraction happens before the division (it's inside an implied bracket), so the machine is "subtract 3" → "divide by 5". A quick check: substitute a simple number for the variable and see which calculation you do first.
05 — Explanation
How can I use a function machine to solve an equation?
Draw the machine for the expression, then work backwards from the given output using inverse operations.
Example: solve . The machine is "÷2" then "−6", with output 3. Reverse: add 6 first (), then multiply by 2 (). So .
06 — Worked example
Worked exam-style question
A machine applies "+5" then "×3" to an input, giving an output of 24. Find the input, then check your answer.
- Reverse order, undo "×3" first: .
- Undo "+5": .
- Check by running 3 forward through the original machine: , then ✓.
Answer: the input is 3. Always finish with this forward check — it catches order-of-operations errors before you commit to a final answer.
Exam Tip
function machine questions typically appear in three guises — forward (find the output), reverse (find the input), or "fill in the missing operation". All three use the same underlying skill, so a student fluent in reversing operations correctly can handle any variant with equal confidence.