2.7.13 · D4Statistics & Probability — Intermediate

Exercises — Binomial distribution — PMF, mean, variance

1,865 words8 min readBack to topic

Below, always means (the failure probability), and means " is a binomial count with trials and success chance ".


Level 1 — Recognition

Recall Solution

Check the BINS conditions: Binary, Independent, fixed Number, Same .

  • (a) Binomial. Each flip is head/tail (Binary), flips don't influence each other (Independent), exactly of them (Number fixed), and every time (Same ). So .
  • (b) NOT binomial. Removing a card changes the deck, so (red) shifts each draw and draws are dependent. This is the without-replacement cousin → Hypergeometric distribution.
  • (c) NOT binomial. The number of trials is not fixed in advance — you stop when the six appears. That's a geometric waiting-time question, not a fixed- count.
  • (d) Binomial (approximately). Binary Yes/No, essentially constant and independence because the population is huge relative to , and is fixed. So .
Recall Solution

(fixed number of shots), (same each shot, independent, made/missed is binary). So , and can be any integer .


Level 2 — Application

Recall Solution

WHAT: exactly successes in trials with , . HOW: plug into the PMF. (ways to place the 2 successes). Then and .

Recall Solution

defects on average. . . Reading it: expect about defects, usually within of that. A batch of defects sits standard deviations high — a genuine alarm.

Recall Solution

"" means or ; these are separate outcomes, so add their probabilities.


Level 3 — Analysis

Recall Solution

Computing is terms. Use the complement instead: , so . Why complement wins: "" is a single term — one line replaces fifty.

Recall Solution

The range is smaller to remove than to add — but here it's clean either way. Directly: Sum: . Check by complement: the outside is : , , ; total , and ✓.

Recall Solution

Conditional probability: . Here , , and so .


Level 4 — Synthesis

Recall Solution

Failure of the whole system = all servers down. Each is down with probability . Take base-10 logs: , i.e. , so . The smallest integer is . Check: , giving ✓.

Recall Solution

Let = number of wins. Net profit . By Linearity of expectation, . Expected net profit =\4E[X]=np=2$ wins.

Recall Solution

. Exact: . , , . . Poisson: . They agree to about decimals — expected, since is large and tiny with moderate. This is exactly the regime where binomial Poisson.


Level 5 — Mastery

Recall Solution

Write both PMF values and divide — the factorials telescope: Now . So the ratio is . ✓ Deduce the mode: the PMF rises () exactly while this ratio : So probabilities increase up to and decrease after — the mode is (and if is an integer, both it and tie). See the staircase figure.

Figure — Binomial distribution — PMF, mean, variance
Recall Solution

Fix . Maximise . Complete the square: Since and is subtracted, , with equality iff . Therefore , maximised at , giving ; and at or (no randomness). See the parabola figure.

Figure — Binomial distribution — PMF, mean, variance
Recall Solution

Conceptual proof (cleanest). counts successes in independent trials each with success chance ; counts successes in another such trials. Pool all trials: they are independent, binary, fixed in number, and share the same — that is exactly the BINS setup for . The total count is that binomial. ∎ Consistency checks (these need equal, and independence for variance): Caveat: if the two 's differed, pooling would violate Same and would not be binomial — the sum theorem hinges on identical .


Connections

  • Bernoulli distribution — each single trial in every problem above.
  • Linearity of expectation — powers L4.2's payoff shortcut.
  • Variance and covariance — behind the "variance adds" step in L5.3.
  • Poisson distribution — the large-, small- limit checked in L4.3.
  • Normal approximation to binomial — the next tool once is large.
  • Hypergeometric distribution — the without-replacement case that killed L1.1(b).
  • Binomial Theorem — the identity guaranteeing the PMF sums to 1.