Documente Academic
Documente Profesional
Documente Cultură
08-SE-59 08-SE-72
Pigeons
Pigeon holes
There are 380 students at Magic school. There must at least two students whose birthdays happen on a same day.
65 students appeared in an exam. The possible grades are: A, B, C and D. There are at least two of them who managed to get the same grade in the exam.
Among any 100 people there must be at least 100/12 = 9 who were born in the same month.
Problem Statement
Show that if any 5 no from 1 to 8 are chosen then two of them will add to 9.
How to Solve?
Construct 4 different sets each containing two numbers that add up to 9. A1={1,8} A2={2,7} A3={4,5} A4={3,6}
these sets, since there are only 4 sets the pigeon hole principle states that two of the chosen numbers belong to the same sets. These numbers add up to 9.
Cardinality
What do you mean by cardinality?
Properties of Cardinality
Reflexive property of cardinality; A has the same cardinality as A.
Symmetric property of cardinality; If A has the same cardinality as B than B has the same cardinality as A. Transitive property of cardinality; If A has the same cardinality as B and B has the same cardinality as C then A has the same cardinality as C
f is onto
Countability
What does it mean to say that a set is countable?
Countable Set
A set A is said to be countable if it is either finite OR its Denumerable
Denumerable: If a set is equivalent to the set of natural numbers N then it is called denumerable set.
Countable Properties
Every subset of N is countable. S is countable if and only if |S| |N|.
Proof
Note that NxN is countable as a consequence of the definition because the function f: NxNN given by f (m,n) = 2m3n is injective. This follows because if A and B are countable there are surjections f:NA and g:NB. So fxg : NxNAxB is a surjection from the countable set NxN to the set AxB. This result generalizes to the Cartesian product of any finite collection of countable sets.
Conclusion
Pigeonhole Principle says that there cant exist 1-1 correspondence between two sets those have different cardinality. But we saw that two sets which have 1-1 correspondence have the same cardinality.