The correct option is D neither an one-one nor an onto function
f(x)=e|x|−e−xex+e−x
If x≤0,f(x)=e−x−e−xex+e−x=0
⇒f(−2)=f(−3)=0
∴f is not a one-one function.
If x>0,f(x)=ex−e−xex+e−x
⇒f(x)=e2x−1e2x+1
We know,
e2x−1<e2x+1 ∀ x∈R
⇒e2x−1e2x+1<1
⇒f(x)<1 ∀ x∈R
So, pre image of 1 does not exist.
∴f is also not an onto function.