I am searching for an example of the function with the following property.
For given function $f : \mathbb{R}\rightarrow\mathbb{R}$, both $e^{x}f(x)$ and $e^{-f(x)}$ are monotonically decreasing.
I think since $e^{-f(x)}$ is monotonically decreasing, so that $f(x)$ should increase but it does not easily come up with that kind of function which makes $e^{x}f(x)$ monotonically decreasing. How can I find the example?
EDIT: The original question is after we assume the function with that kind of property, prove the function $f$ is continuous.
How about $f(x)\equiv -1$? Any constant function is monotonically increasing and monotonically decreasing!