← Back to course
Algebra 1 9-12 / Week 03 / Wednesday
3/6
Week 03 · Functions

Wednesday

Loft Lab: build a function machine
// One input, exactly one output
⏱ about 20 min

Wednesday: Loft Lab, Build a Function Machine

"Lab day," Comet says, cutting a slot in a shoebox. "Our engineer builds a crank box at home."

Wren shuffles a stack of index cards. "Inputs on cards. A secret rule card inside. Outputs come out the other slot."

"Who is the box?" Comet asks. "Someone has to sit behind it and do the rule."

"A partner," Wren says. "Or you, with the rule hidden from whoever feeds the cards."

Nova hovers over the stack, her light counting cards. "Would you like a hint? Keep a table of every pair."

"Input column, output column," Comet says. "Then we check: did any input ever give two outputs?"

"What do you notice when it does?" Wren asks. "The box is broken, or the rule changed."

What you need

  • A shoebox or cereal box with a slot cut in two opposite sides, done by a grown-up.
  • Twenty index cards or slips of paper and a pencil.
  • A partner to be the box, or a hidden rule card you follow yourself.
  • Your Loft Log with a two-column table ready: input and output.
Safety first
A grown-up cuts the slots in the box. Scissors and box cutters stay with the grown-up.
Keep the cards and the box on a table, not on the floor where someone could slip.
If the crank is a pencil through the lid, tape the point so nothing is sharp.

Run the lab

  1. The box keeper writes a secret rule on a card, such as "× 2 + 3", and hides it inside.
  2. Feed in an input card. The keeper writes the output on a new card and slides it out.
  3. Record the pair in your table. Feed in at least six inputs, and repeat one input on purpose.
  4. Check the table: did the repeated input give the same output? Then it is a function.
  5. Guess the rule from the table. Test your guess with two new inputs.
  6. Write the rule in function notation, such as m(x) = 2x + 3, and switch roles.

The crew's lab table

The crew's box ran the rule × 3 + 2, written f(x) = 3x + 2. These are their own cards, made up for the story.

Input cardOutput card, f(x) = 3x + 2
15
28
311
5?
8?
A rule machine labeled × 3 + 2 with 8 going in and a blank coming out.
READ THE CREW'S CARDS
  • Read the question.
  • Tap your answer.
The crew's box: f(x) = 3x + 2. What is f(5), the output for the card marked 5?
The crew's box: f(x) = 3x + 2. What is f(8)?
The crew fed in the card 2 twice and got 8 both times. What does that show?
The crew's domain was the cards {1, 2, 3, 5, 8}. How many numbers are in the range of f(x) = 3x + 2? Type the number.
WHY THIS EXERCISEThe range is the set of outputs that actually came out of the box.
StatementTrue or false?
Feeding the same input twice should give the same output twice.?
3 × 8 + 2 = 26?
For the crew's box, f(5) = 17.?
If one input gave two different outputs, the box is still a function.?
The input cards make up the domain of the box.?
WHY THIS EXERCISEThe lab turns the definition into something you can test with cards.
Try it
Run a box whose keeper secretly changes the rule halfway. Spot the moment the table stops being a function.
Then run a rule like "the number of letters in the word" with word cards. Is it a function?
Draw your function machine with its two slots. Write your rule in function notation on the lid.

Great lab work. Tomorrow the crew reads four Loft tables and decides what domain makes sense.

← Tuesday