Math activity
Mystery Number Machine
Build a mystery number machine from a box! Put a number in and a different number comes out. Can you figure out the secret rule?
Materials and setup
- cardboard box
- number cards
- paper
- pencil
- graph paper
How this changes by age
Pre-K (ages 3–4)
Build a mystery number machine from a box! Put a number in and a different number comes out. Can you figure out the secret rule?
Steps
- Decorate a box as a 'number machine.' Cut a slot on top and a hole on the side.
- Explain: 'When a number goes IN, a different number comes OUT. The machine has a secret rule!'
- Start with the rule 'add 1': put in a card with 2, say the machine does its magic, pull out a card with 3.
- Try inputs of 1, 2, 3, 4, 5. Outputs are 2, 3, 4, 5, 6. Can your child guess the rule?
- Try 'add 2' as the next rule. Put in 1 (out comes 3), put in 3 (out comes 5).
- Tell a grown-up one thing that surprised you.
Learning objectives
- Understand that a rule transforms an input number into an output number
- Identify the 'add 1' and 'add 2' rules from examples
- Predict outputs for new inputs once the rule is known
Kindergarten (ages 5–6)
Use the function machine to explore different rules: add, subtract, and double. Record input-output pairs in a table and guess the mystery rule.
Steps
- Build or use a function machine box. The parent picks a secret rule (add 3, subtract 1, or double).
- Child sends in numbers: 'I put in 4.' Parent announces the output: 'Out comes 7!'
- Child records each pair in a table: IN: 4, OUT: 7. IN: 2, OUT: 5. IN: 6, OUT: 9.
- After 4-5 inputs, child guesses the rule. 'The machine adds 3!'
- Now child picks a secret rule and parent has to guess!
- Try the rule 'double': in 3, out 6. In 5, out 10. In 1, out 2.
- Tell a grown-up one thing that surprised you.
Learning objectives
- Record input-output pairs in a table
- Identify addition, subtraction, and doubling rules from input-output data
- Create and test their own function rules
Early elementary (ages 6–8)
Explore function machines with multiplication and two-step rules. Write rules using variables and complete input-output tables.
Steps
- Play function machine with multiplication rules: 'multiply by 3' turns 4 into 12, 5 into 15.
- Try two-step rules: 'multiply by 2, then add 1' turns 3 into 7, 5 into 11.
- Complete input-output tables for 5 different rules. Given some pairs, fill in the missing inputs OR outputs.
- Write each rule in words AND as an expression: 'multiply by 2 then add 1' = 2n + 1.
- Challenge: given ONLY the outputs (3, 5, 7, 9, 11), figure out the inputs if the rule is 2n + 1.
- Design 3 function machine challenges for a family member with increasing difficulty.
- In one sentence, tell a parent or sibling what surprised you today.
Learning objectives
- Identify and write two-step function rules
- Express function rules using variables
- Work forward (input to output) and backward (output to input)
Upper elementary (ages 8–10)
Use function machines to explore algebraic functions, graph input-output pairs on a coordinate plane, and discover linear and non-linear relationships.
Steps
- Write 5 function rules as equations: f(x) = 3x - 2, f(x) = x^2, f(x) = x/2 + 4, etc.
- Create input-output tables for each function using inputs from -3 to 5.
- Graph each function on a coordinate plane by plotting the ordered pairs (input, output).
- Identify which functions create straight lines (linear) and which create curves (non-linear).
- Given a graph, write the equation of the function it represents.
- Challenge: create a function machine that converts Fahrenheit to Celsius: C = (F - 32) x 5/9. Test with 3 temperatures.
- In one sentence, tell a parent or sibling what surprised you today.
Learning objectives
- Write and evaluate algebraic functions for given inputs
- Graph functions on a coordinate plane from input-output tables
- Distinguish between linear and non-linear functions from graphs and tables
Safety and evidence note
Read the full activity before beginning. An adult should supervise tools, heat, food, outdoor work, movement, and experiments as appropriate. Completion records that the activity was done; the child’s explanation, work sample, photo, or demonstration is stronger evidence of learning than a completion check alone.
Related math activities
Addition and Subtraction Stories
Use toy animals to tell math stories. '3 ducks are swimming. 2 more come. How many now?' Act it out and count together.
Algebra Adventures: Patterns and Variables
Build a pattern with red and blue blocks — red, blue, red, blue! What comes next? Find patterns on shirts, tiles, and bricks too.
Angle Explorers
Explore turns and corners! Open a book wide or just a little bit. Discover that doors, scissors, and your arms all make angles when they open and close.
Animal Counting Corral
Round up toy animals into corrals (bowls or boxes) and count how many are in each group. Practice counting up to 10 with one-to-one correspondence.