CMSC 250 Fall 2004 -- Homework 13 Answer
Due Wed., Dec. 1 at the beginning of your discussion section.
You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.
- For this set of problems, you must clearly define
what the domain is, what the size of the domain, what the codomain is,
what the size of the codomain is, and what the total function is that
maps from the domain to the codomain. Make sure you indicate which
of these are known and how the pigeon hole principle can be applied
to reach the parts you need.
- What is the largest number of elements that a set of integers from
1 through 100 can have so that no one element in the set is
divisible by another? (Hint: Imagine writing all the numbers from
1 through 100 in the form
, where
and
is
odd.
Answer: The proof will consist of two parts: (i) showing that we can choose 50
integers such that no one element in the set is divisible by another.
(ii) showing that once we choose 51 integers, one of them is divisible by
another.
- Consider the set
. Since the double of each integer
is at least 102, no one element in this set is divisible by another.
- Let the domain be
, codomain be
,
and
be
if
is of the form
, where
and
is odd. We know that
. If
, then by
pigeonhole principle, there exists
such that
,
and
. Then
is a multiple of
.
- Prove that at a party where there are at least two people,
there are two people who know the same number of other people there.
You may assume that if person a knows person b then person b must know
person a as well.
Answer: Let the domain be the set of people
at the party, with
.
Let the codomain be
which is a set of numbers, meaning how many people a person may know.
Then
will be
how many people person
knows. The crucial fact is that
, because it cannot happen that there exist 2 people in
such that one knows nobody and
another knows everybody. Therefore
is either
or
.
Therefore by pigeonhole principle the claim holds.
- A arm wrestler is the champion for a period of 75 hours.
The arm wrestler had at least one match an hour, but no more than 125
total matches. Show that there is a period of consecutive hours during
which the arm wrestler had exactly 24 matches.
Answer: The problem is the same as: given
such that
and
. Show that there exists
such that
.
Solution: let
. Then
. Moreover we know that
.
Now, let the domain
, codomain
, and
be
(evaluate
). Notice that
but
. Moreover, all
are distinct.
Then there exists
such that
, and thus
.
- Show that if f is a function from S to T where S and T are both
finite sets and
, then there are
at least m elements of S that are mapped to the same value of T.
That is, show that there are elements
of S
such that
.
Answer: Suppose, on the contrary, that it is not true. Then there are at most
elements of
that are mapped to the same value of
. How large can
be?
Since for any element in
there are at most
elements of
that are mapped to it,
it follows that
, which means
,
contradiction.
- Find four binary relations from
to
that are not
functions from
to
.
Answer:
-
-
-
-
- Define binary relations
and
from
to
as follows:
and
Graph
, and
in the Cartesian plane.
Answer:
: a circle with radius 2 and center at origin.
: a line with slope 1 and passing through the origin.
: the overlap of (i) and (ii).
: consist of only the intersection points of (i) and (ii).
- Determine whether the given binary relation is reflexive,
symmetric, transitive, or none of these. Justify your answers.
Let
and
be the power set of
.
A binary relation
is defined on
as follows:
For all
,
(that is the number of elements in
is not equal to
the number of elements in
).
Answer:
- Not reflexive, since
always equals itself.
- Symmetric, since
is symmetric.
- Not transitive, since with
and
we can still have
.
Kin-Keung Ma
2004-12-01
Web Accessibility