My book gives the following definition for expectation:
If $X$ is a discrete random variable, the expectation of $X$ is denoted by
$\mathbb{E}(X)$ and defined by $\mathbb{E}(X)=\sum_{x \in > Imx}x\mathbb{P}(X=x)$
whenever this sum converges absolutely, in that $\sum_{x}|{x\mathbb{P}(X=x)|<\infty}$.
Is there a practical example where we would have a divergent sum, so that $\mathbb{E}(X)$ is not defined?
I'm asking this to make it easier for me to remember this remark on infinite sums.