I'm doing a really old IB Math Higher Level exam question about an interesting coin flipping game. I have solved some of the question (I think?), but I'm stuck now. Here it goes:
An unbiased coin is tossed $n$ times and $X$ is the number of heads obtained. Write down an expression for the probability that $X = r$.
State the mean and standard deviation of $X$. Two players, A and B, take part in the game. A has three coins and B has two coins. They each toss their coins and count the number of heads which they obtain.a) If A obtains more heads than B, she wins 5 cents from B. If B obtains more heads than A, she wins 10 cents from A. If they obtain an equal number of heads then B wins 1 cent from A. Show that, in a series of 100 such games, the expectation of A’s winnings is approximately 31 cents.
b) On another occasion they decide that the winner shall be the player obtaining the greater number of heads. If they obtain an equal number of heads, they toss the coins again, until a definite result is achieved. Calculate the probability that
i) no result has been achieved after two tosses
ii) A wins the game.
Here's my progress so far:
$P(X = r) = ^nC_r \ \frac{1}{2}^r\ \frac{1}{2}^{n-r} =\ ^nC_r\ \frac{1}{2}^{n-r+r}\ =\ ^nC_r\ \frac{1}{2}^n$
$\mu = E(X) = \frac{1}{2}n$
$\sigma = \sqrt{\text{Var}(X)} = \sqrt{\frac{1}{2}n(1-\frac{1}{2})} = \sqrt{\frac{1}{4}n}$
$P(\text{A has 3 coins}) =\ ^{3n}C_r\ \frac{1}{2}^{3n}$
$P(\text{B has 2 coins}) =\ ^{2n}C_r\ \frac{1}{2}^{2n}$
Yield Schema:
A > B: B -= 5c
A < B: B += 10c
A = B: B += 1c
I made the Yield schema to get a overview of the rules of the game. What I'm most interested in in this question is the thought process involved in analysing this question.
Any leads or comments are greatly appreciated, thanks! :)