Probability Question: 3-Digit Combination Lock

Click For Summary

Homework Help Overview

The discussion revolves around a probability question related to a 3-digit combination lock, specifically focusing on the implications of having repeated digits in the passcode and how that affects the total number of unique combinations.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants explore the calculation of unique passcodes considering the repetition of the digit '5' and question the validity of the total possible combinations. They discuss the placement of digits and the impact of order on the count of unique combinations.

Discussion Status

There is a consensus among participants regarding the correctness of the original poster's calculations, with some suggesting alternative methods to verify the results. The discussion reflects an ongoing exploration of the problem rather than a resolution.

Contextual Notes

Participants note a discrepancy between their calculated probability and the answer provided in a reference source, indicating a potential misunderstanding of how repeated digits are treated in the context of the problem.

MeesaWorldWide
Messages
9
Reaction score
1
Homework Statement
A combination lock opens with the correct 3-digit code. Each wheel rotates through the digits 1 to 8. What is the probability of a randomly chosen passcode having exactly 2 fives?
Relevant Equations
n/a
A passcode having 2 fives implies that order does not matter (5 7 5 is the same passcode as it would be if we switched the 2 fives). There are 8 available digits in total, but 5 is being used twice, so we only have 7 options for the third number in the code. There are 3 possible cases for the distribution of the fives ( 5 _ 5 , 5 5 _ , and _ 5 5), so 7 x 3 is 21.
There are 8 x 8 x 8 total possible passcodes (which = 512)
So 21/512 = 0.041 = 4.1%
However, the answer is apparently 8.2% (twice as much), so I'm not sure where I went wrong...?
Any explanation would be greatly appreciated.
 
Physics news on Phys.org
I think I agree with your answer.
MeesaWorldWide said:
A passcode having 2 fives implies that order does not matter (5 7 5 is the same passcode as it would be if we switched the 2 fives). ...
Good. So you have your 3 possibilities for placing the 5's instead of 6. I think a better way to look at it is that there are 3 places to place the non-5 digit.
MeesaWorldWide said:
There are 8 x 8 x 8 total possible passcodes (which = 512)
I agree. I suspect that the book answer use the fact that the order of the 5's doesn't matter here, but I don't think it applies (575 is only counted as one passcode here, not two). This If you divide 512 by 2, you get their answer. I will have to think about it more.
 
MeesaWorldWide said:
However, the answer is apparently 8.2% (twice as much)
That is not the answer to the question you wrote: your answer is correct.

Can you think of another method to verify your answer?
The probability of choosing five is 1/8
 
  • Like
Likes   Reactions: FactChecker
I also am convinced your answer is correct.
 

Similar threads

Replies
10
Views
3K
Replies
11
Views
2K
Replies
1
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K