

How to Solve Union and Intersection of Sets Problems
The union of two sets P and Q is represented by P ∪ Q. This is the set of all different elements that are included in P or Q. The symbol used to represent the union of set is ∪.
The intersection of two set P and Q is represented by P ∩ Q. This is the set of all different elements that are included in both P and Q. The symbol used to represent the intersection of set is ∩ . We can say that the intersection of two given sets i.e. P and Q is the set that includes all the elements that are common to both P and Q.
Example:
If P = { 1,3,5,7,9} and Q = { 2,3,5,7}
What are P ∪ Q, and P ∩ Q
Solution:
P ∪ Q = { 1,2,3,5,7,9}
P ∩ Q = { 3,5,7}
A great way of learning Union And Intersection of Sets is by using Venn diagrams. The venn diagram of union and intersection is discussed below.
Union and Intersection Venn Diagram
A venn diagram is a diagram that represents the relation between and among a finite group of sets. If we have two or more sets, we can construct a Venn diagram to represent the relationship among these sets as well as the cardinality of sets. Venn diagrams are helpful in representing relationships in statistics, probability, and many more.
Venn diagrams are specifically used in set operation as they give us visual information of the relationship involved.
To learn union and intersection through Venn diagram, we will represent sets with circles as shown below:
(Image will be Uploaded Soon)
Now we will place the values in appropriate places.
(Image will be Uploaded Soon)
The union of set is any region including elements of either A or B
(Image will be Uploaded Soon)
The intersection of sets is any region including the elements of both A and B.
(Image will be Uploaded Soon)
Union of Set
The union of two sets P and Q is equivalent to the set of elements which are included in set P, in set Q, or in both the sets P and Q. This operation can b represented as
P ∪ Q = { a : a ∈ P or a ∈ Q}
Let us understand the union of set with an example say, set P {1,3,} and set Q = { 1,2,4} then,
P ∪ Q = { 1,2,3,4,5}
Venn Diagram of Union of Sets
Let us look at the 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 elements that are included in set A or set B or both. The symbol ‘∪’ is used to represent the union of two sets.
(Image will be Uploaded Soon)
In the venn diagram given above, the yellow coloured portion denotes the union of both the sets A and B. Hence, the union of two sets A and B is represented by a set C, which is also considered as a subset of the universal set U such that set C includes all those elements that are either in Set A or set B or in both A and B i.e. A ∪ B = { x : x ∈ A or x ∈ B }.
Intersection of Sets
The intersection of two sets A and B which are subsets of the universal set U, is the set that includes all those elements that are common to both A and B.
It is represented by the symbol ‘ ∩’. All those elements that are included in both set A and B denotes the intersection of A and B. Hence we can say that, A ∩ B = { x : x ∈ A and x ∈ B }.
For n sets i.e. A₁ ,A₂, A₃,....An, where all these sets are the subset of the universal set U, the intersection is the set of all the elements which are common to all these n sets.
Representing this periodically, the shaded portion in the Venn diagram given below denotes the intersection of two sets A and B.
(Image will be Uploaded Soon)
Intersection of Two Sets Representation
If X and Y are two sets, then the intersection of two sets is represented by
X ∩ Y = n( X) + n(Y) - n( X ∩ Y)
Where n(X) is the cardinal number of set X, n(Y) is the cardinal number of set Y, n( X ,Y ) is the cardinal number of union of set X and Y.
To understand the concept of intersection of two sets clearly, let us consider an example.
If Set X = { 4,6,8,10,12 }, Set Y = { 3,6,9,12,15,18} and Set Z = { 1,2,3,4,5,6,7,8,9,10}. Find the Intersection of
1. Set X and Y
2. Set Y and Z
3. Set A and C
Solution:
Intersection of set X and Y is X ∩ Y
Set of all the elements which are common to both set X and Y is {6, 12}
Intersection of set Y and Z is Y ∩ Z
Set of all the elements which are common to both set Y and Z is {3,6,9}
Intersection of set X and Z is X ∩ Z
Set of all the elements which are common to both set X and Z is {4,6,8,10}
Cardinal Number of Set
The number of different elements included in a finite set is called its cardinal number of a set. The cardinal number of sets is represented as n(A) and read as ‘number of elements of the set’.
For example,
Set X = { 2,4,5,9,15 } has 5 elements
Hence, the cardinal number of set X = 5. Hence, it is represented as n(x) = 5.
Difference between Union and Intersection of Set
Union and Intersection Examples
1. If X = {Multiples of 3 between 1 and 20}, and Y = ( Odd Natural Numbers upto 14}. Determine the intersection of two given sets X and Y.
Solution:
X = { Multiples of 3 between 1 and 20}
Hence, X = { 3,6,9,12,15,18}
Y = { even natural numbers upto 15}
Hence, Y = { 2,4,6,8,10,12,14}
Therefore, intersection of X and Y is the largest set including only those elements which are common to both the given sets X and Y.
Hence, X ∩ Y = { 6, 12 }
2. P = { 1,3,7,5} and Q = { 3,7,8,9}. Find the union of two sets P and Q.
Solution:
P ∪ Q = { 1,3,5,7,8,9}
No elements are repeated in the union of two sets. The common elements i.e. 3 and 7 are considered only once.
Union and Intersection of Sets Cardinal Number Practice Problems
1. Find the Union and Intersection of two sets P and Q Where Set P = { -29, -45, -10, -30, -3, -39, 24} and Set Q = { -46, 21 ,-8}. What is the Cardinal Number of P,Q, their union and intersection?
Solution:
Union = { -29, - 45, -10, - 30, - 3, - 39, 24, - 46, 21,- 8}
Intersection {}
Cardinal number of P = Number of elements in P = 7
Cardinal number of Q= Number of elements in Q = 3
Cardinal number of union of two sets = Number of total elements in both the sets = 10
Cardinal number of intersection of two sets= Number of elements in their intersection = 0 ( Null set).
2. There are a total number of 200 students in Class XI. Among them, 120 students study science, 50 students mathematics, and 30 students study both science and mathematics. Find the number of students who
Study science but not mathematics
Study mathematics but not science
Study science or mathematics
Solution:
The total number of students denotes the cardinal number of the universal set. Let x represent the set of students studying Science and set Y represent the students studying Mathematics.
Therefore,
n(U) = 200
N(X) = 120
N(Y) = 50
N ( X ∩ Y) = 30
The venn diagram denotes the number of students studying both Science and Mathematics.
i. Number of students studying science but not mathematics
Here, we are required to find the difference of sets X and Y.
n(X) = n( X - Y) + n (X ∩ Y)
n( X - Y) = n(X) - n(X ∩ Y)
n( X -Y) = 120 -30
= 90
Hence, the number of students who study Science but not Mathematics are 90.
ii. Number of students studying mathematics but not science.
Here, we are required to find the difference of sets Y and X.
n(Y) = n( Y - X) + n (X ∩ Y)
n( Y - X) = n(Y) - n(X ∩ Y)
n( X -Y) = 50 -30
= 20
Hence, the number of students who study Mathematics but not Science are 20.
iii. Number of students who study science or mathematics
n( X∪ Y) = n(X) + n(Y) - (X ∩ Y)
n ( X ∪Y) = 120 + 50 - 30 = 140
Hence, the number of students who study Science or Math
Union And Intersection
A set can be defined as a collection of elements or items which can be mathematical like functions, numbers or it may not be mathematical. The usage of sets must have been older than the use of numbers itself. The number of animals in a herd can be counted with the stones in a sack without the actual members being counted. This notion goes up to infinity. For example, when we consider the set containing integers then the integers from 1 to 100 are finite but if we consider the whole set then it will be infinite. Sets are represented with many members together enclosed by brackets. When there are no members in the set then it is called a null or empty set. The infinite sets are represented by a formula which gives the elements when used for the elements of the set.
The union function of two sets has all the elements or objects present in two sets or either of the two sets. It is represented by ⋃. The intersection function of two sets is when all the elements present in the both sets are present. It is represented as ⋂.
The complement function of intersection doesn’t contain everything that is present on the set. On the other hand, a universal set has all the elements we need in a set. A complement set can be said to be relative to the universal set.
FAQs on Union and Intersection of Sets Explained with Examples
1. What are the union and intersection of sets in mathematics?
In set theory, the union and intersection are two fundamental operations used to combine sets.
- The union of two sets, denoted by A ∪ B, is the set of all elements that are in set A, in set B, or in both. It essentially merges the two sets.
- The intersection of two sets, denoted by A ∩ B, is the set of all elements that are common to both set A and set B.
2. What is the key difference between the union and intersection of sets?
The key difference lies in the condition for an element to be included. The union is inclusive (an 'OR' condition), containing any element present in either set. The intersection is exclusive (an 'AND' condition), containing only those elements present in both sets simultaneously. For example, if A = {1, 2} and B = {2, 3}, their union A ∪ B is {1, 2, 3}, while their intersection A ∩ B is just {2}.
3. How are the union and intersection of sets represented using a Venn diagram?
A Venn diagram uses overlapping circles to show the relationship between sets.
- For union (A ∪ B), the entire area of both circles, including their overlapping part, is shaded. This represents all elements belonging to either set.
- For intersection (A ∩ B), only the overlapping area between the circles is shaded. This represents the elements that are common to both sets.
4. Can you provide a simple example of finding the union and intersection?
Certainly. Let's consider two sets: Set P = {a, b, c, d} and Set Q = {c, d, e, f}.
- The union (P ∪ Q) would be {a, b, c, d, e, f}. Notice that the common elements 'c' and 'd' are listed only once.
- The intersection (P ∩ Q) would be {c, d}, as these are the only elements found in both sets.
5. Why are common elements written only once in the union of two sets?
This is because the fundamental definition of a set is a collection of distinct or unique elements. Repetition of elements is not allowed in a set. Therefore, when you form the union of two sets, you list all the unique elements from both. Even if an element appears in both original sets, it is included only once in the final union set to maintain this core principle.
6. What is the formula to find the number of elements in the union of two finite sets?
The formula to find the number of elements, or cardinality, in the union of two sets A and B is based on the Principle of Inclusion-Exclusion. The formula is:
n(A ∪ B) = n(A) + n(B) – n(A ∩ B)
We subtract the number of elements in the intersection, n(A ∩ B), to avoid counting the common elements twice.
7. If the intersection of two sets is an empty set (∅), what does it mean?
If the intersection of two sets is an empty set (A ∩ B = ∅), it means that the two sets have no elements in common. Such sets are called disjoint sets. In this specific case, the formula for the cardinality of their union simplifies to n(A ∪ B) = n(A) + n(B), because the term n(A ∩ B) is zero.
8. How is the formula for union extended to three sets?
The Principle of Inclusion-Exclusion can be extended to find the number of elements in the union of three sets (A, B, and C). The formula becomes:
n(A ∪ B ∪ C) = n(A) + n(B) + n(C) – n(A ∩ B) – n(B ∩ C) – n(A ∩ C) + n(A ∩ B ∩ C)
This formula adds the individual cardinalities, subtracts the pairwise intersections, and finally adds back the intersection of all three sets.
9. Can you give a real-world example where set union and intersection are applied?
A great example is in analysing survey data. Imagine a school surveys students about the newspapers they read. Let Set H = {students who read The Hindu} and Set T = {students who read The Times}.
- The intersection (H ∩ T) would identify the number of students who read both newspapers, which is useful for targeted advertising.
- The union (H ∪ T) would give the total number of students who read at least one of these newspapers, helping to understand the total readership reach.

















