Beginning Activity Beginning Activity 1: Set Operations
Before beginning this section, it would be a good idea to review sets and set notation, including the roster method and set builder notation, in Section 2.3.
In Section 2.1, we used logical operators (conjunction, disjunction, negation) to form new statements from existing statements. In a similar manner, there are several ways to create new sets from sets that have already been defined. In fact, we will form these new sets using the logical operators of conjunction (and), disjunction (or), and negation (not). For example, if the universal set is the set of natural numbers \(\N\) and
The set consisting of all natural numbers that are in \(A\) and are in \(B\) is the set \(\{1, 3, 5 \}\text{;}\)
The set consisting of all natural numbers that are in \(A\) or are in \(B\) is the set \(\{ 1, 2, 3, 4, 5, 6, 7, 9 \}\text{;}\) and
The set consisting of all natural numbers that are in \(A\) and are not in \(B\) is the set \(\{ 2, 4, 6 \}\text{.}\)
These sets are examples of some of the most common set operations, which are given in the following definitions.
Definition.
Let \(A\) and \(B\) be subsets of some universal set \(U\text{.}\) The intersection of \(A\) and \(B\text{,}\) written \(A \cap B\) and read “\(A\) intersect \(B\text{,}\)” is the set of all elements that are in both \(A\) and \(B\text{.}\) That is,
The union of \(A\) and \(B\text{,}\) written \(A \cup B\) and read “\(A\) union \(B\text{,}\)” is the set of all elements that are in \(A\) or in \(B\text{.}\) That is,
Definition.
Let \(A\) and \(B\) be subsets of some universal set \(U\text{.}\) The set difference of \(A\) and \(B\text{,}\) or relative complement of \(B\) with respect to \(A\text{,}\) written \(A - B\) and read “\(A\) minus \(B\)” or “the complement of \(B\) with respect to \(A\text{,}\)” is the set of all elements in \(A\) that are not in \(B\text{.}\) That is,
The complement of the set \(A\text{,}\) written \(A^c\) and read “the complement of \(A\text{,}\)” is the set of all elements of \(U\) that are not in \(A\text{.}\) That is,
For the rest of this beginning activity, the universal set is \(U = \left\{ {0, 1, 2, 3, \ldots , 10} \right\}\text{,}\) and we will use the following subsets of \(U\text{:}\)
So in this case, \(A \cap B = \left\{ {x \in U} \mid {x \in A \text{ and } x \in B} \right\} = \{2, 3 \}\text{.}\) Use the roster method to specify each of the following subsets of \(U\text{.}\)
1.
\(A \cup B\)
2.
\(A^c\)
3.
\(B^c\)
We can now use these sets to form even more sets. For example,
Use the roster method to specify each of the following subsets of \(U\text{.}\)
4.
\(A \cup B^c\)
5.
\(A^c \cap B^c\)
6.
\(A^c \cup B^c\)
7.
\((A \cap B)^c\)