BTech 4th Lecture Notes Sets
BTech 4th Lecture Notes Sets
Lecture: 01 (17/02/2022)
Set theory, branch of mathematics that deals with the properties of well-defined collections
The theory is less valuable in direct application to ordinary experience than as a basis for
precise and adaptable terminology for the definition of complex and sophisticated
mathematical concept
Between the years 1874 and 1897, the German mathematician and logician Georg
This theory grew out of his investigations of some concrete problems regarding certain types
collection of definite and distinguishable objects selected by the means of certain rules or
description.
Set theory forms the basis of several other fields of study like counting theory, relations,
graph theory and finite state machines. In this chapter, we will cover the different aspects
of Set Theory.
Set - Definition
listing its elements using set bracket. If the order of the elements is changed or any element
The set is represented by listing all the elements comprising it. The elements are enclosed
The set is defined by specifying a property that elements of the set have in common. The set
Example − If S={1,1.2,1.7,2},1∈ S but 1.5∉S
Cardinality of a Set
Cardinality of a set S, denoted by |S|, is the number of elements of the set. The number is
also referred as the cardinal number. If a set has an infinite number of elements, its
cardinality is ∞.
Example − |{1,4,3,5}|=4, & |{1,2,3,4,5,…}|=∞
|X|=|Y| denotes two sets X and Y having same cardinality. It occurs when the number
|X|≤|Y| denotes that set X’s cardinality is less than or equal to set Y’s cardinality. It
occurs when number of elements in X is less than or equal to that of Y. Here, there
|X|<|Y| denotes that set X’s cardinality is less than set Y’s cardinality. It occurs when
number of elements in X is less than that of Y. Here, the function ‘f’ from X to Y is
equivalent sets.
Types of Sets
Sets can be classified into many types. Some of which are finite, infinite, subset, universal,
Infinite Set
Subset
subset) of set X as all the elements of set Y is in set X. Hence, we can write Y⊆X.
Proper Subset
The term “proper subset” can be defined as “subset of but not equal to”. A Set X is a proper
in Y are contained in X to and X has at least one element is more than set Y.
Universal Set
It is a collection of all elements in a particular context or application. All the sets in that
context or application are essentially subsets of this universal set. Universal sets are
represented as U.
Example − We may define U as the set of all animals on earth. In this case, set of all
mammals is a subset of U, set of all fishes is a subset of U, set of all insects is a subset
empty set is finite, empty set is a finite set. The cardinality of empty set or null set is zero.
Example − S={x|x∈N and 7<x<8}
Singleton set or unit set contains only one element. A singleton set is denoted by {s}.
Example − S={x|x∈N, 7<x<9} = {8}
Equal Set
If two sets contain the same elements, they are said to be equal.
Equivalent Set
If the cardinalities of two sets are same, they are called equivalent sets.
Two sets that have at least one common element are called overlapping sets.
n(A∪B)=n(A)+n(B)−n(A∩B)
n(A∪B)=n(A−B)+n(B−A)+n(A∩B)
n(A)=n(A−B)+n(A∩B)
n(B)=n(B−A)+n(A∩B)
Disjoint Set
Two sets A and B are called disjoint sets if they do not have even one element in common.
n(A∩B)=∅
n(A∪B)=n(A)+n(B)
Example − Let, A={1,2,6} and B={7,9,14}, there is not a single common element, hence
Venn Diagrams
Venn diagram, invented in 1880 by John Venn, is a schematic diagram that shows all
Examples
Set Operations
Set Operations include Set Union, Set Intersection, Set Difference, Complement of Set, and
Cartesian Product.
Set Union
The union of sets A and B (denoted by A∪B) is the set of elements which are in A, in B, or
Set Intersection
The intersection of sets A and B (denoted by A∩B) is the set of elements which are in both
A and B. Hence, A∩B={x|x∈A AND x∈B}.
Example −If A={10,11,12,13} and B={13,14,15},
Complement of a Set
The complement of a set A (denoted by A′) is the set of elements which are not in set A.
Hence, A′={x|x∉A}.
Power Set
Power set of a set S is the set of all subsets of S including the empty set. The cardinality of a
Example −
For a set S={a,b,c,d} let us calculate the subsets −
Hence, P(S)=P(S)=
{{∅},{a},{b},{c},{d},{a,b},{a,c},{a,d},{b,c},{b,d},{c,d},{a,b,c},{a,b,d},{a,c,d},{b,c,d},
{a,b,c,d}}
|P(S)|=24=16
|P({∅})|=20=1
Partitioning of a Set
[Pi≠{∅} for all 0<i≤n]
The union of the subsets must equal the entire original set.
[P1∪P2∪⋯∪Pn=S]
[Pa∩Pb={∅}, for a≠b where n≥a,b≥0]
Example
Let S={a,b,c,d,e,f,g,h}
Bell Numbers
Bell numbers give the count of the number of ways to partition a set. They are denoted
Example −
Let S={1,2,3}, n=|S|=3
1. ∅,{1,2,3}
2. {1},{2,3}
3. {1,2},{3}
4. {1,3},{2}
5. {1},{2},{3}
Hence B3=5