
CMSC250, Spring 2004 Homework 12
Due Wednesday, April 28 at the beginning of your discussion section.
You must write the solutions to the problems single-sided on your own lined
paper, with all sheets stapled together, and with all answers written in sequential
order or you will lose points.
1. Prove or disprove the following:
(a) f: (0,โ)โRdefined by f(x) = ln(x) is 1-1.
(b) f: (0,โ)โRdefined by f(x) = ln(x) is onto.
2. Let Aand Bbe sets, and f:AโBbe the function f(x) = x2. For each of the four
following questions, define the sets Aand Bsuch that fis
(a) 1-1 and onto.
(b) 1-1 but not onto.
(c) onto but not 1-1.
(d) neither 1-1 nor onto.
Note: You do not need to prove that each of your definitions of Aand Bhas the
desired properties; just give the sets.
3. Let fbe an arbitrary bijective function from Rto R.
(a) Define a function g1:RโRin terms of fso that g1is 1-1 but not onto. Prove
that g1satisfies this criteria.
(b) Define a function g2:RโRin terms of fso that g2is onto but not 1-1. Prove
that g2satisfies this criteria.
4. Let Ddenote the set of odd integers.
That is, D={nโZ|n= 2k+ 1 for some integer k}.
(a) Define a bijective function h1:DโZ. Prove that h1is a bijection.
(b) Define a bijective function h2:ZโD. Prove that h2is a bijection.
1