



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!




Math 131a Midterm 1 Lecture 2 Spring 2008
Name:
Instructions:
Question Points Score 1 10 2 10 3 10 4 10 Total: 40
Solution: First we prove that f is one-to-one. Suppose x 1 , x 2 ∈ A and f (x 1 ) = f (x 2 ). We need to show that x 1 = x 2. Since f (x 1 ) = f (x 2 ), we have (g ◦ f )(x 1 ) = g(f (x 1 )) = g(f (x 2 )) = (g◦f )(x 2 ). But, by our assumption that (g◦f )(x) = x, this implies that x 1 = (g◦f )(x 1 ) = (g ◦ f )(x 2 ) = x 2.
It is not necessarily the case that f is onto B. For example, we may take A = { 1 }, B = { 1 , 2 }, f = {(1, 1)} and g = {(1, 1), (2, 1)}. Then f does not map A onto B, but g ◦ f (x) = x for every x ∈ A.
Solution: We need to show that (i) sup A + sup B is an upper bound for {a + b : a ∈ A, b ∈ B}, and (ii) if α < sup A + sup B then α is not an upper bound for {a + b : a ∈ A, b ∈ B}. For (i), let a ∈ A and b ∈ B. Then a ≤ sup(A) and b ≤ sup B, so a + b ≤ sup A + b ≤ sup A + sup B. For (ii), suppose α < sup A + sup B and let = sup A + sup B − α > 0. Since sup A is the least upper bound, we may find a ∈ A with a > sup A − / 4. Since sup B is the least upper bound, we may find b ∈ B with b > sup B−/ 4. Then a+b > sup A+sup B−/ 2 > sup A + sup B − = α. So α is not an upper bound for {a + b : a ∈ A, b ∈ B}.
Nk^ = {(x 1 ,... , xk) : x 1 ,... , xk ∈ N}
be the set of ordered k-tuplets of positive integers. Prove that for every positive integer k, Nk^ is countable. You are allowed to use, without proof, the fact that N × N is countable. You are also allowed to use, without proof, the fact that if f : A → B and g : B → C are both bijective, then g ◦ f : A → C is bijective. Hint: Try using induction on k.
Solution: By induction it suffices to show that (i) N^1 is countable and that (ii) if Nk^ is countable then Nk+1^ is countable. For (i), it is clear that f : N → N^1 defined by f (n) = (n) is a bijection, and so N^1 is countable. For (ii) assume that Nk^ is countable. Then, there exists a bijective g : N → Nk. Consider the function f : N × N → Nk+1^ defined by f (n, m) = (n, y 2 ,... , yk+1) where (y 2 ,... , yk+1) = g(m). We claim that f is bijective. To see that f is onto, let (y 1 ,... , yk+1) ∈ Nk+1. Since g is onto, there exists m ∈ N with g(m) = (y 2 ,... , yk+1), and so f (y 1 , m) = (y 1 ,... , yk+1). To see that f is one-to-one, suppose f (n 1 , m 1 ) = (y 1 ,... , yk+1) = f (n 2 , m 2 ). Then g(m 1 ) = (y 2 ,... , yk+1) = g(m 2 ). Since g is one-to-one, this implies that m 1 = m 2. But we also have n 1 = y 1 = n 2 and so (n 1 , m 1 ) = (n 2 , m 2 ). Since N × N is countable, there exists a bijective h : N → N × N. Since f is bijective and h is bijective, f ◦ h : N → Nk+1^ is bijective, and so Nk+1^ is countable.