write the De Morgan's Law for set difference
Answers
Demorgans law :
De Morgan’s father (a British national) was in the service of East India Company, India. Augustus De Morgan (1806-1871) was born in Madurai, Tamilnadu, India. His family moved to England when he was seven months old. He had his education at Trinity college, Cambridge, England.
De Morgan’s laws relate the three basic set operations union, intersection and complement.
De morgan's laws
De morgan's law for set difference :
For any three sets A, B and C, we have
(i) A \ (B u C) = (A \ B) n (A \ C)
(ii) A \ (B n C) = (A \ B) u (A \ C)
Proof by Venn diagram
(i) A \ (B n C) = (A \ B) u (A \ C)
From the above Venn diagrams (2) and (5), it is clear that
A \ (B n C) = (A \ B) u (A \ C)
Hence, De morgan's law for set difference is verified.
(ii) A \ (B u C) = (A \ B) n (A \ C)
Example 1 :
Let A = { a, b, c, d, e, f, g, x, y, z }, B = { 1, 2, c, d, e } and C = { d, e, f, g, 2, y }. Verify De Morgan’s laws of set difference.
Solution :
First, we shall verify A \ (B u C) = (A \ B) n (A \ C)
To do this, we consider
B u C = { 1, 2, c, d, e } u { d, e, f, g, 2, y }
B u C = { 1, 2, c, d, e, f, g, y }
We know that
A/(B u C) = {a, b, c, d, e, f, g, x, y, z}\{1, 2, c, d, e, f, g, y}
A / (B u C) = { a, b, x, z } ---------(1)
A \ B = { a, b, f, g, x, y, z }
A \ C = { a, b, c, x, z }
(A \ B) n (A \ C) = { a, b, x, z } ---------(2)
From (1) and (2), it is clear that A\(B u C) = (A\B)n(A\C)