CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
103
You visited us 103 times! Enjoying our articles? Unlock Full Access!
Question

Let f:WW be defined as f(n)=n-1, if n is odd and f(n)=n+1, if n is even. Show that f is invertible. Find the inverse of f.
Here, W is the set of all whole numbers.

Open in App
Solution

It is given that
f:WW is defined as f(n)={n1, if n is oddn+1, if n is even
For one-one,
Let f(n)=f(m)
It can be observed that if n is odd and m is even, then we will have
n-1=m+1 nm=2
However, this is impossible. Similarly, the possibility of n being even and m being odd can also ignored under a similar argument.
Therefore, both n and m must be either odd or even.

Now, if both n and m are odd, then we have
f(n)=f(m)n1=m1n=m
Again, if both n and m are even, then we have
f(n)=f(m)n+1=m+1n=m
Therefore, f is one-one.
For onto.
It is clear that any odd number 2r +1 in co-domain W is the image of 2r in domain W and any even number 2r in co-domain W is the image of 2r +1 in domain W.
Therefore, f is onto Hence, f is an invertible function.

Let us define g:W as g(m)={m+1,ifm is evenm1,ifm is odd
Now, when n is odd gof(n)=g(f(n))=g(n-1)=n-1+1=n
( when n is odd, n-1 is even).
and when n is even gof(n)=g(f(n))=g(n+1)=n+1 -1 =n
( when n is even, n +1 is odd).
Similarly, when m is odd fog(m)=f(g(m))=f(m-1)=m-1+1=m
when m is even fog(m)=f(g(m))=f(m+1)=m+1-1=m
gof=Iw and fog=IW
Thus, f is invertible and the inverse of f is given by f1=g, which is the same as f. Hence, the inverse of f is itself.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Quantum Numbers
CHEMISTRY
Watch in App
Join BYJU'S Learning Program
CrossIcon