It is possible for a function and its inverse to intersect at points that do not lie on the lie y = x. It is easy to prove that such intersection points (when they exist) lie on lines of the form y = -x + c where c is a constant.

For example, the intersection points of and its inverse function include (0, 1) and (1, 0). These two points lie on the line y = -x + 1.