Skip to content

11+ maths · Function machines

Substitution worksheet

Replace letters with numbers and evaluate, keeping the order of operations.

23 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 1Find the value of 3a + 2b when a = 4 and b = 5.
  1. 3a + 2b = 3 × 4 + 2 × 5
  2. = 12 + 10
  3. = 22
Worked example 2Find the value of 4p − q and of p² + q when p = 2 and q = −3.
  1. 4p − q = 4 × 2 − (−3) = 8 + 3 = 11
  2. p² + q = 2 × 2 + (−3) = 4 − 3 = 1
  3. 11; 1