Calculate probabilities related to the number of trials until first success or the number of failures before the first success
k | P(X = k) | P(X ≤ k) |
---|
The geometric distribution models the number of trials needed to achieve the first success in a sequence of independent Bernoulli trials, each with the same probability of success.
Trials until first success (X ≥ 1):
\[ P(X = k) = p(1-p)^{k-1} \]Failures before first success (X ≥ 0):
\[ P(X = k) = p(1-p)^k \]Trials until first success:
\[ P(X \leq k) = 1 - (1-p)^k \]Failures before first success:
\[ P(X \leq k) = 1 - (1-p)^{k+1} \]Trials until first success:
\[ E[X] = \frac{1}{p} \]Failures before first success:
\[ E[X] = \frac{1-p}{p} \]For both versions:
\[ Var(X) = \frac{1-p}{p^2} \]The geometric distribution models the number of trials required to achieve the first success in a sequence of independent Bernoulli trials, where each trial has the same probability of success p.
There are two common formulations of the geometric distribution:
The difference between these formulations is simply a shift of 1 in the random variable.
A random variable X follows a geometric distribution with parameter p, written as X ~ Geo(p), if:
The geometric distribution is memoryless, which means that the probability of success in future trials is not affected by what has happened in past trials. Mathematically:
This property is unique among discrete distributions and has important applications in reliability theory and stochastic processes.
A manufacturing process produces items with a 5% defect rate. Quality control inspectors examine items one at a time until they find a defective item. What is the probability that they need to examine exactly 10 items to find the first defective item?
This is a geometric distribution where:
The probability of finding the first defective item on exactly the 10th inspection is 0.0315 or about 3.15%.
A salesperson has a 20% success rate on sales calls. What is the probability that they will need to make at most 3 calls to make their first sale?
This is a geometric distribution where:
The probability that the salesperson will make their first sale within 3 calls is 0.488 or about 48.8%.
A basketball player makes free throws with 75% accuracy. On average, how many free throws must the player attempt before making one?
This is a geometric distribution where:
On average, the player will need to attempt about 1.33 free throws before making one. In other words, they will usually make a free throw on the first or second attempt.
A person rolls a fair six-sided die repeatedly until they roll a 6. If they've already rolled 10 times without getting a 6, what is the probability that they will need at least 5 more rolls to get a 6?
This problem demonstrates the memoryless property of the geometric distribution.
Due to the memoryless property, the probability is the same as if they were just starting to roll. The probability that they will need at least 5 more rolls is about 0.482 or 48.2%.
1. A fair coin is flipped until a head appears. What is the probability that exactly 4 flips will be needed?
2. If the probability of success on a single trial is 0.4, what is the expected number of trials until the first success?
3. Which of the following statements about the geometric distribution is FALSE?