Maximize Gains with Coin-Flip Strategy

  • Thread starter Ursole
  • Start date
  • Tags
    Strategy
In summary, the conversation is about a hypothetical situation where a person flips a fair coin n times. If the coin comes up heads each time, they take two large boxes and place $3^n (3 to the power of n dollars) in one and $3^(n+1) (3 to the power of n+1 dollars) in the other. They then give the two boxes to a person and allow them to choose one. If the box the person chooses has less money in it, they are expected to switch. If the box the person chooses has more money in it, they are expected to stick with the box. However, if the box the person chooses has $3 in it, they are expected to
  • #1
Ursole
28
0
Assume I flip a fair coin n times until it comes up Heads. Now I take two large boxes, in one of which I place $3^n (3 to the power of n dollars) and in the other I place $3^(n+1) (3 to the power of n+1 dollars). I then give you the two closed seemingly identical boxes and allow you to open one box and count the money. At this point you can either take the money in the box you chose or take the unknown amount of money in the other box. Is there a strategy which you may employ in order to maximize your expected gain?

For example, if you open a box and see $3 you should always switch because there will definitely be $9 in the other box. However, if you open a box and see $9, switching might get you $3 or might get you $27.
 
Physics news on Phys.org
  • #2
Let's say you open the box, and it has $[itex]3^x[/itex] in it. Now, the chances that the box contains less money is 4 times greater than the chances it contains more, simply because:

[tex](1/2)^{x-1} = 4 \times (1/2)^{x+1}[/tex]

But if it contains more money, it contains 9x more than a box with less money. Let [itex]a = 3^x[/itex]. Currently, you have $a. Switching boxes is expected to give:

(a/3)(4/5) + (3a)(1/5)
= 4a/15 + 3a/5
= 4a/15 + 9a/15
= 13a/15
< a

Of course, this doesn't work in the case where x=1. If you want to have n flips, with only the nth being a head, the probability of that happening is (1/2)^n, and that fact was used as the basis for claiming that the probability of the other box having less money was 4 times more than it having more. However, the probability that all flips are tails except the nth, for n=0 is undefined, so the equation doesn't make sense when x=1, because then we're calculating (1/2)^{1-1} = (1/2)^0 = 1, which doesn't really tell us the probability of all tails, and the zeroeth being heads, since that doesn't even make sense and should be undefined.

So, if the box has $3, change boxes, otherwise don't.
 
  • #3
Ursole said:
...I then give you the two closed seemingly identical boxes and allow you to open one box and count the money...

They seem identical but once you open them there is a noticable difference.

The Bob (2004 ©)
 
  • #4
If the underlying probability distribution (that $X is in a box) is flat, it would seem the the expectation value is always higher for the "other box". However, it is not possible to normalize a flat distribution from 0 to infinity. I think the paradox is resolved by understanding the underlying probabilities of putting money in the boxes.

EDIT : Didn't read the coin flip part. Ignore above discussion.
 
Last edited:
  • #5
In honestly all I can think of is that if the box you pick has 0 or 3 dollars worth of coins then you change otherwise stick with the box. That is all you can do as that is all you can ensure will allow you more money in the other box.

The Bob (2004 ©)
 
  • #6
AKG said:
Let's say you open the box, and it has $[itex]3^x[/itex] in it. Now, the chances that the box contains less money is 4 times greater than the chances it contains more, simply because:

[tex](1/2)^{x-1} = 4 \times (1/2)^{x+1}[/tex]

But if it contains more money, it contains 9x more than a box with less money. Let [itex]a = 3^x[/itex]. Currently, you have $a. Switching boxes is expected to give:

(a/3)(4/5) + (3a)(1/5)
= 4a/15 + 3a/5
= 4a/15 + 9a/15
= 13a/15
< a

So, if the box has $3, change boxes, otherwise don't.

While it's true that the probability of picking the box with the larger amount is 1/2, the conditional probability that the other box contains more money given that the first box contained a dollars is 1 if a = 3 and 1/3 otherwise.

So if you find a (a > 3) in the box and stick, you get a. If you switch, you get a/3 2/3 of the time, and 3a 1/3 of the time, for an expected value of 11a/9. So should you always switch? We don't need to open the boxes at all then.

Well, that's one way of looking at it, but there's a bit more to the puzzle than that.

.
 
Last edited:
  • #7
Ursole said:
While it's true that the probability of picking the box with the larger amount is 1/2, the conditional probability that the other box contains more money given that the first box contained a dollars is 1 if a = 3 and 1/3 otherwise.
First of all, where did I go wrong? Second of all, why is the conditional proability 1/3?
 
  • #8
AKG said:
First of all, where did I go wrong? Second of all, why is the conditional proability 1/3?

Let n = number of times the coin is flipped.
I open a box and see [tex]3^a[/tex] dollars, where a > 1.
I know n = a or a-1, and Prob(n = a) is half of Prob(n = a-1);
Prob(n = a) = 1/3
Prob(n = a-1) = 2/3

By the way, an 'optimum' strategy of always switching violates symmetry.

.
 
Last edited:
  • #9
Ursole said:
Let n = number of times the coin is flipped.
I open a box and see [tex]3^a[/tex] dollars, where a > 1.
I know n = a or a-1, and Prob(n = a) is half of Prob(n = a-1);
Prob(n = a) = 1/3
Prob(n = a-1) = 2/3

By the way, an optimum strategy of always switching violates symmetry.
That explains why the conditional probability is 1/3, but then where did I go wrong?
 
  • #10
Ursole said:
By the way, an 'optimum' strategy of always switching violates symmetry.
.

So let's say that I choose some value with an even distribution of 0 and 1, and put [tex]1000^x[/tex] in one box, and [tex]3^{x+1}[/tex] in another.
Now, there are four equally likely possibilities when the first box has been pulled:
Flipped 0, pulled 0, Flipped 0, pulled 1
Flipped 1, pulled 1, Flipped 1, pulled 2.

Obviously, in half the cases, the optimal behavior is clear. That leaves the situation where the box contains 1000 dollars.

Clearly this is one of the two cases, and those two cases must be equally likely, so, the expected payout from switching is $499,000.5, but according to you, the violation of symetry indicates that the player should gain no benefit from switching. However it's easy to see that the expected value is *much* higher for switching.

Now, let's take a look at the problem probabilities:

Flipped once, pulled low box (1/4)
Flipped once, pulled high box (1/4)
Flipped twice, pulled low box (1/8)
Flipped twice, pulled high box (1/8)
.
.
.
Flipped n times, pulled low box ([tex]\frac{1}{2*2^n}[/tex])
Flipped n times, pulled high box ([tex]\frac{1}{2*2^n}[/tex])
Flipped n+1 times, pulled low box ([tex]\frac{1}{2*2^{n+1}}[/tex])
Flipped n+1 times, pulled high box ([tex]\frac{1}{2*2^{n+1}}[/tex])

So, let's assume you pull a box with [tex]3^x[/tex] dollars where [tex]x>1[/tex]

So the possibilities are:
flipped [tex]x-1[/tex] times and pulled the high box [tex]\frac{1}{2*2^{x-1}}[/tex]
and
flipped [tex]x[/tex] times and pulled the low box [tex]\frac{1}{2*2^{x}}[/tex]
Renormalizing yields that the probability that the box is high is [tex]\frac{1}{3}[/tex].
So the expected gain from switching is [tex]\frac{2}{3} * 3^{x-1} + \frac{1}{3} * 3^{x+1} - 3^x[/tex]
or
[tex]2 \times 3^{x-2}[/tex]
 

1. How does the coin-flip strategy work?

The coin-flip strategy is a simple investment strategy where one flips a coin to determine whether to buy or sell a particular asset. If the coin lands on heads, the investor buys the asset, and if it lands on tails, the investor sells the asset.

2. Is the coin-flip strategy an effective way to maximize gains?

The effectiveness of the coin-flip strategy depends on various factors such as the market conditions, the asset being traded, and the frequency of trades. It may work well in some cases, but it is not a guaranteed way to maximize gains.

3. What are the benefits of using the coin-flip strategy?

The coin-flip strategy is a simple and easy-to-use method that does not require any technical knowledge or analysis. It can also help avoid emotional decision-making and can provide a sense of discipline in trading.

4. Are there any drawbacks to using the coin-flip strategy?

One of the main drawbacks of the coin-flip strategy is that it does not take into account any market analysis or fundamental factors that may affect the price of the asset. It also does not consider the risk-reward ratio or the potential for losses.

5. Can the coin-flip strategy be used for any type of investment?

The coin-flip strategy can be applied to any type of investment that involves buying and selling, such as stocks, commodities, or cryptocurrencies. However, it may not be suitable for long-term investments or assets with high volatility.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • General Discussion
2
Replies
46
Views
3K
  • General Discussion
Replies
9
Views
2K
  • Special and General Relativity
Replies
15
Views
469
  • Set Theory, Logic, Probability, Statistics
Replies
20
Views
3K
  • Quantum Physics
5
Replies
143
Views
6K
Replies
31
Views
2K
Replies
14
Views
868
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
4K
Back
Top