A function is a rule where every input value is assigned precisely one output value.
As an example, let's consider the rule defined by
where can be any number from the set A set is a collection of numbers we can use in our rule.
Let's calculate the possible values of
We can represent this rule using a mapping diagram, like the one shown below.
This rule is a function because every input is mapped to precisely one output.
Now let's consider the rule given by the following mapping diagram:
This rule is not a function because at least one input is assigned to more than one output. In this case, the input is mapped to both and
Finally, let's consider the rule given by the following mapping diagram:
This rule is not a function because at least one input is not assigned to an output. In this case, the input is not assigned an output.
So, we must remember that a rule is a function if and only if every input is mapped to precisely one output.
In particular, a rule is not a function in the following cases:
- An input value is not assigned an output value. For example, the following situation is not allowed for functions (an input value with no arrow from it):
- An input value is assigned to more than one output value. For example, the following situation is not allowed for functions (an input value with more than one arrow from it):
Is the following rule a function?
A rule is a function if and only if every input is mapped to precisely one output.
In particular, a rule is not a function in the following cases:
- An input value is not assigned to an output value. For example, the following situation is not allowed for functions (an input value with no arrow from it):
- An input value is assigned to more than one output value. For example, the following situation is not allowed for functions (an input value with more than one arrow from it):
Is the above rule a function?
|
a
|
Yes, since both sets have the same number of elements |
|
b
|
No, since both sets have the same number of elements |
|
c
|
Not enough information |
|
d
|
Yes, since each input is assigned to exactly one output |
|
e
|
Yes, since each output is related to at least one input |
Is the above rule a function?
|
a
|
No, since both sets have different numbers of elements |
|
b
|
No, since there is at least one output with more than one input |
|
c
|
Yes, since each input is assigned to exactly one output |
|
d
|
Yes, since each output is related to at least one input |
|
e
|
Not enough information |
When a rule is represented as a table, we have a function if and only if all values in the first row are distinct (i.e., different).
Let's consider some examples.
The rule defined by the following table is a function. Notice that all values in the first row are distinct. Every input value is assigned to exactly one output value.
On the other hand, the rule defined by the following table is not a function. Notice that the first row contains the value twice. The input value is assigned to two output values ( and ).
Which missing -pair would make the following rule a function?
| ? | |||||||
| ? |
A rule is a function if and only if every input is mapped to precisely one output.
If we substitute the -pair into our table, we get a function.
Notice that all values in the first row are distinct (i.e., different). Every input value is assigned to precisely one output value.
None of the other -pairs gives rules that are functions. So, for example, substituting the -pair gives a rule that is not a function.
Notice that the first row contains the value twice. The input value is assigned to more than one output value ( and ).
Which missing $xy$-pair would make the following rule a function?
| $x$ | $-5$ | ? | $-1$ | $0$ | $1$ | $3$ | $5$ |
| $y$ | $25$ | ? | $1$ | $0$ | $2$ | $4$ | $6$ |
|
a
|
$(0, -1)$ |
|
b
|
$(-1, -4)$ |
|
c
|
$(-5, -10)$ |
|
d
|
$(-2, -4)$ |
|
e
|
$(3, 5)$ |
Consider a rule between $x$ and $y$ given by the table below.
| $x$ | $12$ | $9$ | $7$ | $3$ | $6$ | $9$ |
| $y$ | $15$ | $12$ | $9$ | $6$ | $3$ | $0$ |
- The rule is a function
- The rule is not a function
- The rule maps the input $x=15$ to the output $y=12$
|
a
|
III only |
|
b
|
I and III only |
|
c
|
I and II only |
|
d
|
II only |
|
e
|
I only |