Before Methods becomes more formal, we want the basic function idea to feel automatic. A relation connects inputs to outputs. A function is a relation that passes one extra test.
Key idea
A function gives exactly one output for every allowed input.
Relation
Function
Ordered pairs: the fastest check
In an ordered pair, the first number is the input and the second number is the output. Scan the first numbers first.
Passes the function test
Each input appears once, so each input has exactly one output.
Fails the function test
The input appears twice with different outputs.
Repeated inputs aren't allowed
This is not a function. The input is sent to both and . Each input may have only one output.
Repeated outputs are allowed
This is still a function. Different inputs can share the same output. The problem only happens when one input has more than one output.
Tables and mapping diagrams
Tables and mapping diagrams show the same information in a different layout. The test is unchanged: check whether any input is linked to more than one output.
Table check
Compare the input row in both tables. The question is whether any input has more than one output.
Passes
| Input | |||
|---|---|---|---|
| Output |
Function: each input appears once.
Fails
| Input | |||
|---|---|---|---|
| Output |
Not a function: input has two outputs.
Mapping diagram check
In a mapping diagram, look at how many arrows leave each input.
Passes
Function: every input has exactly one arrow leaving it.
Fails
Not a function: input has two arrows leaving it.
Graphs: the vertical line test
On a graph, an input is an -value. A vertical line fixes one input at a time. If that vertical line hits the graph twice, the same input has two outputs.
Passes the vertical line test (function)
The vertical line touches once, so each input has one output. This is a function.
Fails the vertical line test (not a function)
The vertical line touches twice, so one input has two outputs. This is not a function.
Methods link
The rule itself does not change in Methods. What becomes more precise is the language around it: domain, co-domain, range, restrictions, and eventually one-to-one functions.
Lesson summary
- A relation connects inputs to outputs. A function is a relation where every input has exactly one output.
- Repeated outputs are fine. A repeated input with different outputs is what breaks it.
- In ordered pairs, scan the first numbers for a repeat. In a mapping diagram, count the arrows leaving each input.
- On a graph, use the vertical line test: a vertical line fixes one input, so if it hits twice, that input has two outputs.