Recall that a relation can map inputs to multiple outputs. It is a function when it maps each input to exactly one output. The set of all functions is a subset of the set of all relations. That means all functions are relations, but not all relations are functions.
How do I know if a relation is a function?
A relation is a function only if it relates each element in its domain to only one element in the range. When you graph a function, a vertical line will intersect it at only one point.
How do you tell if a relation is not a function?
Determining whether a relation is a function on a graph is relatively easy by using the vertical line test. If a vertical line crosses the relation on the graph only once in all locations, the relation is a function. However, if a vertical line crosses the relation more than once, the relation is not a function.