Consider the following statements:
1. A function f : Z → Z, defined by f(x) = x + 1, is one-one as well as onto.
2. A function f : N → N, defined by f(x) = x + 1, is one-one but not onto.
Which of the above statements is/are correct?
1
1 only
2
2 only
3
Both 1 and 2
4
Neither 1 nor 2