Question of counting and probability

In summary: If the question were "What is the chance that you will open the door with the first two keys you try if the first of those keys only opens one of the locks?" then it would be \frac{1}{5} (assuming the second key only opens one of the locks).But the question is: "What is the probability that the first two keys you you try will open the door ?" and that is the probability that you will open the door if the first two keys you try are the "good" ones.And that probability is 1/15. In summary, the conversation discusses the probability of opening a door with two locks using six different keys. The probability of being able to open the door is
  • #1
Alexsandro
51
0
Could someone help me with this question ?

There are two locks on the door and the keys are among the six different ones you carry in your pocket. In a hurry you dropped one somewhere.

a) What is the probability that you can still open the door ?

b) What is the probability that the first two keys you you try will open the door ?

The answers are:
a)2/3
b)4!/6!
 
Physics news on Phys.org
  • #2
a) There is one chance in three that one of the two keys to the locks was lost so the probablility that neither of them was lost is 2/3.

b) There is only one way in which the first two keys you select are the "good" keys (the order doesn't matter!) but 4! ways to arrange the remaining 4 keys (including the one designated as lost.) Compare this with 6! ways of arranging all 6 keys and you have the probability of opening the lock on the first two tries as 4!/6!
 
  • #3
doubt

Tide said:
a) There is one chance in three that one of the two keys to the locks was lost so the probablility that neither of them was lost is 2/3.

b) There is only one way in which the first two keys you select are the "good" keys (the order doesn't matter!) but 4! ways to arrange the remaining 4 keys (including the one designated as lost.) Compare this with 6! ways of arranging all 6 keys and you have the probability of opening the lock on the first two tries as 4!/6!

---------------------------------------------------
Thanks for help.
But, I don't understand why "There is one chance in three that one of the two keys to the locks was lost". Could you explain better ?
 
  • #4
Alexsandro said:
---------------------------------------------------
Thanks for help.
But, I don't understand why "There is one chance in three that one of the two keys to the locks was lost". Could you explain better ?

There are two keys that you care about in order to open the door. Let's call them key A and key B. The chance that key A is lost is 1 in 6. The chance that key B is lost is also 1 in 6. Since these are exclusive events (both never happen at the same time) we add the probabilities: 1/6+1/6=1/3. So you have a 1/3 chance of not being able to open the door. That's a 2/3 chance of being able to open the door.
 
  • #5
Tide said:
b) There is only one way in which the first two keys you select are the "good" keys (the order doesn't matter!) but 4! ways to arrange the remaining 4 keys (including the one designated as lost.) Compare this with 6! ways of arranging all 6 keys and you have the probability of opening the lock on the first two tries as 4!/6!

This is somewhat incorrect.

The correct answer to the question, as it is posted here is 2 in 30:
Since there is a missing key, there is a chance to open the door only 2 out of 3 times.
Of those 2 out of 3 times, you need to pick the correct two keys out of five. Since one of these depends on the other, multiply the probabilities, and come up with 2 in 30=1/15.

Now, assuming that the key was not dropped, the chance that the first two keys open the door is 1 in 15. Clearly you must pick a key that opens a lock as the first key. Since there are 2 in 6 keys that open one of the locks, the chance for that to happen is 1/3. If you've picked one of the two keys, you need to chose the correct key for the second which is one in 5. Once again, one of these depends on the other, so the total probability is their product: 1/15.

The chance that the first key picked fits into the first lock is 1 in 6. If the first key fits into the first lock, then the chance that the second key fits into the second lock is 1 in 5. Once again, one of these depends on the other, so the total probablity is their product: 1/30. So the only way to come up with 6!/4! is to assume that the keys must work in the order that they are chosen.
 
  • #6
Nate,

The way I analyzed (b) was as follows: There are 6 keys and I asked how many ways are there of arranging them such that the "correct" keys are the first ones chosen. Imagine 6 placeholders with the first two placeholders dedicated to the "correct" keys. One of the remaining positions corresponds to the lost key and it doesn't matter which place it is. There is exactly one way for the two keys to be in the proper positions (again, order doesn't matter) but 4! ways of arranging the remaining keys. Since there are 6! ways of arranging all 6 keys the probability is 4!/6! = 1/30.

Using your approach, there is a 2/3 probability of the two correct keys being in the collection of 5 remaining keys. Given that, then again there is exactly 1 way for the first two keys to be the correct ones (order doesn't matter!) but 3! ways of arranging the remaining 3 keys while the total number of arrangements of 5 keys is 5!. So, the desired probability is 2/3 X 3! / 5! = 1/30.
 
  • #7
The question (as posted) is:
b) What is the probability that the first two keys you you try will open the door ?

So, let's say that one of the arrangements you consider legal is ABCDEF so A and B open the door, but then B and A will also open the door, even if they don't do so in that order.

If the question were "What is the chance that you will open the door if you try two keys at random?" then it indeed would be [itex]\frac{4!}{6!}=\frac{1}{30}[/itex] (assuming at least one of the two keys only opens one of the locks).
 

1. What is counting and probability?

Counting and probability are two branches of mathematics that deal with the analysis and prediction of events and outcomes. Counting involves identifying and enumerating the number of possible outcomes in a given situation, while probability involves calculating the likelihood of a specific outcome occurring.

2. How are counting and probability related?

Counting and probability are closely related because counting is often used to determine the total number of possible outcomes in a given situation, which is then used to calculate the probability of a specific outcome occurring. In other words, probability relies on counting to determine the chances of a particular event happening.

3. What is the difference between permutation and combination in counting?

Permutation and combination are two different methods of counting in probability. Permutation is used to determine the number of ways a set of objects can be arranged, while combination is used to determine the number of ways a selection of objects can be made without regard to order. In other words, permutation involves arranging items in a specific order, while combination does not consider the order of items.

4. How does probability help in decision-making?

Probability plays a crucial role in decision-making by providing a framework for understanding and predicting potential outcomes. By calculating the probability of different outcomes, decision-makers can make informed and rational choices based on the likelihood of a particular event occurring.

5. What are some real-life applications of counting and probability?

Counting and probability have numerous real-life applications in fields such as finance, insurance, and risk management. They are used to analyze and predict outcomes in games of chance, weather forecasting, stock market analysis, and many other areas where risk and uncertainty are present.

Similar threads

  • Mechanical Engineering
Replies
4
Views
721
  • Engineering and Comp Sci Homework Help
Replies
15
Views
1K
Replies
2
Views
4K
  • Introductory Physics Homework Help
2
Replies
42
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
1K
  • Introductory Physics Homework Help
Replies
6
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
2K
  • Introductory Physics Homework Help
Replies
28
Views
368
  • Introductory Physics Homework Help
Replies
7
Views
2K
Back
Top