Frederick Mosteller, 'Fifty Challenging problems in probability', Q44:
A game consists of a sequence of plays, on each play either you or your opponent scores a point, you with probability $p$, your opponent with probability $1-p$. The total number of plays is even, and to win you need to get more than half the points. You get to choose the number of plays. What number do you choose?
I do not understand the answer:
Your probability of winning a game of $2n$ trials is your probability of getting $n+1$,$n+2$,...$2n$ points ie: $$P_{2n}=\sum_{x=n+1}^{2n} \binom{2n}{x}p^xq^{2n-x} \tag{1}$$ and in a game of $2n+2$ trials the probability of getting $n+2$ points or more : $$P_{2n+2}=\sum_{x=n+2}^{2n+2} \binom{2n+2}{x}p^xq^{2n+2-x} \tag{2}$$ A game of $2n+2$ plays can be regarded as a game of $2n$ plays with 2 trials added on. Unless player $A$ has won either $n$ or $n+1$ times in the $2n$ game, his status will not change in the $2n+2$ game.
Except for these 2 possibilities $P_{2n}$ and $P_{2n+2}$ would be identical. These exceptions are:
(a) having won $n+1$ times in $2n$ plays, $A$ loses the next 2, thus reducing his probability of winning in the $2n+2$ game by $$q^2 \binom{2n}{n+1}p^{n+1}q^{n+1} \tag{3}$$ (b) having won $n$ times in $2n$ plays, $A$ wins the next 2, thus increasing his probability of winning in the $2n+2$ game by $$p^2 \binom{2n}{n}p^{n}q^{n} \tag{4}$$
The optimum game length is such that $P_{2n-2} \lt P_{2n}$ and $P_{2n} \gt P_{2n+2}$ which given the above implies the inequalities : $$ q^2 \binom{2n-2}{n}p^{n}q^{n-2} \lt p^2 \binom{2n-2}{n-1}p^{n-1}q^{n-1} \tag{5} $$ $$ q^2 \binom{2n}{n+1}p^{n+1}q^{n-1} \gt p^2 \binom{2n}{n}p^{n}q^{n} \tag{6} $$ which reduces to $$(n-1)q \lt np \tag{7}$$ $$nq \gt (n+1)p \tag{8}$$ yielding $$N=2n=\frac{1}{1-2p} \tag{9}$$
I have typed the answer in full for those interested, however my question is just this:
what is the relationship between (1) ,(2), (3) and (4) ?
is it really just (2) = (1) + (3) + (4) ? the text does not make it clear ...