Computers and Reality - Cognitive
Science 110 - Spring 2007
Is each of the following true or false?
Every denumerable set is infinite.
Every denumerable set is countable.
Every countable set is infinite.
Every countable set is denumerable.
Every infinite set is denumerable.
Every uncountable set is infinite.
Every infinite countable set is denumerable.
Give an example of a set that is both countable and denumerable.
Give an example of a set that is countable but not denumerable.
Prove that the set of all integers has the same size as the set of all
even numbers; do this by giving a bijection from one set to the other.
The goal of the following problems is to get you comfortable with Cantor's
diagonalization method, used here to show that there are uncountably many
functions.
Let f and g be functions from N to N. The following
questions (in parts a, b, c) are independent of each other.
Suppose we are told that f(5) = 8 and g(100) = 3. Is this enough
information to determine whether or not f and g are the same function?
(To be the "same function" means: for every input x, f(x) =
g(x).)
Suppose we are told that f(5) = 8 and g(5) = 8. Is this enough
information to determine whether or not f and g are the same function?
Suppose we are told that f(5) = 8 and g(5) = 3. Is this enough
information to determine whether or not f and g are the same function?
Let f0, f1, f2, and g be functions
from N to N such that:
f0(x) = x^2 ; f1(x) = x+1 ;
f2(x) = 3x ; and
g(0) = 1, g(1) = 3, and g(2) = 4. Is g different from all three
functions f0, f1, and f2 ? Explain why or
why not.
Let f0, f1, f2, f3,...
be functions from N to N. Let g(x) = fx(x)
+ 1. (For example, g(0) = f0(0) + 1, g(18) = f18(18)
+ 1.)
Is there enough information to decide whether g(5) is larger or f5(5)
is larger or they are equal?
Is there enough information to decide whether or not g(100) = f5(100)?
Prove that g and f5 are different functions.
Show that for every n, g and fn are different functions
(i.e., show g is different from all functions f0, f1,
f2, f3,... ).
Let F be the set of all functions from N to N. Prove that F
is uncountable. Hint: Use the previous problem.