if for each value of x in the domain there is one value of y in the range y is a function of x

5,2 5 is x 4,-3 3,1 5,4 5 is x

2 times shows up, same x, different y.

3,1 4,2 -1,2

this relation is a function, all 3 x coordinates are unique.