I defined the ordered pair as
I might've used the notation in some places by accident, but let's be particularly careful of our notation in this post. Having defined an ordered pair , we might wonder what an ordered triple would be. One way to approach this is to define -tuple by recursion on . So we say:
In this definition, we know what is a 1-tuple and we can easily see that a 2-tuple exactly corresponds to an ordered pair. From there, we can see that is actually , and so on. However, there is a subtle issue here and it has to do with the rigor that I'm suppressing from my posts. Very briefly, our definition would here go something like: "given sets , we define the -tuple as ..." The problem, though, is that by just listing sets at the beginning of the sentence, we've already implicitly used some notion of an -tuple that we're trying to define! So if we're going to make this work properly, we have to define an -tuple without listing its elements.
To know what is an -tuple, we just need to say what is the set at the place 0, what is the set at the place 1, and so on, what is the set at the place . Well, this just a function with domain
In fact, this is all there is to it: we define an -tuple as a function with domain . If is an -tuple, we might write
to show which elements are being listed by .
Note that I used here parentheses instead of angled brackets. This is not a typo. Let's say that and is a 2-tuple, with and . We have that
while
This is why I commented about my notation in the beginning: a 2-tuple is formally different from an ordered pair! We need the notion of an ordered pair to define functions, which we then use to define tuples. We can then work only with tuples, since they help avoid the issue mentioned above. There is no much danger in mentally identifying ordered pairs with 2-tuples, as long as we are aware of this subtle difference.
An -tuple of elements of is just an -tuple whose coordinates (things listed) belong to . In other words, that's a function . The class of all -tuples of elements of is denoted by
It turns out that this is in fact a set. How do we show this? By induction on . In the case , we have that
which is a set. What we used here is that the only function from to is the empty set. Why is that? Well, because such a function is a subset of
(since there are no 's such that ) and the only subset of the empty set is the empty set.
This was the base of the induction. For the inductive step, let's assume that is a set and let us show that is a set. Since is a set, so is
By replacing with , we get that
is a set (we are using here Axiom of Replacement). The point here is that if and if , then is a function from to defined by
In other words, .
If is an -tuple (of sets), we can define the product
of the listed sets as the set of all -tuples such that for all , we have that . The point is that the coordinate of belongs to . This class is a set because it is contained in a set: it is contained in
In the case , we have that
which, again, is not literally the same as
but we might use sometimes the notation when we really mean . When we have that , we get that
Now that we understand -tuples, I can finally tell you what are -ary relations. Of course, they are just sets of -tuples! An -ary relation on a set is just a subset of . A bit of a formal point is in order. Master defined binary relations as sets of ordered pairs. As I pointed it out, this is not exactly the same as the set of two-tuples, so for the sake of precision and coherence, by a binary relation we will mean from now on "a set of two-tuples". A similar issue arises with unary relations: before, a unary relation on a set was a subset of itself, whereas this new definition says that it's a subset of the set
This is different because . However, this "fine print" is not really important for doing math, so we shall push it under the rug.
There is also a notion of an -ary function. We also call them -ary operations. An -ary operation on set is just a function
Naturally, a unary operation is identified with the function defined by for . We won't make a distinction between and from now on. In general, if is an -ary operation on and if , instead of
we write
There is a certain correspondence between operations and relations. Let be an -ary operation on . For the sake of simplicity, let us assume that . We then have that
This set is just a "formalism away" from the set
What I'm getting at is that and are essentially the same object. However, the operation is binary, whereas the relation is ternary! In general, an -ary operation on gives rise to an -ary relation on .
One might be tempted to reverse the above correspondence. So, starting from a ternary relation on , they might try defining
This is binary relation between and , but in order for it to be a binary operation on , it would need to satisfy . Remember, this requires that for all , there exists a unique such that , or, which is the same, . However, there is no reason in general for this to be true. In fact, for a given two-tuple ,
- there might not be any such that ,
- there might be two different such that and .
Here is an example of both of these things occurring. Say and say
Now for each , one of the above points fails. I'll let you convince yourself of this. 😀
Comments
Post a Comment