Answer:
E(X) = 1.5, E(Y) = 0
Explanation:
For each coin, there are only two possible outcomes. Either it is heads, or it is tails. The probability of a toss being heads or tails is independent of any other toss. This means that we use the binomial probability distribution to solve this question.
Binomial probability distribution
Probability of exactly x sucesses on n repeated trials, with p probability.
The expected value of the binomial distribution is:
![E(X) = np](https://img.qammunity.org/2022/formulas/mathematics/college/vhithkjh7varsjyjym1v6ct4sm4mej9im1.png)
A fair coin is flipped 3 times.
3 times means that
![n = 3](https://img.qammunity.org/2022/formulas/mathematics/high-school/c7oe6qb9a7y3erpow22hgp8h9lit16dk6v.png)
Fair coin means that it is equally as likely to be heads or tails, so
![p = 0.5](https://img.qammunity.org/2022/formulas/mathematics/college/iqj6t1x0emce0uugpa38b9hi7j2bdq4eae.png)
Find E(X)
![E(X) = np = 3*0.5 = 1.5](https://img.qammunity.org/2022/formulas/mathematics/college/qpg0aj9nk02l95fc270uqrde7y6ze482mc.png)
Find E(Y)
The expected number of heads, E(X) is 1.5. Since the coin is fair, the expected number of tails is also 1.5. Thus, the absolute value of the difference between heads and tails is:
E(Y) = 1.5 - 1.5 = 0