Given A = {0,1,2,3,4,5},B={0,2,4,6,8}and C={0,3,6,9}. Show that
(i) A∪(B∪C)=(A∪B)∪C i.e. the union of sets is associative.
(ii)A∩(B∩C)=(A∩B)∩C i.e. the intersection of sets is associative.
A = {0,1,2,4,5}, B={0,2,4,6,8} and C={0,3,6,9} B∪C={0,2,4,6,8} ∪ {0,3,6,9} ={0,2,3,4,6,8,9} ∴ A∪(B∪C)={0,1,2,4,5}∪{0,2,3,4,6,8,9}⇒A∪(B∪C)={0,1,2,4,5,6,8,9}...........IA∪B={0,1,2,4,5}∪{0,2,4,6,8}={0,1,2,4,5,6,8}∴(A∪B)∪C={0,1,2,4,5,6,8}∪{0,3,6,9}⇒(A∪B)∪C={0,1,2,3,4,6,8,9}.....IIFrom I and II, we getA∪(B∪C)=(A∪B)∪C
(ii) B∩C={0,2,4,6,8}∩{0,3,6,9}={0,6}Now,A∪(B∩C)={0}..........IA∩B={0,1,2,4,5}∩{0,2,4,6,8}={0,2,4}∴(A∩B)∩C={0,2,4}∩{0,3,6,9}⇒(A∩B)∩C={0}......IIFrom I and II we getA∩(B∩C)=(A∩B)∩C