Mogarrr
- 120
- 6
To find E |X| of a cauchy random variable, I need to integrate
\int_{-\infty}^{\infty}\frac1{\pi}\frac{|x|}{1+x^2}dx.
From the definition of absolute value, we have
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx + \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx (I think).
But, the very next step in the textbook, which I'm trying to follow along, is
\frac2{\pi}\int_0^{\infty}\frac{x}{1+x^2}dx.
Unless I made some mistake, the reasoning here is that
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx = \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx.
If this is true, why is this?
\int_{-\infty}^{\infty}\frac1{\pi}\frac{|x|}{1+x^2}dx.
From the definition of absolute value, we have
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx + \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx (I think).
But, the very next step in the textbook, which I'm trying to follow along, is
\frac2{\pi}\int_0^{\infty}\frac{x}{1+x^2}dx.
Unless I made some mistake, the reasoning here is that
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx = \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx.
If this is true, why is this?