Professional Documents
Culture Documents
DM Till 22 Aug - 1
DM Till 22 Aug - 1
DM Till 22 Aug - 1
Set Theory
Hitesh Kag
Syllabus
• UNIT-I
Sets, sub-sets & operations on sets, Finite and infinite sets, principle of
inclusion and exclusion Relations & Properties of relations –
equivalence relation, Functions: Definition, Classification of functions,
Composition of functions, Growth of Functions, Pigeon hole principle.
• UNIT-II
Partial order relation, Poset, least upper bound, greatest lower bound,
maximal and minimal elements of a poset – Definition & example of
Boolean algebra – Lattices, Distributive laws in lattices –
Complemented lattices – Propositional Calculus – Boolean functions,
minimum & maximum terms, simplification of Boolean function with
Karnaugh map & Quiane Mc Clusky method. Applications in computer
Science.
• UNIT-III
Binary composition, algebraic structure, Semi group, Monoid, Groups, Abelian Group,
properties of groups, Coset Decomposition, Subgroup, Cyclic Group, Normal subgroup,
Rings and Fields (definition and standard results). Applications in Computer Science.
• UNIT-IV
Trees : Definition , Binary tree , Binary tree traversal , Binary search tree. .Graphs:
Definition and terminology , Representation of graphs , Multigraphs , Bipartite graphs ,
Planar graphs , Isomorphism and Homeomorphism of graphs , Euler and Hamiltonian
paths , Graph coloring. Application in Computer Science.
• UNIT – V
Recurrence Relation & Generating function: Recursive definition of functions,
Recursive algorithms, Method of solving recurrence relation. Combinatorics:
Introduction, Counting Techniques -Basic theorems on permutations & combinations.
Applications in Computer Science.
Discrete mathematics
• Discrete mathematics is the study
of mathematical structures that are
fundamentally discrete rather than continuous.
• In contrast to real numbers that have the
property of varying "smoothly", the objects
studied in discrete mathematics – such
as integers, graphs, and statements in logic– do
not vary smoothly in this way, but have distinct,
separated values.
Applications
• Computers run software and store files.
• Networks
• Doing web searches
• Google Maps
• Scheduling problems
• Wiring a computer network
• Encryption and decryption are part of cryptography,
which is part of discrete.
• Area codes
• Designing password criteria is a counting problem
• Machine Job Scheduling
• Railway planning uses discrete math
• Computer graphics (such as in video games) use linear
algebra in order to transform (move, scale, change
perspective) objects.
• Bankruptcy proceedings can involve lots of different
reasonable ways to resolve claims. Some involve discrete
optimization. Cell phone communications: Making efficient
use of the broadcast spectrum for mobile phones uses linear
algebra and information theory. Assigning frequencies so
that there is no interference with nearby phones can use
graph theory or can use discrete optimization.
• Digital image processing uses discrete
mathematics to merge images or apply filters.
• Electronic health care records are kept as parts
of databases, and there is a lot of discrete
mathematics involved in the efficient and
effective design of databases.
• Compact discs store a lot of data, which is
encoded using a modified Reed-Solomon code (a
binary code, and thus discrete math) to
automatically correct transmission errors.
• Voting systems
• Methods of encoding data and reducing the
error in data transmission-mathematics.
• Hidden Markov models, which are part of
linear algebra, are used for large vocabulary
continuous speech recognition.
• Delivery Route Problems:
Discrete Mathematics in AI
• Many of the structures in AI are discrete. For
example a neural network has an integer number
of nodes and links. It can’t really have 0.45 of a
node or a tenth of a link.
• So the mathematical modelling of a neural net
must include a discrete element, the integer that
is the number of nodes and links.
• Often in the mathematics of AI there are
elements that are discrete, thus discrete
mathematics is a very important component of
AI.
Set
• A set is an unordered collection of different
elements
• Examples:
– A set of all positive integers
– A set of all the planets in the solar system
– A set of all the states in India
– A set of all the lowercase letters of the alphabet
Representation of a Set
• Roster or Tabular Form
• Set Builder Notation
Roster form
The set is represented by listing all the
elements comprising it.
• Ex 1 Set of vowels in English
alphabet, A={a,e,i,o,u}
• Set Builder
Ex 1- The set {a,e,i,o,u} is written as
A={x: x is a vowel in English alphabet}
Ex 2- The set {1,3,5,7,9} is written as
B={x: 1≤x<10 and (x%2)≠0}
Ex 3- C= {x | x is prime and 3 ≤ x ≤ 10}
• A = {x : x is an integer and- 1≤ x < 5}
• In roster form: A = {-1, 0,1, 2, 3, 4}
• A U B = {1, 2, 3, 4}
and (A U B) U C = {1, 2, 3, 4, 5, 6}
• B U C = {3, 4, 5, 6}
and A U (B U C) = {1, 2, 3, 4, 5, 6}