Exercises — Common discrete distributions — Bernoulli, Binomial, Poisson, Geometric, Negative Binomial
Level 1 — Recognition
Goal: read a word problem and match it to exactly one of the five distributions, then write down its probability mass function (the rule that gives ).
Problem 1.1
A single fair die is rolled once. Let if it shows a six, else . Name the distribution of and state and .
Recall Solution 1.1
WHAT it is: one trial, two outcomes (six / not six). That is the Bernoulli atom. Success probability , so . WHY not Binomial? Binomial needs several fixed trials; here , and Binomial is Bernoulli.
Problem 1.2
You keep buying lottery tickets, each independently winning with probability , until you win your first prize. Let be the number of tickets bought. Name the distribution and give .
Recall Solution 1.2
Signal words: "until the first success." That is the Geometric distribution (trials-counting convention). With , : WHY ? The first tickets must all lose, and the -th wins — the winning position is fixed at the end, so there is no "choose" factor.
Problem 1.3
A page of text averages typos. Let be the number of typos on one page. Name the distribution and give .
Recall Solution 1.3
Signal: many tiny opportunities (each character could be a typo), rare event, a rate per unit. That is Poisson. See Poisson process.
Level 2 — Application
Goal: plug numbers into one pmf and compute.
Problem 2.1
A quiz has 12 true/false questions; you guess each independently with . What is ?
Recall Solution 2.1
WHAT: fixed number of trials , count successes → Binomial. Now and . WHY ? It counts which 9 of the 12 questions you got right; each such arrangement has the same probability .
Problem 2.2
Calls arrive at per minute. What is ?
Recall Solution 2.2
Poisson, window = 1 minute (matches the rate, so no rescaling):
Problem 2.3
A basketball player sinks each free throw with . What is the probability her first miss happens on the 4th throw?
Recall Solution 2.3
Here a "success" for the Geometric is the event we wait for — a miss, probability . Let (miss) and let the "non-event" be a make, probability . First miss on throw 4 = three makes then a miss: WHY re-label? Geometric counts trials until the event of interest. Here that event is the miss, so its probability plays the role of in : .
Level 3 — Analysis
Goal: use means, variances, and cumulative ("at least / more than") reasoning.
Problem 3.1
For Binomial, compute the mean and variance, and the standard deviation.
Recall Solution 3.1
From the decomposition of independent Bernoullis (Linearity of expectation for the mean, independence for adding variances): Standard deviation . See Expectation and Variance.
Problem 3.2
You roll a fair die until the first six. What is — that you need more than 3 rolls? Give the exact value.
Recall Solution 3.2
Geometric. "More than 3 rolls" means the first 3 rolls all fail: WHY just ? is exactly the event "no six in the first three rolls" — three independent failures, each probability . This is the tail formula .
Problem 3.3
Using the die-until-six setup, verify the Memorylessness property numerically: show
Recall Solution 3.3
By the definition of conditional probability and the tail formula : And directly. Both equal . ✓ WHY they match: the two failures already spent () cancel out of the ratio. The die "forgets" them — this is the discrete cousin of the Exponential distribution's memorylessness.
Level 4 — Synthesis
Goal: combine distributions, or switch between conventions and derivations.
Problem 4.1
A quality inspector tests components (each defective independently with ) until she finds the 3rd defective. Let be the number of components tested. Find and .
Recall Solution 4.1
"Until the 3rd success" → Negative Binomial, with success = defective. Now , , : Mean: a Negative Binomial is the sum of independent Geometrics, so WHY and not ? The 6th (last) test is forced to be the stopping defective. Only the other defectives are free to sit anywhere among the first tests.
Problem 4.2
Derive the Geometric mean from scratch using a Geometric series differentiation, and confirm it for the die ().
Recall Solution 4.2
WHAT we start with: . WHY differentiate: the sum is just the term-by-term derivative of (valid for ). Differentiating gives us the extra factor of we need. Put (so ): For the die, rolls on average. ✓
Problem 4.3
A page has an average of typos. A book has 300 such pages. What is the expected number of typos in the book, and the probability the book has exactly 0 typos over its whole length? (Typos on different pages are independent.)
Recall Solution 4.3
Key idea: the sum of independent Poissons is again Poisson, with rates added. Over 300 pages the rate scales: Expected typos . Probability of exactly 0 typos: WHY scale : this is the same window-scaling from L2 — enlarge the window (1 page → 300 pages) and the mean count grows proportionally, a property of the underlying Poisson process.
Level 5 — Mastery
Goal: chain several tools, verify a signature identity, and interpret.
Problem 5.1
A factory's daily defect count is Poisson. On a given day, find (at least two defects). Then, treating each day independently, find the probability that the first day with defects is day 4.
Recall Solution 5.1
Step 1 — Poisson tail (WHAT & WHY complement): computing directly needs infinitely many terms, so subtract the two easy ones from 1: Step 2 — days become a Geometric: call a day a "success" if it has defects, so the per-day success probability is . The first success on day 4 is Geometric: WHY two layers: the within-day count is Poisson; the across-days waiting is Geometric built on a single yes/no event per day — a clean example of nesting the five distributions.
Problem 5.2
Confirm the Poisson signature fact for numerically: compute the mean and variance from the definition truncated at and show both equal to high accuracy.
Recall Solution 5.2
WHAT: and . The parent derivation gives and exactly. Truncating the sums at (the tail beyond that is astronomically small for ) reproduces for both. Signature: mean variance is the fingerprint of Poisson; if a dataset's variance far exceeds its mean, Poisson is the wrong model (it is "over-dispersed"). This equality is inherited from the Binomial limit where as .
Problem 5.3
Let . Use the MGF to recover , and check it equals .
Recall Solution 5.3
WHY the MGF: derivatives of at generate moments — — turning an infinite sum into calculus. At , and : This matches . ✓
Recall One-line self-quiz
Geometric shortcut? ::: — the first trials all failed. Negative Binomial "choose" factor? ::: — last trial is the forced stopping success. Poisson mean vs variance? ::: Both equal . Scaling a Poisson to a bigger window? ::: Multiply by the window ratio.