Discrete Mathematics and Its Applications

Slides:



Advertisements
Similar presentations
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Advertisements

Recursively Defined Functions
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
Discrete Maths Objective to give some background on the course , Semester 2, Who I am: Andrew Davison WiG Lab
Math 308 Discrete Mathematics Discrete Mathematics deals with “Separated” or discrete sets of objects (rather than continuous sets) Processes with a sequence.
1 CS233601: Discrete Mathematics Department of Computer Science National Tsing Hua University.
About the Course Lecture 0: Sep 2 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
Math443/543 Mathematical Modeling and Optimization
CSE 830: Design and Theory of Algorithms
Discrete Structures for Computer Science Ruoming Jin MW 5:30 – 6:45pm Fall 2009 rm MSB115.
Module #1 - Logic Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 1 Module.
Discrete Structure CS 203 Introduction.
1 Discrete Optimization. 2 The relationship between counting techniques/graph theory and discrete optimization Adding a goal (objective function) to a.
Philosophy of ICT and Islam Lecture 1: Philosophy of Science and Computing.
Teaching Teaching Discrete Mathematics and Algorithms & Data Structures Online G.MirkowskaPJIIT.
CALIFORNIA MATHEMATICS STANDARDS ALGEBRA Students identify and use the arithmetic properties of subsets of integers, rational, irrational, and real.
CSNB143 – Discrete Structure
Discrete Mathematics I 暨南大学 信息科学技术学院 计算机科学系 黄 战 副教授 离散数学 I (全英)
About the Course Lecture 0: Sep 10 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
Nama : Jehan binti Jamian No.matrik : UK Discrete Mathematics Area of mathematics that deals with the study of discrete objects. Discusses languages.
CS 103 Discrete Structures Lecture 01 Introduction to the Course
Discrete Mathematics Transparency No. 0-1 Discrete Mathematics Cheng-Chia Chen September 2009.
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Summer 2005.
CSci 2011 Textbook ^Discrete Mathematics and Its Applications,  Rosen  6th Edition  McGraw Hill  2006.
Course overview Course title: Discrete mathematics for Computer Science Instructors: Dr. Abdelouahid Derhab Credit.
Introductory Lecture Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Discrete mathematics Kwon, Taekyoung Courtesy of Dr. Michael P. Frank University of Florida.
Korea Advanced Institute of Science and Technology, Dept. of EECS, Div. of CS, Information Systems Lab. 1/10 CS204 Course Overview Prof.
Discrete Mathematics 이재원 School of Information Technology
Relationships Between Structures “→” ≝ “Can be defined in terms of” Programs Groups Proofs Trees Complex numbers Operators Propositions Graphs Real.
DISCRETE COMPUTATIONAL STRUCTURES CS Fall 2005.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
Discrete Structures for Computing
MTH 201 Discrete Mathematics Fall Term MTH 201 Discrete Mathematics Fall Term INTERNATIONAL BURCH UNIVERSITY DEPARTMENT of INFORMATION.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Topics Paths and Circuits (11.2) A B C D E F G.
Complexity & Computability. Limitations of computer science  Major reasons useful calculations cannot be done:  execution time of program is too long.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
CS 104: Discrete Mathematics
Discrete mathematics Kwon, Tae-kyoung
5 Lecture in math Predicates Induction Combinatorics.
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
Design and Analysis of Algorithms Faculty Name : Ruhi Fatima Course Description This course provides techniques to prove.
Discrete Structures MT217 Lecture 01. Course Objectives Express statements with the precision of formal logic Analyze arguments to test their validity.
CS 2130 Computational Structures (Discrete Mathematics for Computing)
Sub-fields of computer science. Sub-fields of computer science.
Advanced Algorithms Analysis and Design
Chapter 12: Simulation and Modeling
Design and Analysis of Algorithms (09 Credits / 5 hours per week)
CSC 1300 – Discrete Structures
Courtsey & Copyright: DESIGN AND ANALYSIS OF ALGORITHMS Courtsey & Copyright:
Recursively Defined Functions
STATE SPACE REPRESENTATION
Discrete Mathematics and Its Applications
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Chapter 1 The Foundations: Logic and Proof, Sets, and Functions
Objective of This Course
Introduction to Discrete Mathematics
Discrete Mathematics and its Applications
Discrete Structures for Computer Science
KNOWLEDGE REPRESENTATION
3. Brute Force Selection sort Brute-Force string matching
What is Mathematics, really?
Discrete Mathematics and its Applications
3. Brute Force Selection sort Brute-Force string matching
Discrete Mathematics in the Real World
離散專題(I) (Topics in Discrete Mathematics)
Design and Analysis of Algorithms
DAA - Introduction Dr. Sashikala Mishra Associate Professor Department of Computer Engineering Hope Foundation’s INTERNATIONAL INSTITUTE OF INFORMATION.
3. Brute Force Selection sort Brute-Force string matching
Presentation transcript:

Discrete Mathematics and Its Applications Introductory Lecture

What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous) objects. Calculus deals with continuous objects and is not part of discrete mathematics. Examples of discrete objects: integers, steps taken by a computer program, distinct paths to travel from point A to point B on a map along a road network, ways to pick a winning set of numbers in a lottery. A course in discrete mathematics provides the mathematical background needed for all subsequent courses in computer science and for all subsequent courses in the many branches of discrete mathematics.

Kinds of Problems Solved Using Discrete Mathematics How many ways can a password be chosen following specific rules? How many valid Internet addresses are there? What is the probability of winning a particular lottery? Is there a link between two computers in a network? How can I identify spam email messages? How can I encrypt a message so that no unintended recipient can read it? How can we build a circuit that adds two integers?

Kinds of Problems Solved Using Discrete Mathematics What is the shortest path between two cities using a transportation system? Find the shortest tour that visits each of a group of cities only once and then ends in the starting city. How can we represent English sentences so that a computer can reason with them? How can we prove that there are infinitely many prime numbers? How can a list of integers be sorted so that the integers are in increasing order? How many steps are required to do such a sorting? How can it be proved that a sorting algorithm always correctly sorts a list?

Goals of a Course in Discrete Mathematics Mathematical Reasoning: Ability to read, understand, and construct mathematical arguments and proofs. Combinatorial Analysis: Techniques for counting objects of different kinds. Discrete Structures: Abstract mathematical structures that represent objects and the relationships between them. Examples are sets, permutations, relations, graphs, trees, and finite state machines.

Goals of a Course in Discrete Mathematics Algorithmic Thinking: One way to solve many problems is to specify an algorithm. An algorithm is a sequence of steps that can be followed to solve any instance of a particular problem. Algorithmic thinking involves specifying algorithms, analyzing the memory and time required by an execution of the algorithm, and verifying that the algorithm will produce the correct answer. Applications and Modeling: It is important to appreciate and understand the wide range of applications of the topics in discrete mathematics and develop the ability to develop new models in various domains. Concepts from discrete mathematics have not only been used to address problems in computing, but have been applied to solve problems in many areas such as chemistry, biology, linguistics, geography, business, etc.

Discrete Mathematics is a Gateway Course Topics in discrete mathematics will be important in many courses that you will take in the future: Computer Science: Computer Architecture, Data Structures, Algorithms, Programming Languages, Compilers, Computer Security, Databases, Artificial Intelligence, Networking, Graphics, Game Design, Theory of Computation, …… Mathematics: Logic, Set Theory, Probability, Number Theory, Abstract Algebra, Combinatorics, Graph Theory, Game Theory, Network Optimization, … The concepts learned will also be helpful in continuous areas of mathematics. Other Disciplines: You may find concepts learned here useful in courses in philosophy, economics, linguistics, and other departments.

A Simple Counting Example Write a program to add 1 through 100. The first solution: x = 1+2+3+4+...+100 The second solution: x = 0; for (i=1; i<=100; i++) x = x+i; The third solution: x = (1+100) * 100 / 2 Prove the following equation: Use mathematical induction!

Another Example: Logic Reasoning How to make judgment from the following statements? If Mary does not go to school, she will go to a movie. If Mary goes to a movie, she will pass the park. If John goes to a movie, he does not go to school. John does not pass the park, if he goes to school. Mary meets John in the park. Can we assert “Neither Mary nor John goes to school”? R: Mary goes to school. S: John goes to school. M: Mary goes to movie. N: John goes to movie. P: Mary is in the park. Q: John is in the park. 1. ØR Þ M 2. M Þ P 3. N Þ ØS 4. S Þ ØQ 5. P Ù Q Can we prove ØR Ù ØS?

Another Example: Scheduling Consider a passenger flight boarding operation: Problem: What is the minimum amount of time needed to perform all these tasks? It is possible to perform tasks sequentially, but it is clearly not optimal.

Another Example: Scheduling (cont’d) What is the best way to model this problem? 20 15 10 25 Use a graph! 1 2 3 4 5 6 F S Analysis: Let d(k) = duration of task k. E.g., d(1) = 20; d(4) = 15 Let T(k) = the soonest time we can finish task k. Key observation: T(k) = d(k) + max j®k T(j) T(F) = 0 + max {T(3), T(5), T(6)}