6.1 The Basic Definition of a Function
The concept of a function is one that is fundamental to all area of mathematics. We will be using functions thoroughly from now on so it’s a good time to review exactly what a function is and how we can manipulate them.
Definition 6.1.
Let and be non-empty sets. Then is a function if and
In English this says that a function is a binary relation on two sets, and what makes a function different from any old binary relation is the property that every is paired with a unique .
Definition 6.2.
Let be a function. Then we say and denote the unique associated with as .
-
•
is domain of the function, denoted .
-
•
is the range11 1 Some people use the term range in an ambiguous way. A less ambiguous term is codomain, which means the same thing as we have just defined for range. of the function, denoted .
-
•
The image of , , is defined as , or more explicitly . The image is a subset of the range, and may or may not be a proper subset.
-
•
For a given , may be referred to as the image of under , or the value of at , or the output of for the input .
To express what the image of some function actually is, we need some kind of formula for the image of an arbitrary point . This can be given by a straightforward formula such as
(6.1) |
or a piecewise definition like
(6.2) |
or something even more abstract, such as a power series or recurrence relation (Recall that sequences are defined as functions).
A real function is a function that has real numbers as its inputs and outputs. We can visualise a real functions behaviour by treating the ordered pairs as Cartesian coordinates in the plane, which is what we all know as a graph.
Example 6.1.
Let be given by .
This is not a function since is not defined in for . Even if we restrict the domain of to , it is still technically not a function since there are two possible values of for all . We can fix this by taking the absolute value ( given by is a function).
Example 6.2.
Let be given by
This is again a valid function, and it has numerical values, but drawing a convincing graph of this function is left as a challenge to the reader.