


























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























































1.1 Logic 1.2 Tautologies/Equivalence 1.3 Predicates/Quantifiers 1.4 Sets 1.5 Set Theory Operations 1.6 Functions 1.7 Sequences/Sums 1.8 Big- O, Big-Ω, Big-Θ 2.1 Algorithms 2.2 Complexity 2.3 Basic Number Theory 2.4 Number Theory Algorithms 2.5 RSA (2.6 Matrices)
3.1 Proofs 3.2 Induction 3.3 Recursive Definitions 3.4 Recursion (3.5 Program Correctness) 4.1 Counting Basics 4.2 Pigeonhole Principle 4.3 Permutations and Combinations 4.4 Discrete Probability 4.5 Probability Theory 4.6 Generalizations 5.1 Recurrence Relations 5.2 Solving Linear Recurrences 5.5 Inclusion-Exclusion 5.6 More Inclusion-Exclusion
Logical operators/connectives are defined by truth tables :
p ¬ p F T
Docsity.com
last column is all TRUE for tautology relevant columns equal for equivalence
TRUE starting from supposed tautology 1 st^ proposition from 2nd
Logical English Logical Puzzles
Precise English statements can be expressed in terms of logical constructs. In cases of English puzzles, this can be useful for solving.
EG: Can there be a man that shaves exactly all the people that don’t shave themselves.
Let S( x,y ) = “ x shaves y”. Asking if following statement satisfiable: ∃ x ∀ y ¬S( y,y ) S( x,y )
Not satisfiable (trying plugging in y = x ) 1
Review 20
A ∩ B
Docsity.com