Let f:W → W be defined as f(n) = n − 1, if is odd and f(n) = n + 1, if n is even.

0 votes
18 views
asked Jan 12, 2018 in Mathematics by sforrest072 (157,439 points) 60 409 932

Let f:W  → W be defined as f(n) = n − 1, if 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.

1 Answer

0 votes
answered Jan 12, 2018 by mdsamim (213,225 points) 5 10 15
edited Mar 6, 2018 by Vikash Kumar
 
Best answer

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.

⇒ n − m = 2

However, this is impossible.
Similarly, the possibility of n being even and m being odd can also be ignored under a similar argument.
∴ Both n and m must be either odd or even. Now, if both n and m are odd, Then, we have

Hence, f is an invertible function.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

One Thought Forever

“There is a close connection between getting up in the world and getting up in the morning.“
– Anon
~~~*****~~~

...