Give correct answer when have two random variables, X and Y. X is the



Answered question


Give correct answer when have two random variables, X and Y. X is the value of a fair die, Y is the result of a coin flip, with heads being 1 and tails being 0.
E[X]=k=16k6=72,andE[Y]=12. Thus
That the expectation of XY is not multiplicative, i.e.: E[X]E[Y] is not necessarily equal to E[XY]. But I'm confused about what E[XY] means in the first place. That is, is E[XY] each possible value of the two events combined, multiplied by the probability that the two events occur?
That is, is E[XY]=12(1)k=16k6+12(0)k=16k6=74? If not, what is it?
Due to a typo the last equation [XY]=12(1)k=16k6+12(0)k=16k6 was evaluated as 72,when I believe it shoud be 74. I'd appreciate it if responders told me whether this is a correct value for E[XY].
That concerned with how to calculate E[XY] in the quickest way possible, but how to interpret what E[XY] means. E[X]E[Y]=E[XY] for independent events doesn't concern me as much as why that is the case, and how to manually evaluate E[XY] in order to prove that indeed E[XY]=E[X]E[Y].

Answer & Explanation



Beginner2021-12-17Added 29 answers

We should separate the meaning of E(XY) from whatever devices we use to compute the expectation.
What does XY mean? It is a random variable. In our particular example, imagine the following game. We roll a fair die and a fair coin. If the die shows k and the coin shows Head, we get (k)(1) dollars. If the die shows k and the coin shows Tail, we get (k)(0) dollars, that is, 0.
The random variable XY is the amount of money we get. It takes on values 0,1,2,3,…,6, with various probabilities, it has a certain distribution. Then E(XY) is the expected value (mean) of XY, in the usual sense.
In this case, Pr(XY=0)=12,andPr(XY=n)=112forn=1,2,,6. Now we can compute E(XY). We have
But in this case, there is a shortcut. Since X and Y are independent, we have E(XY)=E(X)E(Y), and therefore there is no need to find the distribution of XY.
Janet Young

Janet Young

Beginner2021-12-18Added 32 answers

XY denotes a new random variable. You could call it Z if you want, and work out its distribution. Then E[XY] just means E[Z].
So in your case, since X takes the discrete uniform distribution on {1,2,3,4,5,6} and Y takes the discrete uniform distribution on {0,1}, the product XY takes values in {0,1,2,3,4,5,6}. XY does NOT have a uniform distribution, though. See if you can work out its distribution directly.
Hint: P(XY=0)=P(X=0orY=0)=P(Y=0)=12
And P(XY=1)=P(X=1andY=1)=P(X=1)P(Y=1)=1612=112
And so on. (I've assumed X and Y are independent.)

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?