I would appreciate if one could help me with the following Mathematica problem:
Assume $X$ is an exponential random variable with unit mean ($f_X(x)=e^{-x}$, $x>0$). I want to calculate expected value of $\frac{1}{X}$. Since $X>0$, I am expecting that $\mathbb{E}(\frac{1}{X})>0$, but Mathematica gives some negative value. I tried the following line on Mathematica:
Expectation[1/x, {x \[Distributed] ExponentialDistribution[1]}]
and Mathematica's answer is: -EulerGamma
Is it possible? Am I doing some mistakes?
