BrightChamps Logo
Login

Summarize this article:

Live Math Learners Count Icon103 Learners

Last updated on October 16, 2025

Union of Sets

Professor Greenline Explaining Math Concepts

The union of sets is a fundamental operation of set theory, which combines all elements from both sets, without repeating any element. It is represented as A ∪ B={x:x∈A or x∈B}.

Union of Sets for US Students
Professor Greenline from BrightChamps

What are sets?

A set is an organized collection of distinct elements, where every element is listed only once and that is represented as a separate element.
Example:
The expression {0, 2, 4, 6, 8} can be used to represent a group of even numbers that are smaller than 10. There are five different elements in this set, and the order of elements does not matter. 
 

Professor Greenline from BrightChamps

What is union of sets?

When two or more sets are joined together, the combination of all their elements without repetition is known as the union of sets. The symbol “∪” is used to indicate it. 
Example:
If A = {7, 8, 1} and B = {1, 0, 3}.
Then,
A ∪ B = {0, 1, 3, 7, 8}  

 

 

How to find the union of sets? 


To better understand how to find the union of sets, let’s examine the following example. Since A = {c, d, e, f} and B = { x, d, y, z}, we have two sets, A and B. We must determine the components that make up the union of A and B.

According to the definition of the union of two sets, the resulting set includes all elements that are in set A, set B, or both.
Set A = {c, d, e, f}
Set B = {x, d, y, z}
Therefore, the union is {c, d, e, x, y, z}
Though d appears in both sets, it must be written only once because sets in a union do not include duplicate elements. 

 

 

How to represent union of sets in Venn diagram


Venn diagrams are used to illustrate or clarify the connections between the specified set of operations. They use circles to symbolize each set. Let us examine how to depict the union of two sets to find the union of sets using the Venn diagram. The two provided sets, H and M, are subsets of a universal set, which is needed to illustrate their relationship. This union of the sets H and M is shown in the Venn diagram.

The union of sets H and M (which is H ∪ M) is represented by the blue area in the Venn diagram above. This includes all elements that are in H, in M, or both sets. The Venn diagram is frequently used to depict the union between multiple sets, as long as the sets are finite, even though the union operation between two sets has been used here.
Example:
K ∪ U = {2, 5, 6, 7, 8, 9}
K =  {2, 5, 6}
U =  {7, 8, 9}
If set K contains {2, 5, 6} and set U contains {7, 8, 9}, then the union K ∪ U would be 
{2, 5, 6, 7, 8, 9}. 
 

Professor Greenline from BrightChamps

Formula for Number of Elements in A union B

Take two sets, A and B, such that the following formula can be used to determine how many elements are in the union of A and B.
n(A ∪ B)=n(A)+n(B)−n(A ∩ B)
Here,
A set’s correlation is defined as n(A ∪ B)= Total number of elements in A ∪ B.
The value of a set A is defined as n(A)=Number of elements in A.
The value of a set B is defined as n(B)=Number of elements in B.
n(A ∩ B)=The number of elements shared by A and B are called the intersection of set A and B, or the intersection of B.

 

 

Properties of Union of Sets


Commutative Law:


When two or more sets are joined, the commutative law is followed; for example, if we have two sets A and B, then,
 A ∪B=B ∪ A
Example:
H = {b, c} and L= {c, f, a}
H ∪ L = {b, c, f, a} and,
L ∪ H = {c, f, a, b}
Since the group of elements is the same in both unions, the commutative law is satisfied.
 A ∪ B=B ∪ A

 

Associative Law:


The associative law governs the union operation, meaning that if we have three sets A, B, and C, then,
(A ∪ B) ∪ C=A ∪ (B ∪ C)
Example:
H = {b, f} and L = {f, e, l} and M = {b, e, n}
(H ∪ L) ∪ M = {b, f, e, l} ∪ {b, e, n} = {b, f, e, l, n}
H ∪ (L ∪ M) = {b, f} ∪ {b, f, e, l, n}
Hence, the associative law is proved.
(A ∪ B) ∪ C=A ∪ (B ∪ C)

 

 

Identity Law:


When any empty set is joined with any set A, the result is the set itself.
A ∪ ∅ = A
Example:
H = {b, h, y} and ∅ = {}
Then, H ∪ ∅ = {b, h, y} ∪ {} = {b, h, y}
Hence, Identity law proved.
A ∪ ∅ = A

 

Idempotent Law:


Any set A that is joined to itself results in set A.
A ∪ A = A
Example:
Assume that,
H = {5, 4, 2, 1, 8}
Then, H ∪ H = {1, 2, 4, 5, 8} ∪ {1, 2, 4, 5, 8}
                    = {1, 2, 4, 5, 8} = H.
Hence, the Idempotent law is proved.
A ∪ A = A

 

Domination Law:


The universal set itself is obtained by joining a universal set U with its subset A.
A ∪ U = U
Example:
Assume that 
A = {0, 2, 5, 6} and U = {0, 2, 4, 6, 7, 8, 9}.
Then, A ∪ U = {0, 2, 5, 6} ∪ {0, 2, 4, 6, 7, 8, 9}  = {0, 2, 4, 6, 8, 9} = U
Hence, proved.
A ∪ U = U
 

Professor Greenline from BrightChamps

Real Life Application on Union of Sets

Union of sets is used in real-life situations like combining survey data, analyzing students' participation, or merging customer lists. Here are a few real-world applications of the union of sets. 

  • Managing Hospital Patient Data
    If two lists in a hospital database contain patients with diabetes and hypertension, respectively, the union of these lists creates a complete list of all patients with any condition.
     
  • Combining social media contacts
    The union of sets makes it easier to combine a list of contacts or followers from various social media sites (such as Facebook, Instagram, Twitter, etc.) into one list without repeating anyone.
     
  • Categorization of library books
    Books in a library are arranged according to genres, such as science, fiction, and mystery. The union of sets makes it easier for readers or librarians to find all books in at least one of the categories.
     
  • Consolidation of shopping lists
    The union of sets helps to combine all the items into a single,  comprehensive list without duplicating elements when two or more people create different shopping lists.

     
  • Students participating in clubs
    Every student who participates in one or both of these sports is a member of the union of these sets.
Max Pointing Out Common Math Mistakes

Common Mistakes and How to Avoid Them in the Union of Sets

When finding the union of sets, students make errors due to confusion with the intersection or counting elements twice. In this section, we will discuss a few common mistakes and the ways to avoid them. 

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Repeating elements in the union
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students often use the same component in their work more than once. Always remember, there are no duplicate elements in a set. Thus, even if a number appears in both sets, write it only once. For example, in this case, the union of A = {2, 5, 6} and B = {5, 7} is {2, 5, 6, 7} and not {2, 5, 5, 6, 7}.
 

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

 Confusing union with intersection
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students frequently think that union refers to just common numbers; it actually means combining all numbers. Always remember that all the numbers from both sets should be included in the union, and the common numbers should be included in the intersection. For example, in this case, if A = {5, 9} and B = {9, 6}, then {9} is the intersection, but {5, 9, 6} is the union.
 

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

 Leaving out numbers from one set
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students will sometimes forget to add numbers from one of the sets. Keep in mind that to write all the numbers from both sets, review them. For example:
If A = {2, 3} and C = {8, 9}, then the union is not just {2, 3, 8} but {2, 3, 8, 9}.
 

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Adding extra numbers not in any set
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students might accidentally add numbers that are not in either set. Always remember to add only those numbers that are truly in A, B, or both. Always check once before writing. For example, in this case, let A = {20, 40} and B = {50}, the union is {20, 40, 50} and not {20, 40, 50, 60}.
 

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Not using set notation
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Some students write sets without using curly braces {}. Always remember to display a set, use curly braces{}. For example, if A = {5, 6} and B = {9}, then the union should be written as {5, 6, 9} and not 5, 6, 9.
 

arrow-right
Max from BrightChamps Saying "Hey"
Hey!

Solved Examples on Union of Sets

Ray, the Character from BrightChamps Explaining Math Concepts
Max, the Girl Character from BrightChamps

Problem 1

Determine A ∪ B if set H = {5, 8, 9} and B = {9, 12, 14}

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

H ∪ B = {5, 8, 9, 12, 14}
 

Explanation

Every element from both sets is combined. We only use 9 once because it appears in both sets. All the other components from both sets are included in the union.
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 2

What is P ∪ S if P = {orange, green} and S = {green, yellow}?

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

P ∪ S = {orange, green, yellow}
 

Explanation

We write “Green” just once because it appears in both sets. All the other colors listed in either P or S are also included in the union.
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 3

Let M = {4, 9, 12} and O = {9, 12, 13}. Determine M ∪ O.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

M ∪ N = {4, 9, 12, 13}
 

Explanation

All the numbers in both sets are taken. We only include 9 and 12 just once in the final set because they are present in both sets.
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 4

Determine the union of K = {60, 30} and P = {40, 20}

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

K ∪ P = {20, 30, 40, 60}
 

Explanation

Here, we simply combine every element from both sets, since there are no repeated elements present in both sets.
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 5

Determine the union of both classes. Class G = {110, 120, 150}∪ Class J = { 150, 140, 130}

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

G ∪ J = {110, 120, 130, 140, 150}
 

Explanation

Since 150 is frequently used, we don’t use it again.
Every student in either class receives from the union.
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Ray Thinking Deeply About Math Problems

FAQs on Union of Sets

1.What is union of sets?

A set that combines all the distinct elements from each of the sets is called the union of the sets.
 

Math FAQ Answers Dropdown Arrow

2.In mathematics, what do ∩ and ∪ mean?

∪ denotes the union of sets in mathematics, especially in set theory, and ∩ denotes the intersection of sets.
 

Math FAQ Answers Dropdown Arrow

3.In a Venn diagram, what does ∩ mean?

Two sets are intersecting: ∩
 

Math FAQ Answers Dropdown Arrow

4.What is the formula for the number of elements in the union of sets?

n(A ∪ B) = n(A)+n(B)-n(A ∩ B) 
 

Math FAQ Answers Dropdown Arrow

5.How do intersection and union differ from one another?

While the intersection (∩) only contains elements that are shared by both sets, the union of sets (∪) contains all elements from both sets without duplicates.
 

Math FAQ Answers Dropdown Arrow
Math Teacher Background Image
Math Teacher Image

Jaskaran Singh Saluja

About the Author

Jaskaran Singh Saluja is a math wizard with nearly three years of experience as a math teacher. His expertise is in algebra, so he can make algebra classes interesting by turning tricky equations into simple puzzles.

Max, the Girl Character from BrightChamps

Fun Fact

: He loves to play the quiz with kids through algebra to make kids love it.

INDONESIA - Axa Tower 45th floor, JL prof. Dr Satrio Kav. 18, Kel. Karet Kuningan, Kec. Setiabudi, Kota Adm. Jakarta Selatan, Prov. DKI Jakarta
INDIA - H.No. 8-2-699/1, SyNo. 346, Rd No. 12, Banjara Hills, Hyderabad, Telangana - 500034
SINGAPORE - 60 Paya Lebar Road #05-16, Paya Lebar Square, Singapore (409051)
USA - 251, Little Falls Drive, Wilmington, Delaware 19808
VIETNAM (Office 1) - Hung Vuong Building, 670 Ba Thang Hai, ward 14, district 10, Ho Chi Minh City
VIETNAM (Office 2) - 143 Nguyễn Thị Thập, Khu đô thị Him Lam, Quận 7, Thành phố Hồ Chí Minh 700000, Vietnam
UAE - BrightChamps, 8W building 5th Floor, DAFZ, Dubai, United Arab Emirates
UK - Ground floor, Redwood House, Brotherswood Court, Almondsbury Business Park, Bristol, BS32 4QW, United Kingdom