
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Problem 1: Given that F : A → B , If F is one to one then F-1 is well defined.
Proof: Assume that F −^1 is not well defined. Then there is at least value b in B so that
F −^1 (b) = a 1 and^ F −^1 (b) = a
Problem 2: TH: If f(n) = 2n + 2 and g(n) = 2n^ , for natural numbers n, then f(n) is Big O g(n)
Proof: First we will prove by PMI that f ( ) n ≤ g n ( ) and since f(n) and g(n) are always
positive we will drop the absolute values to get 2n + 2 ≤ 2 n^ , for n ∈ N and n > 2
First we will verify that the hypothesis is true for n = 3 since 2(3) + 2 ≤ 23 and 8 ≤ 8.
We will now assume true up to some natural number k: ie. 2k + 2 ≤ 2 k^ , and prove true for k + 1: ie. 2(k+1) + 2 ≤ 2 k+^.
Consider the k + 1 term, 2(k + 1) + 2 = (2k + 2 )+ 2 ≤ (2 k^ ) + 2 ≤ 2 k^ + 2 k^ = 2(2 k^ ) = 2k+ Therefore we have shown that 2(k + 1) + 2 ≤ 2 k+1^ and the hypothesis is true for all natural numbers greater than 2.
If we choose C = 1 and K = 2 we have that f ( ) n ≤ g n ( ) for all x > k = 2. This fits the
definition of the Big O notation and we have that f(n) is Big O g(n)