DISCRETE MATHEMATICS

Course Description:
Fundamentals of logic (the laws of logic, rules of inferences, quantifiers, proofs of theorems), Fundamental principles of counting (permutations, combinations), set theory, relations and functions, graphs, trees and sorting, shortest path and minimal spanning trees algorithms.
Monoids and Groups.

Course Objectives
● Provide a survey of Discrete Mathematics, the study of finite systems, needed in computer science.
● Further develop the mathematical concepts and technique which should serve as a preparation for more advanced quantitative courses.

Prerequisites
● High school algebra
● One introductory computer science course (recommended).

Textbook
● Recommended not Required - "Mathematical Structure for Computer Science", Judith L. Gersting, W. H. Freeman & Company. (Any edition). Available at Barnes & Noble or on- line
● Any old or new discrete math textbook will also do the job.

Class Meetings, Lectures & Assignments
Lectures, Readings, and Assignments subject to change, and will be announced in class as applicable within a reasonable time frame.

Grading Criteria
● Midterm 35% - Monday, March 15th.
● Final 35% -  Week of May 4th 
● Assignments 30%


WEEK
TOPIC
DESCRIPTON
1-2
Logic
I. Statements, and logical connectives; truth tables.
II. Predicates logic and Quantifiers
III. Proof techniques, the nature of mathematical theorems and proofs; direct proof, proof by contraposition, by contradiction; use of counterexamples; the principle of mathematica induction
2-3
Sets
I. The notation of set theory - Subsets and the power set; binary and unary operations on a set; set operations of union, intersection, complementation.difference, and Cartesian product
II. Demonstration of the denumerability of some sets and the use of Cantor diagonalization method to prove the uncountability; partition of a set
4-5
Relations & Functions
I. Binary relations as ordered pairs and verbal description; the reflexive, symmetric, transitive and antisymmetric properties of binary relations: the definition and terminology about partial orderings;graphs of partially ordered finite sets; the definition of eauivalence relation and equivalence class
II. Functions: definition and examples; properties of functions one-t-one, onto, biiective: function composition, inverse function
6
Combinatorics
I. Counting; fundamental counting principles, including the multiplication and addition principles
II. Sampling and selecting
III. Permutations and combinations; formulas for counting the number of permutations and combinations of k-obiects from n distinct objects
8
Midterm Examination
7-9
Giranhs
I. Graph terminology; undirected graphs, simple, complete, path, cycle, adjacency matrix connectivity: Euler's path and Hamiltonian circuit;graph representation, trees
II. Digraphs and connectivity problems - Reachability matrix analysis; Warshall's algorithm
10-11
Boolean Algebra & Computer Logic
I. Discussion and Definition; sinilarities between propositional logic and set theory; mathematical structures as models or abstractions incorporating common properties found in different contexts
II. Logic circuits; basic logic elements of AND gate, OR gate and inverter; representation of a Boolean expression as a combinational network and vice versa; procedure to find a canonical sum-of-product Boolean expressions using Karnaugh map or Boolean algebra properties
11-12
Algebraic Structures
I. Definition of binary operation and structure;discussion of the associative, commutative, identity and inverse properties; definition of semigroup monoid, and a substructure
II. Group structure; elementary group theorems, uniqueness of identity and inverse; cancellatior laws; definition and properties of a subgroup;application to error correcting codes
13
Finite State Machines
I. Definition of FSM; state tables and state graphs
II. FSM as transducers and recognizers
III. Discussion of limitations of FSMs; introduction to formal languages
14
Final Examination


1) Decide which of the following are propositions (Y/N) and give the truth value:
a) 127 is an even integer


b) All triangles have 4 sides or more


2) Negate the following statements, using full intelligible sentences: 
a) John is smart or Fred is not tall


b) Some animals are intelligent


3)Is  Justify your answer

4) Given the proposition P(n) " If n3 is odd then n is odd "
a) Prove P(n) by contraposition:


b) Prove P(n) by contradiction:


5) Prove by induction: 

6) Using the predicate symbols shown and appropriate quantifiers, write each English Language statement in symbolic form (The domain is the whole world).

a) There are some women lawyers who are chemists.


b) No woman is both a lawver and chemist.


c) Some lawyers admire only judges.


d) All women lawyers admire some judges.


e) Some women admire no lawyer.