Checking my probability answer. Could someone please take a look (expectation)
Let X & Y be independent random variables with some distribution (taking values of 0, 1 with equal probability). Show that\[E((X+Y)(|X-Y|))=E(X+Y)*E(|X-Y|)\]but that X+Y and |X-Y| are not independent.
So what I did was: \[\Omega_{X+Y} = \{0+0, 1+0, 0+1, 1+1\}\]\[\Omega_{|X-Y|}=\{|0-0|, |0-1|, |1-0|, |1-1|\}\]
\[E(X+Y) = \sum_{x+y}(x+y)*P(x+y)=0*1/4+1*2/4+2*1/4=1\]\[E(|X-Y|)=\sum(|x-y|)*P(|x-y|)=0*2/4+1*2/4=1/2\]
\[E((X+Y)(|X-Y|)) = 0*10/16+1*4/16+2*2/16=4/16+4/16=1/2\]
The values (10/16, etc.) came from: {0*0, 0*1, 0*1, 0*0, 1*0, 1*1, 1*1, 1*0, 1*0, 1*1, 1*1, 1*0, 2*0, 2*1, 2*1, 2*0}
So: \[1/2=E((X+Y)(|X-Y|)=E(X+Y)*E(|X-Y|)=1*1/2=1/2\]
Was this approach correct?
I am stumped on proving that the events are not independent.. Do I just need to come up with two events, say A is the event that X+Y = 2 and B is the event that |X-Y| = 0 and show that P(A intersect B) != P(A)*P(B) or something? I can't seem to come up with an example where that's not true.
@phi any ideas?
No, I have done little with random variables
This is just an idea: Two events A and B are independent if and only if their joint probability equals the product of their probabilities. You showed E(product) = product of E if and only if means product of E must imply E (product) if that fails, they are not independent.
Join our real-time social learning platform and learn together with your friends!