Discrete Mathematics Unit 1: by Shivangi
Discrete Mathematics Unit 1: by Shivangi
Mathematics
Unit 1
By Shivangi
Table of content
Set Theory and Boolean Algebra
● Relations and Functions
● Partial Order Relations
● Lattices
● Boolean Algebra
● Laws of Boolean Algebra
● Boolean Functions- Normal Forms,
● Application of Boolean Algebra to Switching Circuits
Introduction of Sets
A set is defined as a collection of distinct objects of the same type or class of
objects. The purposes of a set are called elements or members of the set. An
object can be numbers, alphabets, names, etc.
Example: If A= set of all odd numbers less then 10 then in the roster form it
can be expressed as A={ 1,3,5,7,9}.
Example: If B= {2, 4, 8, 16, 32}, then the set builder representation will be: B={x:
x=2n, where n ∈ N and 1≤ n ≥5}
Standard Notations:
∅ Empty Set.
U Universal Set.
Q, Q0, Q+ The sets of rational, non- zero rational, +ve rational numbers
respectively.
Cardinality of a Sets:
The total number of unique elements in the set is called the cardinality of
the set.
The cardinality of the countably infinite set is countably infinite.
Examples:
1. Let P = {k, l, m, n}
A = {0, 2, 4, 6, 8, 10......}.
Types of Sets
Sets can be classified into many categories. Some of which are finite, infinite, subset, universal, proper, power,
singleton set, etc.
1. Finite Sets: A set is said to be finite if it contains exactly n distinct element where n is a non-negative integer.
Here, n is said to be "cardinality of sets." The cardinality of sets is denoted by|A|, # A, card (A) or n (A).
Example:
.2. Infinite Sets: A set which is not finite is called as Infinite Sets.
Countable Infinite: If there is one to one correspondence between the elements in set and element in N. A
countably infinite set is also known as Denumerable. A set that is either finite or denumerable is known as
countable. A set which is not countable is known as Uncountable. The set of a non-negative even integer is
countable Infinite.
Uncountable Infinite:
A set which is not countable is called Uncountable Infinite Set or non-denumerable set or simply
Uncountable.
Example:
Set R of all +ve real numbers less than 1 that can be represented by the decimal form 0. a 1,a2,a3.....
Where a1 is an integer such that 0 ≤ ai ≤ 9.
3. Subsets:
If every element in a set A is also an element of a set B, then A is called a subset of B. It can be
denoted as A ⊆ B. Here B is called Superset of A.
Example:
Example:
B = {2, 3, 4, 5}
A is a proper subset of B.
Example
A is an improper subset of B.
6. Universal Set:
If all the sets under investigations are subsets of a fixed set U, then the set U is called Universal Set.
Example:
In the human population studies the universal set consists of all the people in the world.
7. Null Set or Empty Set: A set having no elements is called a Null set or void set. It is denoted by∅.
Two sets A and B are said to be equal and written as A = B if both have the same
elements. Therefore, every element which belongs to A is also an element of the set B
and every element which belongs to the set B is also an element of the set A.
1. A = B ⟺ {x ϵ A ⟺ x ϵ B}.
If there is some element in set A that does not belong to set B or vice versa then A ≠ B,
i.e., A is not equal to B.
10. Equivalent Sets:
If the cardinalities of two sets are equal, they are called equivalent sets.
Example
IfA= {1, 2, 6} and B= {16, 17, 22}, they are equivalent as cardinality of A is equal
to the cardinality of B. i.e. |A|=|B|=3
Example:
R = {a, b, c}
S = {k, p, m}
The power of any given set A is the set of all subsets of A and is
denoted by P (A). If A has n elements, then P (A) has 2n elements.
Example: A = {1, 2, 3}
P (A) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}.
Partitions of a Set: