Professional Documents
Culture Documents
FOUR
BASIC CONCEPTS
Set Operations
Set operations is a concept like fundamental operations on numbers. Sets in math deal
with a finite collection of objects, be it numbers, alphabets, or any real-world objects.
Sometimes a necessity arises wherein we need to establish the relationship between
two or more sets. There comes the concept of set operations..
There are four main set operations which include set union, set intersection, set
complement, and set difference. In this article, we will learn the various set operations,
notations of representing sets, how to operate on sets, and their usage in real life
1 3 5 6
2 4 4 7
A B
Example 1: In a school, every student play either football or soccer or both. It was found
that 200 students played football, 150 students played soccer and 100 students played both.
Find how many students were there in the school using the set operation formula.
Solution: Let us represent the number of students who played football as n(F) and the
number of students who played soccer as n(S). We have n(F) = 200, n(S) = 150 and n (F ∩ S) =
100. We know that,
A A B 𝐴∩𝐵
Set Difference
The set operation difference between sets implies subtracting the elements from a set
which is like the concept of the difference between numbers. The difference between sets
A and B denoted as A − B lists all the elements that are in set A but not in set B. To
understand this set operation of set difference better,
A B A–B
A
Complement of Sets : 𝐴′ = 𝐴𝐶 = 𝐴
The complement of a set A denoted as A′ or Ac (read as A complement) is defined as
the set of all the elements in the given universal set(U) that are not present in set A. To
understand this set operation of complement of sets better, let us consider an example:
Associative Law - For any three given sets A, B and C the associative property is
defined as,
(A ∪ B) ∪ C = A ∪ (B ∪ C)
This means the set operation union of sets is associative.
(A ∩ B) ∩ C = A ∩ (B ∩ C)
This means the set operation intersection of sets is associative.
De-Morgan's Law - The law states that for any two sets A and B,
we have (A ∪ B)' = A' ∩ B' and (A ∩ B)' = A' ∪ B'
A∪A=A A∩∅=∅ A⊆A∪B
A∩A=A A∪∅=A A∩B⊆A
De-Morgan's Law - The law states that for any two sets A and B, we have (A ∪ B)' = A’ ∩ B’
and (A ∩ B)' = A' ∪ B'
The complement of the sum of two or more variables is equal to the product of the
complements of the variables.
If X and Y are the two logical variables, THEN ACCORDING TO THE De Morgan’s Theorem we
can write:
𝑋 + 𝑌 ′ = 𝑋 ′ ∗ 𝑌 ′ , for n number of logical variables say 𝑥1 , 𝑥2 , … 𝑥𝑛 . It can be written as :
𝑥1 + 𝑥2 + ⋯ + 𝑥𝑛 ′ = 𝑥1′ ∗ 𝑥2′ ∗ ⋯ ∗ 𝑥𝑛 ′
2. The complement of the product of two or more logical variables is equal to the sum of the
complements of the variables.
If Z and Y are the two logical variables, the according to the second law of DE Morgan’s
theorem we can write: 𝑍 ∗ 𝑌 ′ = 𝑍 ′ + 𝑌′. For n numbers of variables say 𝑦1 , 𝑦2 , … 𝑦𝑛 . The
second theorem can be written as: 𝑦1 ∗ 𝑦2 ∗ ⋯ ∗ 𝑦𝑛 ′ = 𝑦1′ + 𝑦2′ + ⋯ + 𝑦𝑛 ′
Example:
If the universal set is given by 𝑆 = 1, 2, 3, 4, 5, 6 , 𝑎𝑛𝑑 𝐴 = 1,2 , 𝐵 = 2, 4, 5 , 𝐶 =
1, 5, 6 are three sets, find the following sets:
1. 𝐴 ∪𝐵
2. 𝐴∩𝐵
3. 𝐴
4. 𝐵
5. Check De Morgan’s law by finding 𝐴 ∪ 𝐵 𝐶 𝑎𝑛𝑑 𝐴𝐶 ∩ 𝐵𝐶
6. Check the distributive law by finding 𝐴 ∩ 𝐵 ∪ 𝐶 𝑎𝑛𝑑 𝐴 ∩ 𝐵 ∪ 𝐴 ∩ 𝐶
If the universal set is given by 𝑆 = 1, 2, 3, 4, 5, 6 , 𝑎𝑛𝑑 𝐴 = 1,2 , 𝐵 =
2, 4, 5 , 𝐶 = 1, 5, 6 are three sets, find the following sets:
1. 𝐴 ∪ 𝐵 = 1, 2, 4, 5
2. 𝐴 ∩ 𝐵 = 2
3. 𝐴 = 3, 4, 5, 6 4. 𝐵 = 1,3,6
𝐴 consists of elements that are in S but not in A 𝐵 consists of elements that are in S but not in B
5. Check De Morgan’s law by finding 𝐴 ∪ 𝐵 𝐶 𝑎𝑛𝑑 𝐴𝐶 ∩ 𝐵𝐶
𝐴 ∪ 𝐵 = 1, 2, 4, 5
𝐶
𝐴 ∪𝐵 = 3,6
Which is the same as 𝐴𝐶 = 3,4,5,6
𝐵𝐶 = 1,3,6
𝐴𝐶 ∩ 𝐵𝐶 = 3,6
𝐶
𝐴∪𝐵 = 𝐴𝐶 ∩ 𝐵𝐶
3,6 = 3,6
6. Check the distributive law by finding 𝐴 ∩ 𝐵 ∪ 𝐶 𝑎𝑛𝑑 𝐴 ∩ 𝐵 ∪ 𝐴 ∩ 𝐶