Text: Discrete
Mathematics and its Applications, Rosen, McGraw Hill, edition 6.
Exams: There will be one midterm (25%) and one final examination (35%).
Teaching Assistant: Mike McWilliams
Assignments: Homeworks will
be worth 40% of your
grade.
You may do these with a partner, and one grade will be given to both
people in each group, but you may work alone if you prefer to do so.
Goals: To understand the mathematics that underlies computer science, and to appreciate where it is used. This semester will concentrate on functions, number theory, recurrence equations, recursion, combinatorics, and their applications. Next semester concentrates on sets, Boolean algebra, linear algebra, and their applications.
Special Dates: Due to Jewish holidays, I will not be in class on September 14 and 28, and October 5. I will announce in class what alternative arrangements I will make for these days.
| Assignment 1 | Assignment 2 | Assignment 3 | Assignment 4 |
| Week | Topics | Reading |
| 1 | What kinds of problems are solved in discrete math? What are proofs? Examples of proofs by contradiction, and proofs by induction: Triangle numbers, irrational numbers, and prime numbers. | 1.6-1.7, 2.4 |
| 2 | Primes, Greatest Common Divisors and the Euclidean Algorithm. The two-jug puzzle as demonstrated by Bruce Willis in Die Hard III. Congruences and Fermat’s Little theorem. Applications to Cryptography. | 3.4-3.7 |
| 3 | Mathematical induction – a flexible and useful tool. Many examples and the idea of strong induction. | 4.1-4.2 |
| 4 | Growth rate of functions, Big-O notation. Applications to algorithms and theory of computation. | 2.3, 3.1-3.3 |
| 5 | Basic arithmetic and geometric sums, closed forms. Compound Interest – a simple recurrence. Binary search – recursion, induction and complexity. Towers of Hanoi – recursion, induction, and graphs. | 4.3-4.4 |
| 6 | Chinese rings puzzle – Grey codes. | Pages 642-643. |
| 7 | Solving recurrence equations – repeated substitution, the Master Theorem with applications to algorithms, change of variable technique. | 7.1, 7.3 |
| 8 | Solving recurrence equations – guessing and proving correct by induction, linear homogeneous types. The Josephus Problem. | 7.2 |
| 9 | Midterm Exam |
TBA |
| 10 | Combinations and permutations. Pascal’s triangle and binomial coefficients. | 5.1, 5.3-5.4 |
| 11 | Counting problems using combinations, distributions and permutations. | 5.5-5.6 |
| 12 | Sets. The inclusion/exclusion theorem and advanced examples. | 2.1-2.2, 7.5-7.6 |
| 13 | The pigeonhole principle and examples. | 5.2 |
| 14 | Discrete probability, the birthday paradox, and many examples. | 6.1-6.3 |
| 15 | Review |