
CS1050B – Spring 2002
Practice Quiz 2
1. Prove that if A and B are sets, then A = A ∩ (A ∪ B) .
2. Let f(n) = 2n + 1.
• Is f a one-to-one function from the set of integers to the set of integers? Explain
the reasoning behind your answer.
• Is f an onto function from the set of integers to the set of integers? Explain the
reasoning behind your answer.
3. Let f be a function from the set A to the set B. Let S and T be subsets of A.
Prove that f(S∪T) = f(S) ∪ f(T).
4. Using the definition of “Big Oh”, prove that n! is O(nn).
5. Use mathematical induction to prove that 3 divides f(n) = n3 + 2n whenever n is a
positive integer.
6. Use mathematical induction to prove that
∑=+
−
=
12 2
3)12(
n
nj
nj
whenever n is a positive integer.