Year 7 (ages 11–12, Grade 6 in the US) · Maths · Function machines · Lesson 2
Two-step function machines
Use two-step function machines: find outputs, work backwards undoing the last step first, find a two-step rule, and write outputs as expressions such as 4n + 1 and 4(n + 1).

26-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Find the output of a two-step machine
- Work backwards to find the input
- Find a two-step rule
- Write outputs as expressions, using brackets when needed
The method
- Forwards: do step 1, then step 2.
- Backwards: undo step 2 first, then step 1.
- Use inverses to work backwards.
- Check by going forwards.
Key words: function machine, two-step, inverse, expression, brackets.
Worked examples
Worked examples from the lesson, with every step.
Question 1
A two-step function machine does × 5, then + 2. The input is 4. Work out the output.
- Step 1: Read the machine
- Step 2: Step 1: 4 × 5 = 20
- Step 3: Step 2: 20 + 2 = 22
Answer: 22
Question 2
A two-step function machine does − 3, then × 4. The input is 10. Work out the output.
- Step 1: Read the machine
- Step 2: Step 1: 10 − 3 = 7
- Step 3: Step 2: 7 × 4 = 28
Answer: 28
Question 3
A two-step function machine does + 11, then ÷ 5. The input is 9. Work out the output.
- Step 1: Read the machine
- Step 2: Step 1: 9 + 11 = 20
- Step 3: Step 2: 20 ÷ 5 = 4
Answer: 4