Here you will learn what is the union of sets with definition and venn diagram representation and examples.
Let’s begin –
What is the Union of Sets ?
Definition : Let A and B be two sets. The union of A and B is the set of all those elements which belong either to A or to B or to both A and B.
We shall use the notation A∪B (read as “A union B”) to denote the union of A and B.
Thus, A∪B = {x : x ∈ A or x ∈ B}.
Clearly, x ∈ A∪B ⟺ x ∈ A or x ∈ B.
And, x ∉ A∪B ⟺ x ∉ A or x ∉ B.
In the given figure whole shaded part represents A∪B. This is the venn diagram for union of sets.
It is evident from the definition the A ⊆ A∪B, B⊆ A∪B.
If A and B are two sets such that A ⊂ B, then A∪B = B. Also, A∪B = A, if B⊂ A.
Example : If A = {1, 2, 3} and B = {1, 3, 5, 7}, then A∪B = {1, 2, 3, 5, 7}.
Example : If A = {1, 2, 3}, B = {3, 5} and C = {4, 7, 8}. Then A∪B∪C = {1, 2, 3, 4, 5, 7, 8}.
Formula to Find Number of Elements in A Union B
If A, B and C are finite sets, and U be the finite universal set, then
n(A∪B) = n(A) + n(B) – n(A∩B)
where, n(A) = number of elements in set A
n(B) = number of elements in set B
n(A∩B) = number of elements in intersection of sets A and B
Also Read : Other Formulas and Operation of Sets
Example : If X and Y are two sets such that n(X) = 17, n(Y) = 23 and n(X∩Y) = 2, then find n(X∪Y).
Solution : By using the above formula,
n(X∪Y) = n(X) + n(Y) – n(X∩Y)
⟹ n(X∪Y) = 17 + 23 – 2
⟹ n(X∪Y) = 38