NCTU CS: Discrete Mathematics (Spring 2008)

 

New exam dates:

Final: June 20, Friday, 1:30-3:30 pm, 2008.

Recurrence classnotes is here.

Relation classnotes is here.

Graph classnotes is here.

Course Information

Instructor

Wuu Yang, <wuuyang@cis.nctu.edu.tw>, EC332B, 03-5131247, 03-5712121 ext 56614.

Teaching Assistants

霹靂博: 施倫閔, lmshih@cs.nctu.edu.tw, phone: 56655, time: 2IJ, place: EC015.  Discussion time: 2XY, EC 344.

(Another 霹靂博: 3HY, EC115)

General TAs: 呂禮君,  黃帥維,  洪培翔,  EC 131, 程式語言與系統實驗室, phone: 56649.

Lectures

2B, 5EF.  EC114.

Office Hours

5CD, EC332B.

Course URL

http://www.cis.nctu.edu.tw/~wuuyang/Lecture/lecture.DiscMath.html

Course Discussion Board

http://plaslab24.cis.nctu.edu.tw/phpBB2/viewforum.php?f=2

Course Description

Discrete mathematics is the foundation of computer science. You are advised to study this course carefully so that you will be able to handle other, more advanced courses in the future. In this course, we will study the following subjects:

  1. logic and propositions
  2. basic set theory
  3. basic number theory
  4. counting (permutations and combinations)
  5. relations and functions
  6. graphs
  7. trees and cut sets
  8. groups and rings
  9. boolean algebras

For the textbook, we will discuss the following sections:

Chap1: Logic and Proofs
1. Proposition Logic
2. Proposition Equivalences
3. Predicates and Quantifiers
4. Nested Quantifiers
5. Rules of Inference
6. Introduction to Proofs
7. Proof Methods and Strategy

Chap 2: Sets, Functions, Sequences, and Sums
1. Sets
2. Set Operations
3. Functions
4. Sequences and Summations

Chap 3: Algorithms and the Integers
4. The Integers and Division
5. Primes and Greatest Common Divisors
6. Integers and Algorithms
7. Applications of Number Theory

Chap 4: Induction and Recursion
1. Mathematical Induction
2. Strong Induction and Well-Ordering
3. Recursive Definitions and Structural Induction
4. Recursive Algorithms

Chap 5: Counting
1. The Basics of Counting
2. The Pigeonhole Principle
3. Permutations and Combinations
4. Binomial Coefficients
5. Generalized Permutations and Combinations
6. Generating Permutations and Combinations

Chap 7: Advanced Counting Techniques
1. Recurrence Relations
2. Solving Linear Recurrence Relations
3. Divide-and-Conquer Algorithms and Recurrence Relations
4. Generating Functions
5. Inclusion-Exclusion
6. Applications of Inclusion-Exclusion

Chap 8: Relations
1. Relations and Their Properties
2. n-ary Relations and Their Applications
3. Representing Relations
4. Closures of Relations
5. Equivalence Relations
6. Partial Orderings

Chap 9 Graphs
1. Graphs and Graph Models
2. Graph Terminology and Special Types of Graphs
3. Representing Graphs and Graph Isomorphism
4. Connectivity
5. Euler and Hamilton Paths
6. Shortest-Path Problems
7. Planar Graphs (optional)
8. Graph Coloring (optional)

Chap 10: Trees
1. Introduction to Trees
2. Applications of Trees
3. Tree Traversal
4. Spanning Trees
5. Minimum Spanning Trees
 

Our objective in the source is to train you to look at problems precisely, to grasp the essence of problems at hand, and to learn techniques to solve them. Although the definitions, lemmas, theorems, corollaries, etc., are also of vital importance to your study of computer science, we really hope that you will gain the ability of solving new problems independently from this course. I do not want you just to memorize the solutions of problems because that's too simple a task for anybody. Rather, I want you to understand how the problems are solved because that is the most interesting part of the course.

Furthermore, we also wish to make the students comfortable with writing rigorous proofs.  Though proof techniques are important, it is equally important for students to learn the skill of writing rigorous proofs at this stage.  The students are asked to write answers in homework and in exams very carefully.

Textbook

Kenneth H. Rosen, Discrete Mathematics and Its Applications, 6th ed., McGraw-Hill Inc. ( table of contents of the textbook).

(recommended only) C.L. Liu, Elements of Discrete Mathematics, 2nd ed., McGraw-Hall, 1985.  ( table of contents of the textbook).

(recommended only) Donald M. Davis, The Nature and Power of Mathematics, Dover, 2004, Chapter 3 Number Theory.

(recommended only) G. Polya, How to Solve It, 2nd ed., Princeton U. Press, 1945 (reference only).

Exams

IT IS RECOMMENDED THAT YOU USE CHINESE AND ENGLISH TO ANSWER QUESTIONS IN THE EXAMS.  DO NOT USE ANY OTHER LANGUAGES.

1st term: April18, Tuesday, 8-10, 2008.

2nd: May 16, Friday, 1:30-3:30 pm, 2008.

Final: June 20, Friday, 1:30-3:30 pm, 2008.

Grading (tentative)

There will be two exams (40% each) and many short homeworks (15%). Classroom discussion counts as 5% toward the final score.

Handouts

  1. Mathematical induction.
  2. Principle of unions.
  3. Principle of Inclusion and Exclusion.
  4. Logical Puzzles, 050308.
  5. Viewpoints in permutation, 050308.
  6. A wrong proof of mathematical induction, 050314.
  7. Russel's opinions on mathematical induction, 050314.
  8. Bit pattern (combination), 050323.
  9. PK Soccer, 050323.
  10. Generating all permutations and combinations, 050408.
  11. Catalan numbers, 050409.
  12. Job scheduling, 050504.
  13. Sequence of numbers, 050506.
  14. Platonic Solids, 050515.
  15. K7 and 3 Hamiltonian circuits K9 and 4 Hamiltonian circuits, 050517.
  16. Proof for Hamiltonian path (theorem 5.4), 050518.
  17. Vertex Coloring, 050524.
  18. Huffman coding, 050527.
  19. Compiler Optimization Based on Hamiltonian Paths, 050530.
  20. Spanning Trees, 050603.
  21. Subgroups, 050603.
  22. Burnside Theorem, 050614.
  23.  

Exercises

  1. 3rd Homework, for 9/29.
  2. 5th homework, for 11/8:  p. 97, No. 3.17; p. 98, No. 3.23, 3.25, 3.26, 3.32.
  3. Exercise for December 8.

Local On-Line Information

  1. Introduction to George Cantor's Theory of Infinite Sets. This page is copied from www.math.unc.edu/Faculty/mccombs/math18/GeorgeCantor.htm.
  2. a logic puzzle.
  3. Portia's suitor's dilemma, yet another logic puzzle.
  4. A love story, yet another logic puzzle.
  5. Tribes in an island, yet another logic puzzle.
  6. How to marry a princess, yet another logic puzzle.

Information on the Net


Wuu Yang, <wuuyang@cis.nctu.edu.tw>, EC332B, 03-5712121 ext. 56614.