CSC 202 - Discrete Mathematics for Computer Scientists II

Shai Simonson    306 Stanger    (508) 565-1008

Email:  shai@stonehill.edu

Homepage: http://www.stonehill.edu/compsci/shai.htm


Lectures:  MWF 9:30 - 10:20,  001 Stanger

Texts: Discrete Mathematics and its Applications, Rosen, McGraw Hill, 6th edition.

Pettofrezzo, Anthony J. Matrices and Transformations. New York: Dover, 1978.
Exams:  There will be one midterm (25%) and one final examination (35%).  The final in Spring 2012 will be on Wednesday May 9, 9:00 AM.

Teaching Assistant:  (Michael Yeatts)  help sessions every Wednesday night in the lab or by appointment.

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 the group.  Read our department's academic integrity guidelines before you hand in any written work.

Goals:  To understand the mathematics that underlies computer science, and to appreciate where it is used.  Last semester concentrated on functions, number theory, recurrence equations, recursion, combinatorics, and their applications.  This semester concentrates on sets, graphs, Boolean algebra, linear algebra, and their applications.

Special Dates:  There will be no class on Friday, April 13 due to Passover, and no class on Friday March 2, because I will be in France. The midterm will be March 9 before Spring break.

Description: The two semester discrete math sequence covers the mathematical topics most directly related to computer science. Topics include: logic, relations, functions, basic set theory, countability and counting arguments, proof techniques, mathematical induction, graph theory, combinatorics, discrete probability, recursion, recurrence relations, linear algebra, and number theory. Emphasis will be placed on providing a context for the application of the mathematics within computer science. The analysis of algorithms requires the ability to count the number of operations in an algorithm. Recursive algorithms in particular depend on the solution to a recurrence equation, and a proof of correctness by mathematical induction. The design of a digital circuit requires the knowledge of Boolean algebra. Software engineering uses sets, graphs, trees and other data structures. Number theory is at the heart of secure messaging systems and cryptography. Logic is used in AI research in theorem proving and in database query systems. Proofs by induction and the more general notions of mathematical proof are ubiquitous in theory of computation, compiler design and formal grammars. Probabilistic notions crop up in architectural trade-offs in hardware design.  Linear algebra has a vast variety of applications including:  markov chains, cryptography,  computer graphics, curve fitting, electrical circuits, and data mining.  The first semester concentrates on induction, proofs, combinatorics, recurrence relations, functions, computational complexity, and number theory.  The second semester concentrates on logic, sets, countability, Boolean algebra, linear algebra and applications.

 

Useful Links

Mathworld Cut-the-Knot Google's Ranking Method History of Set Theory
Monopoly Markov Chain Matrix Calculator Math in CS Linear Algebra Refs
Web Mining Using Eigenvalues - Blurb
      The Paper
Funny Halting Problem Poem


Assignments

Readings:
 
Assignment 1  (Due-February 21)
Assignment 2 Assignment 3 Assignment 4 

 

Brief Syllabus

Week Topics Reading
1-2 Set Theory - Inclusion/Exclusion Theorem, Associative, Distributive, and De Morgan's Laws.  Bit Operations in Java.
Functions, 1-1 correspondence, and Countability -  Diagonalization.  Applications to Computability and Undecidability.
Rosen:  1.6 - 1.8, 6.5,
pages 233 - 236.
3
Boolean Algebra - Operators, completeness, normal forms, identities.
Applications of Boolean Algebra to circuits.
Rosen:  10.1 - 10.4
4-5
 Propositional and First Order Logic -  Predicates, Quantifiers. 
Applications to automatic theorem proving,  and Resolution.  Prolog and AI. Theory and Reductions.
Rosen:  1.1 - 1.5
6
Linear Algebra - Introduction.  Matrices, addition, multiplication, and motivation. 
Associative, distributive laws.
Rosen:  2.7, 
Pettofrezzo: 1.1-1.4 
7
LA - Theory of Solving Equations, Gaussian elimination, Diagonal and triangular matrices. Petto: 2.5.
8
LA - Inverses and Gauss/Jordan elimination, linear independence, bases. Petto:  2.2, 2.4
9
Midterm Examination:   March 9 -- before Spring break

10
LA - Determinants for n by n matrices, properties of determinants and the relationship to inverses. 
Transpose and theorems.
Petto:  2.1
11
LA - Geometric interpretations, and linear transformations.  Applications: Computer graphics. Petto:  3.1-3.5
12 LA - Eigenvalues and Eigenvectors, Diagonalizing a Matrix, Similar Matrices.
The Hamilton-Caley Theorem and calculating powers of a matrix. 
Petto:  4.1-4.5
13 LA - Applications -  Linear Regression, Least Squares, Curve Fitting. Cryptography and Matrix Ciphers.  Class Notes
14 LA - Applications - Probablility and Markov Chains.  Class Notes
15 LA - More Applications if time allows - More Web Mining, Warps and Morphs and More Computer Graphics. Class Notes