Geometric probability formula
Understanding Geometric Probability
The geometric probability distribution is a discrete probability distribution that models the number of trials needed until the first success in a sequence of independent Bernoulli trials. It's crucial for understanding situations where we're interested in 'how many attempts until we get what we want?'
Conditions for a Geometric Distribution
For a random variable X to follow a geometric distribution, certain conditions must be met, often remembered by the acronym BINS:
- Binary Outcomes: Each trial must have only two possible outcomes: success or failure. For example, flipping a coin (heads/tails) or a free throw (make/miss).
- Independent Trials: The outcome of one trial does not affect the outcome of any other trial.
- Number of Trials (until first success): We are counting the number of trials until the first success occurs. This is the defining characteristic that distinguishes it from a binomial distribution, which counts the number of successes in a fixed number of trials.
- Success Probability (p): The probability of success (denoted by p) must remain constant for each trial.
Geometric Probability Formula
If X is a geometric random variable representing the number of trials until the first success, with a probability of success p on each trial, then the probability that the first success occurs on the k-th trial is given by the formula:
P(X = k) = (1 - p)^(k-1) * p
Where:
P(X = k)is the probability that the first success occurs on the k-th trial.pis the probability of success on any given trial.(1 - p)is the probability of failure on any given trial, sometimes denoted asq.kis the number of the trial on which the first success occurs (k = 1, 2, 3, ...).
The term (1 - p)^(k-1) represents the probability of having k-1 consecutive failures before the first success occurs on the k-th trial. For example, if p = 0.2, the probability that the first success is on the 3rd trial is (0.8)^2 * 0.2 = 0.64 * 0.2 = 0.128.
Expected Value of a Geometric Distribution
The expected value or mean of a geometric distribution, denoted E(X) or μ_X, is the average number of trials one expects to wait until the first success. It is given by a surprisingly simple formula:
E(X) = 1/p
For instance, if the probability of making a free throw is p = 0.75, on average, a player would take 1/0.75 = 1.33 free throws until they make their first one. This is an average over many repetitions of the process.
Cumulative Geometric Probability
Sometimes we are interested in the probability that the first success occurs on or before a certain trial, or after a certain trial. These are cumulative probabilities.
P(X ≤ k) = 1 - (1 - p)^k: This is the probability that the first success occurs on or before the k-th trial.P(X > k) = (1 - p)^k: This is the probability that the first success occurs after the k-th trial. This is equivalent to saying that the first k trials were all failures.
Practice questions
What are the four conditions that must be met for a random variable to follow a geometric distribution?
A basketball player makes 70% of her free throws. What is the probability that her first made free throw occurs on her 4th attempt?
If the probability of a randomly selected student having a specific rare blood type is 0.05, what is the expected number of students one would need to test to find the first student with this blood type?
What is the key difference in what is being counted between a geometric distribution and a binomial distribution?
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/statistics/unit-4-probability-random-variables-and-probability-distributions/geometric-probability-formula