Functions

As I stated in the introduction we will use a lot of functions in this class. Functions are an important type of mathematical object, along with relations, sets, and constant numbers.

Relations and functions

There are many different types of mathematical objects that we could study in this class. Some of them are relation-like objects: some of them are function-like objects: As you go along these lists, both the number of variables and the number of dimensions needed for graphing increase, as in the following diagram:

A truth value is either true or false; any statement with no variables in it should evaluate to true or false.

A constant is, in this class, usually just a real number. Any expression with no variables should evaluate to a constant, but we use one dimension to graph a constant on a number line.

A set is, in this class, a set of real numbers. A statement with one variable defines a set, such as {x | x < 2}, the set of real numbers that are less than 2. We again use one dimension to graph a set.

A function is a rule for taking one number (the input, or argument) and using it to calculate a number (the output, or value). An example is (x → x − 2), the rule which subtracts 2 from any number. To graph a function, we need two varibles; the graph of this function is the same as the graph of the equation y = x − 2.

A relation is a set of ordered pairs instead of a set of individual numbers. An example is {x,y | x + y < 2}.

We can continue with binary functions, ternary functions, etc, which take two or more numbers as inputs; and we can continue with ternary relations, quaternary relations, etc, which relate three or more numbers. But we will not actually study these in this class.

Names of functions

Just as we can use a variable to stand for a constant, so we can use variables to stand for sets, relations, and functions. For example, if A stands for the set {x | x < 2}, then these two statements mean the same thing: The first of these says that x belongs to the set A, while the second uses the definition of A to say exactly what that means. Similarly, if f stands for the function (x → x − 2), then these two expressions mean the same thing: The first of these is the value of the function f at the argument x, while the second uses the definition of f to say exactly what that means.

One of the basic principles of the theory of functions is that the only information necessary to specify a function is to show how to calculate its value at any argument. Therefore, if I write

f(x) = x − 2
and state that this holds for every real number x, then I have completely specified the function f. Usually in class (and always in the book), we will define a function in this way. Really it's just another way of saying that f is the function (x → x − 2). It's a handy method, because you have an equation in which you can replace x with any other expression (since the equation holds for every real number x). For example, using the function f above, we can replace x with 5 to calculate that
f(5) = 5 − 2 = 3.
Or we can say that
f(2x) = 2x − 2.

Go back to the course homepage.
Valid HTML 4.01 Transitional

This web page was written in 2010 by Toby Bartels, last edited on 2010 October 17. Toby reserves no legal rights to it. The diagram was drawn with the aid of Jacques Distler's SVG editor.

The permanent URI of this web page is http://tobybartels.name/MATH-1150/2010f/functions/.