probability distributions
Binomial Distribution
You should know: discrete probability distributions, expectation
Overview
The binomial distribution models the number of successes in a fixed number n of independent trials, each with the same probability p of success (a Bernoulli trial). It is characterized by two parameters: n (number of trials) and p (probability of success on each trial). Examples include the number of heads in 10 coin flips, or the number of defective items in a batch of 50 when each item independently has a 2% chance of being defective. The distribution's mean is np and its variance is np(1-p), reflecting how spread out the possible success counts are.
Intuition
The binomial coefficient C(n,k) counts how many different orderings of k successes and n−k failures are possible (e.g., HHT, HTH, THH all give 2 heads in 3 flips), and each such ordering has the same probability p^k(1-p)^(n-k). Multiplying the count of arrangements by the probability of any one arrangement gives the total probability of exactly k successes — this is why the formula combines a combinatorial term with a probability term.
Formal Definition
If X counts the number of successes in n independent Bernoulli(p) trials, X ~ Binomial(n, p), with probability mass function:
Worked Examples
Here n = 4, p = 0.5, k = 2. Compute the binomial coefficient.
Apply the PMF formula.
Answer: P(X = 2) = 0.375.
Practice Problems
A fair coin is flipped 5 times. Find P(exactly 3 heads).
For X ~ Binomial(n=20, p=0.3), find the mean and standard deviation.
A multiple-choice quiz has 4 questions, each with 4 options (only 1 correct). If a student guesses randomly on every question, find the probability of getting exactly 1 question correct.
Quiz
Summary
- The binomial distribution models the count of successes in n independent trials with constant success probability p.
- Its PMF is P(X=k) = C(n,k) p^k (1-p)^(n-k), with mean np and variance np(1-p).
- It generalizes the single Bernoulli trial to repeated, independent trials — the foundation for many discrete probability models.
Mathematics