The correct option is B injective but not surjective
Given f(x)=2xx−1
f′(x)=−1(x−1)2<0 ∀ x∈A
⇒f is decreasing in its domain.
Hence, f is injective.
Let y=f(x)
⇒y=2xx−1
⇒x=yy−2
If y=3, then x=33−2=1>0
But it is given, x is not a positive integer.
So, function is not surjective.