The St. Petersburg Paradox

This paradox involves a Casino game with heads and tails flips. The game goes as follows: First, you pay a buy-in price set by the Casino. You then flip a coin until you get a heads. If your first heads flip comes on the nn-th flip, you receieve 2n12^{n-1} dollars. So if your first flip is heads you get 1$1 \$, if get HTHT then you get 2$2\$, and so forth.

Here are some questions:

1.1. Theoretically, why might or might not you want to play this game? For how much money as a starting fee? Think about (or compute) the expected value of the game.

2.2. Why might your answer to the last question be different if this situation were given in reality? (Hint: Money is not infinite, and neither is your time).

#Probability #CosinesGroup

Note by Michael Tong
7 years, 3 months ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

(Some of this is adapted from Mathematics Without the Boring Bits, by Richard Elwes)

The probability of ending with a heads on the kkth try is equal to 12k\frac{1}{2^k} because to get to the kkth try, you would have had to get all tails until the kkth try, and then a heads. This means that there is 11 way to get to flipping a heads on the kkth try out of 2k2^k possibilities. You will win $2k1\$2^{k-1} That means that your expected winnings on the kkth try is $0.50.\$0.50. And since kk can be any positive integer, the expected winnings of the game (shown turn by turn) is $0.50+$0.50+$0.50+$0.50+=.\$0.50+\$0.50+\$0.50+\$0.50+\ldots=\infty. So the game has infinite expected winnings.

Let's suppose there is a buy-in. Make it $2.50.\$2.50. After 88 games you will have spent 8×$2.50=$208\times\$2.50=\$20 In this time you would expect to get $1\$1 four times, $2\$2 twice, $4\$4 once, and $8\$8 or more once. This sums to $4+4+4+8=$20,\$4+4+4+8=\$20, so you have broken even. With a few more games you can expect to be in the profit. No matter how much the buy-in, you will come out on top in the long run. But sometimes, when I say long run, I mean a really long run.\textit{really long run.}

Suppose the buy-in is $11.\$11. It would take you about 2202^{20} games to win. At a flip every five seconds, it will take you 22 weeks of continuous flipping to play. In addition, you will need $11.5\$11.5 million to weather the losses until you finally win. So in essence, it isn't practical. You'll win eventually, but you'll run out of money, time, and willpower before you do. So the casino will always win. .....................................................................................................................................\text{.....................................................................................................................................} It's the same thing with the lottery, too. Believe it or not, you can expect to win the lottery. Let's suppose a ticket with 5050 choices from which you have to pick 66 numbers, and it has a constant $200\$200 million jackpot. If any of your numbers are wrong, you get nothing. The ticket costs $2.\$2.

There are (5044)16\binom{50}{44}\approx16 million ways to pick your numbers, so the probability that your numbers match the winning numbers is about one in sixteen million. You're expected winnings are calculated by multiplying the chance of winning a certain amount of money by the amount and adding all of the calculations together. Here, it is 200,000,000×116,000,000+0×15,999,99916,000,000=12.5.200,000,000\times\frac{1}{16,000,000}+0\times\frac{15,999,999}{16,000,000}=12.5. Remembering to include the money lost in purchasing the ticket, your expected profit per ticket is $10.50.\$10.50. But since there is such a high statistical improbability that you don't win in your lifetime, you probably (and that is a really serious probably) won't make that back. You'll end up losing.

Now yes, that's not exactly how lotteries work, but it's good enough for a simple example. Even if you use a real lottery, you are still expected to profit, but it probably won't happen in your lifetime. So the lottery will always win.

Trevor B. - 7 years, 3 months ago

Log in to reply

The lottery example is a great one. It is even more pronounced in this example.

Michael Tong - 7 years, 3 months ago

If you are to win on the n nth flip then you must get a sequence of n1 n-1 tails followed by a head. To get such a sequence has probability (12)n (\dfrac{1}{2})^n . So, if you get your head on the n nth flip then your expected win is the probability times the payout, or 12n×2n1=12 \dfrac{1}{2^n} \times 2^{n-1} = \dfrac{1}{2} irrespective of n n . So in fact the expected value of any game is +12 +\dfrac{1}{2} so you should buy in for any price less than $0.50, or, if you're just playing for fun, equal to $0.50.

Josh Rowley - 7 years, 3 months ago

Log in to reply

Not quite. You must take the infinite sum of these probabilities to get the true expected value. That is, n=012\displaystyle \sum_{n = 0}^{\infty} \frac{1}{2} \rightarrow \infty.

So the question is, why is it non intuitive that the expected value is infinite? In real life, is this a good deal, even though the expected value is technically infinite?

Michael Tong - 7 years, 3 months ago

Log in to reply

I did that first but an infinite expected value seemed a bit ridiculous (I guess that's why it is a paradox)

Josh Rowley - 7 years, 3 months ago

You can watch a video on this on Numberphile: Infinity Paradoxes

Sharky Kesa - 7 years, 3 months ago

Yes, there's a paradox. But I don't have a question about playing or not playing. Always aimed at winning online gambling when choosing from the website , where I can see the best casinos in Montreal. I've been playing casinos for a long time and, I say, honestly won a lot of money.

Michael Chadwick - 1 year, 1 month ago
×

Problem Loading...

Note Loading...

Set Loading...