Quizzes & Puzzles22 mins ago
Fun Probabilty Problem.......
36 Answers
You have a bag of 10 keys, one of which opens a lock. You pick a key at random and try to open the lock. If the key you pick does not open the lock you must put it back in the bag shake them up and start again. On which try are you most likely to get the correct key?
Answers
The First you have a 1/10 chance For it to be second, ywo things must happen. Fail on first = 9/10 and succeedon second = 1/10. Therefore 9/10 * 1/10 = 9/100 < 1/10 For third 9/10 * 9/10 * 1/0 = 81/1000 probabilty is getting worse all the time!
14:35 Mon 13th Feb 2023
Sure, it's intuitively easy to argue as you say. Still, one of the ways you can prove it is that formula, which arises because this problem is a geometric distribution:
https:/ /en.wik ipedia. org/wik i/Geome tric_di stribut ion
https:/
//So that's longer odds than the chance of getting it on the first attempt and it gets worse each attempt.//
Of course it is. Because once a trial succeeds, subsequent trials are no longer undertaken. So the likelihood of the second trial being successful is not solely a function of the chances of drawing the right key; it is also a function of the trial being undertaken in the first place. The chances of the one hundredth trial being the successful one are (if my arithmetic is correct) something a little over 2 in a million, which sounds preposterous. But for the 100th trial to be undertaken at all, the previous 99 must all have failed.
Of course it is. Because once a trial succeeds, subsequent trials are no longer undertaken. So the likelihood of the second trial being successful is not solely a function of the chances of drawing the right key; it is also a function of the trial being undertaken in the first place. The chances of the one hundredth trial being the successful one are (if my arithmetic is correct) something a little over 2 in a million, which sounds preposterous. But for the 100th trial to be undertaken at all, the previous 99 must all have failed.
No he said which is most likely and mathematically that means the probability. I get what you're all discussing but the fact is, taking the coins as example, if you throw 50 heads in a row our brains will tell us that the 51st is more likely to be another head and you can use your maths above to suggest why but the bottom line is the probability remains 50/50.
I understand you are all saying the first try is the most likely to have the outcome you want because if you get what you want you give up. If that's simplified to a coin and say on which toss are you most likely to get a head then this argument says the first. So if you've tossed it once and got tails you are just a little bit less likely to get it on the 2nd etc however we all know the chance of getting a head on the 2nd remains 50/50. BUT we can use befuddling maths to disprove that in this case. That was my point really.
//So if you've tossed it once and got tails you are just a little bit less likely to get it on the 2nd//
No Prudie, that's not what this is saying. You are not less likely to get a tails on the second than you are on the first - the chances are 50:50 for both individual toss. But if you look at the two spins as a whole, the second is less likely to be a tails than the first because if the first results in tails then the second toss isn't made.
Look at it this way: toss a coin twice and there are four possible outcomes:
1: H - H
2: H - T
3: T - T
4: T - H
If you see Tails as a "success" (and you stop once tails is shown), options 3 and 4 will not see you toss again. Option 2 will see you "win" on the second toss whilst Option 1 will not see you win at all. So of those four possible outcomes, two have a chance of winning on the first toss (meaning you won't toss again) and one has a chance of winning on the second. So, **of the two tosses - if the first loses**, the first is more likely to be the winner than the second.
No Prudie, that's not what this is saying. You are not less likely to get a tails on the second than you are on the first - the chances are 50:50 for both individual toss. But if you look at the two spins as a whole, the second is less likely to be a tails than the first because if the first results in tails then the second toss isn't made.
Look at it this way: toss a coin twice and there are four possible outcomes:
1: H - H
2: H - T
3: T - T
4: T - H
If you see Tails as a "success" (and you stop once tails is shown), options 3 and 4 will not see you toss again. Option 2 will see you "win" on the second toss whilst Option 1 will not see you win at all. So of those four possible outcomes, two have a chance of winning on the first toss (meaning you won't toss again) and one has a chance of winning on the second. So, **of the two tosses - if the first loses**, the first is more likely to be the winner than the second.
Ambiguity, ambiguity everywhere...
There are, as I see it, three questions here.
1. "Assuming each key is equally likely to be chosen, and that the bag is indeed shuffled after every trial, what is the probability of picking the correct key on the Nth try, assuming that you have failed N-1 times?"
Answer: 1/10, although this is by definition, since this is describing a Bernoulli trial. https:/ /en.wik ipedia. org/wik i/Berno ulli_tr ial
2. "Prior to starting this experiment, what is the probability that it takes N trials to collect the key? What is the greatest value of this for a given N?"
Answer: p=(9/10)^(N-1)*(1/10), maximal at N=1. Again, this is more or less by definition, since we have set up a geometric distribution. https:/ /en.wik ipedia. org/wik i/Geome tric_di stribut ion
3. "What is the expected number of tries in order to collect the key, given that we are allowed as many tries as possible?"
Answer: 10 (or more generally 1/p for probability p of success). This can be intuitively seen as bobbinwales described, or proven using the trick I hinted at.
TTT presumably meant to ask (2), but it's clear that (1) is also a possible interpretation.
There are, as I see it, three questions here.
1. "Assuming each key is equally likely to be chosen, and that the bag is indeed shuffled after every trial, what is the probability of picking the correct key on the Nth try, assuming that you have failed N-1 times?"
Answer: 1/10, although this is by definition, since this is describing a Bernoulli trial. https:/
2. "Prior to starting this experiment, what is the probability that it takes N trials to collect the key? What is the greatest value of this for a given N?"
Answer: p=(9/10)^(N-1)*(1/10), maximal at N=1. Again, this is more or less by definition, since we have set up a geometric distribution. https:/
3. "What is the expected number of tries in order to collect the key, given that we are allowed as many tries as possible?"
Answer: 10 (or more generally 1/p for probability p of success). This can be intuitively seen as bobbinwales described, or proven using the trick I hinted at.
TTT presumably meant to ask (2), but it's clear that (1) is also a possible interpretation.
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.