S 2 Sol
S 2 Sol
S 2 Sol
This work to be handed in Hand in work to your tutor by 13:00, Monday Oct 15.
1. In each case, determine whether the statement really defines a map, or it is defective in some way.
(a) f : C C defined by f (z) = 1/z for each z C.
Solution This is not a map because f (0) is not assigned a value. You could rectify this by making 0 an
exception, and defining f (0) as you please.
(b) g : C C defined, for each z C, by letting g(z) be the complex number such that g(z)2 = z.
Solution This is not a map because the alleged recipe is ambiguous. For example i2 = (i)2 = 1, so
g(1) is not properly defined.
(c) h is the function cos x.
Solution This is not a map because neither domain nor codomain is specified.
(d) j : R R defined, for each x R, by j(x) = sin(cos(tan(x))).
Solution This is not a map because tan /2 is not a real number.
p
(e) k : Q Q by, for each x Q, k(x) = |x| (with the convention that
means take the non-negative
square root).
(a) Suppose that g f and f g are both bijective. Does it follow that f and g are both bijective?
Solution By 5(a) both f and g are injective. By 5(d) both f and g are surjective. Therefore both f and
g are bijective.
(b) Suppose that f f is bijective. Does it follow that f is bijective?
Solution By 5(a) f is injective. By 5(d) f is surjective, Therefore f is bijective. Alternatively use 6(a)
and put g = f .
(c) Suppose that f g f is bijective. Does it follow that g is bijective?
Solution f g f = (f g) f so by 5(a), f is injective. Also f g f = f (g f ), so by 5(d) f is
surjective. Therefore f is bijective and has an inverse map f 1 . Now f 1 (f g f ) is the composition
of bijective maps and so is bijective. However f 1 (f g f ) = (f 1 f ) (g f ) = IdA (g f ) = g f
is bijective. Now (g f ) f 1 = g (f f 1 ) = g IdA = g is the composition of bijective maps and so is
bijective.
7. Consider the maps f, g : Z Z defined by f (x) = x + 1 for each x Z and g(x) = 2x for each x Z.
(a) Determine all maps h : Z Z such that f h = h f .
Solution Suppose that h is such a map. Then h(x) + 1 = h(x + 1) for each integer x (?). Let h(0) = t
for some t N. We claim that h(y) = t + y for every y Z.
We will prove this by induction on y when y N. Suppose that the result is true when y = r and try to
deduce that the result holds when y = r + 1. Now h(r + 1) = h(r) + 1 by (?). By inductive hypothesis,
h(r) = t + r so h(r + 1) = h(r) + 1 = (t + r) + 1 = t + (r + 1). This is precisely what is required, so
h(y) = t + y for all natural numbers y.
Now suppose that y < 0. Let z = y. We will prove by induction on z N that h(z) = t z. This result
holds when z = 0. Suppose that the result holds when z = r, and try to deduce that the result holds when
z = r + 1. Now h(r) = h(r 1) + 1 by (?). Therefore h(r 1) = h(r) 1. Now h(r) = t r by
inductive hypothesis. Therefore h(r 1) = (t r) 1 = t (r + 1). This is precisely what is required,
so h(y) = t y for all natural numbers y.
Since h(0) = t, it follows that h(x) = t + x for all integers x.
We have not finished, because all we have done is to show that if h commutes (in the sense of composition)
with f , then h must be one of these maps given by the recipe h(x) = t + x where t is fixed, and x is
arbitrary. We have to check to see if any of the maps of this form actually do commute with f . Suppose
that t is an integer and that h(x) = t + x for all x Z. We need to compare f h and h f . They
both have domain Z and codomain Z, so the action is the only thing at issue. Suppose that w Z. Then
(f h)(w) = f (h(w)) = f (t+w) = t+w +1. On the other hand (hf )(w) = h(f (w)) = h(w +1) = t+w +1.
Therefore f h = h f and all maps of the given form commute with f . Note, by the way, that all these
maps h are bijections, something which was not specified in advance.
(b) Determine all maps j : Z Z such that g j = j g.
Solution A map j : Z Z satisfies our condition if, and only if, g(j(x)) = j(g(x)) i.e. 2j(x) = j(2x)
for each x Z. We can manufacture functions which obey this condition readily: for odd m we assign the
value of j(m) arbitrarily (i.e. just select an integer value, and you can choose different values for different
odd m). The value 0 is special, since 2j(0) = j(0) so j(0) = 0. If n is even but not 0, define f (n) to be
2f (n/2). This is an inductive definition, since if n/2 happens to be even, the definition requires f (n/2) to
be 2f (n/4) and so on. Any map we make in this way will satisfy the condition, and so will commute with
g.
(c) Determine all maps k : Z Z such that both f k = k f and g k = k g.
Solution We are looking for functions k which arise as solutions to both previous parts. Thus there must
be an integer t such that k(x) = t + x for each x Z by part (a). Now from part (b), k(0) = 0 so t = 0.
We need look no further. There is only one possibility; k is the identity function. Now IdZ does commute
with f and g, and in fact it (composition) commutes with all maps from Z to Z.
8. Exhibit (i.e. give examples of) bijections between the given sets:
(a) Domain N, codomain Z.
Solution We define such a map f : N Z. If n is even, let f (n) = n/2. If n is odd, then f (n) = (1n)/2.
aj 2j1 .
j=1
The apparently infinite nature of this sum is spurious, since all but finitely many summands are 0. In fact
one should neglect all such summands, so that we end up doing algebra rather than analysis. An exception
must be made for the empty set, and then () = 1. The map is injective, since different non-negative
integers have different
binary representations. Moreover, is surjective, since if m N {0} has binary
P
j1 , then we define t S via i t if, and only if, a = 1. Then (t) = m + 1.
a
representation
i
j=1 j 2
9. (A little trickier) Suppose that S is a finite set of size n and that f : S S is a bijection. Define f 0 = IdS
and if m > 0 is a positive integer, then we define f m to be f f m1 . Prove that f n! = IdS , the identity map
from S to S.
Solution If S = the result is clear so we may assume that S 6= . Suppose that s S. Consider the n + 1
terms s, f (s), f 2 (s), . . . , f n (s). We introduce the notation f 0 (s) for s. Since there are only n elements of S, two
of these terms must coincide (they must be the same). Therefore there are integers u, v with 0 u < v n
such that f u (s) = f v (s). Now f is a bijection with inverse f 1 . Apply the map (f 1 )u to both sides, to discover
that s = f vu (s). Now 0 < v u = k n. Therefore there is a positive integer k with k n and f k (s) = s.
Now k is a divisor of n! since it appears in the list 1, 2, 3, . . . , n. Therefore n! = kl for some positive integer l.
Now
f n! (s) = f kl (s) = (f k f k f k )(s)
where there are l maps of the form f k being composed. Now f k (s) = s so f n! (s) = s. Since s S was arbitrary,
this forces f = IdS .
10. Tutor pacifier. For enthusiasts only. Prove that there exist two functions f, g : R R such that f g is
strictly decreasing and g f is strictly increasing. A map h : R R is said be strictly increasing (respectively
decreasng) if whenever x, y R and x < y, then h(x) < h(y) (respectively h(x) > h(y)).
Solution Not yet!