test to see if diagram is a function
The Line Test for Mapping Diagrams. 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.