Most textbooks, especially ones not aimed at college math majors, give a definition of "function" that seems quite intuitive. They'll say something along the lines of: a function is a rule that takes an input x and turns it into an output f(x). Formally this isn't quite right - the essence of a function is in the set of ordered pairs {x, f(x)} and not in the specific rule that connects them.…