Lambdia

Five Coins Against Four Is Exactly a Coin Flip

You toss five fair coins, I toss four, and you win on strictly more heads: the answer is exactly 256 of the 512 outcomes. Because you hold one coin more, "not strictly more heads" and "strictly more tails" are the same event, and turning every coin over is a bijection between them. The fifth coin is worth nearly fourteen percentage points over the 93/256 you would have without it, and none of that is an edge.

You toss five fair coins, I toss four. You win if you get strictly more heads than I do, and a tie goes to me. What is your probability of winning?

The extra coin looks like it must be worth something, so almost everyone answers a number above a half, and the more careful the person the more they want to compute the number rather than guess it. It is exactly a half. Not approximately, not a half to three decimal places. Exactly 256256 of the 29=5122^9 = 512 equally likely outcomes are yours.

The proof that needs no counting

The short argument uses the one asymmetry in the problem, which is the thing that looks like it should make the answer asymmetric. You hold exactly one coin more than I do. So the total number of coins is odd, nine, and no matter how they land the two of us cannot be level on both heads and tails at once.

Write XX for your heads out of five and YY for mine out of four, and write XX' and YY' for the tails, so that X=5XX' = 5 - X and Y=4YY' = 4 - Y. Then

XY    5X4Y    X>YX \le Y \iff 5 - X' \le 4 - Y' \iff X' > Y'
(1)

Read that slowly, because it is the whole article. The event "you do not have strictly more heads" and the event "you have strictly more tails" are not merely equally likely. They are the same event, holding on exactly the same outcomes. Every outcome falls on one side or the other, and never on both.

The symmetry

Turning every one of the nine coins over is a bijection of the sample space onto itself, and it swaps heads with tails. It therefore maps the set where you have strictly more heads onto the set where you have strictly more tails, which by (1) is the complement of the first set. A bijection between a set and its complement forces both to have exactly half the outcomes.

So P(X>Y)=12P(X > Y) = \tfrac{1}{2}, and the argument never touches a binomial coefficient. Fairness enters in exactly one place, which is that the flip-everything map preserves probability. If the coins were biased the map would still be a bijection of outcomes, but the two halves would no longer carry the same probability mass.

Fig. 1 — Turning every coin over pairs each of the 512 outcomes with exactly one other, and it always swaps the winner. That pairing is what forces the answer to a half.

The same answer, one coin at a time

The second route is the one most people find first, and it is worth having because it explains where the extra coin goes. Set the fifth coin aside and match four against four.

Two hands of four coins are exchangeable, so being ahead is exactly as likely as being behind. Counting over the 28=2562^8 = 256 pairs of hands, you are ahead in 9393, level in 7070, and behind in 9393. The tie count is the sum of the squares of the binomial coefficients of four,

j=04(4j)2=1+16+36+16+1=70=(84)\sum_{j=0}^{4} \binom{4}{j}^{2} = 1 + 16 + 36 + 16 + 1 = 70 = \binom{8}{4}
(2)

which is Vandermonde's identity: pairing your jj heads against my jj heads is the same as choosing four objects from eight.

Now bring the fifth coin back and ask what it can possibly do.

  • If you are already ahead after four against four, the fifth coin cannot take that away. You win whatever it shows.
  • If you are behind, you are behind by at least one, and one extra coin cannot close a gap of one and overtake. You lose whatever it shows.
  • If you are level, the fifth coin decides, and it is a fair coin.
93256+1270256=186+70512=256512=12\frac{93}{256} + \frac{1}{2}\cdot\frac{70}{256} = \frac{186 + 70}{512} = \frac{256}{512} = \frac{1}{2}
(3)
Fig. 2 — Four against four, before the fifth coin is tossed. Only the middle bar is still undecided, and the fifth coin splits it down the middle.

What the fifth coin actually buys

There is a tempting way to state the punchline that happens to be false: the extra coin is worth nothing. It is worth a great deal. Without it the game is four against four with ties going to me, and your winning chance is 93/25693/256, which is about 36.3%36.3\%. The fifth coin lifts that to fifty percent, so it is worth nearly fourteen percentage points.

What it buys none of is an edge. It repairs a handicap you had not noticed you were carrying, which is the tie rule, and it repairs it exactly. Two effects of the same size are pulling in opposite directions, and the coincidence in this problem is that the extra coin cancels the tie rule precisely rather than approximately.

Two hypotheses you cannot drop

The tie rule is load-bearing. If ties counted as wins for you, the five-coin against four-coin game would give you 191/2560.746191/256 \approx 0.746, and in the four-against-four game "ahead or level" is 163/256163/256. The word strictly in the statement is doing real work, and a candidate who quotes a half without having noticed it has been lucky.

Fairness is load-bearing too, and this rules out the suspicion that the whole thing is a counting artefact. With heads landing with probability 3/53/5 on every coin, the same game gives you

j=04h=j+15(5h)(4j)(35)h+j(25)9hj=2062473906250.528\sum_{j=0}^{4}\sum_{h=j+1}^{5} \binom{5}{h}\binom{4}{j} \left(\tfrac{3}{5}\right)^{h+j}\left(\tfrac{2}{5}\right)^{9-h-j} = \frac{206247}{390625} \approx 0.528
(4)

which is above a half, and the extra coin now really is an edge, because it is an extra draw on a favourable coin. The elegance of the fair case comes from the flip map, and a biased coin has no flip map.

The general statement

Nothing above used the numbers four and five except to have them differ by one. The identity in (1) reads the same way for n+1n+1 coins against nn, since the total of 2n+12n+1 coins is odd, so

P(Xn+1>Yn)=12for every n0P\big(X_{n+1} > Y_n\big) = \tfrac{1}{2} \quad \text{for every } n \ge 0
(5)

The case n=0n = 0 is a good check on whether the statement means anything: you toss one coin, I toss none, and you win when you get a head. That is a half, and it is the same theorem.

Two coins more is a different story. The flip map sends "strictly more heads" to "strictly more tails", but with an even total those two events no longer partition the space, because a tie is possible, so the map gives a symmetry without giving a value. There the extra coins do buy an edge, and you have to count.

Sources and further reading

Nothing in this article rests on sampling. The primary check enumerated all 512512 outcomes and counted, confirming both that you win in 256256of them and, outcome by outcome, that exactly one of "strictly more heads" and "strictly more tails" holds every time. Every probability was carried as an exact rational rather than a float. The generalisation in (5) was enumerated for n=0n = 0 up to n=6n = 6, and a seeded run of four hundred thousand simulated games landed at 0.499480.49948, which is a sanity check on the counting rather than the source of the answer.

Comments · 0

Be the first to comment.