Download Introduction - Computer Science

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Mathematics of radio engineering wikipedia , lookup

Theorem wikipedia , lookup

Index of logic articles wikipedia , lookup

Mathematical proof wikipedia , lookup

Laws of Form wikipedia , lookup

Model theory wikipedia , lookup

List of first-order theories wikipedia , lookup

Quantum logic wikipedia , lookup

Set theory wikipedia , lookup

List of important publications in mathematics wikipedia , lookup

Foundations of mathematics wikipedia , lookup

Discrete mathematics wikipedia , lookup

Transcript
Discrete Structures for
Computer Science
Ruoming Jin
MW 5:30 – 6:45pm
Fall 2009
rm MSB115
Course Material
 Textbook: Discrete Mathematics and Its Applications
 Kenneth H. Rosen, McGraw Hill
Course Requirements
 Homework, 20%
 Quiz, 30%
 Midterm Exam: 20%
 Final Exam, 30%
Why Discrete Math?
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…
What is discrete mathematics?
Logic: artificial intelligence (AI), database, circuit design
Counting: probability, analysis of algorithm
Graph theory: computer network, data structures
Number theory: cryptography, coding theory
logic, sets, functions, relations, etc
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: Counting
• Sets
• Combinations, Permutations, Binomial theorem
• Functions
• Counting by mapping, pigeonhole principle
• Recursions, generating functions
Probability, algorithms, data structures
Topic 2: Counting
How many steps are needed to sort n numbers?
Topic 3: Graph Theory
• Relations, graphs
• Degree sequence, isomorphism, Eulerian graphs
• Trees
Computer networks, circuit design, data structures
Topic 4: Number Theory
• Number sequence
• Euclidean algorithm
• Prime number
• Modular arithmetic
Cryptography, coding theory, data structures
Pythagorean theorem
c
b
a
a b c
2
Familiar?
Obvious?
2
2
Good Proof
c
b
a
Rearrange into: (i) a cc square, and then
(ii) an aa & a bb square
Good Proof
c
c
c
a
b
c
81 proofs in http://www.cut-the-knot.org/pythagoras/index.shtml