Quiz #1 �Review Session
Anisha Palaparthi and Ethan Sawyer
2/13/23
Topics
Pigeonhole Principle
Pigeonhole Principle
Pigeonhole Practice Problems
Dave’s Hot Yoga class has 25 members, and meets 8 times a day. Every single member comes once per day, and it’s up to them which of the 8 daily classes they go to.
Each member of the class has to wear one of Hot-Yoga-Dave’s approved shirt colors: Red, Blue, or Green.
Prove that at least 1 of the daily classes will have at least 2 people wearing the same shirt color.
Problem #2
Problem #1
Pigeonhole Practice Problems
How many cards do you have to draw out of a standard deck of 52 in order to guarantee that you get at least three of the same suit?
Propositional Logic
Rules of Inference vs Equivalence
Propositional Logic Problems
Rewrite
As
Propositional Logic Problems
Put
Into CNF (conjunctive normal form)
Show this is a tautology
Proofs and Proof Strategies
Proofs and Proof Strategies
Proofs Problems
Proofs Problems
Prove that in any group of 7 people there is a person who knows an even number of people in the group.
You may assume that if a person A "knows" a person B, then person B also "knows" person A.
.
Sets
Sets Problems
Prove that
A – (B ∩ C) = (A – B) ∪ (A - C)
Answers to Practice Problem
Sets Problems
Let A be the set of all prime numbers less than 20.
Let B be the set of all integers between -20 and 20 which are divisible by 2.
Let C be the set of all natural numbers.
Find:
a) A ∪ B
b) B ∩ C
c) A ∪ B ∪ C
Functions
Review Concept
Functions Problems
For each of the following functions, determine whether it is injective, surjective, both (a bijection), or neither. Then, prove or disprove that it is injective, and prove or disprove that it is surjective.
(a) f: R→R, f(x)=x^2
(b) f: N→R, f(x)=x
(c) f: Z+ × Z+ → Q+, f(x, y) =x/y , where A+ = {x ∈ A : x > 0} for all sets A.
(d) f: P(Z)→P(N), f(A) = A∩N
(e) f: P(Z)→P(Z), f(A) = Z−A
Functions Problems
For each of the following functions, determine whether it is injective, surjective, both (a bijection), or neither. Then, prove or disprove that it is injective, and prove or disprove that it is surjective.
(a) f : Z → Z, x → x
(b) f : R→R, x → sin(x)
(c) For a finite set A with |A| > 1, � f : P(A) → {0,...,|A|}, S → |S|
Good Luck!
Believe in yourself, don’t stress, and you’ll do great!