Suppose $X$ has an exponential distribution with parameter $5$. How would I compute $E[1/x]$? If I use the definition of expected value, I get:
$\int_{0}^{\infty} \frac{5e^{-5 x}}{x} dx$
I've not the slightest clue as to how I would integrate this. I was told the answer is simply $\frac{1}{1/ \lambda} = \lambda$, but I don't know how this could be.
$$\int_0^\infty \frac{5e^{-5 x}}{x} \, dx = 25 \int_0^\infty \frac{e^{-u}}{u} \, du$$ but the integral does not converge since $\frac{e^{-u}}{u} \ge \frac{1}{2u}$ as $u \to 0$. So $E[1/X]$ does not exist.