# When is a relation a function?

Given two sets $A$ and $B$ (they could be sets of numbers, but also what you want...), a relation is a certain number of arrows that joints some elements of $A$ with some elements of $B$.
A function is a particular relation that joints every element of $A$ with one and only one element of $B$.