$\frac{1}{\pi(1+x^2)}$ is a valid probability distribution - it integrates to $1.$
If I take its expectation, $\int_{-\infty}^\infty \frac x{\pi(1+x^2)} dx$, I get an unbounded value.
However, the distribution is symmetrical around zero, so intuitively the expectation should be zero.
How I do I reconcile those two facts? What is the expectation of the distribution?