Discrete Distributions — Uniform, Bernoulli, Binomial, Poisson and Friends
The discrete uniform, Bernoulli, binomial, Poisson, geometric, negative binomial and hypergeometric distributions — when each arises, their PMFs, means, variances and MGFs, the Poisson approximation to the binomial, memorylessness, and how to recognise which model a word problem is describing.
Each discrete distribution is a story. Recognising the story in a word problem is most of the work; the formulas then follow.
Summary table
Distribution
Story
PMF P(X=k)
Mean
Variance
Discrete uniform on {a,…,b}
each of n=b−a+1 values equally likely
1/n
2a+b
12n2−1
Bernoulli(p)
one trial, success = 1
pk(1−p)1−k, k∈{0,1}
p
p(1−p)
Binomial(n,p)
successes in n independent trials
(kn)pk(1−p)n−k
np
np(1−p)
Poisson(λ)
count of rare events in a fixed interval
e−λk!λk
λ
λ
Geometric(p)
trials until the first success, k=1,2,…
(1−p)k−1p
1/p
p21−p
Negative binomial(r,p)
trials until the r-th success
(r−1k−1)pr(1−p)k−r
r/p
p2r(1−p)
Hypergeometric(N,K,n)
successes in n draws without replacement from N items, K of them successes
(nN)(kK)(n−kN−K)
nNK
nNKNN−KN−1N−n
Bernoulli and binomial
A Bernoulli RV is an indicator of success. A binomial is a sum of n independent Bernoulli(p) indicators, which immediately gives E=np and Var=np(1−p) by linearity and independence.
The PMF peaks at the mode⌊(n+1)p⌋.
P(X≥1)=1−(1−p)n — the "at least one success" formula.
MGF: (1−p+pet)n.
Poisson
The Poisson models counts of events that occur independently at a constant average rate: arrivals per minute, typos per page, defects per metre. If events occur at rate r per unit time, the count in time t is Poisson(rt).
∑ke−λλk/k!=1 because ∑λk/k!=eλ.
Mean = variance = λ (a quick check for over-dispersed data, where variance > mean).
Recurrence: P(k+1)=P(k)⋅k+1λ — handy for computing several terms.
MGF: eλ(et−1).
Poisson approximation to the binomial
If n is large, p is small and np=λ is moderate (rule of thumb n≥20, p≤0.05), then Bin(n,p)≈Poisson(np). This is a limit theorem: (kn)pk(1−p)n−k→e−λλk/k!.
Geometric and memorylessness
P(X>k)=(1−p)k (the first k trials all fail). Hence
P(X>s+t∣X>s)=(1−p)s(1−p)s+t=(1−p)t=P(X>t).
Past failures do not make success "due" — the gambler's fallacy. The geometric is the only memoryless discrete distribution (the exponential is the only memoryless continuous one).
Hypergeometric vs binomial
Drawing without replacement gives a hypergeometric; with replacement gives a binomial with p=K/N. The variances differ by the finite population correctionN−1N−n; when N≫n the two are nearly identical.
Which distribution is it?
Quick revision
Practice questions
GATE-style questions: 4 one-mark and 6 two-mark. Wrong MCQs cost ⅓ of their marks in the real exam; MSQ and NAT have no negative marking. Attempt each before opening the solution.
Q1NAT1 mark
A fair coin is tossed 5 times. The probability of exactly 2 heads is ______.
Q2NAT2 marks
The number of emails arriving in a minute follows a Poisson distribution with mean 2. The probability that at least 2 emails arrive in a given minute is ______ (round to two decimals).
Q3MCQ1 mark
A binomial random variable has mean 6 and variance 2.4. Its parameters (n,p) are
Q4NAT2 marks
1% of items produced by a machine are defective. Using the Poisson approximation, the probability that a batch of 200 items contains no defective item is ______ (round to two decimals).
Q5MCQ1 mark
Which distribution has its variance equal to its mean for every value of its parameter(s)?
Q6NAT1 mark
X is uniformly distributed on {1,2,…,10}. Then Var(X) is ______.
Q7NAT2 marks
Each attempt at a task succeeds independently with probability 0.2. The probability that the first success occurs on the third attempt is ______.
Q8MSQ2 marks
Which of the following statements are true?
One or more options are correct.
Q9NAT2 marks
A box has 10 items of which 4 are defective. Three items are drawn without replacement. The probability that exactly one of them is defective is ______.
Q10NAT2 marks
X∼Bin(3,p) and P(X≥1)=0.875. The value of p is ______.