Show that the function defined by is one-one and onto, where is the set of all non-zero real numbers. Is the result true, if the domain is replaced by with co-domain being same as ?
Exercise 1.2 · Question 1 of 12
Show that the function f : R ^ R ^ defined by f(x) = 1/x is one-one and onto, where R ^ is the set of all non-zero…
Part 1: given by
is one-one. Let with . Then
Cross-multiplying gives . So equal images force equal inputs, and is one-one.
is onto. Let be any element of the co-domain . Since , the number is a real number, and it is non-zero, so . For this ,
So every element of the co-domain is an image of some element of the domain, and is onto.
Hence is one-one and onto, that is, a bijection.
Part 2: the domain replaced by , the co-domain still
Call the original function and the new function , .
is still one-one. If , then , which gives .
is not onto. To show a function is not onto we must point to one element of the co-domain that is the image of nothing in the domain. Take . If had a pre-image, there would be a natural number with
and is not a natural number. So no element of is sent to , and has no pre-image under .
Indeed the whole range of is , a small part of ; every other non-zero real number, such as , or , is missed.
Conclusion. The result is not true when the domain is replaced by . With domain and co-domain the function is one-one but not onto, so it is not a bijection.

