# Bounded random variable

Here is the question: Suppose $X$ is a $\Bbb R$-valued random variable. Show that for all $\varepsilon > 0$, there exists a bounded random variable $Y$ such that $P (X \neq Y ) <\varepsilon$.

-
Try $Y=X\,\mathbf 1_{|X|\leqslant x}$ for $x$ large enough. Then $\mathbb P(Y\ne X)=\mathbb P(|X|\gt x)$. Furthermore, $\mathbb P(|X|\gt x)\to0$ when $x\to+\infty$, hence for $x$ large enough, $Y$ solves the question.
I presume that $P(X=Y)$ in the question is a typo and should read $P(X\ne Y)$. –  Did Oct 12 '12 at 22:37
It's obviously Y can cover $X\,1_{\left|X\right|\leq x}$ for arbitrary x. But how do you deal with the part $X\,1_{\left|X\right|>x}$? How can it be less than any positive number when you fix a x? Thanks! –  65900931 Oct 13 '12 at 17:16
Cover? The part? Fix $x$? See the expanded version of my answer. –  Did Oct 13 '12 at 18:01