Handout On Sets3
Handout On Sets3
1
2
3 + (5 × 7) 6= (3 + 5) × (3 + 7)
that is, 3 + 35 6= 8 × 10
9. Distributive Laws for Sets
For sets we have the somewhat surprising fact that
we can distribute unions over intersections, and also
intersections over unions:
A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
and
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
10. First Venn Diagram 11. Second Venn Diagram
A A
B C B C
A ∪ (B ∩ C) (A ∪ B) ∩ (A ∪ C)
3
(A ∪ B)c = Ac ∩ B c
and
(A ∩ B)c = Ac ∪ B c
13. DeMorgan’s Law Example 14. Second Example
c c c
(A ∪ B) = A ∩ B (A ∪ B) = A ∩ B c
c c
liars lawyers
n(lawyer or liar) = 25 + 15 + 10 = 50
45
12 7
13
C L
5 3
2
n(M ∩ C ∩ L) = 13
n(M ∩ C) = 25 n(M ) = 77
n(M ∩ C ∩ Lc ) = 12 n(M ∩ Lc ∩ M c ) = 45
n(M ∩ L) = 20 n(C) = 32
n(M ∩ L ∩ C c ) = 7 n(C ∩ M c ∩ Lc ) = 5
n(C ∩ L) = 15 n(L) = 25
n(C ∩ L ∩ M c ) = 2 n(L ∩ M c ∩ C c ) = 3
n(M ∪ C ∪ L) = 13 + 7 + 12 + 2 + 45 + 3 + 5 = 87