Module 1: Sets: Learning Outcomes: After Working Through This Module, You Are Expected To Be Able To
Module 1: Sets: Learning Outcomes: After Working Through This Module, You Are Expected To Be Able To
Learning
Outcomes : After working through this module, you are expected to be able to:
a) Define set and different types of sets such as, finite and infinite sets,
empty set, singleton set, equivalent sets, equal sets, sub-sets and cite
examples thereof;
b) Describe sets by listing the elements and by means of set-builder
notation;
c) Perform operations on sets and
d) Solve real life problems using the addition principle for sets, principle
of inclusion-exclusion and Venn diagram;
In everyday life and in mathematics, the term “set” is often used. A set contains
objects, people or numbers with something in common, and form a well-defined whole.
Basically, a set isSome defined:
The barber paradox gives an example of a set that is not well-defined.: There is only
one barber in a certain town. He is male, all of the men in the town are clean-shaven.
The barber shaves all and only the men in the town who do not shave themselves. Who
shaves the barber? Now, if the barber shaves himself, then since the barber shaves only
the men who do not shave themselves, he does not shave himself. And if he does not
shave himself, then since he shaves all of the men who do not shave themselves, he
shaves himself.
One explanation for this paradox is that, the set S of men in the town who are shaved
by the barber is not well-defined. As the barber must simultaneously be a member of
the set and not be a member of the set.
In all collections written on the left-hand side of the vertical line, the term tallness.
interesting, honesty, intelligence, are not well defined. In fact, these notions vary
from individual to individual. Hence, those collections cannot be considered as sets.
While in all collections written on the right-hand side of the vertical line, “height more
than 180 cm”, “mathematics books”, “never been found involved in theft case”, “marks
more than 80%” are well defined properties. Hence, these collections are considered as
sets.
Sets can be described in several ways. One way to describe a set is to write a
description of the set-in words, as in the “the set of all integers that can be written as
the sum of two squares”. There are three main ways of describing a set using
mathematical notation.
1. Explicit listing or Roster Method. In this method, a set is represented by listing
all its elements, separating these by commas and enclosing these in curly brackets.
If V be the set of vowels of English alphabet, it can be written in Roster form as:
V = { a , e , i, o ,u }
The elements of a set that is described by explicit listing are the different objects in the
list obtained when the braces are removed. For example, the elements of { 2 , 4 , 6 } are 2,
4, and 6.
Note: To write a set in Roster from elements are not to be repeated i.e., all elements
are taken as distinct. For example, if A be the set of letters used in the word
mathematics, then
A={ m, a , t ,h , e ,i , c , s }
a) A={ x ∈ Z : x ≤5 }
b) B= { x ∈ N : x∣24 }
c) C={ x ∈ R: x =2 }
d) D=¿
The elements of a set that is described by implicit listing are those that follow the
pattern.
3. Set-builder form. In this method, elements of the set are not listed but these are
represented by some property. The elements of a set described using set-builder
notation are those objects of the given type that satisfy the stated condition. For
example, the elements of the set {ba :a∧b are positiveintegers } are infinitely many.
Other examples.
Let V be the set of vowels of English alphabet then V can be written in the set
builder form as:
ii. B= {3 , 6 , 9 , 12 }
Finite Sets
Definition Finite sets are the sets having a finite/countable number of members.
finite sets are also known as countable sets as they can be
counted. This process will run out of elements to list if the elements of
this set have a finite number of members
Here, P, Q, and R are finite sets because the elements are finite and countable
R ⊂ P because all the elements of set R are present in P . So, the subset of a
finite set is always finite
P ∪Qis { 1,2,3,4,6,9 }, so, the union of two sets is also finite
Example.
It is difficult to calculate the number of people living in India but it’s somewhere a
natural number. So, we can call it a non-empty finite set.
N= { 1,2,3, … , n }
X =x 1 , x 2 , … , x n
Infinite Set
If a set is not finite, it is called infinite set because the number of elements in that set
is not countable and also, we cannot represent it in Roster form. Thus, infinite sets are
also known as uncountable sets.
The sets could be equal only if their elements are the same, so a set could be equal
only if it is a finite set, whereas if the elements are not comparable, the set is infinite.
Empty Set
An empty set is a set which has no elements and it can be represented as { } or ∅ and
shows that it has no element.
As the finite set has a countable number of elements and the empty set has zero
elements so, it is a definite number of elements. With a cardinality of zero, an
empty set is a finite set.
Examples of sets:
Singleton Set
It is a set with exactly one element
Equivalent Sets
Equivalent sets are two sets that comprise equal number of elements. To be
equivalent, the sets should have the same cardinality.
Equal Sets
Two sets A and B can be equal only if each each element of set A is also the element
of set B. Also, if two sets are the subsets of each other, they are said to be equal
1.4 Subsets
1 is different from { 1 }
{ 1 } is different from { {1 } }
Observe that the unique element of the last set is the set { 1 }
Proof: We want to show that A ⊆C , and we have as hypothesis that A ⊆ B and B⊆C .
Using our definition of ⊆, we have to show that if x ∈ A , then x is an element of C thus,
let x be an arbitrary element of A . Our hupothesis A ⊆ B tells us that x ∈ B , and since
B⊆C , we also have x ∈ C .
A subset can be classified as follows:
1) Proper subset
2) Improper subset
1) Proper Subsets
Any set A is a proper subset (strict subset) of B if there is at least one element of B
that is not element of set A that is if A and B are unequal and all the elements of A are
present in B then A is a proper subset of B.
Solution:
Answer. No, A is not a proper subset of B as they are equal and B has no unique
Solution:
Answer. No, A is not a proper subset of B. It is not even a subset as 2 is not present
in
B
2) Improper Subset
Consider two sets A and B. A is an improper subset of B if it contains all the elements
of B. Any set is an improper subset of itself.
Superset
A set A is a superset of another set B if all the elements of the set B are elements of
the set A .The superset relationship is denoted A ⊃B . For example, if A={} and
B={} , then A ⊃B but B is not a superset of A .
Definition The power set of a set A is the set whose elements are the subsets
of A . The notation P( A) is commonly used to denote the power set
of A
The name “power set” comes from the fact that a set with n elements has exactly 2n
subsets. Thus, there are 2n elements in the power set of a set with n elements.
P ( x ) is a set
The elements of P(x ) are sets
A ∈ P ( X ) ⇔ A ⊆ X (this is the definition of the power set)
∅ ∈ P( X) and X ∈ P( x)
Proof.
Suppose A ⊆B . We need to show that if P( A)⊆ P (B)
Take any X ∈ P( A) . Then X ⊆ A .
Since A ⊆ B then X ⊇ B.
Therefore X ∈ P(B) and P( A) ⊆P (B)
The universal set is a collection of all elements or members of all the related sets,
known as subsets. All the stars in a milky way galaxy are a good example of a
universal set. If we consider all the stars in the milky way galaxy. When we study
numbers in mathematics, we are interested in the set of natural numbers. The basic
set is considered a universal set, and its subsets are even numbers, prime numbers,
etc.
Venn Diagrams
Venn diagrams are pictorial representations of sets represented by closed figures. They
are used to show the relationship between sets. Venn diagrams are the graphical
representation of the sets. The universal set is represented by a rectangle and its
subsets are represented by circles.
If a set A is a subset of B, then the circle representing set A is drawn inside the
circle representing set B
If set A and B have some elements in common, then to represent them, we draw
two circles which are overlapping
ξ
If set A and B are disjoint, then they are represented by two non-intersecting
circles.
ξ
When two or more sets are combined together to form one set under given
conditions, then operation/s on sets are carried out.
1. Union of Sets:
The union of two given sets is the smallest set which contains all the elements of
both the sets. Given set A and set B, their union is a set which consists of all the
elements of A and all the elements of B such that no element is repeated.
The symbol for denoting union of sets is ‘⋃ ' . Hence, the union of set A and set B is
written symbolically as A ∪B .
A ∪ B= { x : x ∈ A∨x ∈ B }
Solution:
A ∪B= {2 , 4 , 5 , 6 , 7 , 8 }
Example 2: Let X ={ a , e ,i , o ,u } and Y ={ }. Find the union of X and Y .
Solution:
X ∪Y = { a , e , i, o ,u }
Note: The union of any set with an empty set is the set itself
2. Intersection of Sets
Intersection of two given sets is the largest set which contains all the elements that are
common to both the sets.
The intersection of two given sets A and B is a set which consists of all the elements
which are common to both A and B.
The symbol for denoting intersection of sets is ‘∩' . Thus, the intersection of sets A and
B is written A ∩ B.
A ∩ B= { x : x ∈ A∧x ∈ B }
Solution:
A ∩ B= {3 , 5 }
Solution:
X ∩Y ={}
i. A∩B
ii. B∩ C
iii. A ∩C
Solution:
i. A ∩ B= {6 ,12 }
ii. B∩ C={ 3 ,6 ,9 }
Note:
A ∩∅=∅ ∩ A=∅ Intersection of any set with the empty set is always the empty set
Example 1. Assume that the enrollment of a college is 4689, with 60 students taking
Math 210, 42 taking CIST 260, and 24 taking both. Together how
many dufferent students are taking two courses? In other words,
determine the number of students who are taking either Math 210, or
CSIT 260.
Solution:
Let A be the set of students taking Math 210, and B the set of students taking CSIT
260, then, | A|=60 , |B|=42 and | A ∩ B|=24. We want to find | A ∪ B|.
Example 2. Among the 4689 students, 2112 of them have earned at least 60 credit
hours and 2678 of them have earned at most 60 credit hours. How
many students are there who have accumulated exactly 60 hours?
Solution:
Let A be the set of students who have earned at least 60 credit hours, and B be the set
of students who have earned at most 60 credit hours. We want to find | A ∩ B|
| A ∪ B|=| A|+|B|−| A ∩ B|
4689=| A ∪ B|=| A|+|B|−| A ∩ B|=2112+2678−| A ∩ B|
There are 101 students who have accumulated each 60 credit hours.
a) The attendance of two consecutive college football games was 72397 and 69211
respectively. If 45713 people attended both games, how many different people
have watched the games?
b) The attendance of two consecutive college football games was 72397 and 69211
respectively, if 93478 different individuals attended these two games, how many
have gone to both?
Solution:
a Let the set of natural numbers be the universal set and A is the set of even natural
numbers, then A' = { x : x is the set of odd natural bumbers }
b Let ξ=the set of letters∈the English alphabet and
A=the set of consonants∈the english alphabet , then
A' =the set of vowels∈the Englishalphabet
Solution:
Let ξ denote the universal set, then
ξ '=the set of those elements which are not ∈ξ
= empty set¿ ∅
So x ∉ A '
Symbolically, we write A ' to denote the complement of A with respect to the universal
set.
'
(v) ( A' ) = A Law of Complementation
'
(vi) ∅ =∪ Law of Empty Set
'
(vii) ∪ =∅
1. A={ 1, 3 , 3 } and B= { 4 , 5 , 6 }
Solution:
Since the two sets are disjoint, as they do not have elements in common,
(i) A−B={ 1 ,2 , 3 }= A
(i) A and B
(ii) B and A
Solution:
(i) A−B={ a , c , e }
(ii) B− A={ g }
(i) P-Q
(ii) Q-R
(iii) R-P
(iv) Q–P
Solution:
(i) P – Q ¿ { 11 ,13 , 15 }
(ii) Q – R ¿ { 10 , 12, 16 }
(iii) R – P ¿ { 7 , 9 , 18 ,20 }
(iv) Q – P ¿ { 10 , 16 ,18 }
Symmetric Difference
If A and B are two sets, their symmetric difference is the set consisting of all elements
that belong to A or to B but not to both A and B and we denote it by A ⊕ B . Thus
A ⊕B=¿
A x B= { ( a , b ) :a ∈ A∧b ∈ B }
For example:
Solution:
2. If A x B = { ( p , x ) , ( p , y ) , ( q , x ) , ( q , y ) } , find A and B.
Solution:
A is the set of all first entries in ordered pairs in A x B
Thus, A = { p , q } and B = { x , y }
Partition
A 4= {b , d } A5 ={ e , f . g , h }
Then