At first glance, a function looks just like a relation. 1  It's a set of ordered pairs such as { (0,1) , (5, 22), (11,9) }. 2  Like a relation, a function has a domain and range made up of the x and y values of ordered pairs.