Introduction to Discrete Mathematics

Slides:



Advertisements
Similar presentations
22C:19 Discrete Structures Induction and Recursion Spring 2014 Sukumar Ghosh.
Advertisements

22C:19 Discrete Structures Induction and Recursion Fall 2014 Sukumar Ghosh.
Department of Mathematical Sciences The University of Texas at El Paso 1 Program Assessment Presentation May 15, 2009 Joe Guthrie Helmut Knaust.
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
1 CS233601: Discrete Mathematics Department of Computer Science National Tsing Hua University.
Euclid BC Author of The Elements –13 books in all. –Standard textbook for Geometry for about 2000 years. Taught in Alexandria, Egypt.
About the Course Lecture 0: Sep 2 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Discrete Structures for Computer Science Ruoming Jin MW 5:30 – 6:45pm Fall 2009 rm MSB115.
Introduction to Discrete Mathematics Lecture 1: Sep 7 AB C a = qb+r gcd(a,b) = gcd(b,r)
Module #1 - Logic Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 1 Module.
Module #1 - Logic 1 Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen Induction.
TR1413: Discrete Mathematics For Computer Science Lecture 1: Mathematical System.
Math 260 Foundations of Geometry
Unit 1. Sorting and Divide and Conquer. Lecture 1 Introduction to Algorithm and Sorting.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
22C:19 Discrete Math Induction and Recursion Fall 2011 Sukumar Ghosh.
Introduction to Discrete Mathematics
Rev.S08 MAC 1140 Module 12 Introduction to Sequences, Counting, The Binomial Theorem, and Mathematical Induction.
About the Course Lecture 0: Sep 10 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
CS 103 Discrete Structures Lecture 01 Introduction to the Course
Discrete Mathematics Transparency No. 0-1 Discrete Mathematics Cheng-Chia Chen September 2009.
Discrete Structures for Computer Science Muad M. Abu-Ata Summer 2013.
1 Those Incredible Greeks Lecture Three. 2 Outline  Hellenic and Hellenistic periods  Greek numerals  The rise of “modern” mathematics – axiomatic.
MATH 224 – Discrete Mathematics
Introduction to Discrete Mathematics J. H. Wang Sep. 14, 2010.
Course overview Course title: Discrete mathematics for Computer Science Instructors: Dr. Abdelouahid Derhab Credit.
Relationships Between Structures “→” ≝ “Can be defined in terms of” Programs Groups Proofs Trees Complex numbers Operators Propositions Graphs Real.
CSC201 Analysis and Design of Algorithms Asst.Proof.Dr.Surasak Mungsing Oct-151 Lecture 2: Definition of algorithm and Mathematical.
Chapter 2 Mathematical preliminaries 2.1 Set, Relation and Functions 2.2 Proof Methods 2.3 Logarithms 2.4 Floor and Ceiling Functions 2.5 Factorial and.
INTRODUCTION TO Euclid’s geometry The origins of geometry.
COMP 170 L2 Page 1 Review for Midterm 1 l Part I: Counting n L01-L03 l Part II: Number Theory and Cryptography n L04, L05.
Discrete Structures for Computing
MTH 201 Discrete Mathematics Fall Term MTH 201 Discrete Mathematics Fall Term INTERNATIONAL BURCH UNIVERSITY DEPARTMENT of INFORMATION.
TOK: Mathematics Unit 1 Day 1. Introduction Opening Question Is math discovered or is it invented? Think about it. Think real hard. Then discuss.
MATH 224 – Discrete Mathematics
Euclid and the “elements”. Euclid (300 BC, 265 BC (?) ) was a Greek mathematician, often referred to as the "Father of Geometry”. Of course this is not.
Chinese Remainder Theorem Dec 29 Picture from ………………………
Introduction to Graphs. This Lecture In this part we will study some basic graph theory. Graph is a useful concept to model many problems in computer.
MTH221 November 6, /6/ DISCRETE MATHEMATICS FOR IT PROFESSIONALS Pair the class Set dates See students progress Assignments Final Exam Quizzes.
1 CSC 281 Discrete Mathematics for Computer Science Dr.Yuan Tian Syllabus.
Discrete mathematics Kwon, Tae-kyoung
CS/APMA 202 Spring 2005 Aaron Bloomfield. Sequences in Nature
 You will be able to use theorems and definitions to find the measures of angles.  You will be able to use theorems and definitions to write a formal.
1.  This course covers the mathematical foundations of computer science and engineering. It provides an introduction to elementary concepts in mathematics.
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
COMP 170 L2 Page 1 Review for Midterm 2 Part II: Number Theory and Cryptography L06: RSA Part III: Logic L07, L08, L09 Part IV: Induction and Recurrence.
TOK: Mathematics Unit 1 Day 1. 2 – B 2 = AB – B 2 Factorize both sides: (A+B)(A-B) = B(A-B) Divide both sides by (A-B): A = B = B Since A = B, B+B=B Add.
Introduction to Discrete Mathematics Lecture 1: Sep 6 AB C a = qb+r gcd(a,b) = gcd(b,r)
Foundations of Geometry
CS 2130 Computational Structures (Discrete Mathematics for Computing)
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Euclid’s Definitions EUCLID’ S GEOMETRY
COMP 283 Discrete Structures
Discrete Mathematics for Computer Science
Unit 1. Sorting and Divide and Conquer
Discrete Mathematics and Its Applications
Discrete Structures for Computer Science
Discrete Math (2) Haiming Chen Associate Professor, PhD
Discrete Structures for Computer Science
Discrete Structures for Computer Science
26 July 2011 SC 611 Class 1.
Discrete Structures for Computer Science
Euclid’s Geometry Definitions Postulates Common Notions
DISCRETE COMPUTATIONAL STRUCTURES
Discrete Mathematics in the Real World
THE PYTHAGOREAN THEOREM
Chapter 2 Greek Geometry
THE PYTHAGOREAN THEOREM
Discrete Mathematics and Its Applications
Presentation transcript:

Introduction to Discrete Mathematics B C a = qb+r gcd(a,b) = gcd(b,r)

Basic Information Instructor: Amit Kumar Course Homepage: follow link from www.cse.iitd.ac.in/~amitk/ Teaching Assistants: Jatin Batra, Chirag Agrawal, Ritesh Baldwa, Mohammad Rahman Tutorials: M,Tu,Th (1300-1400) Slides: Will be posted on the course page adapted (with permission from Lac chi Lau) from course on Discrete Mathematics at CUHK.

Course Material Textbook: Discrete Mathematics and its Applications, 7th ed Author: Kenneth H. Rosen Publisher: McGraw Hill

Course Requirements Minors: 20% each Lecture Quizzes: 20% Major: 40%

Checker x=0 Start with any configuration with all men on or below the x-axis.

Checker x=0 Move: jump through your adjacent neighbour, but then your neighbour will disappear.

Checker x=0 Move: jump through your adjacent neighbour, but then your neighbour will disappear.

Checker x=0 Goal: Find an initial configuration with least number of men to jump up to level k.

K=1 x=0 2 men.

K=2 x=0

K=2 x=0 Now we have reduced to the k=1 configuration, but one level higher. 4 men.

K=3 x=0 This is the configuration for k=2, so jump two level higher.

K=3 x=0 8 men.

K=4 x=0

K=4 x=0

K=4 x=0

K=4 x=0

K=4 x=0 Now we have reduced to the k=3 configuration, but one level higher 20 men!

K=5 39 or below 40-50 men 51-70 men 71- 100 men 101 – 1000 men 1001 or above

Why Mathematics? Design efficient computer systems. How did Google manage to build a fast search engine? What is the foundation of internet security? algorithms, data structures, database, parallel computing, distributed systems, cryptography, computer networks… Logic, number theory, counting, graph theory…

Topic 1: Logic and Proofs How do computers think? Logic: propositional logic, first order logic Proof: induction, contradiction Artificial intelligence, database, circuit, algorithms

Topic 2: Number Theory Number sequence (Extended) Euclidean algorithm Prime number, modular arithmetic, Chinese remainder theorem Cryptography, RSA protocol Cryptography, coding theory, data structures

Topic 3: Counting A B C Sets and Functions Combinations, Permutations, Binomial theorem Counting by mapping, pigeonhole principle Recursions A B C Probability, algorithms, data structures

Topic 3: Counting How many steps are needed to sort n numbers? Algorithm 1 (Bubble Sort): Every iteration moves the i-th smallest number to the i-th position Algorithm 2 (Merge Sort): Which algorithm runs faster?

Topic 4: Graph Theory Graphs, Relations Degree sequence, Eulerian graphs, isomorphism Trees Matching Coloring Computer networks, circuit design, data structures

Topic 4: Graph Theory How to color a map? How to send data efficiently?

Objectives of This Course To learn basic mathematical concepts, e.g. sets, functions, graphs To be familiar with formal mathematical reasoning, e.g. logic, proofs To improve problem solving skills To see the connections between discrete mathematics and computer science

Pythagorean theorem c b a Familiar? Obvious?

Good Proof b c b-a a b-a We will show that these five pieces can be rearranged into: (i) a cc square, and then (ii) an aa & a bb square And then we can conclude that

Good Proof c b-a c c a b c The five pieces can be rearranged into: (i) a cc square c b-a c c a b c

Good Proof How to rearrange them into an axa square and a bxb square? b c b-a a

Good Proof a b a b-a a b 74 proofs in http://www.cut-the-knot.org/pythagoras/index.shtml

Bad Proof A similar rearrangement technique shows that 65=64… What’s wrong with the proof?

Mathematical Proof To prove mathematical theorems, we need a more rigorous system. The standard procedure for proving mathematical theorems is invented by Euclid in 300BC. First he started with five axioms (the truth of these statements are taken for granted). Then he uses logic to deduce the truth of other statements. It is possible to draw a straight line from any point to any other point. It is possible to produce a finite straight line continuously in a straight line. It is possible to describe a circle with any center and any radius. It is true that all right angles are equal to one another. ("Parallel postulate") It is true that, if a straight line falling on two straight lines make the interior angles on the same side less than two right angles, the two straight lines, if produced indefinitely, intersect on that side on which are the angles less than the two right angles. Euclid’s proof of Pythagorean’s theorem http://en.wikipedia.org/wiki/Pythagorean_theorem