Notes Discrete Maths Oum Sem 3
Notes Discrete Maths Oum Sem 3
Notes Discrete Maths Oum Sem 3
14 TOPICS
1 Set
2 Relation
3 Function
4 Sequence and Strings
5 Propositional Logic
6 Predicate Logic
7 Integer
8 Counting
9 Matrices
10 Introduction to Graphs
11 Path and Cycle
12 Graph Representation and Isomorphism
13 Planar Graph
14 Tree
CHAPTER 1 : SET
CONTENT SUMMARY
1.1 Concept of Set
1.1.1 Listing the -A set is any well-defined collection of objects, called elements or members of the
Elements of Sets set.
1.1.2 Specifying A set is completely known when its members are all known. Thus, we say
Properties of Sets two sets of A and B are equal if they have the same elements, and we write
1.1.3 Set Membership A = B.
1.1.4 Empty Set A Venn diagram illustrates the universal set E as a rectangle, while sets
1.1.5 Set of Numbers within E will be denoted by circles.
1.2 Set Equality Set A is a subset of set B if every element of A is also an element of B,
1.3 Venn Diagram
1.4 Subset If A is a set, then the set of all subsets of A including the empty set and
1.5 Power Set itself
1.6 Set Operation The operations of sets include union, intersection and difference.
1.6.1 Union The generalised union of an arbitrary family, S, of sets are those elements x
1.6.2 Intersection
belonging to at least one set X in S. Formally, U S = {x
1.6.3 Disjoint Sets
1.6.4 Set Difference
The generalised intersection of an arbitrary family, S, of sets are those
1.6.5 Set
Complementary
1.6.6 Characteristics
of Set
1.7 Generalised Union
and Intersection
1.8 Partition
1.9 Cartesian Product
1.1 Concept of Set
1.4 Subset
1.6.2 Intersection
1.7 Generalised Union and Intersection 1.9 Cartesian Product
1.8 Partition
CHAPTER 2 : RELATION
2.1 Concept of Relation • The relation R between set X and Y is said „x is related to y‰, and
2.2 Inverse Relation denoted by x R y when (x, y) R.
2.3 Composition of Relations • The relation can be presented pictorially by using an arrow diagram.
2.4 Relations on a Set • Let R be a relation from X to Y. The inverse of R, denoted by R-1, is
2.4.1 Reflexive the relation from Y to X defined by R-1 = {(y, x) | (x, y) R}
2.4.2 Symmetric • Let R1 be a relation from X to Y and R2 be a relation from Y to Z.
2.4.3 Antisymmetric -The composition of R1 and R2, denoted by R2 o R1, is the relation
2.4.4 Transitive from X to Z, defined by R2 o R1 = {(x, z) | (x, y) R1 and (y,
2.5 Digraph z) R2 for some y Y}
2.6 Partial Order • A (binary) relation R on a set X is a relation from X to X.
2.7 Equivalence Relation • There are four properties of relations on a set namely reflexive,
symmetric, antisymmetric and transitive.
• The relation R between two sets is reflexive when (x, x ) R for all x
X.
• The relation R between two sets is symmetric when (x, y ) R then
(y, x) R , for all x, y X.
• The relation R between two sets is antisymmetric when (x, y ) R but
(y, x) , R for all x, y X.
• The relation R between two sets is transitive when (x, y ) R and (y,
z) R , then (x, z) R for all x, y, z X.
• The partial order is a relation R with properties of reflexive,
antisymmetric and transitive.
• The equivalence relation is a relation R with properties of reflexive,
symmetric and transitive.
2.4.2 Symmetric
2.4.4 Transitive
3.3.1 Injective
3.6 Binary and Unary Operators
3.3.3 Bijective
CHAPTER 4 : SEQUENCE & STRINGS
4.1 Sequence • A sequence is a list in which order is taken into account, such as, if s is a
4.1.1 Types of sequence, we denote the first element as s1, the second element as s2 and nth
Sequence element denotes as sn . The sequence is increasing when sn sn+1 for all n.
4.1.2 Subsequence -The sequence is decreasing when sn+1 sn for all n. The certain terms of the
4.2 Sequence original sequence is called a subsequence. For example, sequence A contains s1,
Operation s2, s3, s4 and s5 while s2, s3 and s4 is a subsequence of A.
4.3 String • The operation on sequence involves the sum and product of terms in the
sequence.
• A string is a finite sequence of elements which are not necessarily distinct
elements. For example, abaa is the string with four elements and baaa is also the
string with four elements but they are two different strings.
• The operations on strings includes length of a string and concatenation.
4.1 Sequence
4.1.2 Subsequence
4.3 String
The string with no elements is called the null string and is denoted as Pai.
CHAPTER 5 : PROPOSITIONAL LOGIC
CONTENTS SUMMARY
5.1 Proposition • Proposition is a statement that is either true or false.
5.1.1 Conjunction and Disjunction • The propositions in statements can be formulated
5.1.2 Negation into symbolic expressions.
5.2 Conditional Proposition • The compound propositions can be proved by using
5.3 Biconditional Proposition truth tables and laws of logic.
5.4 Tautologies, Contradictions and • The operations on compound propostions are
Logical Equivalence tautologies, contradiction, logical equivalence,
5.5 Contrapositive and Converse contrapositive and converse.
5.1 Proposition
5.1.2 Negation
6.2 Quantifiers
7.2 Mod
7.1.2 Order
7.5 Cryptography
8.3 Combination
10.2.5 Cycles
10.3 Subgraphs
CHAPTER 11 : PATH & CYCLE
11.1 Path • A path is a sequence of edges which connects a sequence of vertices. A
11.2 simple path is a path that does not contain the same edge more than once.
Connected • A cycle is a path that begins and ends at the same vertex. A simple cycle is a
Graph cycle that does not contain the same edge more than once.
11.3 • A graph G is connected if given any vertices v and w in G, there is a path from
Components v to w.
11.4 Euler Path • Let G be a graph and let v be a vertex in G. The subgraph GÊ of G consisting of
and Cycle all edges and vertices in G that are contained in some path beginning at v, is
11.5 Hamilton called the component of G containing v.
Path and Cycle • An Euler path is a path in a graph which visits every edge exactly once.
Similarly, an Euler cycle is an Euler path which starts and ends on the same
vertex. For the existence of Euler path, it is necessary that two vertices have an
odd degree. If there are no vertices of odd degree, then it is an Euler cycle.
• A Hamilton path is a path that visits each vertex exactly once. A
Hamilton cycle is a Hamilton path that starts and ends on the same vertex.
11.1 Path
11.2 Connected Graph
11.3 Components
11.4 Euler Path and Cycle 11.5 Hamilton Path and Cycle
CHAPTER 12 : GRAPH REPRESENTATION & ISOMORPHISM
12.1 Graph • Graphs can be represented by using matrices that are adjacency matrices
Representation and incidence matrices.
12.1.1 Adjacency • We can obtain the degree of a vertex by using the graph representation of
Matrix an adjacency matrix. For simple graphs, the power of the adjacency matrix
12.1.2 Incidence counts the number of paths with various lengths.
Matrix • As for an incidence matrix, it gives the incidents of the graph, looping
12.2 Isomorphism and the degree of vertex.
• Two graphs G1 and G2 are isomorphic if there exists one to one and onto
function f from vertices of G1 to the vertices of G2, and one to one and
onto function g from the edges of G1 to the edges of G2.
• Two graphs, G1 and G2 are isomorphic if G1 and G2 have the same
adjacency matrix.
12.1 Graph Representation