Home  ›  Learning Centre  ›  Maths  ›  Algebra  ›  Function Machines
11+ Maths Guide · Year 5–6 · Free lesson

Function Machines

Function machines make algebra mechanical: numbers go in, operations happen in order, numbers come out. The real skill — and the exam question — is running the machine backwards with inverses.

A2Function Machines
In goes a number, out comes another.
Function machines apply operations in order — and reverse them to work backwards.
What comes out?
5
× 2
+ 3
13
5 doubled is 10, plus 3 is 13.
Backwards = reverse the operations AND the order: −3, then ÷2.
1

Learn the 3-Step Method

1Follow the arrows forward.

Do the operations in order: 5 → ×2 → 10 → +3 → 13.

5 → 10 → 13

2Backwards: undo in reverse.

Output 13? Undo +3 first (−3 → 10), then undo ×2 (÷2 → 5).

13 → 10 → 5

3Each operation has an inverse.

+ ↔ − and × ↔ ÷. Undoing means using the inverse.

+↔− · ×↔÷
💡 Key IdeaGoing backwards you must reverse the ORDER too — last operation gets undone first, like taking off shoes before socks.
2

Worked Example

A machine does ×3 then −2. The output is 19. What was the input?

Undo −2
19 + 2 = 21
Undo ×3
21 ÷ 3 = 7
✓ Input
7
Check: 7 ×3 = 21, −2 = 19 ✓
3

Watch Out! Common Mistakes

Undoing in the same order.
19 ÷ 3 then + 2 = 8.3… ✕

Reverse the order! Undo the LAST step first: +2, then ÷3 → 7.

Using the same operation to undo.
undo ×3 with ×3 ✕

Inverse! ×3 is undone by ÷3; +2 is undone by −2.

Skipping the forward check.

Ten seconds! Push your answer through forwards: 7 → ×3 → 21 → −2 → 19 ✓. If it doesn’t match, re-do the undo.

Cheat Sheet

FUNCTION MACHINES
  1. Forward: apply operations in order.
  2. Backward: inverse operations, reverse order.
  3. + ↔ − and × ↔ ÷.
  4. Always check by running forwards.
Example: ×3 then −2, output 19 → +2, ÷3 → input 7.
📄 Free printable: Download the Function Machines cheat sheet (PDF) — keep it by your child's desk.

Quick summary

Frequently asked questions

What is a function machine?

A diagram where a number enters, operations are applied in order (like ×2 then +3), and the result comes out. It's the friendly front-end of algebra.

How do you find the input from the output?

Undo the operations with their inverses in reverse order: for ×3 then −2 with output 19, add 2 (21) then divide by 3 (7).

Why must the order reverse when working backwards?

Like undressing in reverse of dressing — the last thing done must be the first thing undone, or the operations tangle.

← Previous lesson
A1 What Is Algebra?
All lessons
Algebra Hub
Next lesson →
A3 Writing Expressions
🛡️ Curriculum aligned⭐ Builds confidence💜 Made for 9–13 year olds
© MindBlaze. Free to read, share and link to. Learning Centre