The Wayback Machine - https://web.archive.org/web/20240811154055/https://www.geeksforgeeks.org/disjoint-sets/
Open In App

Disjoint Sets

Last Updated : 08 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Disjoint Sets are one of the types of many pair of sets, which are used in Set Theory, other than this other types are equivalent sets, equal sets, etc. Set Theory is the branch of mathematics that deals with the collection of objects and generalized various properties for these collections of objects.

In this article, we will learn about Disjoint Sets in detail including their definition, condition, and Venn diagram. We will also learn about how to check disjoint sets and disjointed unions of sets along with the examples. Disjoint sets are used in various fields of mathematics and data structures. Let’s start our learning on the topic of Disjoint Sets.

Disjoint-Sets

What is Disjoint Set?

Disjoint sets are also known as disjoint collections or non-intersecting sets and refer to those sets which don’t have any identical element common between them.

For example, A = {1, 2, a} and B = {3, 4, b} then, A ∩ B = ϕ. For this example, A and B are disjoint sets as both do not contain the same element.

Disjoint Set Definition

Disjoint sets are sets that do not contain any common element. The sets which when intersected results in an empty set or null set are called Disjoint Sets. The disjoint sets are also called mutually exclusive sets or independent sets.

If P = {a, b} and Q = {c, d} then, P ∩ Q = ϕ as there is no same element in set P and set Q. Thus, P and Q are called disjoint sets.

Condition for Disjoint Sets

If A and B are two disjoint sets then, their intersection must be an empty set i.e.,

A ∩ B = ϕ

How to Check if Sets are Disjoint or Not?

To check whether the given sets are disjoint or not we follow below steps:

Step 1: Compare the elements of given sets.

Step 2: Compute the intersection of these sets.

Step 3: Apply the disjoint set condition i.e., A ∩ B = ϕ.

Step 4: If condition satisfies, the sets are disjoint otherwise not.

Disjoint Set Example

Example: Check whether the given sets A = {20, 25, 39} and B = {5, 19} are disjoint or not.

Answer:

Given sets,

A = {20, 25, 39} and B = {5, 19}

Check the condition: A ∩ B = ϕ

A ∩ B = {20, 25, 39} ∩ {5, 19}

⇒ A ∩ B = ϕ (condition satisfied)

Sets A and B are disjoint sets.

Disjoint Set Venn Diagram

In set theory, we represent the sets in the form of Venn diagrams. In the Venn diagram for disjoint sets, there is no overlapping of sets as there is no common element present in the sets.

Following is the Venn diagram for disjoint sets A and B:

disjoint set venn diagram

Learn more about Venn Diagram.

Pairwise Disjoint Set

Pairwise Disjoint set is the group of subsets. If A is the set of collection of sets. X and Y be the two sets in A. If X and Y are subsets of A, X ≠ Y, and X ∩ Y = ϕ, then X and Y are called pairwise disjoint sets. The pairwise disjoint set is also called a mutually disjoint set. The mathematically pairwise disjoint set is given as:

X ⊆ A, Y ⊆ A, X ≠ Y and X ∩ Y = ϕ

Disjoint Union of Set

Union is the set operation performed on two sets resulting in a set containing all the elements of two sets. The disjoint union of sets is different from the regular union operation of sets. The disjoint union is a binary operation on two disjoint sets. After performing the disjoint union operation, the resultant set should satisfy the condition for the disjoint set. The disjoint union of a set is also called discriminated union as well.

The resultant set after the disjoint union of the set contains the element in ordered pair (p, q) where q defines the index from where element p is selected. For performing the disjoint union of sets, we have to do some changes in the given sets, and these changes and operation is given as follows:

A ∪* B = (A × {0}) ∪ (B × {1}) = A* ∪ B*

Where,

  • A and B are disjoint sets,
  • ∪* represents the disjoint union.

Example: If P = {9, 12} and Q = {5, 13} are disjoint sets then find a disjoint union of sets.

Answer:

P ∪* Q = (P × {0}) ∪ (Q × {1}) = P* ∪ Q*

P* = (P × {0})

⇒ P* = {(9, 0), (12, 0)}

and Q* = (Q × {1})

⇒ Q* = {(5, 1), (13, 1)}

P ∪* Q = P* ∪ Q*

⇒ P ∪* Q = {(9, 0), (12, 0)} ∪ {(5, 1), (13, 1)}

⇒ P ∪* Q = {(9, 0), (12, 0), (5, 1), (13, 1)}

Are Two Empty Sets Disjoint?

According to the definition and condition of the disjoint sets, if the intersection of sets results in an empty set, then the sets are called disjoint sets. When we perform the intersection of two empty sets it results in an empty set i.e., it satisfies the condition for disjoint sets.

ϕ ∩ ϕ = ϕ

Thus, the empty set is a disjoint set of itself.

Difference Between Joint and Disjoint Sets

Characteristics

Joint Set

Disjoint Set

Definition

The sets which have common elements i.e., 
the intersection of the set is not an empty set are 
called joint sets.
The sets which do not have common elements i.e., 
the intersection of the set is an empty set is called 
disjoint sets.

Condition

A ∩ B ≠ ϕ A ∩ B = ϕ

Example

If X = {a, b} and Y = {b, c} then, 

X ∩ Y = {b}

X and Y are joint sets.

If X = {a, d} and Y = {b, c} then, 

X ∩ Y = ϕ

X and Y are disjoint sets.

Read, More

Solved Examples on Disjoint Sets

Example 1: Check whether the given sets A = {p, q} and B = {r, s} are disjoint or not.

Answer:

Given sets,

A = {p, q} and B = {r, s}

Check the condition: A ∩ B = ϕ

⇒ A ∩ B = {p, q} ∩ {r, s}

⇒ A ∩ B = ϕ (condition satisfied)

Sets A and B are disjoint sets.

Example 2: Show that the sets P = {20, 40} and Q = {10, 30, 50} are disjoint sets.

Answer:

Given sets,

P = {20, 40} and Q = {10, 30, 50}

Check the condition: P ∩ Q = ϕ

⇒ P ∩ Q = {20, 40} ∩ {10, 30, 50}

⇒ P ∩ Q = ϕ (condition satisfied)

Sets P and Q are disjoint sets.

Example 3: Determine whether the given sets X = {12, 39, 48} and Y = {15, 60} are disjoint or not.

Answer:

Given sets,

X = {12, 39, 48} and Y = {15, 60}

Check the condition: X ∩ Y = ϕ

⇒ X ∩ Y = {12, 39, 48} ∩ {15, 60}

⇒ X ∩ Y = ϕ (condition satisfied)

Sets X and Y are disjoint sets.

Example 4: If P = {2, 7, 12} and Q = {8, 14} are disjoint sets then find a disjoint union of sets.

Answer:

P ∪* Q = (P × {0}) ∪ (Q × {1}) = P* ∪ Q*

P* = (P × {0})

⇒ P* = {(2, 0), (7, 0), (12, 0)}

and Q* = (Q × {1})

⇒ Q* = {(8, 1), (14, 1)}

P ∪* Q = P* ∪ Q*

⇒ P ∪* Q = {(2, 0), (7, 0), (12, 0)} ∪ {(8, 1), (14, 1)}

⇒ P ∪* Q = {(2, 0), (7, 0), (12, 0), (8, 1), (14, 1)}

Example 5: Which of the following sets are disjoint?

(i) A = {3, 18} and B = {9, 17}

(ii) X = {2, 4} and Y = {4, 8}

Answer:

(i) A = {3, 18} and B = {9, 17}

First, compute A ∩ B

⇒ A ∩ B = {3, 18} ∩ {9, 17}

⇒ A ∩ B = ϕ

Above sets satisfies the condition for disjoint sets.

A and B are disjoint sets.

(ii) X = {2, 4} and Y = {4, 8}

First, compute X ∩ Y

⇒ X ∩ Y= {2, 4} ∩ {4, 8}

⇒ X ∩ Y= {4}

⇒ X ∩ Y ≠ ϕ

Above sets does not satisfies the condition for disjoint sets.

X and Y are not disjoint sets.

FAQs on Disjoint Sets

Define Disjoint Sets.

Disjoint sets are the sets which do not contain any common element i.e., intersection of sets results in an empty set.

Write the Condition for Disjoint Sets.

If A and B are two disjoint sets then, their intersection must be an empty set.

A ∩ B = ϕ

How to find Disjoint Sets?

To find the disjoint sets first compute the intersection of given sets and check with the condition A ∩ B = ϕ, if the intersection is an empty set, then given sets are disjoint sets otherwise not.

Can Two Empty Aets be Disjointed?

When we apply intersection in two empty sets it results in empty set which satisfies the condition for the disjoint set. So, the empty sets can be disjointed, and empty set is disjoint set of itself.

What are Mutually Disjoint Sets?

Two sets are said to be mutually disjoint sets when it satisfies the following conditions:

X ⊆ A, Y ⊆ A, X ≠ Y and X ∩ Y = ϕ

Write the Set Representation for the Disjoint Union of a Set.

The set representation for disjoint union of set is given by:

A ∪* B = (A × {0}) ∪ (B × {1}) = A* ∪ B*

Where,

  • A and B are Disjoint Sets
  • ∪* represents the Disjoint Union


Previous Article
Next Article

Similar Reads

Class 11 RD Sharma Solutions - Chapter 1 Sets - Exercise 1.6 | Set 1
Question 1. Find the smallest set A such that A ∪ {1, 2} = {1, 2, 3, 5, 9}. Solution: A ∪ {1, 2} = {1, 2, 3, 5, 9} The union indicates that the summation of elements of both sets should form RHS. Elements of A and {1, 2} together give us the resultant set. Therefore, the smallest set will be, A = {1, 2, 3, 5, 9} - {1, 2} Hence, A = {3, 5, 9} Questi
11 min read
Class 11 NCERT Solutions - Chapter 1 Sets - Exercise 1.5
Question 1. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9}, A = {1, 2, 3, 4}, B = {2, 4, 6, 8} and C = {3, 4, 5, 6}. Find:(a) A' Solution: We know that this is the complement of set A i.e, it is the subset of U. So, A' = {5, 6, 7, 8, 9} (b) B' Solution: We know that this is the complement of set B i.e, it is the subset of U. So, B' = {1, 3, 5, 7, 9} (c) (A ∪
5 min read
Class 11 NCERT Solutions - Chapter 1 Sets - Exercise 1.2
Questions 1. Which of the following are examples of the null set? i) Set of odd natural numbers divisible by 2 Solution: Yes, this is a null set because three is no odd natural number divisible by 2. Note: A set which does not contain any element is called the null set. ii) Set of even prime numbers Solution: No, this is not a null set because 2 is
6 min read
Class 11 RD Sharma Solutions - Chapter 1 Sets - Exercise 1.7
Question 1: For any two sets A and B, prove that: A‘ – B‘ = B – A Solution: To prove: A’ – B’ = B – A Firstly show that A’ – B’ ⊆ B – A Let, x ∈ A’ – B’ ⇒ x ∈ A’ and x ∉ B’ ⇒ x ∉ A and x ∈ B (since, A ∩ A’ = ϕ) ⇒ x ∈ B – A It is true for all x ∈ A’ – B’ Therefore, A’ – B’ = B – A Hence, Proved. Question 2: For any two sets A and B, prove the follow
6 min read
Class 11 NCERT Solutions - Chapter 1 Sets - Exercise 1.4
Question 1. Find the union of each of the following pairs of sets:(i) X = {1, 3, 5} Y = {1, 2, 3}(ii) A = {a, e, i, o, u} B = {a, b, c}(iii) A = {x: x is a natural number and multiple of 3}B = {x: x is a natural number less than 6}(iv) A = {x: x is a natural number and 1 < x ≤ 6}B = {x: x is a natural number and 6 < x < 10}(v) A = {1, 2, 3
10 min read
Class 11 NCERT Solutions - Chapter 1 Sets - Exercise 1.1
Question 1: Which of the following are sets? Justify our answer. (i) The collection of all months of a year beginning with the letter J. (ii) The collection of ten most talented writers of India. (iii) A team of eleven best-cricket batsmen of the world. (iv) The collection of all boys in your class. (v) The collection of all natural numbers less th
6 min read
Class 11 RD Sharma Solutions - Chapter 1 Sets - Exercise 1.2
Question 1. Describe the following sets in Roster form: (i) {x : x is a letter before e in the English alphabet} (ii) {x ∈ N: x2 < 25} (iii) {x ∈ N: x is a prime number, 10 < x < 20} (iv) {x ∈ N: x = 2n, n ∈ N} (v) {x ∈ R: x > x} (vi) {x : x is a prime number which is a divisor of 60} (vii) {x : x is a two-digit number such that the sum
9 min read
Class 11 RD Sharma Solutions - Chapter 1 Sets - Exercise 1.1
Question 1. What is the difference between a collection and a set? Give reasons to support your answer. Solution: A collection represents a group of objects. Whereas well-defined collections are called sets. Only unique elements can be present in a set. Example: The collection of good novels is not a set. But, if we consider Good Novels in Rohan's
3 min read
Class 11 NCERT Solutions- Chapter 1 Sets - Miscellaneous Exercise on Chapter 1 | Set 2
Chapter 1 Sets - Miscellaneous Exercise on Chapter 1 | Set 1Question 11: Let A and B be sets. If A ∩ X = B ∩ X = φ and A ∪ X = B ∪ X for some set X, show that A = B Solution: A = A ∩ (A ∪ X) //absorption law A = A ∩ (B ∪ X) //given that A ∩ X = B ∩ X = (A ∩ B) ∪ (A ∩ X) //distributive law = (A ∩ B) ∪ φ //given that A ∩ X = φ A = (A ∩ B) ...(1) Repe
6 min read
Class 11 RD Sharma Solutions - Chapter 1 Sets - Exercise 1.3
Question 1. Which of the following are examples of empty set? (i) Set of all even natural numbers divisible by 5. (ii) Set of all even prime numbers. (iii) {x: x2–2=0 and x is rational}. (iv) {x: x is a natural number, x < 8 and simultaneously x > 12}. (v) {x: x is a point common to any two parallel lines}. Solution: (i) All the numbers endin
7 min read
three90RightbarBannerImg