Recall that a function
from a set
to a set
is a relation that assigns to each element
in the set
exactly one element in the set
. The set
is the domain (or set of inputs) of the function and the set
contains the range (or set of outputs).
The general characteristics of functions are:
a. Each element in A must be matched with an element in B.
b. Some elements in B may not be matched with any element in A.
c. Two or more elements in A may be matched with the same element in B.
d. An element in A (the domain) can not be matched with two different elements in B.
________________________________________________
Solving this problem we have:
1. The mapping diagram is represented in Figure 1. As you can see this is a function. Each element in A is matched with an element in B. All the elements in A are matched with the same element in B. So, this fulfills with the definition of function.
2. The mapping diagram is represented in Figure 2. This is not a function. Notice that an element in A (the domain) is matched with two different elements in B, that is, -8 is matched with -6 and 1.