Exam PDiscreteFree to read
Geometric distribution
The number of failures before the first success in repeated independent trials.
Parameters and support
- probability of success on one trial —
- Support
The formulas
- p(x)
- F(x)
- Mean
- Variance
- MGF
Where the moments come from
- : failures then a success, by independence.
- . Differentiating the geometric series gives with .
- So .
- The same trick on the second derivative gives , and .
- The geometric is the only discrete distribution that is MEMORYLESS: .
Worked example
A claims adjuster reviews files one at a time; each is independently misfiled with probability 0.2. Find the probability that the first misfiled file is the fourth one reviewed.
- 'The fourth file is the first success' means 3 failures then a success, so under the failures-before-first-success parameterisation.
- .
- , so .
Answer: 0.1024
The mean, variance, CDF and moment generating function above are re-derived numerically from this distribution’s own density on every test run — summed over the support for a discrete distribution, integrated by quadrature for a continuous one — and compared with the closed forms printed here. A typo on this page fails the build.
Traps
- Mixing the two parameterisations mid-problem — the trials version is the failures version plus 1.
- Applying memorylessness to a non-geometric discrete distribution; it is the only one that has it.
Related
Drill this: the Exam P question bank has original questions on this distribution, and the recall trainer builds its prompts from exactly the formulas above.