Given independent random variables X and Y,? what is the expected value of the product XY?
From the definition of expected vlaue, E(XY)=∑x∑yxyp(XY=xy) Because X and Y are independent, the probability of their product is the product of their probabilities p(XY=xy)=pX(X=x)pY(Y=y) and the expected value becomes E(XY)=∑x∑yxypX(X=x)pY(Y=y) where pX is the probability distribution for X and similarly for pY.?
Evaluating the expected value as given takes work proportional to n2. Can the sum be evaluated with less work?