Sets and membership
Set theory is all about sets. For now, we can say that sets are some specific collections of things. These things can be of any sort, including sets themselves. Going back to file systems, in some important aspects, sets are like folders, which may contain other folders, which in turn may contain other folders, and so on. In fact, sets are denoted just as we denoted folders in our language ; using curly braces. Thus, the following is a set:
Sets have members. The members of a set are those things that are in the set. So the members of the set are Peter, Leo, Taylor, and Curtis. Set membership is denoted by . So for example, We can denote sets by using capital letters. The first choice is usually (you can guess why…). This makes it easier to talk about them. So for example: Similarly, we can denote something not being in the set by using . So for example: So far, this is rather simple. Now let’s look at some complications.
Sets are extensional entities. This is a fancy word to say that all a set depends on is what its members are. So in a set, there is no ordering between its members, and it doesn’t matter whether the set is represented as having some members twice (or however many times). Each member is only counted once, in whatever order. So for example:
Definition 3.1 (Set extensionality). Two sets , , are identical if they have exactly the same members. That is, for all , if, and only if, . If and are identical sets, we write .
Exercise 3.1. Determine whether the following sentences are true or false. In each case, explain your reasoning.
-
;
-
if , then ;
-
the set has exactly one member;
-
if , then the sum of its members is ;
-
if , then .
There is one set that is unlike others, denoted . This is the empty set. The empty set is so-called because it is, you guessed it, empty. In other words, it has no members. So for any candidate member , .
Now sets can be members of other sets, and it is very important to be clear whether something is in a set, or it is in another set that is part of another set, and so on. Note: since is a set, it can also be a member of other sets. Let’s look at an example:
Now and are not the same set. They do share some elements, but they differ in others. Since they do not have the same elements, they are not the same set. In particular, , and . But note that . What is in is the set {a, b, c}. Conversely, , but not . Similarly, but , though again, .
Exercise 3.2. Determine whether the following expressions are true or false. In each case, explain your reasoning.
-
has no members;
-
has exactly one member, ;
-
has exactly members;
-
the sets , , and are pairwise distinct (that is, no two of them are the same set);
-
if and , then every member of is a member of ;
-
if and , then every member of is a member of .