a. Let n1=−1,n2=1,n1,n2∈Z,n1=n2
f(n1)=f(−1)=(−1)2+1=2
f(n2)=f(1)=(1)2+1=2 We see that
f(n1)=f(−1)=1=f(1)=f(n2), but n1=−1=1=n2.
Therefore the function f(n)=n2+1,n∈Z is not one-to-one from Z to Z.
b. Let f(n1)=f(n2). It means that
n1=n2The function f(n)=n is bijective (one-to-one ) from Z to Z.
Comments
Leave a comment