Exercise 7.2

Show that the maps f and g of Examples 1 and 2 are bijections.

Answers

It is claimed in Example 7.1 that the function

f(n) = { 2n n > 0 2n + 1 n 0

is a bijection from to +.

Proof. To show that f is injective, consider n,m where nm.

Case: n > 0. Then f(n) = 2n, which is clearly even. If m > 0, then clearly f(n) = 2n2m = f(m) since nm. If m 0 then f(m) = 2m + 1 = 2(m) + 1 is clearly odd so that it must be that f(n)f(m).

Case: n 0. Then f(n) = 2n + 1 = 2(n) + 1, which is clearly odd. If m > 0 then f(m) = 2m is even so that it has to be that f(n)f(m). If m 0 then f(m) = 2m + 1 2n + 1 = f(n) since nm.

Thus in every case f(n)f(m), which shows that f is injective since n and m were arbitrary.

To show that f is surjective, consider any k +. If k is even then k = 2n for some n +. Hence n > 0 (since k > 0 and n = k2) so that f(n) = 2n = k, noting that n since + . If k is odd then k = 2m 1 for some m +. So let n = 1 m so that clearly n is an integer and

m 1 (since m +) m 1 1 m 0 n 0.

Thus f(n) = 2n + 1 = 2(1 m) + 1 = 2 + 2m + 1 = 2m 1 = k. This shows that f is surjective since k was arbitrary. Therefore we have shown that f is a bijection as desired. □

Regarding Example 7.2, the following set is defined:

A = {(x,y) + × +y x}.

Then the function f is defined from + × + to A by

f(x,y) = (x + y 1,y)

for (x,y) + × +. It is claimed that f is a bijection.

Proof. First, it is not even clear that the range of f is constrained to A, so let us show this. Consider any (x,y) + × + so that f(x,y) = (x + y 1,y). Since x 1 and y 1, we have that x + y 1 + 1 = 2 > 1 so that x + y 1 > 0 and hence x + y 1 +. Thus clearly f(x,y) = (x + y 1,y) + × +. We also have

1 x 0 x 1 y x + y 1.

Therefore it is clear that f(x,y) = (x + y 1,y) A by definition.

To show that f is injective consider (x,y) and (x,y) in + × + where f(x,y) = (x + y 1,y) = (x + y 1,y) = f(x,y). Thus x + y 1 = x + y 1 and y = y. Therefore x + y 1 = x + y 1 = x + y 1, from which it obviously follows that x = x as well. Then (x,y) = (x,y), which shows that f is injective since (x,y) and (x,y) were arbitrary.

Now consider any (z,y) A so that (z,y) + × + and y z. Let x = z y + 1 so that clearly z = x + y 1. We also have

y z = x + y 1 0 x 1 1 x

so that (x,y) + × +. Since also we have f(x,y) = (x + y 1,y) = (z,y), f is surjective since (z,y) was arbitrary. This completes the proof that f is a bijection. □

The function g is then defined from A to + by

g(x,y) = 1 2(x 1)x + y

for (x,y) A. This is also claimed to be a bijection.

Proof. First, we show that the range of g is indeed + since this is not obvious. Consider any (x,y) A so that (x,y) + × + and y x. First, if x is even then x = 2n for some n . Then g(x,y) = (x 1)x2 + y = (2n 1)(2n)2 + y = (2n 1)n + y, which is clearly an integer. If x is odd then x = 2n + 1 for some integer n so that

g(x,y) = (x 1)x2 + y = (2n + 1 1)(2n + 1)2 + y = (2n)(2n + 1)2 + y = n(2n + 1) + y,

which is also clearly an integer. We also have that y < 0 since y > 0 so that

x 1 x 1 0 1 2(x 1) 0 (since 12 > 0) 1 2(x 1)x 0 > y (since x > 0) 1 2(x 1)x + y > 0 g(x,y) > 0.

Since we have shown that g(x,y) as well, it follows that g(x,y) +.

Consider any (x,y) A so that (x,y) + × + and y x. Then clearly

g(x,y) = 1 2(x 1)x + y 1 2(x 1)x + x < 1 2(x 1)x + x + 1 = 1 2(x2 x + 2x) + 1 = 1 2(x2 + x) + 1 = 1 2x(x + 1) + 1 = 1 2(x + 1 1)(x + 1) + 1 = g(x + 1,1).

A simple inductive argument shows that g(x,y) < g(x + n,1) for any n +. This was just shown for n = 1. Then, assuming it true for n, we have that g(x,y) < g(x + n,1) < g((x + n) + 1,1) = g(x + (n + 1),1), which completes the induction.

So consider any (x,y) and (x,y) in A so that (x,y) and (x,y) are in + × +, y x, and y x. Also suppose that (x,y)(x,y) so that either xx or yy. If x = x then it has to be that yy so that clearly

y y 1 2(x 1)x + y 1 2(x 1)x + y 1 2(x 1)x + y 1 2(x 1)x + y g(x,y) g(x,y).

If xx then we can assume that x < x. Then let n = x x so that clearly n > 0 and x = x + n. By what was just shown, we have

g(x,y) < g(x + n,1) = g(x,1) = 1 2(x 1)x + 1 1 2(x 1)x + y = g(x,y)

since 1 y. Thus g(x,y)g(x,y). Since this is true in both cases, this shows that g is injective since (x,y) and (x,y) were arbitrary.

To show that g is also surjective, consider any z +. Define the set B = {x +g(x,1) z}. First, we have that g(1,1) = 1 z since z + so that 1 B and therefore B. If z = 1 then clearly z = 1 1 = g(1,1) = g(z,1). If z1 then we have

2 z 1 1 2z z 1 1 2(z 1)z z 1 2(z 1)z + 1 z g(z,1)

Now consider any x,y + where x < y. It then follows from what was shown above that g(x,1) g(x,y) < g(x + 1,1). From this we clearly have that the function g(x,1) is monotonically increasing in x, i.e. for x,y +, x < y implies that g(x,1) < g(y,1). By the contrapositive of this, g(x,1) g(y,1) implies that x y. With this in mind, consider any x B so g(x,1) z g(z,1). Then this implies that x z, which shows that z is an upper bound of B since x was arbitrary.

We have thus shown that B is a nonempty set of integers that is bounded above. It then follows from Exercise 4.9 part (a) that B has a largest element x. Now let y = z g(x,1) + 1, noting that, since x B,

g(x,1) z 0 z g(x,1) 1 z g(x,1) + 1 1 y

and hence y + so that (x,y) + × +. We also must have that z < g(x + 1,1) since otherwise we would have that x + 1 B, which would violate the definition of x as being the largest element of B. Thus we have

z g(x + 1,1) 1 z 1 2(x + 1 1)(x + 1) + 1 1 z 1 2(x + 1)x z x + 1 2(x 1)x z x + 1 2(x 1)x + 1 1 z x + g(x,1) 1 z g(x,1) + 1 x y x

so that (x,y) A.

Lastly, since y = z g(x,1) + 1, we clearly have

z = y + g(x,1) 1 = y + 1 2(x 1)x + 1 1 = 1 2(x 1)x + y = g(x,y).

This shows that g is surjective since z was arbitrary, thereby completing the long and arduous proof that g is a bijection. □

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