A mapping diagram can easily tell us whether the shown relation is a function or not. We call the rule that tells this the Unique Arrows Test: if only one arrow comes from every domain element, then the relation is a function; otherwise, if two or more arrows come from a single domain element, then the relation is NOT a function.
This is a function! Miriam Briskman, CC BY-NC 4.0
This is NOT a function. Miriam Briskman, CC BY-NC 4.0