A relation is a function when 2 or more of the domain are the same, if none are the same then it is a function.