
Function Machine Template
In - rule - out boxes, blank.
The Function Machine Template is a blank graphic organiser shaped like a machine with three clearly labelled sections: an INPUT box on the left, a RULE box in the centre (the 'machine'), and an OUTPUT box on the right. Students in Grades 2–6 use it to explore how a single operation consistently transforms any input value. Teachers write the rule and give sample inputs, or reverse the challenge by showing inputs and outputs and asking students to deduce the hidden rule. The template makes the abstract concept of a mathematical function tangible before any formal algebra is introduced. It bridges arithmetic (knowing times-tables or adding constants) with algebraic thinking (understanding that a rule applies universally). Parents find it equally useful for kitchen-table maths games where a child plays 'function detective.'
Learning objectives
- Understand that a rule (function) applies the same operation to every input
- Practise identifying rules from input-output pairs
- Build early algebraic reasoning before formal variable notation
- Explore inverse operations by reversing the machine direction
- Connect function machines to multiplication tables and number patterns
- Develop systematic thinking by organising inputs and outputs in a table
How to use this template
- Print the template and decide whether to give students the rule, the inputs, or the outputs — each variation creates a different challenge.
- Write a rule in the machine box (e.g. '× 4' or '+ 7' or 'double then subtract 1').
- Give two or three input values in the left column; students complete the corresponding output values.
- For the inverse challenge, cover the rule box and provide both input and output values — students work out the hidden operation.
- Extend by chaining two machines: the output of the first becomes the input of the second for two-step function exploration.
Classroom & home ideas
- Mystery machine game: teacher fills in five input-output pairs on the projected template; students race to name the rule in under 60 seconds.
- Multiplication table links: set the rule as '× 6' and run inputs 1–10 through the machine to generate the full 6 times table in a new context.
- Two-step functions: tape two machine templates side by side, apply '+ 3' then '× 2', and discuss why the order of rules changes the outputs.
- Real-world rules: use a function machine to model a market stall (buy at cost price, mark up by 20%) — input is cost, rule is '× 1.2', output is selling price.
- Inverse operations focus: give outputs only and ask students to find inputs by applying the inverse rule, reinforcing undoing operations.
Skills & curriculum links
Frequently asked questions
How many input-output rows does the template include?
The standard sheet has eight rows alongside the machine graphic, enough for a full lesson of examples or a timed challenge.
Is this suitable for introducing algebra with letters?
Yes — once students are confident with number rules, replace the specific rule with 'n + 5' or '3n' to introduce variable notation naturally.
Can the rule involve two operations?
Absolutely. Write '× 2 then + 1' in the rule box. This is excellent preparation for Grade 5–6 two-step equations and order-of-operations work.
How do I differentiate for advanced students?
Give only the input-output table with no rule shown, and ask students to write a rule that fits all pairs — then test it with a new input you provide.
Make it your own in the Worksheet Studio
Combine this with other worksheets, duplicate it, or generate a fresh version for any grade and language — free, no sign-up.
Open the Worksheet Studio