Solveeit Logo

Question

Question: Show that the function \[f:R \cdot \to R \cdot \] defined by \[f(x) = \dfrac{1}{x}\] is one-one and ...

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

Explanation

Solution

To find whether the given function is one-one or not, we will take two elements x1{x_1} and x2{x_2} in the set of the domain of the given function and the we will substitute f(x1)=f(x2)f\left( {{x_1}} \right) = f\left( {{x_2}} \right). If x1=x2{x_1} = {x_2}, then f(x)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)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{x_1} and x2{x_2} in the set of the domain of the given function. Therefore,
f(x1)=f(x2)f\left( {{x_1}} \right) = f\left( {{x_2}} \right)
Substituting x1{x_1} and x2{x_2} in the function, we get
1x1=1x2\Rightarrow \dfrac{1}{{{x_1}}} = \dfrac{1}{{{x_2}}}
On cross multiplying, we get
x2=x1\Rightarrow {x_2} = {x_1}
On rewriting we get
x1=x2\Rightarrow {x_1} = {x_2}
Hence, we can see that, when f(x1)=f(x2)f\left( {{x_1}} \right) = f\left( {{x_2}} \right) then x1=x2{x_1} = {x_2}. Therefore, ff is one-one.
Now we will check whether ff is onto or not.
Given, f:RRf:R \cdot \to R \cdot where ‘RR \cdot ’ is the set of all non-zero real numbers defined by f(x)=1xf(x) = \dfrac{1}{x}.
Let y=f(x)y = f(x), such that yRy \in R \cdot . Therefore, we can write
y=1x\Rightarrow y = \dfrac{1}{x}
On cross multiplying we get
x=1y\Rightarrow x = \dfrac{1}{y}
Since, the denominator can’t be zero.
y0\therefore y \ne 0
Therefore, we can say that if y \in R - \left\\{ 0 \right\\}, then x \in R - \left\\{ 0 \right\\} also.
Now, we will check for y=f(x)y = f(x).
Putting the value of xx in f(x)f(x), we get
f(x)=f(1y)\Rightarrow f(x) = f\left( {\dfrac{1}{y}} \right)
Substituting 1y\dfrac{1}{y} in the function, we get
f(x)=11y\Rightarrow f(x) = \dfrac{1}{{\dfrac{1}{y}}}
On simplification,
f(x)=y\Rightarrow f(x) = y
Thus, for every yRy \in R \cdot , there exists xRx \in R \cdot such that f(x)=yf(x) = y.
Hence, ff is onto.
Now, when the domain RR \cdot is replaced by NN with co-domain being same as ‘RR \cdot
So, we get f:NRf:N \to R \cdot
Again, we will check if f:NRf:N \to R \cdot defined by f(x)=1xf(x) = \dfrac{1}{x} is one-one or not.
Assume two elements x1{x_1} and x2{x_2} in the set of the domain of the given function. Therefore,
f(x1)=f(x2)f\left( {{x_1}} \right) = f\left( {{x_2}} \right)
Substituting x1{x_1} and x2{x_2} in the function, we get
1x1=1x2\Rightarrow \dfrac{1}{{{x_1}}} = \dfrac{1}{{{x_2}}}
On cross multiplying, we get
x2=x1\Rightarrow {x_2} = {x_1}
On rewriting we get
x1=x2\Rightarrow {x_1} = {x_2}
Hence, we can see that, when f(x1)=f(x2)f\left( {{x_1}} \right) = f\left( {{x_2}} \right) then x1=x2{x_1} = {x_2}. Therefore, ff is one-one.
Now, we will check that ff is onto or not.
We have, f:NRf:N \to R \cdot defined by f(x)=1xf(x) = \dfrac{1}{x}.
Let y=f(x)y = f(x), such that yRy \in R \cdot . Therefore, we can write
y=1x\Rightarrow y = \dfrac{1}{x}
On cross multiplying we get
x=1y\Rightarrow x = \dfrac{1}{y}
Here, xx cannot always be a natural number because yy is a real number except zero.
For example, let y=3y = 3 then x=13x = \dfrac{1}{3}, which is not a natural number.
Hence, ff is not onto.

Note: We can also show that f:RRf:R \cdot \to R \cdot defined by f(x)=1xf(x) = \dfrac{1}{x} is onto by a graphical method.
Consider the graph of f(x)=1xf(x) = \dfrac{1}{x} as shown below,

Clearly, we can see that the range of the function f:RRf:R \cdot \to R \cdot defined by f(x)=1xf(x) = \dfrac{1}{x} is R - \left\\{ 0 \right\\}.
The range of the given function is all real numbers except zero. Hence, the range and codomain of the function are equal.
Therefore, ff is not onto.