In mathematics, the graph of a function f is, formally, the set of all ordered pairs, such that x is in the domain of the function f.