BrightChamps Logo
Login

Summarize this article:

Live Math Learners Count Icon103 Learners

Last updated on September 29, 2025

Set Operations

Professor Greenline Explaining Math Concepts

Set operations are ways to combine, compare, or relate different sets of objects. A set is a collection of objects, such as numbers, letters, or any real-world objects. We use set operations when we need to establish a relationship between two or more sets. In this article, we will learn more about set operations, their properties, types, and applications.

Set Operations for US Students
Professor Greenline from BrightChamps

What are Set Operations?

A set includes objects, and each object is called an element. The operations that are applied to two or more sets to develop a relationship between them are called set operations. There are four types of set operations:

 

  • Union of sets

 

  • Intersection of sets

 

  • Set difference

 

  • Complement of sets

 

A Venn diagram is a visual aid used to express relationships between sets. Given below is a Venn diagram for reference:

Professor Greenline from BrightChamps

What are the Basic Set of Operations?

Set operations are rules that we use to compare and combine different sets of data. The four basic operations are:

 

  • Union of sets

 

  • Intersection of sets

 

  • Set difference

 

  • Complement of sets
Professor Greenline from BrightChamps

Union of Sets:

Combining all elements from both sets without repeating any element is known as the union. Let’s consider two sets, A and B.

 

Their union is represented as A ⋃ B. We can calculate the number of elements in A ⋃ B by using the formula n(A ⋃ B) = n(A) + n(B) — n(A ∩ B). Here, n(X) indicates how many elements the set X has. 

 

Example: 

Let A = {apple, banana}

B = {banana, mango}

Then A ⋃ B = {apple, banana, mango}

Professor Greenline from BrightChamps

Intersection of Sets

Intersection refers to the things that are common to both sets. The intersection of set A and B is denoted by A ∩ B. The number of elements in the intersection is derived from the union formula and given by n(A ∩ B) = n(A) + n(B) - n(A ⋃ B). To understand the intersection of sets, refer to the Venn diagram given below:

 

Example: 

A = {cat, dog, rabbit}

B = {dog, rabbit, parrot}

A ∩ B = {dog, rabbit}

Professor Greenline from BrightChamps

Set Difference:

The set difference represents the elements that are in set A but not in set B. It is written as A – B, which means all elements in A that are absent in B. To understand the set difference better, let’s see an example.

 

Let A = {red, blue, green}

B = {blue, yellow}

A – B = {red, green}


 

Professor Greenline from BrightChamps

Complement of Sets:

The complement of a set means all the elements belong to the universal set but not in the given set. The complement of a set can be represented as A’ or Ac. 

 

Example: 

Let the universal set U = {1, 2, 3, 4, 5, 6}

A = {1, 2, 3}

Then, A’ = {4, 5, 6}

Professor Greenline from BrightChamps

What are the Properties of Set Operations?

The properties of set operations are certain rules that we must follow while performing operations like union, intersection, and complement on two or more sets. The following properties help us to understand and simplify problems in set theory. 

 

1. Commutative Law

Commutative law states that when applying union or intersection to sets, the order of the sets doesn’t have any effect on the outcome.

For any two sets A and B, the commutative property is given as: A ⋃ B = B ⋃ A

This means that combining two sets gives the same result, no matter which set comes first.
A ∩ B = B ∩ A

This means the common elements in the sets are the same regardless of the order. 

 

2. Associative Law

Associative property shows that the grouping of sets doesn’t change the result in the union and intersection.
(A ⋃ B) ⋃ C = A ⋃ (B ⋃ C)

We can group the sets in any order when taking their union. 
(A ∩ B) ∩ C = A ∩ (B ∩ C)
When finding common elements, we can group the sets in any way.

 

3. De Morgan’s Law

De Morgan’s law tells us how complements work with union and intersection. 
(A ⋃ B)’ = A’ ∩ B’

The elements not in A or B are the same as those not in A and not in B.
(A ∩ B)’ = A’ ⋃ B’

The complement of the intersection of A and B has all elements that are not shared by both sets and belong to either A or B, but not both. 

 

4. Identity and Null Set Properties

Joining a set with itself gives the same set,
A ⋃ A = A

The common elements in a set with itself are the same set,
A ∩ A = A

There are no common terms between any set and the empty set.
A ∩ ∅ = ∅

Adding an empty set to a set doesn’t change the set
A ⋃ ∅ = A

 

5. Subset Properties

The common part of A and B will always be a part of A.
A ∩ B ⊆ A

A will always be a part of the union of A and B.
A ⊆ A ⋃ B

Professor Greenline from BrightChamps

How to Represent Sets in Set Theory?

Sets are represented using curly braces {} to group their elements. The elements in the set can be anything, like numbers, letters, or other sets. The common ways to represent sets are:

 

  • Roster Form

 

  • Set-Builder Form

 

  • Interval Notation

 

  • Special Sets
Professor Greenline from BrightChamps

Roster Form

If the elements are written within the curly braces and separated by commas is known as the roster form. A = {1, 2, 3, 4, 5} is a common example of a roster form.

Professor Greenline from BrightChamps

Set-Builder Form

The way of describing a set without listing all the elements is known as a set builder form. Instead of listing all the elements in a set, we describe a property that describes the elements present in the set. The notation of a set-builder form is {x | P(x)}, where x represents the elements and P(x) is the condition.

 

For example, A = {x | x is an odd number}; this means that the elements in the set A are odd, like 1, 3, 5, 7, etc.

Professor Greenline from BrightChamps

Interval Notation

Intervals are used to represent a group of numbers on the number line, especially real numbers. In set notation, we can use intervals to represent a range of values instead of listing each element individually. Let’s consider an example to understand the interval notation: B = {x | 0 < x < 5} can be represented as (0, 5), indicating all the real numbers greater than 0 and less than 5.

Professor Greenline from BrightChamps

Special Sets

Empty set: The set with no elements is known as the empty set. It is denoted as ∅ or {}.

Universal set: The set that contains all elements under consideration is known as a universal set and is denoted by U.

Singleton set: A set containing only one element is called a singleton set.

Professor Greenline from BrightChamps

What are the Elements of Set?

In sets, elements are listed inside the curly brackets {} and separated by commas. Each element in the set will be unique, and no duplicate elements are allowed inside a set. Elements can be in any form, such as numbers, letters, symbols, or other sets.

 

Example: A = {7, 8, 9, 5}

 

Here, 7, 8, 9, and 5 are the elements of a set A.

Each element is unique and not repeated inside a set.

The order of the elements does not matter, as they contain the same elements.

Professor Greenline from BrightChamps

What are the Types of Sets?

A set can look different depending on what it contains and how they are grouped. Some sets have no element at all, and some sets have more elements; some may be a part of other sets, and some may have the same elements. Learning the types of sets helps us compare, organize, and solve problems easily in set theory.

 

Null or Empty or Void Set: A set with no elements is called a null or empty, or void set. The null set can be denoted by ∅ or {}.

 

Singleton Set: A set consisting of a single element is called a singleton set.

 

Finite Set: The set that has only a finite number of elements is known as a finite set.

 

Infinite Set: A set with an infinite number of elements.

 

Subset: All the elements from set A are found in set B; then A is termed a subset of B. The subset can be denoted as A ⊆ B.

 

Proper Subset: When A is a subset of B, but A is not equal to B, then A is considered a proper subset of B. A proper subset can be represented as A ⊂ B, where A ≠ B.

 

Universal Set: The set that consists of all the elements that occur in the discussion is known as a universal set. The universal set can be denoted as U.

 

Power Set: If A is the given set and all the subsets of A are called the power set of A and are denoted as P(A).

 

Equal Set: If every element of the set A is also an element of set B, or vice versa, then it is called an equal set. Equal sets are represented as A = B.

 

Disjoint Sets: If two sets do not have any common elements, it is known as disjoint sets. Disjoint sets are denoted as A ∩ B = ∅. This denotes that the intersection of disjoint sets results in a null set or a set with no elements. 

Professor Greenline from BrightChamps

What are Set Formulas?

Set formulas are mathematical expressions that show how different operators relate to each other. Learning the set formulas makes it easier to solve problems in algebra, computer science, probability, and more. Listed below are some of the important set formulas:

 

  • n(A ⋃ B) = n(A) + n(B) - n(A ∩ B)

 

  • n(A ⋃ B) = n(A) + n(B) if and only if A, B are disjoint sets.

 

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

 

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

 

  • n(A – B) + n(A ∩ B) + n(B – A) = n(A ⋃ B)

 

  • n(A ⋃ B ⋃ C) = n(A) + n(B) + n(C) - n(A ∩ B) - n(B ∩ C) - n(C ∩ A) + n(A ∩ B ∩ C)
Professor Greenline from BrightChamps

Real Life Applications of Set Operations

We use sets and set operations in many places. They are used not only in math but also in daily life, such as computers, science, and more. Here are some of the real-life applications of set operations.

 

  • Education: In schools, set operations help teachers to group students based on their interests or performance. Set operations can also be used for planning lessons, assigning group projects, or activities. It is also used to compare class performance and analyze test results.

 

  • Computer Science: Set operations are used in search engines, apps, and databases. They help computers match data, sort users, filter information, and manage files and emails, which makes computers faster and smarter by handling a large amount of data.

 

  • Science: Scientists use set operations to study and group different kinds of plants, animals, or chemical elements. It also helps in finding common features, comparing different groups, and separating unique characteristics for research.
Max Pointing Out Common Math Mistakes

Common Mistakes and How to Avoid Them in Set Operations

Set operations are easy, fun, and useful, but sometimes students make small mistakes while solving them. Let's examine some common mistakes and learn how to fix them easily.
 

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Writing repeated elements

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Writing repeated elements in a set results in an error. Always write an element once in a set.

 

For example, A ⋃ B = {1, 2, 2, 3} is incorrect because the element 2 is written twice in the set. We should write each element only once in a set, and it becomes A ⋃ B = {1, 2, 3}.

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Confusing union and intersection

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

While writing the union and intersection, students often mixed up the two. Remember that union means all the elements from both sets, and intersection means only the common elements. Use different colors while drawing a Venn diagram to understand the difference easily.

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Mistake while finding the difference between the sets

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

In sets, A–B means the difference of sets. That means removing the elements from A that are in B. Do not take elements from B that are not in A.

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Extra elements in the complement

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

The elements that are not in the given set but are available in the universal set are known as the complement. Sometimes students might end up writing the elements that are in the given set as a complement. Double-check the elements in the universal set to write the complement of the sets.

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Using the wrong brackets in intervals

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

When writing the intervals, if we use the wrong brackets, it will change the meaning of the set and lead to incorrect results. Use () for the values that are not included and [] for the values that are included.

 

For example, (2, 5] means that 2 is not included and 5 is included.

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

Solved Examples of Set Operations

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

Problem 1

Let A = {1, 2, 3} and B = {3, 4, 5}, find A ⋃ B.

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

A ⋃ B = {1, 2, 3, 4, 5}

Explanation

Union means combining the elements from both sets without repetition. 

 

Given, A = {1, 2, 3}

B = {3, 4, 5}

 

Since 3 is common in both sets, we will write it only once. 

 

Therefore, A ⋃ B = {1, 2, 3, 4, 5}

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

Problem 2

Let A = {a, b, c, d}, and B = {b, d, e}. Find A ∩ B.

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

A ∩ B = {b, d}

Explanation

The common elements in both sets are the intersection. The common terms in the given sets are b and d. So, A ∩ B = {b, d}.

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

Problem 3

Let A = {red, blue, green} and B = {blue, yellow}. Find A – B.

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

A – B = {red, green}

Explanation

The elements that are in set A but not in set B are known as the difference of a set. To find the difference between sets A – B, we need to write down the elements that are in set A and not in set B. 

 

So, A – B = {red, green}

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

Problem 4

Let the universal set U = {1, 2, 3, 4, 5, 6, 7} and A = {2, 4, 6}. Find A’.

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

A’ = {1, 3, 5, 7}

Explanation

We have to find A’ (the complement of A). Complement means all elements in the universal set, but not in set A. 

 

Therefore, A’ = {1, 3, 5, 7}

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

Problem 5

Let A = {2, 4, 6} and B = {4, 5, 6}. Find elements in A or B but not in both.

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

Symmetric difference of sets A and B, denoted A △ B  = {2, 5}

Explanation

To find the symmetric difference, we need to find elements in A or B but not in both; we have to remove the common elements.

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

FAQs on Set Operations

1.What is a set operation?

Set operations are ways to compare or combine two or more sets. The most common set operations are union, intersection, difference, and complement.

Math FAQ Answers Dropdown Arrow

2.What does union mean in sets?

Combining the elements of two or more sets without repetition is known as a union.

Math FAQ Answers Dropdown Arrow

3.What is the universal set?

It is the set that contains all possible elements in a given topic. 

Math FAQ Answers Dropdown Arrow

4.What is the complement of a set?

The elements that are not in the given sets but are present in the universal set are known as the complement of a set.

Math FAQ Answers Dropdown Arrow

5.What does difference mean in set operations?

Difference in the sets refers to the elements that are in one set but not in the other set. 

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