2. ๏ข Let A, B, C be subsets of a universal set U.
๏ข Idempotent Laws
a. A ๏ A = A b. A ๏ A = A
๏ข Commutative Laws
a. A ๏ B = B ๏ A b. A ๏ B = B ๏ A
๏ข Associative Laws
a. A ๏ (B ๏ C) = (A ๏ B) ๏ C
b. A ๏ (B ๏ C) = (A ๏ B) ๏ C
SETS IDENTITIES
3. ๏ข Distributive Laws
a. A ๏ (B ๏ C) = (A ๏ B) ๏ (A ๏ C)
b. A ๏ (B ๏ C) = (A ๏ B) ๏ (A ๏ C)
๏ข Identity Laws
a. A ๏ ๏ = A b. A ๏ ๏ = ๏
c. A ๏ U = U d. A ๏ U = A
๏ข Complement Laws
a. A ๏ Ac = U b. A ๏ Ac = ๏
c. Uc = ๏ d. ๏ c = U
4. ๏ข Double Complement Law
(Ac) c = A
๏ข De-Morganโs Laws
a. (A ๏ B)c = Ac ๏ Bc
b. (A ๏ B)c = Ac ๏ Bc
๏ข Alternative Representation for Set Difference
A โ B = A ๏ Bc
5. ๏ข Subset Laws
a. A ๏ B ๏ C iff A ๏ C and B ๏ C
b. C ๏ A ๏ B iff C ๏ A and C ๏ B
๏ข Absorption Laws
a. A ๏ (A ๏ B) = A
b. A ๏ (A ๏ B) = A
6. EXERCISE
๏ข Let A, B & C be subsets of a universal set U.
๏ข Show that:
1. A ๏ A ๏ B
2. A โ B ๏ A
3. If A ๏ B and B ๏ C then A ๏ C
4. A ๏ B if, and only if, Bc ๏ Ac
7. SOLUTION
2. A โ B ๏ A
Solution:
Let x ๏ A โ B
๏ x ๏A and x ๏B (by definition of A โ B)
๏ x ๏A (in particular)
But x is an arbitrary element of A โ B
๏ A โ B ๏ A (proved)
8. SOLUTION
3. If A ๏ B and B ๏ C, then A ๏ C
Solution:
Suppose that A ๏ B and B ๏ C
Consider x ๏A
๏ x ๏B (as A ๏ B)
๏ x ๏C (as B ๏ C)
But x is an arbitrary element of A
๏ A ๏ C (proved)
9. SOLUTION
4. Prove that A ๏ B iff Bc ๏ Ac
Solution:
Suppose A ๏ B {To prove Bc ๏ Ac}
Let x ๏Bc
๏ x ๏B (by definition of Bc)
๏ x ๏A (A ๏ B ๏ if x ๏ A then x ๏ B
contrapositive: if x ๏B then x ๏A)
๏ x ๏Ac (by definition of Ac)
Thus if we show for any two sets A and B, if x ๏B then x ๏A.
But x is an arbitrary element of Bc
๏ Bc ๏ Ac
10. CONTโฆ
๏ข Conversely,
Suppose Bc ๏ Ac {To prove A ๏ B}
Let x ๏ A
๏ x ๏ Ac (by definition of Ac)
๏ x ๏ Bc (๏ Bc ๏ Ac)
๏ x ๏B (by definition of Bc)
But x is an arbitrary element of A.
๏ A ๏ B (proved)
11. SOLUTION
1. A ๏ A ๏ B
Solution:
Let x be the arbitrary element of A, that x ๏ A
๏ x ๏ A or x ๏ B
๏ x ๏ A ๏ B
But x is an arbitrary element of A.
๏ A ๏ A ๏ B (proved)
12. EXERCISE
๏ข Let A, B & C be subsets of a universal set U.
๏ข Prove that:
A โ B = A ๏ Bc
EQUAL SETS:
Two sets are equal if first is subset of second and
second is subset of first.
๏ A โ B ๏ A ๏ Bc and A ๏ Bc ๏ A โ B
13. SOLUTION
๏ข Let x ๏ A โ B
๏ x ๏ A and x ๏ B (definition of set difference)
๏ x ๏A and x ๏ Bc (definition of complement)
๏ x ๏ A ๏ Bc (definition of intersection)
But x is an arbitrary element of A โ B
So we can write:
๏ A โ B ๏ A ๏ Bcโฆโฆโฆโฆ.(1)
14. CONTโฆ
๏ข Conversely,
๏ Let y ๏ A ๏ Bc
๏ y ๏A and y ๏ Bc (definition of intersection)
๏ y ๏A and y ๏ B (definition of complement)
๏ y ๏ A โ B (definition of set difference)
But y is an arbitrary element of A ๏ Bc
๏ A ๏ Bc ๏ A โ Bโฆโฆโฆโฆ. (2)
From (1) and (2) it follows that
A โ B = A ๏ Bc (as required)
15. DEMORGANโS LAW
(A ๏ B)c = Ac ๏ Bc
EQUAL SETS:
Two sets are equal if first is subset of second and
second is subset of first.
๏ (A ๏ B)c ๏ Ac ๏ Bc and Ac ๏ Bc ๏ (A ๏ B)c
16. PROOF
๏ข First we show that (A ๏ B)c ๏ Ac ๏ Bc
๏ข Let x ๏(A๏B) c
๏ x ๏ A๏B (definition of complement)
๏ x ๏A and x ๏ B (DeMorganโs Law of Logic)
๏ x ๏Ac and x ๏ Bc (definition of complement)
๏ x ๏Ac ๏ Bc (definition of intersection)
But x is an arbitrary element of (A๏B)c so we have
proved that:
๏ (A ๏ B) c ๏ Ac ๏ Bcโฆโฆโฆ(1)
17. CONTโฆ
๏ข Conversely,
๏ Let y ๏ Ac ๏ Bc
๏ y ๏Ac and y ๏ Bc (definition of intersection)
๏ y ๏ A and y ๏ B (definition of complement)
๏ y ๏ A ๏ B (definition of set difference)
๏ y ๏ (A ๏ B) c (definition of complement)
But y is an arbitrary element of Ac ๏ Bc
๏ Ac ๏ Bc ๏ A ๏ Bโฆโฆโฆโฆ. (2)
From (1) and (2) it follows that
(A ๏ B) c = Ac ๏ Bc (Demorgans Law)
18. ASSOCIATIVE LAW
A ๏ (B ๏ C) = (A ๏ B) ๏ C
๏ข PROOF:
First we show that A ๏ (B ๏ C) ๏ (A ๏ B) ๏ C
Consider x ๏A ๏ (B ๏ C)
๏ x ๏ A and x ๏ B ๏ C (definition of intersection)
๏ x ๏ A and x ๏B and x ๏ C (definition of intersection)
๏ x ๏ A ๏ B and x ๏C (definition of intersection)
๏ x ๏ (A ๏ B) ๏ C (definition of intersection)
But x is an arbitrary element of A ๏ (B ๏ C)
๏ A ๏ (B ๏ C) ๏ (A ๏ B) ๏ Cโฆโฆ(1)
19. CONTโฆ
๏ข Conversely,
Let y ๏ (A ๏ B) ๏ C
๏ y ๏ A ๏ B and y ๏C (definition of intersection)
๏ y ๏ A and y ๏ B and y ๏ C (definition of intersection)
๏ y ๏ A and y ๏ B ๏ C (definition of intersection)
๏ y ๏ A ๏ (B ๏ C) (definition of intersection)
But y is an arbitrary element of (A ๏ B) ๏ C
๏ (A ๏ B) ๏ C ๏ A ๏ (B ๏ C)โฆโฆ..(2)
From (1) & (2), we conclude that
A ๏ (B ๏ C) = (A ๏ B) ๏ C (proved)
20. USING SET IDENTITIES
๏ข For all subsets A and B of a universal set U, prove
that (A โ B) ๏ (A ๏ B) = A
๏ข PROOF:
LHS: = (A โ B) ๏ (A ๏ B)
= (A ๏ Bc) ๏ (A ๏ B)
(Alternative representation for set difference)
= A ๏ (Bc ๏ B) Distributive Law
= A ๏ U Complement Law
= A Identity Law
= RHS (proved)
21. ๏ข The result can also be proved through Venn
diagram.
A B
A - B
A ๏ B
A โ B ๏ A ๏ B
22. EXERCISE
A โ (A โ B) = A ๏ B
๏ข PROOF:
LHS = A โ (A โ B)
= A โ (A ๏ Bc) Alternative representation for set
difference
= A ๏ (A ๏ Bc)c Alternative representation for set
difference
= A ๏ ((Ac ๏ (Bc)c) DeMorganโs Law
= A ๏ (Ac ๏ B) Double Complement Law
= (A ๏ Ac) ๏ (A ๏ B) Distributive Law
= ๏ ๏ (A ๏ B) Complement Law
= A ๏ B Identity Law
= RHS (proved)
23. EXERCISE
(A โ B) โ C = (A โ C) โ B
PROOF:
LHS = (A โ B) โ C
= (A ๏ Bc) โ C Alternative representation for set difference
= (A ๏ Bc) ๏ Cc Alternative representation for set difference
= A ๏ (Bc ๏ Cc) Associative Law
= A ๏ (Cc ๏ Bc) Commutative Law
= (A ๏ Cc) ๏ Bc Associative Law
= (A โ C) ๏ Bc Alternative representation of set difference
= (A โ C) โ B Alternative representation of set difference
= RHS (proved)
24. EXERCISE
๏ข Simplify (Bc ๏ (Bc โ A))c
๏ข Solution:
(Bc ๏ (Bc โ A))c = (Bc ๏ (Bc ๏ Ac))c Alternative
representation for set difference
= (Bc)c ๏ (Bc ๏ Ac)c DeMorganโs Law
= B ๏ (Bc ๏ Ac)c Double Complement Law
= B ๏ ((Bc)c ๏ (Ac)c) DeMorganโs Law
= B ๏ (B ๏ A) Double Complement Law
= B Absorption Law
25. PROVING SET IDENTITIES BY
MEMBERSHIP TABLE
๏ข Prove the following using Membership Table:
1. A โ (A โ B) = A ๏ B
2. (A ๏ B)c = Ac ๏ Bc
3. A โ B = A ๏ Bc
26. SOLUTION
A โ (A โ B) = A ๏ B
A B A - B A - (A - B) A ๏ B
1 1 0 1 1
1 0 1 0 0
0 1 0 0 0
0 0 0 0 0
27. SOLUTION
(A ๏ B)c = Ac ๏ Bc
A B A ๏ B (A ๏ B)c Ac Bc Ac ๏ Bc
1 1 1 0 0 0 0
1 0 0 1 0 1 1
0 1 0 1 1 0 1
0 0 0 1 1 1 1
28. SOLUTION
A โ B = A ๏ Bc
A B A โ B Bc A ๏ Bc
1 1 0 0 0
1 0 1 1 1
0 1 0 0 0
0 0 0 1 0