SlideShare a Scribd company logo
2
Most read
5
Most read
12
Most read
Bart Selman 
CS2800 
1 
Introduction to 
Discrete Mathematics
Bart Selman 
CS2800 
2 
Discrete vs. Continuous Mathematics 
Continuous Mathematics 
It considers objects that vary continuously; 
Example: analog wristwatch (separate hour, minute, and second hands). 
From an analog watch perspective, between 1 :25 p.m. and 1 :26 p.m. 
there are infinitely many possible different times as the second hand moves 
around the watch face. 
Real-number system --- core of continuous mathematics; 
Continuous mathematics --- models and tools for analyzing real-world 
phenomena that change smoothly over time. (Differential equations etc.)
Bart Selman 
CS2800 
3 
Discrete vs. Continuous Mathematics 
Discrete Mathematics 
It considers objects that vary in a discrete way. 
Example: digital wristwatch. 
On a digital watch, there are only finitely many possible different times 
between 1 :25 P.M. and 1:27 P.M. A digital watch does not show split 
seconds: - no time between 1 :25:03 and 1 :25:04. The watch moves from one 
time to the next. 
Integers --- core of discrete mathematics 
Discrete mathematics --- models and tools for analyzing real-world 
phenomena that change discretely over time and therefore ideal for studying 
computer science – computers are digital! (numbers as finite bit strings; data 
structures, all discrete! Historical aside: earliest computers were analogue.)
Bart Selman 
CS2800 
4 
Examples of the uses of Discrete 
Mathematics
E.g. between you and the Bank of America. 
Bart Selman 
CS2800 
5 
Number Theory: 
RSA and Public-key Cryptography 
Alice and Bob have never met but they would like to 
exchange a message. Eve would like to eavesdrop. 
They could come up with a good 
encryption algorithm and exchange the 
encryption key – but how to do it without 
Eve getting it? (If Eve gets it, all security 
is lost.) 
CS folks found the solution: 
public key encryption. Quite remarkable 
that that is feasible.
Bart Selman 
CS2800 
6 
Graphs and Networks 
•Many problems can be represented by a 
graphical network representation. 
•Examples: 
– Distribution problems 
– Routing problems 
– Maximum flow problems 
– Designing computer / phone / road networks 
– Equipment replacement 
– And of course the Internet 
Aside: finding the right 
problem representation 
is one of the key issues.
Networks are 
pervasive 
7 
New Science of Networks 
Sub-Category Graph 
No Threshold 
NYS Electric 
Power Grid 
(Thorp,Strogatz,Watts) Cybercommunities 
(Automatically discovered) 
Kleinberg et al 
Network of computer scientists 
ReferralWeb System 
(Kautz and Selman) 
Neural network of the 
nematode worm C- elegans 
(Strogatz, Watts) 
Utility Patent network 
1972-1999 
(3 Million patents) 
Gomes,Hopcroft,Lesser,Selman
8 
Scheduling of Final Exams 
How can the final exams at Kent State be scheduled so that no student has 
two exams at the same time? 
(Note: it is not obvious that this has anything to do with graphs!) 
Graph: 
A vertex correspond to a course. 
An edge between two vertices denotes that 
there is at least one common student in the 
courses they represent. 
Each time slot for a final exam is represented 
by a different color. 
1 
7 2 
6 3 
5 4
9 
Probability and Chance 
Importance of concepts from probability is rapidly increasing in CS: 
• Randomized algorithms (e.g. primality testing; randomized search 
algorithms, such as simulated annealing, Google’s PageRank, 
“just” a random walk on the web!) In computation, having a few 
random bits really helps! 
• Machine Learning / Data Mining: Find statistical regularities in 
large amounts of data. (e.g. Naïve Bayes alg.) 
• Natural language understanding: dealing with the ambiguity of 
language (words have multiple meanings, sentences have multiple 
parsings --- key: find the most likely (i.e., most probable) coherent 
interpretation of a sentence (the “holy grail” of NLU).
10 
Probability: 
Bayesian Reasoning 
Bayesian networks provide a means 
of expressing joint probability 
over many interrelated hypotheses 
and therefore reason about them. 
Bayesian networks have been successfully applied in 
diverse fields such as medical diagnosis, 
image recognition, language understanding, 
search algorithms, and many others. 
Bayes Rule 
Example of Query: 
what is the most likely 
diagnosis for the infection 
given all the symptoms? 
“18th-century theory is new force in computing” CNET ’07
Goals of the Discrete Mathematics Course 
Introduce students to a range of mathematical tools from discrete 
mathematics that are key in computer science 
Mathematical Sophistication 
How to write statements rigorously 
How to read and write theorems, lemmas, etc. 
How to write rigorous proofs 
Areas we will cover: 
Actually, only practice works! 
Logic and proofs 
Set Theory 
Induction and Recursion 
Counting and combinatorics 
Probability theory 
Number Theory (if time permits) 
Practice works! 
Note: Learning to do proofs from 
watching the slides is like trying to 
learn to play tennis from watching 
it on TV! So, do the exercises! 
Aside: We’re not after the shortest or most elegant proofs; 
verbose but rigorous is just fine! 
Bart Selman 
CS2800 
12 
The End 
Now that you have completed the introduction to Discrete 
Mathematics, please explore the next topic on Sets

More Related Content

PDF
Intro to Discrete Mathematics
PPTX
Discrete Math in Real Life
PPTX
Application of Discrete Mathematics in CSE
PPTX
Application of discrete mathematics in IT
PPTX
Linear Algebra Applications
PPTX
Applications of Discrete Structures
PPTX
Application of discrete math in real life
PPTX
Programming Fundamentals
Intro to Discrete Mathematics
Discrete Math in Real Life
Application of Discrete Mathematics in CSE
Application of discrete mathematics in IT
Linear Algebra Applications
Applications of Discrete Structures
Application of discrete math in real life
Programming Fundamentals

What's hot (20)

PPTX
Intro & Applications of Discrete Math
PDF
Chromatic Number of a Graph (Graph Colouring)
PDF
Recurrence relations
PPT
Linear Algebra and Matrix
PPT
Theory of computing
PPTX
Our presentation on algorithm design
DOC
Time and space complexity
PPTX
Church Turing Thesis
PPT
Algorithm analysis
PPTX
Parallel algorithms
PDF
Object oriented software engineering concepts
PDF
Master theorem
PPTX
Semantic net in AI
PDF
Discrete Structures. Lecture 1
PPTX
Knowledge representation in AI
PPTX
What is an algorithm?
PPTX
Analysis and Design of Algorithms
DOC
Chapter 1 (final)
PPTX
AI-09 Logic in AI
PPTX
Symbolic-Reasoning-Under-Uncertainty.pptx
Intro & Applications of Discrete Math
Chromatic Number of a Graph (Graph Colouring)
Recurrence relations
Linear Algebra and Matrix
Theory of computing
Our presentation on algorithm design
Time and space complexity
Church Turing Thesis
Algorithm analysis
Parallel algorithms
Object oriented software engineering concepts
Master theorem
Semantic net in AI
Discrete Structures. Lecture 1
Knowledge representation in AI
What is an algorithm?
Analysis and Design of Algorithms
Chapter 1 (final)
AI-09 Logic in AI
Symbolic-Reasoning-Under-Uncertainty.pptx
Ad

Similar to Introduction and Applications of Discrete Mathematics (20)

DOC
Discrete Mathematics Cse131
PPT
DS Lecture-1 about discrete structure .ppt
PPT
PPT slides - MACHINE PERCEPTION LABORATORY
PPTX
LEC 1oral pathology by lecture 23jn yh.pptx
PDF
Lecture 1 Slides -Introduction to algorithms.pdf
PPT
Sensors1(1)
PDF
1710.09780avi widgerson
PDF
Introduction
PPTX
Hierarchical Temporal Memory for Real-time Anomaly Detection
PDF
PDF
2003 book discrete_mathematics
DOCX
Applications of Matrices
PDF
Practica 1 representación de sistemas numéricos
PDF
A short history of computational complexity
PPTX
Simplicial closure and higher-order link prediction
PDF
Searching in metric spaces
PPTX
Machine Learning Summary for Caltech2
PPT
introegthnhhdfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhppt
PPT
Machine Learning ICS 273A
DOCX
Homework 21. Complete Chapter 3, Problem #1 under Project.docx
Discrete Mathematics Cse131
DS Lecture-1 about discrete structure .ppt
PPT slides - MACHINE PERCEPTION LABORATORY
LEC 1oral pathology by lecture 23jn yh.pptx
Lecture 1 Slides -Introduction to algorithms.pdf
Sensors1(1)
1710.09780avi widgerson
Introduction
Hierarchical Temporal Memory for Real-time Anomaly Detection
2003 book discrete_mathematics
Applications of Matrices
Practica 1 representación de sistemas numéricos
A short history of computational complexity
Simplicial closure and higher-order link prediction
Searching in metric spaces
Machine Learning Summary for Caltech2
introegthnhhdfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhppt
Machine Learning ICS 273A
Homework 21. Complete Chapter 3, Problem #1 under Project.docx
Ad

More from blaircomp2003 (6)

PPT
Predicates and Quantifiers
PPT
Mathematical Logic Part 2
PPT
Mathematical Logic - Part 1
PPT
Minimization of Boolean Functions
PPT
Boolean Algebra
PPT
Introduction to Boolean Algebra
Predicates and Quantifiers
Mathematical Logic Part 2
Mathematical Logic - Part 1
Minimization of Boolean Functions
Boolean Algebra
Introduction to Boolean Algebra

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Lesson notes of climatology university.
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Cell Types and Its function , kingdom of life
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
master seminar digital applications in india
PDF
Complications of Minimal Access Surgery at WLH
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPH.pptx obstetrics and gynecology in nursing
Lesson notes of climatology university.
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Final Presentation General Medicine 03-08-2024.pptx
RMMM.pdf make it easy to upload and study
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
01-Introduction-to-Information-Management.pdf
Insiders guide to clinical Medicine.pdf
Computing-Curriculum for Schools in Ghana
STATICS OF THE RIGID BODIES Hibbelers.pdf
Microbial diseases, their pathogenesis and prophylaxis
Cell Types and Its function , kingdom of life
FourierSeries-QuestionsWithAnswers(Part-A).pdf
master seminar digital applications in india
Complications of Minimal Access Surgery at WLH
Microbial disease of the cardiovascular and lymphatic systems
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025

Introduction and Applications of Discrete Mathematics

  • 1. Bart Selman CS2800 1 Introduction to Discrete Mathematics
  • 2. Bart Selman CS2800 2 Discrete vs. Continuous Mathematics Continuous Mathematics It considers objects that vary continuously; Example: analog wristwatch (separate hour, minute, and second hands). From an analog watch perspective, between 1 :25 p.m. and 1 :26 p.m. there are infinitely many possible different times as the second hand moves around the watch face. Real-number system --- core of continuous mathematics; Continuous mathematics --- models and tools for analyzing real-world phenomena that change smoothly over time. (Differential equations etc.)
  • 3. Bart Selman CS2800 3 Discrete vs. Continuous Mathematics Discrete Mathematics It considers objects that vary in a discrete way. Example: digital wristwatch. On a digital watch, there are only finitely many possible different times between 1 :25 P.M. and 1:27 P.M. A digital watch does not show split seconds: - no time between 1 :25:03 and 1 :25:04. The watch moves from one time to the next. Integers --- core of discrete mathematics Discrete mathematics --- models and tools for analyzing real-world phenomena that change discretely over time and therefore ideal for studying computer science – computers are digital! (numbers as finite bit strings; data structures, all discrete! Historical aside: earliest computers were analogue.)
  • 4. Bart Selman CS2800 4 Examples of the uses of Discrete Mathematics
  • 5. E.g. between you and the Bank of America. Bart Selman CS2800 5 Number Theory: RSA and Public-key Cryptography Alice and Bob have never met but they would like to exchange a message. Eve would like to eavesdrop. They could come up with a good encryption algorithm and exchange the encryption key – but how to do it without Eve getting it? (If Eve gets it, all security is lost.) CS folks found the solution: public key encryption. Quite remarkable that that is feasible.
  • 6. Bart Selman CS2800 6 Graphs and Networks •Many problems can be represented by a graphical network representation. •Examples: – Distribution problems – Routing problems – Maximum flow problems – Designing computer / phone / road networks – Equipment replacement – And of course the Internet Aside: finding the right problem representation is one of the key issues.
  • 7. Networks are pervasive 7 New Science of Networks Sub-Category Graph No Threshold NYS Electric Power Grid (Thorp,Strogatz,Watts) Cybercommunities (Automatically discovered) Kleinberg et al Network of computer scientists ReferralWeb System (Kautz and Selman) Neural network of the nematode worm C- elegans (Strogatz, Watts) Utility Patent network 1972-1999 (3 Million patents) Gomes,Hopcroft,Lesser,Selman
  • 8. 8 Scheduling of Final Exams How can the final exams at Kent State be scheduled so that no student has two exams at the same time? (Note: it is not obvious that this has anything to do with graphs!) Graph: A vertex correspond to a course. An edge between two vertices denotes that there is at least one common student in the courses they represent. Each time slot for a final exam is represented by a different color. 1 7 2 6 3 5 4
  • 9. 9 Probability and Chance Importance of concepts from probability is rapidly increasing in CS: • Randomized algorithms (e.g. primality testing; randomized search algorithms, such as simulated annealing, Google’s PageRank, “just” a random walk on the web!) In computation, having a few random bits really helps! • Machine Learning / Data Mining: Find statistical regularities in large amounts of data. (e.g. Naïve Bayes alg.) • Natural language understanding: dealing with the ambiguity of language (words have multiple meanings, sentences have multiple parsings --- key: find the most likely (i.e., most probable) coherent interpretation of a sentence (the “holy grail” of NLU).
  • 10. 10 Probability: Bayesian Reasoning Bayesian networks provide a means of expressing joint probability over many interrelated hypotheses and therefore reason about them. Bayesian networks have been successfully applied in diverse fields such as medical diagnosis, image recognition, language understanding, search algorithms, and many others. Bayes Rule Example of Query: what is the most likely diagnosis for the infection given all the symptoms? “18th-century theory is new force in computing” CNET ’07
  • 11. Goals of the Discrete Mathematics Course Introduce students to a range of mathematical tools from discrete mathematics that are key in computer science Mathematical Sophistication How to write statements rigorously How to read and write theorems, lemmas, etc. How to write rigorous proofs Areas we will cover: Actually, only practice works! Logic and proofs Set Theory Induction and Recursion Counting and combinatorics Probability theory Number Theory (if time permits) Practice works! Note: Learning to do proofs from watching the slides is like trying to learn to play tennis from watching it on TV! So, do the exercises! Aside: We’re not after the shortest or most elegant proofs; verbose but rigorous is just fine! 
  • 12. Bart Selman CS2800 12 The End Now that you have completed the introduction to Discrete Mathematics, please explore the next topic on Sets