Person A has 5 fair coins and Person B has 4 fair coins. Person A wins only if he flips more heads than B does. What is the probability of A winning? I know how to solve this classic problem but my question is what if the coin is unfair with the probability of getting a head being 1/3. then is the probability of A winning still 1/2?
if we list out the possible outcomes like the following plot, it seems the probability of A winning still 1/2, no matter the coin is fair or not. Here's the plot.
but i found a contradiction in the following part:
consider the first 4 coin tosses first:
p = P(person A has more heads)=P(person B has more heads) they are equal because they are symmetric
P(A and B tossed equal number)=$1-2p$
so the probability that A won is P(person A has more heads)+P(A and B tossed equal number)*P(A tossed head)=$p+(1-2p)*\frac{1}{3}=p+\frac{1}{3}-\frac{2}{3}p=\frac{1}{3}p+\frac{1}{3}$
but since based on the plot this $\frac{1}{3}p+\frac{1}{3}$ should equal $\frac{1}{2}$, therefore we get p is $\frac{1}{2}$, but this gives 1-2p=0, however, 1-2p should be greater than 0 since there's a chance that A B tossed equal in the first 4 tosses, which leads to a contradiction. How should I understand this? is the conclusion that A won is still $\frac{1}{2}$ wrong? what should be the correct answer?