by Jonathan Widarsa

The Progressive Ace Game

·

As a brief break from my usual, more rigorous content, I thought it’d be fun to explore some games. Of course, to stay consistent with the themes of my blogs, these games will still be rooted in statistics.

As we’ll soon see, the puzzles revolve around how uncertainty behaves and how small changes can dramatically change what good strategies look like. This is, in fact, exactly the kind of thinking that appears in probability theory: We’re given a system governed by randomness, and the challenge is to reason our way through it!

I thought card decks make particularly good playgrounds for this kind of reasoning. So, in this short sequence of puzzles, we’ll take a shot on two related games using a shuffled deck of cards. I hope you have fun brainstorming for each.

I also present the solutions in detail after all the problems.

***

In this first part of the game, you take a standard 52-card deck and shuffle it thoroughly. You will now draw cards from the top of the deck one at a time without replacement. The game ends as soon as the first Ace appears.

If the first Ace appears on the kk-th draw, you receive a payout that depends on how long you managed to avoid drawing one. For each non-Ace you draw, you add $1 to your winnings. When you draw an Ace, your winnings are tripled.

For example:

Draw SequenceFirst Ace PositionPayout ($)
A13
N, A26
N, N, A39
N, N, N, A412

What’s the expected payout of the game?

***

Now, let’s modify the rules a little. Instead of ending the game when an Ace appears, you’re allowed to stop drawing cards whenever you like. Of course, there’s got to be a catch—else you could simply draw all 52 cards and claim the largest payout possible. The catch is that drawing an Ace immediately ends the game and wipes out your winnings.

Once again, start with a well-shuffled standard deck of 52 cards. You will still draw cards from the deck one at a time, where after each reveal, you must choose between two options:

  1. Stop the game and keep a payout equal to the number of cards you have successfully drawn.
  2. Continue drawing.

However, again, as I’ve mentioned, your payout becomes $0 upon drawing an Ace. What’s your optimal strategy, or more specifically, at what point should you stop drawing cards in order to maximize your expected payout?

Solutions

Considering the rules of the payout, we define

X=3K,X = 3K,

where the r.v. XX represents our winning amount when the KK-th card drawn is an Ace (KK is also an r.v.). Our goal is to calculate the expectation 𝔼[X]\mathbb{E}\left[X\right].

My favorite way to go about this is by marginalizing conditional expectations. The problem with XX is that it’s a function of another r.v. KK. So, it’d be nice if we could condition on values K=kK=k. Since the deck contains 4 Aces and 48 non-Aces, the first Ace could appear anywhere from the 1st draw to the 49th draw. Therefore, k{1,2,...,49}k \in \{1,2,…,49\}, and we can define, using the law of total expectation,

𝔼[X]=k=149𝔼[X|K=k]P(K=k).\mathbb{E}\left[X\right] = \sum_{k=1}^{49} \mathbb{E}\left[X \mid K=k\right] \cdot P\left(K=k\right).

Since (X|K=k)=3k(X \mid K=k) = 3k,

𝔼[X]=k=1493kP(K=k),\mathbb{E}\left[X\right] = \sum_{k=1}^{49} 3k \cdot P\left(K=k\right),

where

P(K=k)=P(No Ace in first k1)P(Ace on k|No Ace before).P\left(K=k\right) = P\left(\text{No Ace in first }k-1\right) \; P\left(\text{Ace on }k \mid \text{No Ace before}\right).

Using combinatorics, we obtain the equation

P(K=k)=[48524751...48(k1)52(k1)](452k),P\left(K=k\right) = \left[\frac{48}{52}\cdot\frac{47}{51}\cdot…\cdot\frac{48-(k-1)}{52-(k-1)}\right]\cdot\left(\frac{4}{52-k}\right),

where the left term can be further simplified, giving us

P(K=k)=(48k1)(52k1)(452k).P\left(K=k\right) = \frac{\binom{48}{k-1}}{\binom{52}{k-1}}\cdot\left(\frac{4}{52-k}\right).

We then simply substitute this back into the expectation function

𝔼[X]=k=1493k(48k1)(52k1)(452k).\mathbb{E}\left[X\right] = \sum_{k=1}^{49} 3k \cdot \frac{\binom{48}{k-1}}{\binom{52}{k-1}}\cdot\left(\frac{4}{52-k}\right).

Calculating the summation yields an expected payout of $32.80.

***

Let’s say that at this point we have drawn kk non-Ace cards, meaning there are still 52k52-k cards left in the deck, 4 of which are Aces. If we tap out now, then our payout is $kk. If we instead draw another card, our expected payout is

𝔼[Y]=(k+1)P(not Ace)+(0)P(Ace)\mathbb{E}\left[Y\right] = (k+1) \;P\left(\text{not Ace}\right) + (0)\;P\left(\text{Ace}\right)

P(Ace)P\left(\text{Ace}\right) is irrelevant because the value associated with it is zero. On the other hand,

P(not Ace)=48k52k.P\left(\text{not Ace}\right) = \frac{48-k}{52-k}.

Now, we need to consider: Is the extra expected gain from drawing one more card worth the risk of losing everything? In other words, we should call it quits if the expected payout after drawing the next card is less than the current payout, that is,

𝔼[Y]<k.\mathbb{E}\left[Y\right] < k.

Substituting 𝔼[Y]\mathbb{E}\left[Y\right],

(k+1)48k52k<k.(k+1)\;\frac{48-k}{52-k} < k.

Solving for kk, we find that

k>9.6.k \gt 9.6.

In other words, after the k=10k=10-th draw, the risk of ruin brought from drawing the 11-th card outweighs the potential reward.

Previous Article
Next Article

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


More Posts