Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the probability that all locks are unlocked by choosing one key and one lock randomly at a time? Note: After correctly choosing a key to unlock a lock, the key is kept back with the other two keys while the lock is kept aside. So after unlocking first lock, I am left with just 2 locks to choose from but I have all the three keys to choose from.

Please give some explanation to your answer as well.

share|cite|improve this question
Can you at least answer this question: What is the probability that the first lock is unlocked? – Brian M. Scott Nov 8 '12 at 6:50
I am so sorry but I dont know as I am confused over this. I think It should be 1/3. – Jatin Sehgal Nov 8 '12 at 7:03
That’s right. Now when you get to the second lock, has anything really changed? You still have one chance in three of picking the right key, so the probability of unlocking the second lock is ... ? – Brian M. Scott Nov 8 '12 at 7:06
But in the first chance, I had three locks to choose from to apply my chosen key. In that scenario as well Would you say my answer was correct? Secondly, after successfully unlocking the first lock I ll hv to choose a lock from remaining 2 locks while I still choose a key from all the three keys....... – Jatin Sehgal Nov 8 '12 at 7:11
The choice of locks doesn’t make any difference. No matter which one you pick, you still have one chance in three of picking the right key. – Brian M. Scott Nov 8 '12 at 7:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.