So, a binary relation is a set of ordered pairs, any such set. A binary relation on a set is a binary relation which is a subset of . A binary relation between sets and is a binary relation which is a subset of . Now, I want to say what is a function: a function will be a special kind of a binary relation.
Let us fix a binary relation . This just means that is a set of ordered pairs. Two natural sets assigned to are its domain and its range:
Of course, it's not immediate that these are sets, but there is no doubt that they are classes. In order for a class to be a set, it suffices for it to be contained in a set. More precisely, if a class is contained in a set , then is equal to the intersection . The intersection of a set and a class is a set by Axiom of Comprehension. Hence, is a set. Back to the case of , in order to show that is a set, we just need to pinpoint one of its supersets. Here's what works:
To understand this, you'll just need to remind yourself of the definition of an ordered pair. The reasoning here is similar to the one that we had with . We can see in a similar fashion that is a set.
Now, these two sets are very special when the relation is concerned. To begin with,
or in other words, is a binary relation between and . However, more is true: if and are any sets and if it is true that is a binary relation between and , then we necessarily have that and . Said differently, and are the least sets and such that is a binary relation between and .
If , then by definition, there exists such that . Of course, there can be more then one such . For example, if is the standard order of natural numbers, then because . However, it is also true that . This means that if we can take both and and get .
Functions are a special kind of binary relations where this doesn't happen. More precisely, is a function if and only if is a binary relation and in addition, for every , there exists a unique such that .
Here is an example of a function. Let us define that if and only if is a natural number and . If is a natural number, then we said that is its successor. So, just means " and are two consecutive natural numbers (in that order)". However, since every natural number has a unique successor, the relation meets the requirement to be a function!
A function will very often be denoted by . We also frequently write
by which we mean " is a function, , and ". For the set we require it to be exactly equal to the domain of , while for the set we just require that all the points in the range of are contained in it. For example,
while ( is not a successor of anything!).
One more piece of standard notation. So, if is a function and , then there is a unique such that . Thus, it makes sense to name this unique : we name it . Here are examples:
Comments
Post a Comment