In the set operations, let's find A U B. The union of set A and B is the set that contains exactly all the elements that are in either A or B (or in both).
The union of two sets A and B, denoted A∪B is the set of all elements that are found in A OR B (or both).
For two given sets A and B, A∪B (read as A union B) is the set of distinct elements that belong to set A and B or both. The number of elements in A ∪ B is given by n(A∪B) = n(A) + n(B) − n(A∩B), where n(X) is the number of elements in set X. To understand this set operation of the union of sets better, let us consider an example:
A = {1,2,3,6}
B = { 2,4,6,9}
A U B = { 1,2,3,4,6,9 }
Set Operation | Venn Diagram | Interpretation |
---|---|---|
Union | ![]() | A U B, is the set of all values that are a member of A, or B, or both. |
Intersection | ![]() | A ∩ B, is the set of all values that are a member of both A and B. |
Difference | ![]() | A \ B, is the set of all values of A that are not members of B. |
Symmetric Difference | ![]() | A ∆ B, is the set of all values which are in one of the sets but not both. |
Union of Sets Intersection of Sets Set Difference Symetric Difference
Maths Digital Computation Physics Electrical and Electronics
USA - United States of America Canada United Kingdom Australia New Zealand South America Brazil Portugal Netherland South Africa Ethiopia Zambia Singapore Malaysia India China UAE - Saudi Arabia Qatar Oman Kuwait Bahrain Dubai Israil England Scotland Norway Ireland Denmark France Spain Poland and many more....