A person has 8 keys, only one of which opens a certain door. The person tries the keys at random, without replacement. We need to find the probability distribution of the number of keys required to open the door. Let $X$ be the number of keys needed to open the door.
Probability and StatisticsProbabilityProbability DistributionDiscrete ProbabilityConditional Probability
2025/4/22
1. Problem Description
A person has 8 keys, only one of which opens a certain door. The person tries the keys at random, without replacement. We need to find the probability distribution of the number of keys required to open the door. Let be the number of keys needed to open the door.
2. Solution Steps
The random variable can take values from 1 to
8. The probability that the door opens on the first try is $P(X=1) = \frac{1}{8}$.
The probability that the door opens on the second try is . This is because the first key must be incorrect (probability ), and then the second key must be the correct one out of the remaining 7 keys (probability ).
The probability that the door opens on the third try is .
In general, the probability that the door opens on the -th try, where , is
.
Therefore, for .
The probability distribution is:
3. Final Answer
The probability distribution of the number of keys needed to open the door is:
for .