For hockey fans, summer is a quiet time of year. I’ve never followed the sport that closely, but with the Kings having recently won the Stanley Cup for the second time in three years, I’m reminded of a curious incident that I witnessed during the only NHL game I’ve ever been to.

A friend of mine received free tickets to a Kings game when I was living in LA several years ago. He invited my now-wife and me along, and the price was certainly right, so four of us went to the Staples center one Saturday afternoon.

I don’t remember much about the game (though I do recall that the Kings emerged victorious). What I remember most vividly was that during one of the breaks between periods, a new car was brought onto the ice and there was a contest to give that car away. Sort of like what happens in this video, but the rules were a little different:

In the game I attended, six contestants were given a key to a new car, but they were told that only one key would start the vehicle. One at a time, each person had to enter the car, put the key in the ignition, and try to start the engine. If they succeeded, they won the car; otherwise, they had to exit the vehicle and give the next person a turn.

There’s a nice little probability model in here. Let’s generalize it a bit and suppose *n* people are vying for the car. The probability that the first person wins is then equal to 1/*n*. If that person doesn’t win, the next person steps into the car; since we know the first key wasn’t a winner, the second person’s probability of winning is 1/(*n* – 1). And so on: assuming the first *k* people don’t win the car, the probability that the (*k + *1*)*^{st} person is the winner equals 1/(*n* - *k*).

This leads us to an intuitively obvious conclusion: if none of the first *n* – 1 people have the winning key, the last person must be the winner: 1/(*n* – (*n* – 1) + 1) = 1. And this is precisely what happened on that fateful day at the Staples center: five people entered the car, and five people exited without winning. The audience cheered for the last contestant, so clear was it to everyone that she was the winner.

But then something unexpected happened. That last person went into the car, turned her key, and…nothing. Her key didn’t work either! In a supremely anticlimactic end, the car was moved off the ice, and the announcer told us that they would figure it out backstage. We never found out who claimed the prize. Life is full of mystery.

This led me to another question: would it have been possible to predict this result with a more sophisticated mathematical model? Let’s suppose that in addition to the *n* people vying for the car, there’s a certain “success factor” *p*, which represents the probability that the person with the winning key will be able to start the engine. In other words, 1 – *p* represents the probability that someone will screw up with the winning key (either due to nerves, unfamiliarity with the concept of keys, or whatever other reason you can think of). Of course, everyone’s success factor may be different, but for simplicity let’s assume that *p* is a universal constant.

How does this impact our model? Well, now the probability that the first person will win the car is *p*/*n*, since the first person must both (a) have the winning key and (b) not screw things up when called upon to turn the car on.

The general situation is more complex, but the result is quite nice. To write down a rigorous argument takes some work^{1}; if you’re more interested in a little convincing as to why the result holds, think about what would happen if you ran this experiment — letting *n* people try to win a car by giving them a key — a large number of times. If you put pen to paper, you’ll see that in this case, given that the first *k* people don’t win the car, the probability that the (*k + *1*)*^{st} person wins is equal to

As ought to be the case, when *p *= 1 this gives us our simpler model from before.

Although the formula is relatively simple, it has some interesting consequences compared to our earlier model. For example, with our earlier model we knew that if we made it to the last person, that person was guaranteed to win; in other words, when *p* = 1 and *k* = *n - *1, the probability above is equal to 1. But for general *p* this is no longer true; instead, if we make it to the last person in this new model, the last person will win with probability

Notice that regardless of *p*, as long as *p* < 1, the above quantity goes to 0 as *n* grows. In other words, if you’re competing against a large pool of people, even if the probability of not screwing things up is quite high, it’s probably more likely that someone screwed up than that you’re the winner. We can actually quantify this a bit more: with a little work, you can show that if the contest makes it to the last person, the probability that the last person actually has the winning key is equal to

So, what’s more likely: that the last person will win, or that someone before the last person screwed up? Well, it’s more likely that someone else screwed up precisely when

After a little bit of algebraic rearrangement we arrive at the simple condition that *p* < 1 – 1/*n*. In other words, if you’re the last competitor from a pool of 100 people, even if people don’t screw up 98.9% of the time, if you get a chance to turn the key, you shouldn’t get your hopes up; it’s more likely that someone else screwed up than it is that you’ll drive out of the rink a winner.

^{1} You’ll need to be savvy with your conditional probabilities in order to make this argument fully rigorous. Try the case of the second person being the winner first. If we let *X _{i}* = 1 when the

*i*

^{th}person wins, and 0 otherwise, then for the second person you’re interested in P(

*X*

_{2}= 1 |

*X*

_{1}= 0). Try to show that this is equal to

*p*/(

*n*–

*p*), and then generalize from there.