Here, you will learn operation of sets i.e intersection and union of two sets with examples.
Letโs begin โ
Basic Operation of Sets โ Intersection and Union of Two Sets
(i) Union of two sets :
A \(\cup\) B = {x : x \(\in\) A or x \(\in\) B}
Example : A = {1, 2, 3} B = {2, 3, 4} then A \(\cup\) B ={1, 2, 3, 4}
(ii) Intersection of two sets :
A \(\cap\) B = {x : x \(\in\) A and x \(\in\) B}
Example : A = {1, 2, 3} B = {2, 3, 4} then A \(\cap\) B ={2, 3}
(iii) Difference of two sets :
A โ B = {x : x \(\in\) A and x \(\notin\) B}
(iv) Complement of a set :
Aโ = {x : x \(\notin\) A but x \(\in\) U} = U โ A
(v) De-Morgan Laws :
(A \(\cup\) B)โ = Aโ \(\cap\) Bโ ; (A \(\cap\) B)โ = Aโ \(\cup\) Bโ
(vi) Distributive Laws :
A \(\cup\) (B \(\cap\) C) = (A \(\cup\) B)\(\cap\) (A \(\cup\) C) ; A \(\cap\) (B \(\cup\) C) = (A \(\cap\) B)\(\cup\) (A \(\cap\) C)
(vii) Commutative Laws :
A \(\cup\) B = B \(\cup\) A ; A \(\cap\) B = B \(\cap\) A
(viii) Associative Laws :
(A \(\cup\) B) \(\cup\) C = A \(\cup\) (B \(\cup\) C) ; (A \(\cap\) B) \(\cap\) C = A \(\cap\) (B \(\cap\) C)
Disjoint Sets
If A \(\cap\) B = \(\phi\), then A, B are disjoint.
e.g. if A = {1, 2, 3}, B = {7, 8, 9} then A \(\cap\) B = \(\phi\)
A \(\cap\) Aโ = \(\phi\) ]ย ย \(\therefore\)ย ย A, Aโ are disjoint.
Formula of Sets
If A, B and C are finite sets, and U be the finite universal set, then
(i) n(A \(\cup\) B) = n(A) + n(B) โ n(A \(\cap\) B)
(ii) n(A \(\cup\) B) = n(A) + n(B) \(\implies\) A, B are disjoint non-void sets.
(iii) n(A โ B) = n(A) โ n(A \(\cap\) B)
(iv) n(A \(\triangle\) B) = No. of elements which belong to exactly one of A or B
= n((A โ B) \(\cup\) (B โ A))
n(A \(\triangle\) B) = n(A โ B) + n(B โ A)
= n(A) โ n(A \(\cap\) B) + n(B) โ n(A \(\cap\) B)
n(A \(\triangle\) B)ย = n(A) + n(B) โ 2n(A \(\cap\) B)
(v) \(n(A \cup B \cup C)\) = n(A) + n(B) โ n(A \(\cap\) B) โ n(B \(\cap\) C) โ n(A \(\cap\) C) + \(n(A \cap B \cap C)\)
(vi) Number of elements in exactly two of the sets A, B, C
= n(A \(\cap\) B) + n(B \(\cap\) C) + n(C \(\cap\) A) โ \(3n(A \cap B \cap C)\)
(vii) Number of elements in exactly one of the sets A, B, C
= n(A) + n(B) + n(C) โ 2n(A \(\cap\) B) โ 2n(B \(\cap\) C) โ 2n(A \(\cap\) C) + \(3n(A \cap B \cap C)\)
(viii) n(Aโ \(\cup\) Bโ) = n((A \(\cap\) B)โ) = n(U) โ n(A \(\cap\) B)
(ix) n(Aโ \(\cap\) Bโ) = n((A \(\cup\) B)โ) = n(U) โ n(A \(\cup\) B)
Example : In a group of 1000 people, there are 750 who can speak Hindi and 400 who can speak Bengali. How many can speak Hindi only? and How many can speak Bengali only? How many can speak both Hindi and Bengali?
Solution : Let A and B be two sets of person who can speak Hindi and Bengali respectively.
then n(A \(\cup\) B) = 1000, n(A) = 750, n(B) = 400
Number of person who can speak both Hindi and Bengali
= n(A \(\cap\) B) = n(A) + n(B) โ n(A \(\cup\) B)
= 750 + 400 โ 1000 = 150
and Number of persons who can speak hindi only
= n(A โ B) = n(A) โ n(A \(\cap\) B) = 750 โ 150 = 600
Number of persons who can speak Bengali only
= n(B โ A) = n(B) โ n(A \(\cap\) B) = 400 โ 150 = 250
Hope you learn operation of sets i.e. intersection and union of sets and formula of sets.