A) For f(x)=x3, let f(x1)=f(x2)
or, x31=x32
or, x1=x2.[As x1,x2∈Z]
So for f(x1)=f(x2)⇒x1=x2, so f(x) is one-one.
The function is not onto as 2 is point in the co-domain which has no pre-image in the domain.
Let,
f(x)=2.
or, x3=2
or, x=213∉Z.
So f(x) is not onto.
∴f(x) is one-one but not onto, so not bijective.
(B) For f(x)=2x+1 is an one-one function but not onto.
f is one-one as for f(x1)=f(x2)⇒x1=x2.
But f is not onto.
As for example 2∈ the co-domain of f.
Now for 2=2x+1
or, x=12∉Z.
So there exists one such point in the co-domain of the function which have no pre-image in the domain of the function.
So f is not onto.
So f in this case is not bijective.