A function is a set of ordered pairs in which no two different ordered pairs have the same x -coordinate. An equation that produces such a set of ordered pairs defines a function.