Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Show that the function f:RR defined by f(x)=1x is one-one and onto, where ‘R’ is the set of all non-zero real numbers. Is the result true, if the domain ‘R’ is replaced by N with a co-domain being the same as ‘R’?

Answer
VerifiedVerified
410.1k+ views
like imagedislike image
Hint: To find whether the given function is one-one or not, we will take two elements x1 and x2 in the set of the domain of the given function and the we will substitute f(x1)=f(x2). If x1=x2, then f(x) is a one-one function. To check that the given function is onto or not, we will check if the range of f(x) is equal to the co-domain or not.

Complete step-by-step solution:
It is given that the function is defined for all non-zero real numbers and over all non-zero real numbers. Therefore, both domain and co-domain of the given function consist of the set of all non-zero real numbers.
Assume two elements x1 and x2 in the set of the domain of the given function. Therefore,
f(x1)=f(x2)
Substituting x1 and x2 in the function, we get
1x1=1x2
On cross multiplying, we get
x2=x1
On rewriting we get
x1=x2
Hence, we can see that, when f(x1)=f(x2) then x1=x2. Therefore, f is one-one.
Now we will check whether f is onto or not.
Given, f:RR where ‘R’ is the set of all non-zero real numbers defined by f(x)=1x.
Let y=f(x), such that yR. Therefore, we can write
y=1x
On cross multiplying we get
x=1y
Since, the denominator can’t be zero.
y0
Therefore, we can say that if yR{0}, then xR{0} also.
Now, we will check for y=f(x).
Putting the value of x in f(x), we get
f(x)=f(1y)
Substituting 1y in the function, we get
f(x)=11y
On simplification,
f(x)=y
Thus, for every yR, there exists xR such that f(x)=y.
Hence, f is onto.
Now, when the domain R is replaced by N with co-domain being same as ‘R
So, we get f:NR
Again, we will check if f:NR defined by f(x)=1x is one-one or not.
Assume two elements x1 and x2 in the set of the domain of the given function. Therefore,
f(x1)=f(x2)
Substituting x1 and x2 in the function, we get
1x1=1x2
On cross multiplying, we get
x2=x1
On rewriting we get
x1=x2
Hence, we can see that, when f(x1)=f(x2) then x1=x2. Therefore, f is one-one.
Now, we will check that f is onto or not.
We have, f:NR defined by f(x)=1x.
Let y=f(x), such that yR. Therefore, we can write
y=1x
On cross multiplying we get
x=1y
Here, x cannot always be a natural number because y is a real number except zero.
For example, let y=3 then x=13, which is not a natural number.
Hence, f is not onto.

Note: We can also show that f:RR defined by f(x)=1x is onto by a graphical method.
Consider the graph of f(x)=1x as shown below,
seo images

Clearly, we can see that the range of the function f:RR defined by f(x)=1x is R{0}.
The range of the given function is all real numbers except zero. Hence, the range and codomain of the function are equal.
Therefore, f is not onto.