In calculating the expectation of a discrete random variable $X$, we not only require that $\Sigma x_iP(X=x_i)$ converges, but also converges absolutely. I understand this requirement as probably stemming from the fact that a rearrangement of non-absolutely-convergent countably-infinite sum can have a different sum.
I was wondering if a similar requirement exists for purely continuous random variable $X$, when we compute the expectation using the Riemann integral $\int_{-\infty}^\infty x f(x) dx$.
[I have a similar question for computing expectation using Stieltjes integrals - is there some sort of "absolute convergence" requirement?]
I understand that the most general definition of expectation involves Lebesgue integrals, but I am not very familiar with Lebesgue theory, so to be concrete (if you intend to reply via Lebesgue theory): In the special case of a purely continuous random variable, does the Lebesgue integral, when reduced to Riemann integral, have any form of "absolute convergence" requirement, or it is automatically satisfied in some sense? What about the case of Stieltjes integral? How does the "absolute convergence" requirement manifest itself for the discrete case?
