Which of the following relations are functions?

function
not a function
function
reason? if a relation has 2 of the same number on the x value it is not a function. for example 1,2,3 would be a function but 1,2,3,3 wouldnt.
The first one and last one are functions.
Hope this helps you!