Mathematics.
tell you that f(x) is constant valued, you would only need to evaluate the function once to figure out the mapping everywhere. We can extend this. Maybe f(x) = a*X+b, for some constant ‘a’ and ‘b’. Now you’d need to evaluate the function twice and, with a little bit of algebra you could work out