Step 1: Understanding the Concept
A function is injective if \(f(a)=f(b)\) implies \(a=b\), and surjective if every real y has a pre-image.
Step 2: Injectivity
\(\dfrac{2a}{a-1}=\dfrac{2b}{b-1}\Rightarrow 2a(b-1)=2b(a-1)\Rightarrow -2a=-2b\Rightarrow a=b\).
So f is injective.
Step 3: Surjectivity
Let \(y=\dfrac{2x}{x-1}\). Then \(yx-y=2x\), so \(x=\dfrac{y}{y-2}\), which does not exist for \(y=2\).
So 2 is not in the range and f is not onto.
Step 4: Compare the options
The function is injective but not surjective.
Final Answer:
The function is injective but not surjective.
\[ \boxed{\text{(D) }\text{injective but not surjective.}} \]