Probability of tossing a fair coin… [closed]

In 5 tosses of a fair coin, let X be the number of heads minus the number of tails. For the probability distribution of X, what is the mean and variance?

-

closed as off-topic by Micah, Eric Stucky, Hakim, anomaly, Mark FantiniNov 9 at 0:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Micah, Eric Stucky, Hakim, anomaly, Mark Fantini
If this question can be reworded to fit the rules in the help center, please edit the question.

one way to get 5 heads and no tails and one way to get 5 tails and no heads. 5 ways to get 4 heads and 1 tail and 5 ways to get 4 Tails and 1 head. 10 ways to get 3 heads and 2 tails and 10 ways to get 3 tails and one head... does that help give you your distribution? –  Iceman Nov 30 '13 at 4:15

$P(H-T=5)=\frac1{32}$ and $P(H-T=-5)=\frac1{32}$

$P(H-T=3)=\frac5{32}$ and $P(H-T=-3)=\frac5{32}$

$P(H-T=1)=\frac{10}{32}$ and $P(H-T=-1)=\frac{10}{32}$

So the mean $\mu$ would be

$\mu=5\cdot\frac1{32}+3\cdot\frac5{32}+1\cdot\frac{10}{32}-1\cdot\frac{10}{32}-3\cdot\frac5{32}-5\frac1{32}=0$

and the variance $\sigma^2$ would be

$\sigma^2=25\cdot\frac1{32}+9\cdot\frac5{32}+1\cdot\frac{10}{32}+1\cdot\frac{10}{32}+9\cdot\frac5{32}+25\frac1{32}=50\cdot\frac1{32}+18\cdot\frac5{32}+2\cdot\frac{10}{32}=\frac{50+90+20}{32}=\frac{160}{32}=5$

-