Your sports team is playing a best-of-15 series against a single opponent. Against this opponent, your team wins with probability 40%, unless it is behind in the series (with strictly fewer wins than losses so far in these 15-game finals), at which point your team wins with probability 60%. What is the probability that your team wins?
I'm not great at math so I wrote a dynamic programming algorithm to solve it. If my algorithm is correct, the answer would be 40%. I found that if the number of matches is odd, the probability that you win is always 40%, for any number of matches.
Can anyone verify this and provide a probabilistic explanation of the solution?
Thanks!
Note: What's crucial here is that $0.4 + 0.6 = 1$. Otherwise, this will not work.
Let the series be denoted by an element of $ S = \{ L, W \} ^{15}$.
Hint: Create a bijection $f: S \rightarrow S$ between matches that you won, and matches that you lost
Claim: P(You win) / 40% = P(You lost ) / 60%.
Corollary: P(You win) = 40%.
As an explicit example, consider a round of 5 games where $ s = WLLWW$ where you won.
Then $f(s) = LLWWL$ where you lost.
$P(s) = 0.4 \times 0.6 \times 0.6 \times 0.6 \times 0.4$.
Ignoring the last win, we get $P(s) / 0.4 = 0.4 \times 0.6 \times 0.6 \times 0.6 $.
$P(f(s) ) = 0.6 \times 0.4 \times 0.6 \times 0.6 \times 0.6 $
Ignoring the first loss, we get $ P (f(s) ) / 0.6 = 0.4 \times 0.6 \times 0.6 \times 0.6$.
Hence, the probabilities match up.