Introduction to the Binomial Distribution
What you'll learn: You'll learn how to model the total number of successes when you repeat a yes/no experiment multiple times independently.
The Core Idea
Imagine flipping a coin 10 times and counting how many heads you get. Or testing 20 products and recording how many are defective. These scenarios share a common structure: you're repeating the same "yes/no" experiment multiple times and counting total successes.
The binomial distribution models exactly this situation. It describes the probability distribution for the number of successes in n independent Bernoulli trials, where each trial has the same probability p of success.
Building Blocks
Recall that a Bernoulli trial is a single experiment with two outcomes: success (with probability p) or failure (with probability 1 − p). The binomial distribution extends this by asking: "If I perform n such trials independently, what's the probability I get exactly k successes?"
Key Components
A binomial distribution is completely determined by two parameters:
- n: the number of independent trials
- p: the probability of success on each individual trial
We write X ~ Binomial(n, p) to indicate that the random variable X follows a binomial distribution.
Why "Binomial"?
The name comes from the binomial theorem, which we'll use to derive the probability mass function. The distribution counts discrete outcomes (0, 1, 2, ..., n successes), so it's a discrete distribution.
Key Takeaway: The binomial distribution models the total number of successes in n independent Bernoulli trials, each with success probability p, combining repeated yes/no experiments into a single probability distribution.