| Name (PRINTED): | |
| Student ID #: | |
| Section # (or TA's: | |
| name and time) |
| CMSC 250 | Quiz #14 ANSWERS | Wednesday, Dec 1, 2004 |
The Size of the Domain: If there are x integers chosen, the number of pairs is
. This is equal to
The CoDomain: The codomain is the list of all possible sums of these
pairs of elements from the set of chosen integers. In other words the
integer values between 3 and 9 inclusive.
The Size of the CoDomain: The size of the codomain is
The Function that Maps this domain to codomain: Each pair of integers maps to one and only one element in the codomain based on the value of the sum of the two elements in its pair - since the codomain was built specifically for this purpose, it is a total function.
This means that by the Pigeonhole principle,
When n(D) > n(C) the function cannot be one to one.
by substitution
by multiplying both sides by 2
This statement becomes true when
So I can pick 4 and not be sure that I have two pair that add to the same sum
take for example the subset
which has no two pair that have the
same sum. I can not though pick all 5.
You would need to find a total function that is a bijection from A to B to
know that they have the same cardinality.