Horizontal line test. If a function is one-to-one, every ``horizontal line'' should intersect the graph of in at most one point.
Alternative definition of inverse function. Suppose that is a one-to-one function with domain and range . Then the inverse function can be viewed as the set on the rectangular coordinate system. Furthermore, the set is given by