wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let f:WW be defined as

f(n)={n-1, if n is oddn+1, if n is even.

Show that f is invertible and find the inverse of f. Here, W is the set of all whole numbers.

Open in App
Solution

Let n1and n2 be two distinct elements of W.

To Prove : f is one-one.

Case I. When n1 and n2 are both odd

Here, n1n2

n11n21

f(n1)f(n2)

Case II, When n1 and n2 are both even

Here, n1n2

n1+1n2+1

f(n1)f(n2)

Case III. When n1 is odd and n2 is even

Here, f(n1)=n11 is even

f(n2)=n2+1 is odd

f(n1)f(n2)

Case IV. When n1 is even and n2 is odd

Here, f(n1)=n1+1 is odd

f(n2)=n21 is even

f(n1)f(n2)

Thus, in all cases n1n2f(n1)f(n2)

f is one-one

To Prove : f is onto

If nW is any element, then

f(n1)=n, if n is odd

and f(n+1)=n, if n is even

Each element of W is f image of some element of W.

Thus f is onto

Hence, f is invertible

Now, f(n1)=n, if n is odd

f(n+1)=n, if n is even

n1=f1 (n), if n is odd

n+1=f1 (n), if n is even

Thus, f1(n)={n1,ifn is oddn+1,ifn is even.

Hence, f1=f

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Validity of Statements
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon