Homepage › Solution manuals › Karel Hrbáček › Introduction to Set Theory › Exercise 1.4.1
Exercise 1.4.1
Prove all the displayed formulas in this section and visualize them using Venn diagrams.
Answers
For commutivity, Venn diagrams are not very useful.
Proof. For all , we have that
which shows that . Similarly, we have that
which proves that . □
Venn diagrams also provide no insight for associativity.
Proof. Again, for any , we have that
showing that . Likewise, we have
and hence . □
For distributivity, Venn diagrams do provide insight. The Venn diagram for the distributive identity is shown below:
A proof of this follows directly from the distributivity of logical conjunction.
Proof. For all , we have
which proves the result. □
Likewise, the Venn diagram for is shown below:
This time, the proof follows directly from the distributivity of logical disjunction.
Proof. For every , we have that
proving the desired result. □
Regarding the two DeMorgan laws, proofs of these rely on the DeMorgan and distributive laws of logic. First, we have :
Proof. For all ,
of course showing the result. □
The other DeMorgan law is of course :
Proof. Again, for all , we have
which proves the result. □
Next, we have the property , which is visualized below:
The proof of this follows from the associativity of logical conjunction.
Proof. For all , we have
showing the result. □
The next claim is that if and only if , for which a Venn diagram is not useful.
Proof. First suppose that and consider any . Suppose that . Then we would have but so that , contradicting the fact that . Hence, it has to be that so that since was arbitrary.
Now suppose that but that so that there is an . Therefore, but . However, since it must also be that since , a contradiction! So it in fact has to be that as desired. □
To prove the next property, it is first useful to establish the following lemma.
Proof. This is very nearly self-evident, but suppose so that there is an . Then it would both be true that and . As this is a clear contradiction, it has to be that in fact as claimed. □
The next property is then that , for which again a Venn diagram provides no insight and in fact does not really even make sense.
Proof. By definition and the above lemma,
Clearly since, were there an , we would have or , the same impossibility in either case. □
The penultimate property asserted in this section is that .
Proof. This follows trivially from the commutativity of the union operation, proven above. By definition, we simply have
□
The final property is , i.e. that the symmetric difference operation is associative. This set is visualized below:
In order to prove this while avoiding great tedium, we introduce the logical “exclusive or” operation, also called XOR. The reader may already have some familiarity with this operation, but for propositions and , we denote the XOR of and as . The XOR operation is defined by the following truth table:
| F | F | F |
| F | T | T |
| T | F | T |
| T | T | F |
Proof. To prove this, we work out the truth table for the right-hand side, in which we set for brevity:
| F | F | T | T | F | F | F |
| F | T | T | F | F | T | T |
| T | F | F | T | T | F | T |
| T | T | F | F | F | F | F |
Since the truth table for is identical to that for above, this proves the identity. □
Proof. This is again most easily proved via exhaustive truth tables:
| F | F | F | F | F |
| F | F | T | F | T |
| F | T | F | T | T |
| F | T | T | T | F |
| T | F | F | T | T |
| T | F | T | T | F |
| T | T | F | F | F |
| T | T | T | F | T |
| F | F | F | F | F |
| F | F | T | T | T |
| F | T | F | T | T |
| F | T | T | F | F |
| T | F | F | F | T |
| T | F | T | T | F |
| T | T | F | T | F |
| T | T | T | F | T |
Since the final column of both tables are identical, this shows the desired result. □
Proof. For any , define the proposition as and as . Then we have that
which of course proves the result. □
Finally, we are ready to prove the original assertion that the symmetric difference is associative.
Proof. For any , define the proposition as , as and as . We then have that
This of course suffices to show that . □