The correct option is D f is neither an injection nor a surjection
Given equation is f(x)=ex−e−xex+e−x
⇒f(x)=e2x−1e2x+1
Let's check if f(x) is injective .
Let f(x)=f(y)
⇒e2x−1e2x+1=e2y−1e2y+1
⇒2e2x=2e2y
⇒e2(x−y)=0
which does not implies x=y
Hence, f(x) is not injective.
Now, we will check if f(x) is onto.
Let y=e2x−1e2x+1
⇒e2x=21−y
⇒x=12log(21−y)
⇒21−y>0
⇒y<1
Clearly , y≥0
Hence, range of f is [0,1)
Range of f ≠ Co-domain R.
Hence, f is not surjective.