**After posting this, I realized I made an error that seemed small but messed up everything.**

You can see the correction here.

Depending on the internet circles you run in, a friend may have linked you to this quotation recently:

When faced with 2 choices, simply toss a coin. It works not because it settles the question for you, but because in that brief moment, when the coin is in the air, you suddenly know what you are hoping for.

Or, as another pointed out to me, this poem by Piet Hien:

Whenever you’re called on to make up your mind,

and you’re hampered by not having any,

the best way to solve the dilemma, you’ll find,

is simply by spinning a penny.

No – not so that chance shall decide the affair

while you’re passively standing there moping;

but the moment the penny is up in the air,

you suddenly know what you’re hoping.

I recently had a binary choice to make, so I gave this tactic a shot. I report that it doesn’t work if you’re counting on it. That is, it might work by serendipity, but if you toss the coin specifically so that you’ll understand your subliminal desires, the effect is ruined. I want my money back. (I didn’t pay anything for the advice, but I dropped three coins down a gutter before I finally managed to catch one I had flipped.)

This reminds of a paper saying that if you flip a coin vigorously, it’ll come up the same way it started about 51% of the time.

Here, I’ll ask if you can substantially avert this bias by flipping best-two-of-three. (Another way to avoid the 51% problem is not to flip the coin at all. Take it out of your pocket, look at it, and go with that.)

Let’s say that when you flip a coin, its chance to land the same way it started is , regardless of whether it started heads or tails. Then its probability to flip to the other state is , and let’s agree to call that for short. In an ideal world, , but Diaconis et. al. suggest this may not be true.

Suppose the coin starts with Heads up (). Then what is the probability that heads wins two out of three tosses? Is it closer or further from than , and by how much? That is, is two-out-of-three more fair than a single coin flip?

There are four ways that heads can win 2 of 3 tosses.

To find the probability of each, we need to know not whether each toss is heads or tails, but when the coin is changing state. For example, take the sequence

.

The coin starts out , and then we make our first flip and get another . The coin didn’t change state, so this has probability . We flip again and get , a switch. This has probability . The last flip we go back to heads, another switch, and another probability . The final probability for this sequence is .

The probabilities for each of the four sequences are:

GAAH! More ‘s than a kindergartener’s underpants. Rather than calculate, let’s simplify using our knowledge that coin tossing is not horrendously unfair, so that . Specifically, let’s set a small number such that

.

This will let us simplify the calculations because we can ignore anything that has an in it as a second-order correction. Unless the first-order correction comes out to be zero, this is a good approximation.

We know that

,

which lets us simplify a bit. First, lay out the ground rules

This says that when you take a number a little bit bigger than one half and square it, you get something the same little bit bigger than one fourth. Let’s apply the same rule for :

and when multiplying and , the over-compensation and under-compensation cancel out to first order, and we have

.

The nice thing is that the we can use the binomial theorem to propagate out to higher powers of and . If we have , for example, that is roughly

,

which of course is left as an exercise to the reader. It’s not the kind of exercise that will give you washboard abs, but it is the kind that will get you girls.

Returning to the probability for two heads out of three, we can fill in the probabilities like so:

the sum is

If it’s a little unfair to flip a coin, flipping for best two out of three cuts the bias by a factor of four. Or, in less coherent words, it quarters the quarter’s recording of its core uncordial proclivity.

There’s more interesting stuff here. How much better is it to play three-of-five, or four-of-seven, or of ? Exercises to the very sexy reader.

Tags: flipping coins, math is sexy, probability

## Leave a Reply