Year 7 (ages 11–12, Grade 6 in the US) · Maths · Algebraic notation · Lesson 7
Decoding expressions: finding the machine
Work out which operation a function machine is doing from its input and output, find more than one possible answer, decode expressions such as 3x, x/4, x + 7 and x² into machines, and find pairs of machines for two-step expressions such as 3n + 9 and 3(n + 3).

24-minute video lesson
Teaching, worked examples and 34 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Find a possible operation from an input and output
- Know that there can be more than one answer
- Turn an expression into a function machine
- Find two machines for a two-step expression
The method
- Compare the input and output: bigger or smaller?
- Try + or − (find the difference) and × or ÷ (find how many times).
- For an expression, read what happened to the letter, in order.
- Check by putting the input through your machine(s).
Key words: operation, decode, function machine, expression, inverse.
Worked examples
Worked examples from the lesson, with every step.
Question 1
Find one possible operation.
- Step 1: 7 → 70: much bigger
- Step 2: 70 ÷ 7 = 10: × 10
- Step 3: 70 − 7 = 63: + 63
- Step 4: 7 × 10 = 70 ✓
Answer: × 10 (or + 63)
Question 2
Find one possible operation.
- Step 1: 7 → 0.7: smaller
- Step 2: 7 ÷ 10 = 0.7: ÷ 10
- Step 3: 7 − 0.7 = 6.3: − 6.3
Answer: ÷ 10 (or − 6.3)
Question 3
What operation could this machine be?
- Step 1: b → b − 4
- Step 2: − 4
- Step 3: b − 4 ✓
Answer: − 4