How many linear functions (functions of the form ) are equal to their own inverse? Answer with a non-negative integer or with "inf" for "infinitely many."

There are only two solutions: f(x) = x and f(x) = -x.