Question
Question: Which of the following functions from Z to Z is both one-one and onto ?...
Which of the following functions from Z to Z is both one-one and onto ?

A
f(x)=2x−1
B
f(x)=3x2+5
C
f(x)=x+5
D
f(x)=5x3
Answer
f(x)=x+5
Explanation
Solution
A function f:Z→Z is one-one if f(x1)=f(x2)⟹x1=x2, and onto if for every y∈Z, there exists an x∈Z such that f(x)=y.
- f(x)=2x−1: One-one, but not onto (e.g., y=0 has no integer solution for x).
- f(x)=3x2+5: Not one-one (f(2)=f(−2)) and not onto.
- f(x)=x+5: One-one and onto (for any y∈Z, x=y−5∈Z such that f(x)=y).
- f(x)=5x3: One-one, but not onto (e.g., y=1 has no integer solution for x).
