CPSC 202: Mathematical Tools for Computer Science
Lectures
[Home]
| [Assignments]
| [Lectures]
| [Solutions]
| [Exam Info]
| [Grade Reports]
- September 3, 2009: Introduction to descrete math, course schedule and requirements.
- September 8, 2009: Logical propositions, logical operators, operator precedence, truth tables, de Morgan's laws, CNF, DNF, start on resolution proofs.
- September 10, 2009: Precedence order of XOR, resolution proofs, predicates, quantifiers, negation of quantified expressions, and proofs that use instantiation, generalization, simplification, and conjunction
- September 15, 2009: Exercise 23 in Section 1.5; Sets, subsets, power sets, Venn diagrams, union, intersection, complement, difference, symmetric difference; Proof that, for finite sets A, B, and C, if the symmetric difference of A and B equals the symmetric difference of A and C, then B = C
- September 17, 2009: Proof that, for arbitrary sets A, B, and C, if the symmetric difference of A and B equals the symmetric difference of A and C, then B = C; Review of proofs by induction: The size of the power set of S, where |S| = n, is 2^n; Cartesian products of sets; Introduction to functions: domain, co-domain, image, preimage, range, injections, surjections, bijections, composition of functions, sequences, geometric progressions, geometric series
- September 22, 2009: Arithmetic progressions, divisibility, primes and composites, greatest common divisors, least common multiples, modular arithmetic, Euclidean algorithm
- September 24, 2009: Inverses mod m, Chinese Remainder Theorem; Arithmetic mod p, quadratic residues and non-residues, Wilson's Theorem
- September 29, 2009: Working through Wilson's Theorem for p=11; using the Euclidean Algorithm to find inverses mod m; introduction to matrix arithmetic
- October 1, 2009: Gaussian elimination, matrix inverses, matrix transposes. Jim Aspnes' lecture notes: http://pine.cs.yale.edu/pinewiki/LinearAlgebra
- October 6, 2009: Proofs by induction, Harmonic numbers, Fibonacci numbers
- October 8, 2009: Recursive definitions of sets, functions, and structures; Using structural induction to prove properties of recursively defined objects
- October 13, 2009: Review for Exam 1
- October 15, 2009: [Exam1] | [Solutions]
- October 20, 2009: Using the product rule and the pigeonhole principle to solve counting problems
- October 22, 2009: Binomial coefficients; Introduction to probability: sample spaces, events, probabilities, conditional probabilities, independence
- October 27, 2009: Conditional probability, Independence, Binomial distribution, Random Variables
- October 29, 2009: Bayes' Theorem, Expected value, Variance
- November 3, 2009: Linearity of expectation, Chebyshev's inequality, Markov's inequality, Examples; Introduction to recurrence relations
- November 5, 2009: Calculating the expected number of comparisons in an insertion sort. Modeling with recurrence relations, divide-and-conquer algorithms, solving recurrence relations using charateristic polynomials and initial conditions.
- November 10, 2009: Generating functions.
- November 12, 2009: Using generating functions to prove combinatorial identities, model counting problems, and solve recurrence relations; Introduction to Graphs: degrees, Handshake Theorem, adjacency matrices, paths, cycles, wheels, hypercubes, cliques, and bipartite graphs
- November 17, 2009: Euler circuits and the bridges of Konisberg; Hamiltonian circuits and Gray codes; Shortest paths and Dijkstra's algorithm