Hi. Can anyone help me with this problem from Finan's book?

35.1) Let X and Y be independent random variables, both being equally likely to be any of the numbers 1, 2, ..., m. Find E(absolute value(X-Y)).

How do you deal with the absolute value in this case? The answer is (m+1)(m-1)/(3m). Thanks.

35.1) Let X and Y be independent random variables, both being equally likely to be any of the numbers 1, 2, ..., m. Find E(absolute value(X-Y)).

How do you deal with the absolute value in this case? The answer is (m+1)(m-1)/(3m). Thanks.

## Comment