Union of Sets | Formula, Examples & Venn Diagrams for Union of Sets - GeeksforGeeks (2025)

Union of two sets means finding a set containing all the values in both sets. It is denoted using the symbol '∪' and is read as the union.

Example 1:
If A = {1, 3. 5. 7} and B = {1, 2, 3} then A∪B is read as A union B and its value is,
A∪B = {1, 2, 3, 5, 7}

Example 2:
If A = {1, 3. 5.7} and B = {2, 4} then A∪B is read as A union B and its value is,
A∪B = {1, 2, 3, 5, 7}

Example 3:
If A = {1, 2, 3}, B = {2, 4} and C = {1, 3, 4}
A∪B∪C = {1, 2, 3, 5}

The union of the set can also be represented using the Venn Diagrams. For example, if we have set A and set B which have some values in common then their Venn diagram is represented in the image below,

Union of Sets | Formula, Examples & Venn Diagrams for Union of Sets - GeeksforGeeks (1)

We can represent any set using the Venn diagram in the Venn diagram explained above the rectangle represents the Universal set, and set A and set B are represented using the circles. The common area of the two sets represents the intersection of the two sets and both the circles combined along with the common area represent the union of the set.

Table of Content

  • Mathematical Definition
  • How to Find Union of Sets?
  • Union of Sets Symbol
  • Union of Sets Formula - A U B
  • Formula for Number of Elements in A union B
  • Properties of Union of Sets
  • Union of Sets Examples
  • Practice Problems on Union of Sets
  • Union of Sets Class 11
  • Union of Sets - FAQs

Mathematical Definition

The union of any two or more sets is a set that contains all the elements of the previous sets. The union of two sets is equivalent to the logical operation OR and it means any of the given values, for example, if we take a set A = {a, e, i, o, u} and set B = {a, b, c, d, e} then OR operations signifies any of the value of set A and set B and this can be written as A∪B and its value is equal to,

A∪ B = {a, b, c, d, e, i, o, u}

Here, the union set contains all the values either in set A or set B.

In general, for two sets, set A and set B we represent the union of sets in set builder form as,

A ∪ B = {x: x ∈ A or x ∈ B}

Also Read:

  • Complement Of Set
  • Set Theory

How to Find Union of Sets?

We can easily find the union of two sets by taking all the elements of both sets and removing the common elements. Let's learn this concept through an example.

Example: Find the union of the sets, set A = {p, q, r, s, t, u} and set B = {s, t, u, v, w,}.

Solution:

The union of set A and set B is found by taking all the elements of set A and set B and taking the common element only once.

A∪ B = {p, q, r, s, t, u, v, w}

Here, all the elements of set A and set B are taken and the elements which appear twice (s,t,u) are taken only once.

Union of Sets Symbol

Union of the sets is represented using the symbol "∪". It is placed between two sets whose union is to be found. We read this symbol as "union". Example A∪B is read as A union B, furthermore we can also find the union of two or more sets as the union of set A, set B, and set C is represented as, A∪B∪C and is read as A union B union C.

Note: We can find the union for any number of finite or countable infinite sets.

Union of Sets Formula - A U B

As we already discussed set A union B contains all the elements of set A as well as set B, but there are some formulas related to the A U B operation that helps us calculate many things. One such formula involving union of two sets, is discussed as follows:

Formula for Number of Elements in A union B

To find the number of elements in the set of A union B, we can use the following formula:

n(A U B) = n(A) + n(B) – n(A ∩ B)

Where,

  • n(A U B) is the number elements in A U B,
  • n(A) is the number of elements in A,
  • n(B) is the number of elements in B, and
  • n(A ∩ B) is the number of elements that are common to both A and B.

Note: n(A) or |A| is called the cardinality of the set A i.e., the number of elements set A contains.

Also Check: Intersection of Sets

Properties of Union of Sets

The intersection of set has various properties. The table below discusses the properties of the union of the set.

Properties of Union

Notation

Commutative PropertyA∪ B = B ∪ A
Associative Property(A ∪ B) ∪ C = A ∪ (B ∪ C)
Identity Law (Property of Ⲫ)A ∪ ∅ = A
Property of Universal SetA ∪ U = U
Idempotent PropertyA ∪ A = A

Now let's learn about these properties in detail.

Commutative Property

The commutative property of the union of the set explains that the order in which the union of two sets is taken is not important. For example, if take the union of two sets, set A and set B then the value of A ∪ B is equal to the B ∪ A. We can write this property as,

A ∪ B = B ∪ A

Example: Take two sets, set A = {1, 3, 5, 7}, and set B = {a, b, c, d} and find their union.

Solution:

Given sets,

A = {1,3,5,7}
B = {a,b,c,d}

Now, for proving the commutative property.

A ∪ B = {1,3,5,7} ∪ {a,b,c,d}
⇒ A ∪ B = {1,3,5,7,a,b,c,d}...(i)

Similarly,

B ∪ A = {a,b,c,d} ∪ {1,3,5,7} = {a,b,c,d,1,3,5,7}

As we know the order of elements is not important in sets so,

B ∪ A = {a, b, c, d, 1, 3, 5, 7}
⇒ B ∪ A = {1, 3, 5, 7, a, b, c, d}...(ii)

Thus from (i) and (ii) we say that

A ∪ B = B ∪ A,

Thus, commutative property for union of sets can be varified.

Associative Property

The associative property of the union of the set explains that the order in which the two sets are grouped for finding the union of two or more sets is not important. For example, if take the union of three finite sets, set A, set B, and set C then,

(A ∪ B) ∪ C = A ∪ (B ∪ C)

Example: Take three sets, set P = {1, 3, 5, 7}, set Q = {a, b, c, d}, and set R = {p, q, r, s}. Verify Associative property.

Solution:

Given sets,

P = {1, 3, 5, 7}
Q = {a, b, c, d}
R = {p, q, r, s}

Now, for proving the associative property.

P ∪ Q = {1,3,5,7} ∪ {a,b,c,d} = {1,3,5,7,a,b,c,d}
⇒ (P ∪ Q) ∪ R = {1, 3, 5, 7, a, b, c, d} ∪ {p, q, r, s}
⇒ (P ∪ Q) ∪ R = {1, 3, 5, 7, a, b, c, d, p, q, r, s}...(i)

Similarly,

Q ∪ R = {a,b,c,d} ∪ {p,q,r,s} = {a,b,c,d,p,q,r,s}
⇒ P ∪ (Q ∪ R) = {1, 3, 5, 7} ∪ {a, b, c, d, p, q, r, s}
⇒ (P ∪ Q) ∪ R= {1, 3, 5, 7, a, b, c, d, p, q, r, s}...(ii)

Thus from (i) and (ii) we say that

(P ∪ Q) ∪ R = P ∪ (Q ∪ R)

Thus, the associative property of the union of the set is verified.

Identity Law (Property of Ⲫ)

The Identity Law of the union of the sets states that the union of any set with an identity element will result in the same set. It can be represented as

A ∪ Ⲫ = A

where Ⲫ is the identity set or null set. This is also called the Property of Ⲫ or the Property of identity set.

Example: If A = {1,2,3,4,5,6} prove A ∪ Ⲫ = A

Solution:

Given,

A ∪ Ⲫ = {1, 2, 3, 4, 5, 6} ∪ { } = {1, 2, 3, 4, 5, 6}

⇒ A ∪ Ⲫ = A

Thus, Identity Law is verified.

Property of Universal Set

Property of the Universal Set of the union of the sets states that the union of any set with the universal set will result in the Universal set. It can be represented as

A ∪ U = U

Note: This property is sometimes referred to as Domination Law.

Example: If A = {1,2,3} and U = {1,2,3,4,5,6,7,8} then prove A ∪ U = U

Solution:

Given,

A ∪ U = {1, 2, 3} ∪ {1, 2, 3, 4, 5, 6, 7, 8}

⇒ A ∪ U = {1, 2, 3, 4, 5, 6, 7, 8}

⇒ A ∪ U = U

Thus, Property of Universal set is verified.

Idempotent Property

Idempotent property of the union of the sets states that the union of any set with itself will result in the same set. It can be represented as

A ∪ A = A

Example: If A = {1, 2, 3, 4, 5, 6} then verify the idempotent property.

Solution:

Given,

A ∪ A = {1, 2, 3, 4, 5, 6} ∪ {1, 2, 3, 4, 5, 6}

⇒ A ∪ A = {1,2,3,4,5,6}

⇒ A ∪ A = A

Thus, Idempotent Property is verified.

People Also View:

  • Types Of Sets
  • Set Theory Formulas
  • Operations on Sets

Union of Sets Examples

Example 1: Find the Union of the sets,

  • A = {1, 2, 3, 4, 5, 6}
  • B = {5, 6, 7, 8, 9}

Solution:

Given set,

Set A = {1, 2, 3, 4, 5, 6}
Set B = {5, 6, 7, 8, 9}

Union of sets

A∪ B = {1, 2, 3, 4, 5, 6} ∪ {5, 6, 7, 8, 9}

⇒ A∪ B = {1, 2, 3, 4, 5, 6, 7, 8, 9}

Example 2: Find the Union of the sets given below,

  • P = {a, e, i, o, u}
  • Q = {p, q, r, s, t}
  • R = {j, k, l, m, n}

Solution:

Given set,

P = {a, e, i, o, u}
Q = {p, q, r, s, t}
R = {j, k, l, m, n}

Thus, P∪ Q∪ R = {a, e, i, o, u} ∪ {p, q, r, s, t} ∪ {p, q, r, s, t}

⇒ P∪ Q∪ R = {a, e, i, o, u, p, q, r, s, t, j, k, l, m, n}

Example 3: Find the union of sets P and Q, if P = {1, 2, 3, 4, 5} and Q = Ⲫ.

Solution:

Given,

Set P = {1,2,3,4,5}

Set Q = Ⲫ

We know that,

P ∪ Ⲫ = P

⇒ P ∪ Q = {1,2,3,4,5} ∪ Ⲫ

⇒ P ∪ Q = {1,2,3,4,5} = P

Example 4: Find the union of Q = Sets of Rational Nimbers and Qo = Set of Irrational Numbers

Solution:

We know that,

Set of Rational Numbers, Q = {p/q where p, q ∈ z, q ≠ 0}

Set of Irrational numbers, Qo = {x where x is not a rational number}

Union of these two sets is Q ∪ Qo we know that,

Q ∪ Qo = R {Real Numbers}

Thus, the union of the set of rational numbers and the set of irrational numbers is Real Numbers.

Practice Problems on Union of Sets

Problem 1: Let set A={1,2,3,4,5} and setB={4,5,6,7,8}. Find A B.

Problem 2: Given set C={a,b,c} and set D={c,d,e}, calculate C D.

Problem 3: If set E={2,4,6,8,10} and set F={3,6,9,12}, determine EF.

Problem 4: Consider two sets: set G={x,y,z} and set H={w,x,y}. Find G H.

Union of Sets Class 11

The union is used to gather all the distinct elements from the sets being considered, providing a comprehensive collection of elements without any repetition. This concept is essential for students in Class 11 as it lays the groundwork for more advanced topics in mathematics. Understanding the union of sets helps students in comprehending how to combine different datasets and analyze the relationships between them. This foundational concept is not only crucial in set theory but also in various applications across different fields of mathematics and science.

Resources related to Union of Sets Class 11:

  • Sets Class 11 Notes
  • Sets Class 11 NCERT Solutions
  • Sets Class 11 RD Sharma Solutions

Next Article

Cartesian Product of Sets

A

anjalishukla1859

Improve

Article Tags :

  • Mathematics
  • School Learning
  • Class 11
  • Maths-Class-11

Similar Reads

    CBSE Class 11 Maths Notes CBSE Class 11 Maths Revision Notes have been designed in the most basic and detailed format possible, covering nearly all domains such as differential calculus, arithmetic, trigonometry, and coordinate geometry. We know how hard it gets when you shift to an altogether new grade where subjects are no 15+ min read

    Chapter 1: Sets

    Representation of a SetSets are defined as collections of well-defined data. In Math, a Set is a tool that helps to classify and collect data belonging to the same category. Even though the elements used in sets are all different from each other, they are all similar as they belong to one group. For instance, a set of dif 8 min read Types Of SetsIn mathematics, a set is defined as a well-defined collection of distinct elements that share a common property. These elements— like numbers, letters, or even other sets are listed in curly brackets "{ }" and represented by capital letters. For example, a set can include days of the week. The diffe 13 min read Universal SetsUniversal Set is a set that has all the elements associated with a given set, without any repetition. Suppose we have two sets P = {1, 3, 5} and Q = {2, 4, 6} then the universal set of P and Q is U = {1, 2, 3, 4, 5, 6}. We generally use U to denote universal sets. Universal Set is a type of set that 6 min read Venn DiagramVenn diagrams are visual tools used to show relationships between different sets. They use overlapping circles to represent how sets intersect, share elements, or stay separate. These diagrams help categorize items, making it easier to understand similarities and differences. In mathematics, Venn di 14 min read Operations on SetsSets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this article, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each 15+ min read Union of SetsUnion of two sets means finding a set containing all the values in both sets. It is denoted using the symbol '∪' and is read as the union. Example 1:If A = {1, 3. 5. 7} and B = {1, 2, 3} then A∪B is read as A union B and its value is,A∪B = {1, 2, 3, 5, 7}Example 2:If A = {1, 3. 5.7} and B = {2, 4} t 12 min read

    Chapter 2: Relations & Functions

    Chapter 3: Trigonometric Functions

    Chapter 4: Principle of Mathematical Induction

    Chapter 5: Complex Numbers and Quadratic Equations

    Chapter 6: Linear Inequalities

    Chapter 7: Permutations and Combinations

    Chapter 8: Binomial Theorem

    Chapter 9: Sequences and Series

Union of Sets | Formula, Examples & Venn Diagrams for Union of Sets - GeeksforGeeks (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Jamar Nader

Last Updated:

Views: 6439

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.