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

Worked example

Question. Input → × 4 → − 7 → Output. The output is 29. Find the input.

  1. Undo − 7: 29 + 7 = 36.
  2. Undo × 4: 36 ÷ 4 = 9.
  3. Check: 9 × 4 = 36, 36 − 7 = 29 ✓

Answer. 9

Common mistakes

Related topics