Five distinct numbers are distributed to players numbered 1 through 5. They play a game as follows:
Player 1 and Player 2 compare their numbers, and the player with the higher number wins the round. The winner then compares their number with that of player 3, and so on. If X represents the number of rounds player 1 wins, calculate P(X = i) for i = 0,1,2,3,4.
I cannot figure out the function that best portrays the situation. Can someone give me some hints?
Thanks.
I'll assume that the numbers are assigned to the players randomly, with each permutation of the numbers being equally likely.
Let $E_n$ be the event that Player $1$ has the highest number among players $1$ through $n$. Then $\mathsf P(E_n)=\frac1n$. Also, $E_{n+1}\subseteq E_n$, and thus $\mathsf P(E_n\setminus E_{n+1})=\mathsf P(E_n)-\mathsf P(E_{n+1})=\frac1n-\frac1{n+1}=\frac1{n(n+1)}$. Since $E_n\setminus E_{n+1}$ is the event $X=n-1$, we have $\mathsf P(X=n)=\frac1{(n+1)(n+2)}$. This holds for $0\le n\lt4$. For $n=4$, there are no further rounds to win, so the probability of winning $4$ rounds is just $\mathsf P(E_5)=\frac15$. Thus, the desired probabilities are
\begin{array}{c|c} n&0&1&2&3&4\\\hline \mathsf P(X=n)&\frac12&\frac16&\frac1{12}&\frac1{20}&\frac15 \end{array}