4 Triangles › Worksheets › Function machines

Function machines

KS3Year 7 · 60 questions · about 45 minutes · start at A and work through as far as you can · no calculator

NameDate

Ready? You need these first.

✓1Work out 7 × 4
✓2Work out 36 ÷ 9
✓3What undoes × 5?

Stuck on these? Start with inverse operations first.

A. One step Fluency Find the output.

↗ Do what the machine says to the input.

A14 → [+ 5] →
A28 → [+ 8] →
A311 → [− 7] →
A44 → [× 5] →
A516 → [÷ 2] →
A625 → [÷ 5] →

B. Two steps Fluency Find the output. Go through the machine in order, left to right.

↗ The first step's answer goes into the second step.

B17 → [× 5] → [+ 7] →
B23 → [× 3] → [+ 2] →
B35 → [× 3] → [+ 6] →
B48 → [+ 3] → [× 3] →
B510 → [÷ 5] → [× 3] →
B65 → [× 4] → [− 5] →
B73 → [+ 11] → [− 10] →
B86 → [÷ 3] → [+ 8] →

C. Working backwards Fluency Find the input. Start at the output and do the inverse of each step, right to left.

↗ The inverse of + is −, of × is ÷. Undo the last step first.

C1 → [− 1] → 10
C2 → [− 2] → 4
C3 → [÷ 5] → 1
C4 → [× 3] → [+ 6] → 30
C5 → [× 5] → [+ 4] → 54
C6 → [× 4] → [− 10] → 30
C7 → [+ 4] → [÷ 2] → 4
C8 → [+ 1] → [× 5] → 25

D. Worked examples Worked examples Read the first one. Fill the gaps in the second. Do the third on your own the same way.

↗ Each example does a little less for you.

D1Read this one → [× 3] → [+ 4] → 13
Undo the + 4: 13 − 4 = 9
Undo the × 3: 9 ÷ 3 = 3
Check: 3 × 3 + 4 = 13 ✓
D2Fill the gaps → [× 2] → [+ 7] → 13
Undo the + 7: 13 − 7 =
Undo the × 2: ÷ 2 =
Check: × 2 + 7 = 13 ✓
D3On your own → [× 3] → [+ 2] → 26
Undo each step, last step first, then check.

E. Missing operation Reasoning What does the machine do? Give every answer you can find.

↗ Sometimes more than one operation works: 4 → 12 could be × 3 or + 8.

E15 → [] → 6
E29 → [] → 5
E325 → [] → 5
E410 → [] → 2
E58 → [× 2] → [] → 22
E68 → [× 2] → [] → 18

F. Letters in Fluency The input is a letter. Write the output as an expression.

↗ When the + or − comes first, the whole thing gets multiplied: use a bracket.

F1x → [× 4] → [+ 3] →
F2x → [× 4] → [+ 2] →
F3x → [× 2] → [+ 3] →
F4n → [× 4] → [− 6] →
F5n → [− 7] → [× 6] →
F6t → [× 5] → [− 3] →

G. Spot the pattern Spot the pattern Only one thing changes each time. Predict the output before you work it out. What do you notice?

↗ First the input goes up by 1: the output goes up by 3. Then the two steps swap places: does the order matter?

G11 → [× 3] → [+ 3] →
G22 → [× 3] → [+ 3] →
G33 → [× 3] → [+ 3] →
G44 → [× 3] → [+ 3] →
G512 → [× 3] → [+ 3] →
G612 → [+ 3] → [× 3] →
G713 → [× 3] → [+ 3] →
G813 → [+ 3] → [× 3] →

H. Which is right? Which is right? Choose A, B, C or D. Then say what mistake each wrong answer makes.

↗ Hold up A, B, C or D.

H1What is the output?
6 → [+ 4] → [× 2] → A10B14C20D12
H2What is the input?
→ [× 3] → [− 5] → 13A54B18C34D6
H3What is the output?
x → [− 2] → [× 5] → A5x − 2Bx − 2 × 5C5(x − 2)Dx + 3

I. Problems Problem solving Draw a function machine to help you.

I1I think of a number, multiply it by 4, then take away 7. The answer is 25. What is my number?
I2A shop works out its prices with this machine: cost → [× 2] → [+ £1] → price. Find the price of a mug that costs £6 to make.
I3To change kilograms into pounds (lb), use the machine kg → [× 2.2] → lb. Change 5 kg into pounds.
I4To change °C into °F, use the machine °C → [× 1.8] → [+ 32] → °F. Change 100 °C into °F.
I5Using the same °C to °F machine, the output is 50 °F. What was the temperature in °C?
I6A taxi fare is worked out by miles → [× 2] → [+ 3] → fare (£). A fare is £15. How many miles was the journey?

J. Make your own Open task Everyone can start this. How far can you take it?

J1Make a two-step machine that turns 3 into 11. How many different ones can you find?
J2Find two steps where swapping the order makes no difference. Find two where it does. Can you explain why?

K. Deeper Deeper For when you have finished.

K1The machine is x → [× 2] → [− 5]. Which input gives an output equal to the input?
K2Draw the inverse machine for [× 4] → [+ 1].
K3What does [+ 3] → [× 2] → [− 6] do to any number? Try a few, then explain with x.
K4Machine A is [× 3] → [+ 1]. Machine B is [+ 1] → [× 3]. Put 4 into both. Which output is bigger, and by how much? Is it always the same difference?

✓ Every answer on every version is worked out by the computer and checked again a second way. Last checked 3 December 2026. Report a problem · Pupils: check your answers · Teachers: a do now from this sheet, with new numbers, for checking back in a week or two