Geometric Distribution
The geometric distribution models a very common type of random experiment: repeatedly performing independent trials, each with the same probability of success, and counting how many trials it takes to get the first success. For example, if you keep rolling a die until you roll a 6, or keep flipping a coin until you get heads, the number of trials needed follows a geometric distribution. This makes it one of the most practically useful discrete probability distributions in statistics. What makes the geometric setting special is its 'memoryless' property: no matter how many failures you have already accumulated, the probability of succeeding on the very next trial is always the same. This means past failures give you no information about future outcomes — the process essentially 'forgets' its history. This unique property distinguishes the geometric distribution from most other distributions and makes it mathematically elegant. In this article we define the geometric distribution precisely, derive its probability formula, and explore key properties including its mean, variance, and the famous memoryless property. Understanding the geometric distribution is an important stepping stone toward more advanced topics in probability such as the negative binomial distribution and geometric series in statistics.
- The Four Conditions (BINS for Geometric)
- Deriving the Probability Formula
- Mean and Variance
- The Memoryless Property
- Alternative Form: Number of Failures
The Four Conditions (BINS for Geometric)
A geometric setting requires: (B) Binary outcomes — each trial results in either 'success' or 'failure'. (I) Independent trials — the outcome of one trial does not affect any other. (N) No fixed number of trials — you keep going until the first success. (S) Same probability — the probability of success p is identical for every trial. When all four conditions hold, the random variable X = number of trials until the first success follows a geometric distribution.
Deriving the Probability Formula
To get the first success on exactly trial k, you need exactly (k − 1) failures followed by one success. Since trials are independent, you can multiply their probabilities. Each failure has probability (1 − p) and the success has probability p. Therefore P(X = k) = (1−p)^(k−1) · p, for k = 1, 2, 3, … This is a valid probability distribution because the sum over all k equals 1: the series ∑_{k=1}^{∞} p(1−p)^(k−1) = p · 1/(1−(1−p)) = 1.
Mean and Variance
The expected value (mean) of X is E[X] = 1/p. Intuitively, if each trial has a 20% chance of success, you expect to need 1/0.20 = 5 trials on average. The variance is Var(X) = (1−p)/p², and the standard deviation is σ = √((1−p)/p²). These formulas are derived using the geometric series and its derivatives. A smaller p means more trials are needed on average, and also greater spread in the distribution.
The Memoryless Property
The geometric distribution is the only discrete distribution with the memoryless property: P(X > m + n | X > m) = P(X > n) for all positive integers m and n. In plain language, given that you have already had m failures, the probability of needing at least n more trials is exactly the same as if you were starting fresh. You can verify this algebraically: P(X > k) = (1−p)^k, so P(X > m+n | X > m) = P(X > m+n)/P(X > m) = (1−p)^(m+n)/(1−p)^m = (1−p)^n = P(X > n). ✓
Alternative Form: Number of Failures
Some textbooks define the geometric distribution as Y = number of failures before the first success (so Y = X − 1). In this version, Y can take values 0, 1, 2, … and P(Y = k) = (1−p)^k · p. The mean becomes E[Y] = (1−p)/p and the variance remains (1−p)/p². Both forms are valid; always check which definition a problem or formula sheet is using.
The Key Equation
- X — Random variable (trials): The number of the trial on which the first success occurs; takes positive integer values 1, 2, 3, …
- k — Trial number (dimensionless): A specific positive integer representing which trial we are evaluating (k = 1, 2, 3, …)
- p — Probability of success (dimensionless): The constant probability of success on any single trial; must satisfy 0 < p ≤ 1
- (1-p)^{k-1} — Failure run probability (dimensionless): The probability of getting exactly k−1 failures in a row before the first success
Worked Example
Problem. A basketball player makes free throws independently with probability 0.70 each attempt. (a) What is the probability she first makes a free throw on her 3rd attempt? (b) What is the expected number of attempts until she makes her first free throw? (c) What is the probability she needs more than 4 attempts?
Answer. P(X = 3) = 0.063; E[X] ≈ 1.429 attempts; P(X > 4) = 0.0081
Origins · 1 minBlaise Pascal and how this was discovered
Pascal, along with Pierre de Fermat, founded the mathematical theory of probability through their famous correspondence about gambling problems in 1654. Their work on the 'problem of points' established the foundations for calculating probabilities of sequential trials — the conceptual basis upon which the geometric distribution rests. Pascal's triangle also appears in related combinatorial probability calculations. Pascal invented one of the world's first mechanical calculators, called the Pascaline, at age 19 to help his father with tax calculations. He later abandoned mathematics for theology after a religious experience he described as a vision, yet his brief mathematical career produced ideas still central to probability theory today.
Related Concepts
- Binomial Distribution — The binomial distribution counts successes in a fixed number of trials, while the geometric distribution counts trials until the first success — both arise from the same Bernoulli trial framework.
- Negative Binomial Distribution — The negative binomial generalises the geometric distribution by counting the number of trials needed to achieve r successes, making geometric distribution the special case r = 1.
- Geometric Series — The formula for the sum of a geometric series is used to prove that the geometric PMF sums to 1 and to derive the mean and variance formulas.
- Expected Value — The mean E[X] = 1/p of the geometric distribution is a key application of expected value for discrete random variables with infinite support.