The Geometric Distribution

Introduces the geometric distribution, which models the number of independent Bernoulli trials needed to obtain the first success. Covers the probability mass function, cumulative and tail probabilities, mean and variance, and combined range-probability computations.

Step 1 of 157%

Tutorial

The Geometric Distribution

Suppose we perform independent Bernoulli trials, each with success probability pp (and failure probability 1p1-p). Let XX be the number of trials required to obtain the first success. Then XX follows the geometric distribution with parameter pp, written XGeom(p).X \sim \text{Geom}(p).

The probability mass function of XX is

P(X=k)=(1p)k1p,k=1,2,3,P(X = k) = (1-p)^{k-1} \cdot p, \qquad k = 1, 2, 3, \ldots

The reasoning is direct: for the first success to occur on trial k,k, the first k1k-1 trials must be failures (probability (1p)k1(1-p)^{k-1}) and the kkth trial must be a success (probability pp).

For example, suppose we flip a biased coin with P(heads)=0.4P(\text{heads}) = 0.4 until we get heads. The probability that this takes exactly 33 flips is

P(X=3)=(0.6)2(0.4)=0.360.4=0.144.P(X = 3) = (0.6)^{2} \cdot (0.4) = 0.36 \cdot 0.4 = 0.144.
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle