A mapping diagram can be used to represent a relationship between input values and output values. A mapping diagram represents a function if each input value is paired with only one output value.
To check if a relation is a function, given a mapping diagram of the relation, use the following criterion: If each input has only one line connected to it, then the outputs are a function of the inputs.