Exercise 5.4

Let m,n +. Let X.

(a)
If m n, find an injective map f : Xm Xn.
(b)
Find a bijective map g : Xm × Xn Xm+n.
(c)
Find an injective map h : Xn X.
(d)
Find a bijective map k : Xn × X X.
(e)
Find a bijective map l : X × X X.
(f)
If A B, find an injective map m : (A)n B.

NOTE: For part (f), older printings of the text say, “If A B, find an injective map m : XA XB.” This is assumed to be an error since the meaning of XA and XB are not defined in the text (though, for example, XA would typically mean the set of functions from A to X) as well as the fact that it was changed.

Answers

(a) If m n, find an injective map f : Xm Xn.

Proof. Suppose that m n. Since X, there is an x0 X. Now, for any x Xm we have that x = (x1,,xm) where each xi X. Then define

yi = { xi1 i m x0m < i n

for i {1,,n}. Clearly yi X for every i {1,,n} so that y = (y1,,yn) Xn. Then set f(x) = y so that f : Xm Xn.

To show that f is injective consider x and x in Xm so that x = (x1,,xm) and x = (x1,,xm) where both xi and xi are of course in X for any i {1,,m}. Also suppose that xx so that it follows that there is an i {1,,m} where xixi. Let y = (y1,,yn) = f(x) and y = (y1,,yn) = f(x). Then, since clearly 1 i m, we have yi = xixi = yi by the definition of f. Hence we have f(x) = yy = f(x), which shows that f is injective since x and x were arbitrary. □

(b) Find a bijective map g : Xm × Xn Xm+n.

Proof. Consider any x Xm × Xn so that x = (a,b) where a Xm and b Xn. Then we have that a = (a1,,am) and b = (b1,,bn) where ai,bj X for every i {1,,m} and j {1,,n}. Then define

yk = { ak 1 k m bkmm < k m + n

for any k {1,,m + n}, noting that for m < k m + n we have m + 1 k m + n, and hence 1 k m n so that bkm is defined. Now set g(x) = y = (y1,,ym+n) so that clearly g(x) Xm+n since each yk X. Thus g is a function from Xm × Xn to Xm+n.

To show that g is injective, consider any x = (a,b) and x = (a,b) in Xm × Xn where xx. Also let y = (y1,,ym+n) = g(x) and y = (y1,,ym+n) = g(x). Since xx, it must be that aa or bb. In the former case we have that a = (a1,,am) and a = (a1,,am) since they are both in Xm. Since aa there is an i {1,,m} where aiai. Then, since clearly 1 i m, we have that yi = aiai = yi. In the latter case we have that b = (b1,,bn) and b = (b1,,bn) since they are both in Xn. Then, since bb, we have that there is an i {1,,n} such that bibi. Let k = m + i so that clearly k m = i. Also m < m + i = k m + n since 0 < 1 i n so that yk = bkm = bibi = bkm = yk. Hence in both cases there is a k {1,,m + n} such that ykyk so that g(x) = y = (y1,,ym+n) (y1,,ym+n) = y = g(x). Since x and x were arbitrary, this shows that g is indeed injective.

Now consider any y = (y1,,ym+n) Xm+n, and define ai = yi for any i {1,,m} and bj = ym+j for any j {1,,n}, noting that ym+j is defined since 0 < 1 j n implies that m < m + j m + n. Then let a = (a1,,am), b = (b1,,bn), and x = (a,b) so that clearly x Xm × Xn. Let y = g(x) as defined above so that y = (y1,,ym+n). Consider any k {1,,m + n}. If 1 k m then we have by the definition of g that yk = ak = yk. On the other hand, if m < k m + n, then we have yk = bkm = ym+(km) = yk. Thus in both cases yk = yk so that clearly g(x) = y = (y1,,ym+n) = (y1,,ym+n) = y since k was arbitrary. This shows that g is surjective since y was arbitrary.

Therefore we have shown that g is bijective as desired. □

(c) Find an injective map h : Xn Xω.

Proof. First, we know that X so that there is an x0 X. So, for any x = (x1,,xn) Xn, define

yi = { xi1 i n x0n < i

for any i +. Then set h(x) = y = (y1,y2,) so that clearly h(x) Xω. Thus h is a function that maps Xn into Xω.

To show that h is injective, consider x and x in Xn where xx. Clearly we have that x = (x1,,xn) and x = (x1,,xn), and let y = (y1,y2,) = h(x) and y = (y1,y2,) = h(x). Since xx, there must an i {1,,n} where xixi. Then we have yi = xixi = yi by the definition of h since obviously 1 i n. It then follows that h(x) = y = (y1,y2,) (y1,y2,) = y = h(x), which shows that h is injective since x and x were arbitrary. □

(d) Find a bijective map k : Xn × Xω Xω.

Proof. Consider any x = (a,b) Xn × Xω so that clearly a = (a1,,an) Xn and b = (b1,b2,) Xω. Then define the sequence

yi = { ai 1 i n binn < i

for any i +, noting that when n < i we have n + 1 i so that 1 i n so that bin is defined. We then of course set k(x) = y = (y1,y2,) so that clearly k(x) Xω. Therefore k is a function from Xn × Xω to Xω.

To show that k is injective consider x and x in Xn × Xω where xx. Of course we have x = (a,b) and x = (a,b) where a,a Xn while b,b Xω. It then follows that a = (a1,,an), a = (a1,,an), b = (b1,b2,), and b = (b1,b2,), where every ai, ai, bj, and bj are in X (for i {1,,n} and j +). Also, let y = (y1,y2,) = k(x) and y = (y1,y2,) = k(x). Now, since xx, we have that either aa or bb. If aa then there is an i {1,,n} where aiai. We then have that yi = aiai = yi by the definition of k, since obviously 1 i n. If, on the other hand, bb, then there is an i + such that bibi. Then clearly n < n + i since 0 < i so that yn+i = b(n+i)n = bibi = b(n+i)n = yn+i, noting that clearly n + i +. Hence in either case there is an i + such that yiyi so that k(x) = y = (y1,y2,) (y1,y2,) = y = k(x). This shows that k is injective since x and x were arbitrary.

Now consider any y = (y1,y2,) Xω and set ai = yi for any i {1,,n} so that clearly a = (a1,,an) Xn. Also, for any j +, let bj = yn+j so that clearly b = (b1,b2,) Xω. Let x = (a,b) so that clearly x Xn × Xω. Now set y = (y1,y2,) = k(x) as defined above. Consider any i +. If 1 i n then yi = ai = yi by the definition of k. If n < i then yi = bin = yn+(in) = yi. Hence yi = yi for every i + so that k(x) = y = (y1,y2,) = (y1,y2,) = y, which shows that k is surjective since y was arbitrary.

This completes the proof that k is bijective. □

(e) Find a bijective map l : Xω × Xω Xω.

Proof. Consider any x = (a,b) Xω × Xω so that clearly a = (a1,a2,) and b = (b1,b2,). Now define

yi = { ai2 i is even b(i+1)2i is odd

for any i +. Note that i2 and (i + 1)2 are in + if i is even or odd, respectively by Lemma 1 so that yi is defined. Clearly we have that yi X for any i + so that y = (y1,y2,) Xω. Setting l(x) = y, we then have that l is a function from Xω × Xω to Xω.

To show that l is injective, consider x = (a,b) and x = (a,b) in Xω × Xω where xx. Also set y = (y1,y2,) = l(x) and y = (y1,y2,) = l(x). Since xx, we have that either aa or bb. If aa then there is an i + such that aiai. Then, since clearly 2i is even, we have y2i = a(2i)2 = aiai = a(2i)2 = y2i. On the other hand, if bb then there is a j + where bjbj. Set k = 2j 1, noting that

1 j 2 2j 1 2j 1 1 k

so that k +. Clearly also (k + 1)2 = j. Since obviously k is odd, we have yk = b(k+1)2 = bjbj = b(k+1)2 = yk. Hence in both cases we have that there is a k + where ykyk so that l(x) = y = (y1,y2,) (y1,y2,) = y = l(x). Since x and x were arbitrary, this shows that l is injective.

Now consider any y = (y1,y2,) Xω. For any i +, define ai = y2i and bi = y2i1, noting again that 2i 1 + (and clearly 2i +). Then set a = (a1,a2,), b = (b1,b2,), and x = (a,b). Now let y = (y1,y2,) = l(x) and consider any i +. If i is even then we have by the definition of l that yi = ai2 = y2(i2) = yi. If i is odd then let j = (i + 1)2 so that clearly i = 2j 1. Then yi = b(i+1)2 = bj = y2j1 = yi. Hence in either case we have yi = yi so that l(x) = y = (y1,y2,) = (y1,y2,) = y since i was arbitrary. Since y was arbitrary this shows that l is surjective.

Thus we have shown that l is bijective as desired. □

(f) If A B, find an injective map m : (Aω) n Bω.

Proof. Consider any x (Aω) n so that x = (x1,,xn) where xi Aω for any i {1,,n}. Then let xij = xi(j) for i {1,,n} and j + so that clearly xij A, from which it follows that each xij B as well since A B. Consider any k +. Since n0 (since n +), it follows from the Division Theorem from algebra that there are unique integers q and 0 r < n where k = qn + r. Suppose for a moment that q < 0 so that q + 1 0. Then we have that k = qn + r < qn + n = (q + 1)n 0 n = 0 < k (since k +) since r < n and n > 0 (so that (q + 1)n 0 n since q + 1 0). This is of course a contradiction so it must be that q 0. Then set i = r + 1 1 and j = q + 1 1 so that i {1,,n} and j +. Set yk = xij so that clearly yk B since xij is. It then follows that y = (y1,y2,) Bω. Then set m(x) = y so that clearly m is a function from (Aω) n to Bω.

To show that m is injective, consider any x and x in (Aω) n where xx. Then x = (x1,,xn) and x = (x1,,xn) where each xi and xi are in Aω for i {1,,n}. As before set xij = xi(j) and xij = xi(j) for i {1,,n} and j +, and also let y = m(x) and y = m(x). Now, since xx, there is an i {1,,n} where xixi. It then follows that there is a j + such that xij = xi(j)xi(j) = xij. Now let k = (j 1)n + (i 1) so that it follows from the definition of m that yk = xij and yk = xij since the quotient q and remainder r are unique by the Division Theorem. Hence yk = xijxij = yk so that clearly m(x) = y = (y1,y2,) (y1,y2,) = y = m(x). This shows that m is injective as desired since x and x were arbitrary. □

User profile picture
2019-12-01 00:00
Comments