Math ClubMath Club
v1 · padrão canônico

Lesson 75 — Binomial distribution

n independent Bernoulli trials. Binomial PMF, expectation np, variance np(1-p). Applications in quality control, A/B testing, genetics, and elections.

Used in: Stochastik — Leistungskurs alemão · H2 Math — Singapura · AP Statistics — EUA · Math B — Japão

P(X=k)=(nk)pk(1p)nk,E[X]=np,Var(X)=np(1p)P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}, \quad E[X] = np, \quad \text{Var}(X) = np(1-p)
Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous definition

BInS Conditions

"If each trial in a binomial experiment has pp = 0.5, meaning the outcomes are equally likely, the distribution looks bell shaped. As pp moves away from 0.5, the graph skews right or left." — OpenStax Statistics §4.4

Solved examples

Exercise list

42 exercises · 10 with worked solution (25%)

Application 24Understanding 2Modeling 12Proof 4
  1. Ex. 75.1Application

    XBin(5,0.5)X \sim \text{Bin}(5, 0.5). Calculate P(X=3)P(X = 3).

  2. Ex. 75.2Application

    XBin(10,0.3)X \sim \text{Bin}(10, 0.3). Calculate P(X=0)P(X = 0).

  3. Ex. 75.3ApplicationAnswer key

    XBin(8,0.25)X \sim \text{Bin}(8, 0.25). Calculate P(X=2)P(X = 2).

  4. Ex. 75.4Application

    XBin(6,1/6)X \sim \text{Bin}(6, 1/6). Calculate P(X1)P(X \geq 1) using the complement.

  5. Ex. 75.5ApplicationAnswer key

    XBin(4,0.5)X \sim \text{Bin}(4, 0.5). Create the complete PMF table for k=0,1,2,3,4k = 0, 1, 2, 3, 4.

  6. Ex. 75.6ApplicationAnswer key

    XBin(20,0.1)X \sim \text{Bin}(20, 0.1). Calculate E[X]E[X] and Var(X)\text{Var}(X).

  7. Ex. 75.7Application

    XBin(100,0.5)X \sim \text{Bin}(100, 0.5). Calculate σ=Var(X)\sigma = \sqrt{\text{Var}(X)}.

  8. Ex. 75.8Application

    Flip 10 coins. Calculate P(exactly 5 heads)P(\text{exactly 5 heads}).

  9. Ex. 75.9ApplicationAnswer key

    Flip 10 coins. Calculate P(at least 8 heads)P(\text{at least 8 heads}).

  10. Ex. 75.10ApplicationAnswer key

    Roll a die 6 times. Calculate P(exactly 2 sixes)P(\text{exactly 2 sixes}).

  11. Ex. 75.11Application

    Roll a die 6 times. Calculate P(no sixes)P(\text{no sixes}).

  12. Ex. 75.12Application

    For XBin(n,p)X \sim \text{Bin}(n, p), calculate P(X=0)+P(X=n)P(X = 0) + P(X = n) in terms of nn and pp.

  13. Ex. 75.13Application

    For XBin(n,p)X \sim \text{Bin}(n, p), derive the ratio P(X=k)/P(X=k1)P(X = k)/P(X = k-1) in terms of nn, pp, and kk.

  14. Ex. 75.14Application

    Show that the mode of Bin(n,p)\text{Bin}(n, p) is (n+1)p\lfloor (n+1)p \rfloor. Calculate the mode of Bin(10,0.3)\text{Bin}(10, 0.3).

  15. Ex. 75.15Application

    XBin(100,0.3)X \sim \text{Bin}(100, 0.3). Approximate P(X25)P(X \leq 25) using normal (use continuity correction).

  16. Ex. 75.16Application

    XBin(1000,0.001)X \sim \text{Bin}(1000, 0.001). Use the Poisson approximation for P(X=0)P(X = 0).

  17. Ex. 75.17Application

    XBin(50,0.5)X \sim \text{Bin}(50, 0.5). Approximate P(X30)P(X \geq 30) using normal with continuity correction.

  18. Ex. 75.18Application

    X1Bin(10,0.3)X_1 \sim \text{Bin}(10, 0.3) and X2Bin(20,0.3)X_2 \sim \text{Bin}(20, 0.3) are independent. What is the distribution of X1+X2X_1 + X_2?

  19. Ex. 75.19Application

    XBin(50,0.02)X \sim \text{Bin}(50, 0.02). Use Poisson approximation for P(X=0)P(X = 0), P(X=1)P(X = 1), and P(X=2)P(X = 2).

  20. Ex. 75.20Application

    Election: p=0.52p = 0.52, n=1000n = 1000. Approximate P(p^<0.50)P(\hat p < 0.50), the chance the poll misidentifies the leader.

  21. Ex. 75.21Application

    For XBin(n,0.5)X \sim \text{Bin}(n, 0.5), from what nn is the normal approximation considered good? Justify.

  22. Ex. 75.22Application

    Show that the variance of Bin(n,p)\text{Bin}(n, p) is maximized at p=0.5p = 0.5 for fixed nn.

  23. Ex. 75.23Application

    Spam filter with 90% recall. In 500 real spam emails, P(flagged470)P(\text{flagged} \geq 470).

  24. Ex. 75.24ApplicationAnswer key

    Why can the formula Var(X)=np(1p)\text{Var}(X) = np(1-p) be deduced by decomposition into Bernoulli variables?

  25. Ex. 75.25Modeling

    Production line: 3% defective. Batch of 50 parts. Calculate P(at least 3 defective)P(\text{at least 3 defective}).

  26. Ex. 75.26Modeling

    Vaccine: 85% efficacy. In 100 vaccinated, P(90 protected)P(\geq 90 \text{ protected}). Use normal approximation.

  27. Ex. 75.27Modeling

    A/B test: variant A, 100 visitors, 14 bought. Variant B, 100 visitors, 22 bought. Calculate the p-value of the z-test for difference of proportions.

  28. Ex. 75.28ModelingAnswer key

    Election poll: n=1500n = 1500, desired margin of error ±2.5%\pm 2.5\% at 95%. Is the size sufficient?

  29. Ex. 75.29ModelingAnswer key

    Genetics: cross Aa×AaAa \times Aa, each offspring has prob. 1/41/4 of being AAAA. In 8 children, P(exactly 2 are AA)P(\text{exactly 2 are } AA).

  30. Ex. 75.30ModelingAnswer key

    Call center: 5% of calls fail. In 200 calls, calculate expectation and σ\sigma of failures.

  31. Ex. 75.31Modeling

    Six Sigma (with 1.5σ adjustment): rate of 3.4 ppm. In 1 million parts, use Poisson approximation for P(0 defects)P(0 \text{ defects}) and E[defects]E[\text{defects}].

  32. Ex. 75.32Modeling

    Bet: 30% chance of winning R100.EachplaycostsR 100. Each play costs R 25. In 20 plays, what is the total expected profit?

  33. Ex. 75.33Modeling

    Lead conversion rate: 1%. To close 5 deals per month on average, how many leads do you need to generate?

  34. Ex. 75.34Modeling

    ENEM: 60% of candidates reach the minimum score on the essay. In a class of 20 students, calculate E[X]E[X], σ\sigma, and P(X15)P(X \geq 15).

  35. Ex. 75.35Modeling

    Urn with 30% red balls. 50 draws with replacement. Why does the binomial apply? Calculate E[X]E[X] and P(X=15)P(X = 15).

  36. Ex. 75.36Modeling

    Public exam: 8% approval rate. Class of 30 students. E[passed]E[\text{passed}] and P(at least 1 passed)P(\text{at least 1 passed}).

  37. Ex. 75.37Understanding

    Why does the binomial not apply to sampling without replacement? Give a numerical counterexample where using binomial would give the wrong answer.

  38. Ex. 75.38Understanding

    What is the fundamental difference between binomial and hypergeometric distributions?

  39. Ex. 75.39Proof

    Demonstrate E[X]=npE[X] = np and Var(X)=np(1p)\text{Var}(X) = np(1-p) via decomposition X=Y1++YnX = Y_1 + \cdots + Y_n into Bernoulli variables.

  40. Ex. 75.40ProofAnswer key

    Demonstrate the Poisson limit: Bin(n,λ/n)Poisson(λ)\text{Bin}(n, \lambda/n) \to \text{Poisson}(\lambda) when nn \to \infty with λ\lambda fixed.

  41. Ex. 75.41Proof

    Demonstrate that k=0n(nk)pk(1p)nk=1\sum_{k=0}^n \binom{n}{k} p^k (1-p)^{n-k} = 1 using the Binomial Theorem.

  42. Ex. 75.42Proof

    Demonstrate additivity: if XBin(n1,p)X \sim \text{Bin}(n_1, p) and YBin(n2,p)Y \sim \text{Bin}(n_2, p) are independent (same pp), then X+YBin(n1+n2,p)X + Y \sim \text{Bin}(n_1 + n_2, p).

Sources

Updated on 2025-05-14 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.