Every function is a relation because the numbers have relationships but not every relation is a function because for it to be a function there has to be one y fo every x if any x(input) has more than one y(output) it's not a function
X - 1/2 (if you meant the difference between)
I hope this helps. If I need to know explain further let me know.