Exercise 7.7

Show that the sets D and E of Exercise 7.5 have the same cardinality.

Answers

Throughout what follows let AB denote the set of all functions from set A to set B.

Lemma 1. If there is an injection from A1 to A2 with A2, and an injection from B1 to B2, then there is also an injection from A1B1 to A2B2.

Proof. Since A2, there is an a2 A2. Since we know they exist, let fA : A1 A2 and fB : B1 B2 be injections. We construct an injection F : A1B1 A2B2. So, for any g A1B1, define F(g) = h, where h A2B2 is defined by

h(b) = { (fA g fB1)(b)b fB(B1) a2 bfB(B1)

for b B2, noting that fB1 is a function with domain fB(B1) since it is injective.

To show that F is injective, consider g1,g2 A1B1 where g1g2. Then there is a b1 B1 where g1(b1)g2(b1). Let b2 = fB(b1) so that clearly b2 fB(B1) and b1 = fB1(b2). Then clearly

F(g1)(b2) = (fA g1 fB1)(b 2) = fA(g1(fB1(b 2))) = fA(g1(b1)) fA(g2(b1)) = fA(g2(fB1(b 2))) = (fA g2 fB1)(b 2) = F(g2)(b2)

since g1(b1)g2(b1) and fA is injective. Thus F(g1)F(g2), which shows that F is injective since g1 and g2 were arbitrary. □

Lemma 2. For sets A, B, and C, the set (AB)C has the same cardinality as the set AB×C.

Proof. We construct a bijection F : AB×C (AB)C. So, for any f AB×C, we have that f : B × C A. Define g : C AB by g(c) = h for any c C, where h : B A is defined by h(b) = f(b,c). Then assign F(f) = g.

To show that F is injective, consider f,f AB×C where ff. Then there is a (b,c) B × C where f(b,c)f(b,c). Also let g = F(f), g = F(f), h = g(c), and h = g(c). Then, by definition, we have h(b) = f(b,c)f(b,c) = h(b) so that g(c) = hh = g(c). From this, it follows that F(f) = gg = F(f), which shows that F is injective since f and f were arbitrary.

Now consider any g (AB)C and any (b,c) B × C. Let h = g(c) AB, and then assign f(b,c) = h(b). Clearly then f : B × C A so that f AB×C. So let g = F(f) and consider any c C. Let h = g(c) and h = g(c) so that h(b) = f(b,c) by the definition of F. Consider any b B so that h(b) = f(b,c) = h(b) by the definition of f. Since b was arbitrary, this shows that g(c) = h = h = g(c). Since c was also arbitrary, this shows that F(f) = g = g. Lastly, since g was arbitrary, this shows that F is surjective. □

Main Problem.

Recall that we have D = +ω = ++ and E = Xω = X+, where we let X = {0,1}. We show that these have the same cardinality.

Proof. First consider any f E = X+. Then define g(n) = f(n) + 1 for n + so that clearly g ++ = D. Now define the function h : E D by h(f) = g. It is then trivial to show that h is an injection.

Now, for n +, define xn = 1 and xi = 0 when i + and in. Clearly then x = x X+, and it is easily shown that the function defined by f(n) = x is an injection from + to X+ Also clearly the identity function on + is an injection since it is a bijection. It then follows from Lemma 1 that there is an injection f1 : ++ (X+)+, noting that clearly X+.

We presently have that there is a bijection f2 : (X+)+ X+×+ by Lemma 2 , which is of course also an injection. Finally, since + × + has the same cardinality as + (by Corollary 7.4), it follows that there is an injection from + × + to +. Since also the identity function on X is an injection, we have again that there is an injection f3 : X+×+ X+ by Lemma 1 . Thus clearly then f3 f2 f1 is an injection from ++ = D to X+ = E.

Therefore, since there is an injection from E to D as well as from D to E, it follows from Exercise 7.6 part (b) that D and E have the same cardinality as desired. □

User profile picture
2019-12-01 00:00
Comments
  • The first sentence perhaps ought to read " ...all functions from B to A"
    ram555zz2024-11-14