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:R⋅→R⋅ defined by f(x)=x1 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⋅’?
Solution
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
⇒x11=x21
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:R⋅→R⋅ where ‘R⋅’ is the set of all non-zero real numbers defined by f(x)=x1.
Let y=f(x), such that y∈R⋅. Therefore, we can write
⇒y=x1
On cross multiplying we get
⇒x=y1
Since, the denominator can’t be zero.
∴y=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).
Putting the value of x in f(x), we get
⇒f(x)=f(y1)
Substituting y1 in the function, we get
⇒f(x)=y11
On simplification,
⇒f(x)=y
Thus, for every y∈R⋅, there exists x∈R⋅ 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:N→R⋅
Again, we will check if f:N→R⋅ defined by f(x)=x1 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
⇒x11=x21
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:N→R⋅ defined by f(x)=x1.
Let y=f(x), such that y∈R⋅. Therefore, we can write
⇒y=x1
On cross multiplying we get
⇒x=y1
Here, x cannot always be a natural number because y is a real number except zero.
For example, let y=3 then x=31, which is not a natural number.
Hence, f is not onto.
Note: We can also show that f:R⋅→R⋅ defined by f(x)=x1 is onto by a graphical method.
Consider the graph of f(x)=x1 as shown below,
Clearly, we can see that the range of the function f:R⋅→R⋅ defined by f(x)=x1 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, f is not onto.