f(x)=x+sinx
differentiating
we get 1+cosx
for a fn to have an inverse it should be strictly increasing or decreasing.
1+cosx>0
implies cosx>-1
since u didnt mention any restriction on interval
cosx can take -1 value as we all know.
so it is not always strictly increasing.
so no inverse exists