Opening boxes consecutively to find 1 prize

  • B
  • Thread starter JohnnyGui
  • Start date
In summary, the host said that on average, people would find the prize on the 3rd or 4th box. However, I keep calculating the exact same probability of ##\frac{1}{7}## regardless of the number of boxes. This would mean that it's equally probable for the person to find the prize in the first box as in the last (7th) box, which seems weird to me.
  • #1
JohnnyGui
796
51
I've seen a simple guessing show but I'm a bit surprised by its probability results and don't know what I'm doing wrong.

A prize is hidden in 1 of 7 boxes and a person has to guess in which box it is.
He opens a box one after the other and I questioned myself what the probability might be for finding the prize at the ##n##th box.
To find the prize at the 4th box for example, I would reason that the probability is:
$$P(n=4) = \frac{6}{7} \cdot \frac{5}{6} \cdot \frac{4}{5} \cdot \frac{1}{4} = \frac{1}{7}$$
Furthermore, the host said that on average, people would find the prize on the 3rd or 4th box.

However, I keep calculating the exact same probability of ##\frac{1}{7}## regardless of the number of boxes. This would mean that it's equally probable for the person to find the prize in the first box as in the last (7th) box, which seems weird to me.

What am I missing here? And how does the 3rd or 4th box have the highest probability on average according to the host?
 
Physics news on Phys.org
  • #2
JohnnyGui said:
What am I missing here?
Nothing. 1/7 is right
 
  • #3
Dale said:
Nothing. 1/7 is right

How did the host come up with saying that on average the prize is found in the 3rd or 4th box?
 
  • #4
JohnnyGui said:
How did the host come up with saying that on average the prize is found in the 3rd or 4th box?
Well, it isn’t the 3rd or 4th, it is the 4th. That is just the average of 1 through 7.
 
  • #5
Dale said:
Well, it isn’t the 3rd or 4th, it is the 4th. That is just the average of 1 through 7.

But would that mean that when a lot of people do this guessing game, the majority would find the prize in the 4th box? I find that hard to understand if the fact that finding the prize at each nth box is equally probable.
 
  • #6
JohnnyGui said:
But would that mean that when a lot of people do this guessing game, the majority would find the prize in the 4th box?
No. It is the mean, not the mode.
 
  • #7
Dale said:
No. It is the mean, not the mode.
Thanks! This now makes sense to me.
 
  • #8
JohnnyGui said:
I've seen a simple guessing show but I'm a bit surprised by its probability results and don't know what I'm doing wrong.

A prize is hidden in 1 of 7 boxes and a person has to guess in which box it is.
He opens a box one after the other and I questioned myself what the probability might be for finding the prize at the ##n##th box.
To find the prize at the 4th box for example, I would reason that the probability is:
$$P(n=4) = \frac{6}{7} \cdot \frac{5}{6} \cdot \frac{4}{5} \cdot \frac{1}{4} = \frac{1}{7}$$
Furthermore, the host said that on average, people would find the prize on the 3rd or 4th box.

However, I keep calculating the exact same probability of ##\frac{1}{7}## regardless of the number of boxes. This would mean that it's equally probable for the person to find the prize in the first box as in the last (7th) box, which seems weird to me.

What am I missing here? And how does the 3rd or 4th box have the highest probability on average according to the host?

Think of the permutations of the numbers from 1 to 7, with "1" being the prize. In 1/7th of the permutations, "1" is in position 1, in 1/7th of the permutations the "1" is in position 2, etc., etc. So, for any postion, the chance of winning in that position is 1/7.
 
  • #9
Ray Vickson said:
Think of the permutations of the numbers from 1 to 7, with "1" being the prize. In 1/7th of the permutations, "1" is in position 1, in 1/7th of the permutations the "1" is in position 2, etc., etc. So, for any postion, the chance of winning in that position is 1/7.

That's an intuitive way to look at it actually. Although in that way of thinking, I come across a different problem:

Say the prize is at the 4th box. For 1 permutation, taking the probability of each empty box individually into account, the chance would be:
$$\frac{1}{7} \cdot \frac{1}{6} \cdot \frac{1}{5} \cdot \frac{1}{4}$$
The first 3 probabilities represent the chance of each of the 3 empty boxes before the prize, right? Those 3 empty boxes can be opened in a different order, such that the number of possible permutations for these 3 empty boxes is ##3!##. Multiplying ##3!## by the probability for one specific permutation does not give me 1/7th.

However, I can see that it does give me 1/7th if I include the 4th box with the prize in the number of possible permutations; being ##4!##. But the box with the prize should stay fixed in the same place and not be "shuffled" with the 3 empty boxes. What is wrong in my way of thinking?

EDIT: Never mind, it should not be ##3!## but ##6 \cdot 5 \cdot 4## since there are 6 empty boxes available to pick from for the first 3 empty boxes.
 
Last edited:
  • #10
JohnnyGui said:
That's an intuitive way to look at it actually. Although in that way of thinking, I come across a different problem:

Say the prize is at the 4th box. For 1 permutation, taking the probability of each empty box individually into account, the chance would be:
$$\frac{1}{7} \cdot \frac{1}{6} \cdot \frac{1}{5} \cdot \frac{1}{4}$$
The first 3 probabilities represent the chance of each of the 3 empty boxes before the prize, right? Those 3 empty boxes can be opened in a different order, such that the number of possible permutations for these 3 empty boxes is ##3!##. Multiplying ##3!## by the probability for one specific permutation does not give me 1/7th.

However, I can see that it does give me 1/7th if I include the 4th box with the prize in the number of possible permutations; being ##4!##. But the box with the prize should stay fixed in the same place and not be "shuffled" with the 3 empty boxes. What is wrong in my way of thinking?

I think you have it backwards and are just confusing yourself. We generate a permutation of {1,2,3,...,7} at random; then we fix that permutation and start opening boxes. It may be we are dealing with a permutation in which the prize is in box 4. Opening other boxes will not move the prize: it started inbox 4 and will just stay there. Opening other boxes will not change the contents of those boxes either: whatever was in the a box before opening any boxes will, in fact, be what we see in that box when we finally open it.

What is true that before we start opening boxes we do not know the permutation, and when we start opening boxes we learn some things about the permutation. So, when we open box 1 and find no prize in it, we now know that the prize must be in one of boxes 2--7, so now only 6! permutations remain, and the posterior probability that the prize is in box 4 is now 1/6, etc., etc. However, none of that changes the fact that before we started opening boxes there is a 1/7 chance it will eventually found to be in box 4, and opening other boxes will not move the prize. It will not change the 1/7 either, because that is a prior probability that applies before we open boxes.
 
  • #11
Ray Vickson said:
I think you have it backwards and are just confusing yourself. We generate a permutation of {1,2,3,...,7} at random; then we fix that permutation and start opening boxes. It may be we are dealing with a permutation in which the prize is in box 4. Opening other boxes will not move the prize: it started inbox 4 and will just stay there. Opening other boxes will not change the contents of those boxes either: whatever was in the a box before opening any boxes will, in fact, be what we see in that box when we finally open it.

What is true that before we start opening boxes we do not know the permutation, and when we start opening boxes we learn some things about the permutation. So, when we open box 1 and find no prize in it, we now know that the prize must be in one of boxes 2--7, so now only 6! permutations remain, and the posterior probability that the prize is in box 4 is now 1/6, etc., etc. However, none of that changes the fact that before we started opening boxes there is a 1/7 chance it will eventually found to be in box 4, and opening other boxes will not move the prize. It will not change the 1/7 either, because that is a prior probability that applies before we open boxes.

I did not see it that way. What I tried to do is calculate the probability of 1 specific permutation in which the prize is at a fixed position, and then multiply that probability by the number of possible permutations for the empty boxes before the box with the prize. I edited my last post and showed that the number of permutations for the empty boxes is not ##3!## but ##6 \cdot 5 \cdot 4## if the prize is in the 4th box, which indeed gives me a probability of 1/7.
 
  • #12
I am a bit confused. Isn't this a geometric distribution with p=1/7?
 
  • #13
WWGD said:
I am a bit confused. Isn't this a geometric distribution with p=1/7?

Yes, but we were also trying to deduce it using the method of permutations.

EDIT: No, see the next post.
 
Last edited:
  • Like
Likes WWGD
  • #14
WWGD said:
I am a bit confused. Isn't this a geometric distribution with p=1/7?
JohnnyGui said:
Yes, but we were also trying to deduce it using the method of permutations.

No.

This problem involves sampling without replacement. A redflag is given by the fact that the expected number of cards drawn is ##= 3.5 =\frac{7}{2} \neq \frac{1}{p} = 7##
 
  • #15
StoneTemplePython said:
No.

This problem involves sampling without replacement. A redflag is given by the fact that the expected number of cards drawn is ##= 3.5 =\frac{7}{2} \neq \frac{1}{p} = 7##

Wasn't he asking about the probability itself, which is indeed 1/7? The ##3.5## appears to be the mean and has nothing to do with the probability as cleared by post #6. After that we were deriving the probability that WWGD was asking about using permutations, which indeed also shows that ##p=\frac{1}{7}##.
 
  • #16
JohnnyGui said:
Wasn't he asking about the probability itself, which is indeed 1/7? The ##3.5## appears to be the mean and has nothing to do with the probability as cleared by post #6. After that we were deriving the probability that WWGD was asking about using permutations, which indeed also shows that ##p=\frac{1}{7}##.

A probability parameter ##p## completely characterizes the geometric distribution. The issue is: this ain't a geometric distribution. If we were sampling with replacement it would be but we aren't. The fact that the 1st moment of this problem doesn't agree with the first moment of the geometric distribution is... a giant red flag.
 
  • Like
Likes WWGD
  • #17
StoneTemplePython said:
A probability parameter ##p## completely characterizes the geometric distribution. The issue is: this ain't a geometric distribution. If we were sampling with replacement it would be but we aren't. The fact that the 1st moment of this problem doesn't agree with the first moment of the geometric distribution is... a giant red flag.

My bad, I misunderstood the definition of geometric distribution. I have edited my answer to direct to yours.
 

FAQ: Opening boxes consecutively to find 1 prize

What is the concept of opening boxes consecutively to find 1 prize?

The concept of opening boxes consecutively to find 1 prize refers to the process of opening a series of boxes, one after the other, in the hopes of finding a specific prize within one of the boxes.

How does opening boxes consecutively to find 1 prize relate to probability?

Opening boxes consecutively to find 1 prize is related to probability because each box has a certain probability of containing the prize. As more boxes are opened, the likelihood of finding the prize increases or decreases depending on the number of total boxes and the probability of the prize being in each box.

What is the expected number of boxes that need to be opened to find the prize?

The expected number of boxes that need to be opened to find the prize can be calculated using the average of all possible outcomes. For example, if there are 5 boxes and each box has a 1 in 5 chance of containing the prize, the expected number of boxes that need to be opened is 5.

Can the number of boxes and the probability of finding the prize be manipulated?

Yes, the number of boxes and the probability of finding the prize can be manipulated. By increasing or decreasing the number of boxes, the probability of finding the prize changes. Similarly, by changing the probability of the prize being in each box, the expected number of boxes that need to be opened can be altered.

What is the significance of opening boxes consecutively to find 1 prize in scientific research?

Opening boxes consecutively to find 1 prize is a common concept used in scientific research to model and understand probability and decision-making processes. It can also be used in experiments to test the effectiveness of different strategies or methods for finding a specific outcome.

Similar threads

Back
Top