Maths glossary · Year 7 to Year 9
Function
Also called: function machine, input-output rule
What it means
A function is a rule that gives exactly one output for each input. The rule 'multiply by 2, then add 1' is a function: an input of 3 always gives an output of 7.
Examples
- For y = 3x − 2, the inputs 0, 1 and 2 give the outputs −2, 1 and 4.
- {(1, 5), (2, 7), (3, 9)} is a function; {(1, 5), (1, 6)} is not, because the input 1 has two outputs.
- If f(x) = x², then f(4) = 16.
For teachers
A function pairs each input with exactly one output, and it can be shown as a rule, an input-output table, a set of ordered pairs, a mapping diagram, an equation such as y = 2x + 1, or a graph. On a graph, the vertical line test checks whether a relation is a function. Early 'function machine' and input-output table work builds the idea long before formal notation such as f(x) = 2x + 1.
Common misconception
Students often think a function cannot give the same output for two different inputs. That is allowed (y = x² gives 9 for both 3 and −3); what a function cannot do is give one input two different outputs.
Lesson plans that teach it
- Linear Graphs: Plotting y = mx + c from a Table of Values, Gradient and y-InterceptYear 9 · free lesson plan with worksheet