Show that f : N → N, given by
![f(x) = \begin{cases} \text{x + 1, if x is odd, \ \textless \ br /\ \textgreater \ }\\ \\ \text{x - 1, if x is even}\\ \end{cases} f(x) = \begin{cases} \text{x + 1, if x is odd, \ \textless \ br /\ \textgreater \ }\\ \\ \text{x - 1, if x is even}\\ \end{cases}](https://tex.z-dn.net/?f=f%28x%29+%3D+%5Cbegin%7Bcases%7D+%5Ctext%7Bx+%2B+1%2C+if++x++is++odd%2C+%5C++%5Ctextless+%5C+br+%2F%5C++%5Ctextgreater+%5C+%7D%5C%5C++%5C%5C+%5Ctext%7Bx+-+1%2C+if++x++is++even%7D%5C%5C++%5Cend%7Bcases%7D+)
is both one-one and onto.
Answers
Answered by
11
cheack the pic upper sode
Attachments:
![](https://hi-static.z-dn.net/files/d83/0038f27bb41253d8b1eb684dc481b51c.jpg)
Answered by
20
For one-one :
- f(a),f(b) are not equal if one is even and other is odd, since if a is even and b is odd, a−1 is odd and b+1 is even.
Similar questions