Function Machines
A function machine applies operations to an input, one after another, to give an output. Running it backwards with inverse operations finds the input — the same idea used to solve equations.
Key points
- Work forwards: apply each box in order from left to right.
- Work backwards: start from the output, use the inverse of each operation and go from right to left.
- Inverses: + and − undo each other; × and ÷ undo each other.
- With input x, the output is an expression: × 3 then + 5 gives 3x + 5, but + 5 then × 3 gives 3(x + 5).
- Always check a reverse answer by putting it back through the machine.
Worked example
Question. Input → × 4 → − 7 → Output. The output is 29. Find the input.
- Undo − 7: 29 + 7 = 36.
- Undo × 4: 36 ÷ 4 = 9.
- Check: 9 × 4 = 36, 36 − 7 = 29 ✓
Answer. 9
Common mistakes
- Undoing the operations in the original order instead of in reverse.
- Using the same operation instead of the inverse (subtracting 7 again).
- Writing 3x + 5 when the machine adds before multiplying — brackets are needed: 3(x + 5).
Related topics
- Coordinates
- Algebraic Notation & Collecting Terms
- Substitution into Formulae
- Solving Linear Equations
- Sequences & the nth Term
- Expanding Single Brackets
- Factorising Expressions
- Inequalities & Number Lines
- Straight Line Graphs (y = mx + c)
- Expanding Double Brackets
- Equations with Unknowns on Both Sides
- Simultaneous Equations