This section explores how we can apply the equivalences of logical statements to the set properties we explored in SectionΒ 1.2. It is no coincidence that those set properties look nearly identical to the logical equivalences! Instead of using Venn Diagrams, in this section weβll use equivalences to verify statements about sets.
Now that we have formally defined set properties in terms of our logical operations, we can now use our logical equivalences to formally prove statements about sets. Weβll start with this basic statement we first introduced as TheoremΒ 1.2.7
Assume that \(x \in \emptyset\text{.}\) This is false, since nothing is in the empty set. That means that the conditional statement \((x \in \emptyset) \to (x\in S)\) is vacuously true, since the conditional \(F \to p\) is always true. Thus \(\emptyset \subseteq S\text{.}\)
In the next example and the exercises, as you work through each proof, begin by picking one side of the equation, and writing out the logical statement according to DefinitionΒ 2.2.1. Then ask yourself what logical equivalenceΒ 2.1.5 (De Morganβs Law? Associativity? Commutitivity? Distribution?), you could apply.
As noted above, take it one line at a time. As you review the example and check your solutions to exercises below, make sure that you understand each line. How did we get from the previous line to this one? Once you understand, move to the next. Donβt be afraid to take it slow!
\begin{align*}
x\in A \cup (B \cup C) \amp\equiv (x \in A) \lor (x \in B \cup C)\\
\amp\equiv (x \in A) \lor ((x \in B) \lor (x \in C))\\
\amp\equiv x \in A \lor x \in B \lor x \in C\\
\amp\equiv (x \in A \lor x \in B) \lor x \in C\\
\amp\equiv (x \in A \cup B) \lor x \in C\\
\amp\equiv x \in (\in A \cup B) \cup C
\end{align*}
and so \(A \cup (B\cup C) = (A \cup B) \cup C\text{.}\)
Assume that \(x \in A \cup (B\cap C)\text{,}\) then:
\begin{align*}
x \in A \cup (B \cap C) \amp \equiv x \in A \lor (x \in B \cap C) \\
\amp \equiv x \in A \lor (x\in B \land x \in C)\\
\amp \equiv (x \in A \lor x\in B) \land (x \in A \lor \in C)\\
\amp \equiv (x \in A \cup B) \land (x \in A \cup C)\\
\amp \equiv x \in (A \cup B) \cap (A \cup C)
\end{align*}
and therefore \(A \cup (B \cap C) = (A \cup B) \cap (A \cup C)\text{.}\)