Aptitude Made Simple
Sets - Union and Intersection
Union
When we take all unique elements both sets, it is called as Union of Sets.
A = {1, 2, 3, 4, 5}
B = {2, 3, 5, 7, 8}
Union is shown by symbol U
(A U B) = Take unique elements from A, Take unique elements from B, Whichever repeating in both sets take them 1 time only.
A has {1, 2, 3, 4, 5}
B has { 2, 3, 5, 7, 8}
(A U B) = {1, 2, 3, 4, 5, 7, 8} (2, 3, 5 coming in both sets we will write them 1 time only)
Intersection
When we take only common elements from both sets, it is called as Intersection of Sets.
Intersection is shown by symbol โฉ
A = {1, 2, 3, 4, 5}
B = {2, 3, 5, 7, 8}
(A โฉ B) = Take elements which are available in both sets
Here 2, 3, 5 are available in both A and B.
(A โฉ B) = {2, 3, 5}
Try it yourself
Find value of (A U B) and (A โฉ B)
1) A= {1, 2, 4, 6, 7, 8}
B = {2, 4, 6, 8}
2) A = {5, 10, 15, 20}
B = {3, 6, 9, 12, 15}