TÖL203F Algorithms, Logic and Complexity
Homework 1
In the lectures this first week we will cover material from Chapter 1 of
Computability and
Logic, 5th ed.
The first homework will be slightly easier than usual, since it only covers the first lecture on
monday January 6th.
Homework
- Determine for each of the following statements whether it is true or false. Justify each
case in a few words.
- {∅} ∈ {∅}
- {∅} ⊆ {∅}
- ∅ = {∅}
- ∅ ∈ {a}
- {a} ∈ {a}
- Let A be a set and ℘(A) be the powerset of A.
- Let A be the set {1, 2, 3, 4, 5}. How many elements are in ℘(A)?
- If A is the empty set, then what is ℘(A)?
- Let A be the set {1, 2, 3}. Show the set ℘(℘(A)) (i.e. the power set of
the power set of A)
- Which of the following functions on the integers are one-to-one and which are onto (or both!):
- f(n) = 3n
- g(n) = 3 − n
- f(n) = n3
- Let A be a set with m elements and B be another set with n elements.
- How many different functions are there from A to B?
- How many of those functions are one-to-one?
- When are there no one-to-one functions from A to B (i.e. what conditions do
A and B have to fulfill for there to be one-to-one functions from A to B)?
- Problem 1.2 on page 14 in the textbook.
Hand this homework in before 12:00 on friday January 10th.
hh (hja) hi.is, January 6th, 2014.