Example Set Operation
Example Set Operation
RELATIONSHIPS:
Venn Diagrams (useful to visualize sets, but please don’t use in proofs!)
U U U U
A A B A
B B A B
EMPTY SET: The empty set is the set with no elements: 𝝓 = (a.k.a. the null set)
Proof:
By definition of subset, ⊆ 𝑨 if and only if 𝒙 ∈ {} ⟹ 𝒙 ∈ 𝑨. Since the empty set has no elements, the hypothesis of
the implication is always false, so the implication is true (“vacuously true”, i.e. true because nothing satisfies the
hypothesis).
Examples:
1) Let 𝐴 = 𝑎, 𝑏, 𝑐, 𝑑, 𝑒 and 𝐵 = 𝑥, 𝑦, 𝑎, 𝑧, 𝑐 .
𝐴 ∩ 𝐵 = {𝑎, 𝑐}
𝐴 ∪ 𝐵 = {𝑎, 𝑏, 𝑐, 𝑑, 𝑒, 𝑥, 𝑦, 𝑧}
𝐴 − 𝐵 = {𝑏, 𝑑, 𝑒}
𝑐
2) −3, 0 = −∞, −3 ∪ (0, ∞)
𝒫 𝐴 = { {}, 𝟏 , 𝟐 , 𝟑 , 𝟏, 𝟐 , 𝟏, 𝟑 , 𝟐, 𝟑 , 𝟏, 𝟐, 𝟑 }
It’s important to distinguish between subsets and elements, and to use the correct notation!
Example: Suppose A={1,2,3} . Which of the following are correct statements? The boxed ones are correct.
You should recall the following results, and be able to prove them:
𝑨∪ 𝑩∪𝑪 = 𝑨∩ 𝑩∩𝑪 =
𝒄 𝒄
(iv) De Morgan Laws: 𝑨∪𝑩 = 𝑨∩𝑩 =
(v) Complementation: 𝑨 ∪ 𝑨𝒄 = 𝑨 ∩ 𝑨𝒄 =
𝒄
(vi) Double complement: (𝑨𝒄 ) =
Sample Proofs:
Proof: We’ll show the set equality by proving both set inclusions:
In all possible cases, 𝑥 ∈ 𝐴 ∪ 𝐵 ∩ 𝐴 ∪ 𝐶 ⟹ 𝑥 ∈ 𝐴 ∪ 𝐵 ∩ 𝐶 , which proves the desired reverse set inclusion.
QED
𝒄
𝒙∈𝑨 𝒙∈𝑩 𝒙∈𝑨∪𝑩 𝒙∈ 𝑨∪𝑩 𝒙 ∈ 𝑨𝒄 𝒙 ∈ 𝑩𝒄 𝒙 ∈ 𝑨𝒄 ∩ 𝑩 𝒄
T T T F F F F
T F T F F T F
F T T F T F F
F F F T T T T
Proposition 6.2.4: 𝑨 ∪ 𝑩 = 𝑨 ∩ 𝑩 ∪ 𝑨 − 𝑩 ∪ (𝑩 − 𝑨)