Recall that a relation is a function if for every value on the domain there is only one value on the range.
(a) Notice that for every value on the domain, there is only one value on the range:
For the value 0 in the domain, there is the value 5 in the range.
For the value 1 in the domain, there is the value 6 in the range.
For the value 2 in the domain, there is the value 7 in the range.
For the value 3 in the domain, there is the value 7 in the range.
Therefore the relation represented by the given graph in a) is a function.
(b) Notice that for the value 3 in the domain there are two values in the range, 6 and 7, therefore, the relation represented by the graph in b) is not a function.
Answer:
(a) Function.
(b) Not a function.