Exercise 1) 1) Let , and . Then the Cartesian product of A and B is a perfectly good set, and so we can take its Cartesian product with C, denoted by . How many elements are in ?.
Solution: The quick answer is that there are 8 elements in . The longer answer would involve an explanation as to why this is so, so let me provide that now. We already know that the Cartesian product of a set with N elements and one with M elements is a set with elements. Accordingly, we can simply view as the Cartesian product of a 4-element set with a 2-element set. This is because is the Cartesian product of , which has 4 elements (since it is itself the Cartesian product of two 2-element sets), with C, which has 2 elements.
To be even more explicit, and to check that we’re right, we can simply write out all of the elements in . To do this, we first need all of the elements in . These are simply . Thus, simply inserting these 4 elements into the “first slot” of the pairs in the set , we have the 8 elements .
Exercise 2) Let . How many elements are in ?
Solution: After doing the above exercise, I think this one is rather clear, the main point of it being to point out that we can indeed take Cartesian products of sets with themselves (just as we can with unions and intersections). Thus, since A is a 3-element set, the Cartesian product of A with itself is a 9-element set. That’s the answer. To be more clear, however, we can list these 9 elements: . Note, however, that while we can take unions, intersections, and Cartesian products of sets with themselves, the results of doing so are vastly different. The union and intersection of any set with itself are both simply the original set (as you can check), whereas the Cartesian product of a set with itself is vastly different from the original set. The difference lies in the fact that the elements in the Cartesian product are pairs of elements in the original set, and not the elements themselves. Note also that and are different elements, since the pairs involve picking the “1” and “2” from different copies of A. We can think of this as picking the elements in a different order: one involves picking 1 first and 2 second, and the other involves picking 2 first and 1 second, thus giving rise to different pairs.
On to Lesson 18