The basic operations that can be performed on sets are as follows:

**Union of sets**- Intersection of sets
- Difference of sets

In mathematics, we perform certain operations like addition, subtraction, multiplication, etc. These operators generally take two or more operands and give a result based on the operation performed. Similarly, in set theory usually, certain operations are performed on two or more sets to get a new set of elements based on the operation performed. The union and intersection of sets represents the number of elements carried by the operation and executing the result of a collective set. In the case of union, all the elements are included in the result but in the case of the intersection, only the common elements are considered.

Sometimes, students also get confused with the union and universal set. Union of two or more sets is an operation performed on them, which results in a collection of elements present in both the sets, whereas universal set is itself a set, which contains all the elements of other sets, including its own elements.

In the upcoming discussions, we will study about the union operation on sets thoroughly.

## Union of Sets Definition

The union of two sets X and Y is equal to the set of elements which are present in set X, in set Y, or in both the sets X and Y. This operation can be represented as;

**X âˆª Y = {a: a âˆˆ X or a âˆˆ Y}**

Let us consider an example, say;Â set A = {1, 3, 5} and set B = {1, 2, 4} then;

A âˆª B = {1, 2, 3, 4, 5}

Now, let us learn how can we represent the union of two sets in a Venn diagram.

**Also, read:**

### Venn Diagram of Union of Sets

Let us consider a universal set U such that A and B are the subsets of this universal set.Â The union of two sets A and B is defined as the set of all the elements which lie in set A and set B or both the elements in A and B altogether. The union of the set is denoted by the symbol â€˜âˆªâ€™.

In the given Venn diagram, the red-coloured portion represents the union of both the sets A and B.

Thus, the union of two sets A and B is given by a set C, which is also a subset of the universal set U such that C consists of all those elements or members which are either in set A or set B or in both A and B i.e.,

AâˆªB={x:x âˆˆA or xâˆˆB}

Let us go through an example to make it clearer.

### Example

**Example: Let U be a universal set consisting of all the natural numbers less than 20 and set A and B be a subset of U defined as A={2,5,9,15,19} and B={8,9,10,13,15 ,17}. Find AâˆªB.**

**Solution:** Given U={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}

A={2,5,9,15,19}

B={8,9,10,13,15 ,17}

AâˆªB={2,5,8,9,10,13,15,17,19}

This can be represented using the following Venn diagram:

**Properties of Union ofÂ Sets**

**i) Â Commutative Law:** The union of two or more sets follows the commutative law i.e., if we have two sets A and B then,

AâˆªB=BâˆªA

Example: A = {a, b} and B = {b, c, d}

So,Â AâˆªB = {a,b,c, d}

BâˆªA = {b,c,d,a}

Since, in both the union, the group of elements are same. Therefore, it satisfies commutative law.

AâˆªB=BâˆªA

**ii) Associative Law:** The union operation follows the associative law i.e., if we have three sets A, B and C then

(AâˆªB)âˆªC = Aâˆª(BâˆªC)

Example:Â A = {a, b} and B = {b, c, d} and C = {a,c,e}

(AâˆªB)âˆªC = {a,b,c,d}Â âˆªÂ {a,c,e} = {a,b,c,d,e}

Aâˆª(BâˆªC) =Â {a, b}Â âˆª {b,c,d,e} = {a,b,c,d,e}

Hence, associative law proved.

**iii) Â Identity Law:** The union of an empty set with any set A gives the set itself i.e.,

Aâˆªâˆ…=A

Suppose, A = {a,b,c} andÂ âˆ… ={}

then,Â Aâˆªâˆ… =Â {a,b,c}Â âˆªÂ {} =Â {a,b,c}

**iv) Â Idempotent Law:** The union of any set A with itself gives the set A i.e.,

AâˆªA=A

Suppose, A = {1,2,3,4,5}

then AÂ âˆª A =Â {1,2,3,4,5}Â âˆª {1,2,3,4,5} =Â {1,2,3,4,5} = A

**v) Â Domination Law:** The union of a universal set U with its subset A gives the universal set itself.

AâˆªU=U

Suppose, A = {1,2,4,7} and U = {1,2,3,4,5,6,7}

thenÂ AâˆªU =Â {1,2,4,7}Â âˆªÂ {1,2,3,4,5,6,7} =Â {1,2,3,4,5,6,7} = U

Hence, proved.

This is all about union operation. Quench your thirst for knowledge with us at BYJUâ€™s. To learn about the intersection of sets, download BYJU’S-The Learning App.