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
Memory hook. Decide FIRST which version you are in. Counting failures: mean (1−p)/p. Counting trials: mean 1/p. The variance is (1−p)/p² either way — shifting by one changes the mean, never the variance.

Where the moments come from

  1. : failures then a success, by independence.
  2. . Differentiating the geometric series gives with .
  3. So .
  4. The same trick on the second derivative gives , and .
  5. 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.

  1. 'The fourth file is the first success' means 3 failures then a success, so under the failures-before-first-success parameterisation.
  2. .
  3. , 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.