Skip to content

11+ maths · Function machines

Finding the rule worksheet

Find the missing operation of a machine from input-output pairs, one step first, then two.

19 questionsTwo worked examples

Use this worksheet on screen or print it with answers. Free to use, with no account needed.

A worksheet left part-done opens where it was left. New numbers can be chosen on it.

Before this worksheet

It helps to be comfortable with:

Worked examples

Read the steps, then try the worksheet yourself.

Worked example 1A one-step machine turns 4 into 28 and 7 into 49. What is its rule?
A function machine: input 4, one unknown step, output 28.4?28inputoutput
  1. 4 → 28 could be × 7 or + 24.
  2. Try + 24 on 7: 7 + 24 = 31, not 49.
  3. Try × 7 on 7: 7 × 7 = 49. The rule is × 7
Worked example 2A two-step machine with the rule × ?, then + ? turns 3 into 11, 5 into 17 and 8 into 26. What is its rule?
A function machine: input 3, multiply by an unknown number, add an unknown number, output 11.3× ?+ ?11inputoutput
  1. From 3 to 5 the input goes up 2 and the output goes up 6: each 1 of input adds 3, so the first step is × 3.
  2. 3 × 3 = 9, and 9 + 2 = 11, so the second step is + 2.
  3. Check with 8: 8 × 3 + 2 = 26. The rule is × 3, then + 2