Function as a pairing rule
The vending machineThe vending machine rule
When you press button B4 (the input you expect apple juice (the output If B4 sometimes drops apple juice and sometimes drops a soda, the machine is broken.
In a function, each input gives exactly one output.
Worked example: is each table a function?
Step 1: Table A pairs inputs with outputs
Step 2: Each input has one partner, so Table A is a function.
Step 3: Table B pairs input with and later pairs input with
Step 4: The input has two different outputs, so Table B is not a function.
Look for a repeated input with a different output.
Case A: two buttons, same drink
and
Still a function: different inputs can share an output.
Case B: one button, two drinks
and
Not a function: one input gave two outputs.
Big mistake to avoid
The arrow in means "this input gives this output." It does not mean multiply.
Cool math secret
Table A follows one rule: double the input, then add That is and every input gets exactly one answer.
Try it with a tool
• Function Table & Graphing Table Maker: Table A's rule is filled in. Change the x values to and to see and

