2.10 - The Binomial Distribution
Overview
A lot of random processes come down to counting successes: how many free throws go in, how many patients improve, how many students in a sample walk to school. When the setting meets four specific conditions, that count follows a binomial distribution, and you can find its probabilities, mean, and standard deviation with formulas instead of building a full table by hand. This topic covers how to recognize a binomial setting, calculate binomial probabilities, find and interpret the mean and standard deviation, and estimate binomial probabilities with a simulation.
What makes a random variable binomial
A binomial random variable is a discrete random variable that counts the number of successes in repeated independent trials, where each trial has only two possible outcomes (success or failure), the probability of success is , and the probability of failure is .
To justify that a random variable is binomial, check all four conditions. The letters BINS help you remember them:
- Binary: each trial has only two outcomes, success or failure. "Success" just means the outcome you're counting. It doesn't have to be a good thing.
- Independent: the outcome of one trial doesn't change the probability of success on any other trial.
- Number: the number of trials, , is fixed in advance.
- Same probability: the probability of success, , is the same on every trial.
If all four hold, we say has a binomial distribution with parameters and . On the AP exam, write it out in words, for example " is binomial with and ," and explain each condition in the context of the problem.
Sampling without replacement: the 10% condition
When you select people from a population without replacement, the trials aren't exactly independent. Picking one student who walks to school leaves slightly fewer walkers for the next pick. If the sample is small compared with the population, this change is too small to matter. The rule of thumb is the 10% condition: if the sample size is at most 10% of the population size (), you can treat the trials as independent. You'll use this condition all through Units 3 and 4.
Example 1: Binomial or not?
For each situation, decide whether is a binomial random variable. Justify your answer.
(a) Roll a fair die 10 times. = the number of 6s.
Binomial. Each roll is a 6 or not a 6 (binary). Rolls don't affect each other (independent). There are exactly rolls (number). The probability of a 6 is on every roll (same probability).
(b) Draw cards from a shuffled standard deck until you get an ace. = the number of cards drawn.
Not binomial. The number of trials isn't fixed in advance. You keep drawing until an ace shows up.
(c) Deal 10 cards from a shuffled standard deck. = the number of hearts.
Not binomial. The cards aren't replaced, so the probability of a heart changes from card to card (the trials aren't independent and isn't the same). Since 10 cards is more than 10% of the 52-card deck, the change is too big to ignore.
(d) Suppose 15% of the 1,800 students at a large high school walk to school. Randomly select 20 of these students. = the number of selected students who walk to school.
Binomial (approximately). Each student walks to school or doesn't (binary). There are students (number), and each has probability of walking to school (same probability). The sample is taken without replacement, but , so the 10% condition is met and we can treat the selections as independent.
The binomial probability formula
If is binomial with trials and probability of success , the probability of exactly successes is
This is called the binomial probability function, and it's on the formula sheet. Each piece has a job:
- is the probability of the successes. Since the trials are independent, you multiply.
- is the probability of the failures.
- , read " choose ," counts the different orders the successes could appear in among the trials:
For example, with trials there are ways to get exactly 2 successes: SSF, SFS, and FSS. Each order has probability , so .
Probabilities for a range of values
Many questions ask about more than one value. Translate the words into an inequality carefully. For a count, and are different events, because one includes 4 and the other doesn't.
Words | Event | How to get it |
exactly 4 | binompdf(n, p, 4) | |
at most 4 | binomcdf(n, p, 4) | |
fewer than 4 | , same as | binomcdf(n, p, 3) |
at least 4 | ||
more than 4 | , same as |
On the TI-84
Press
2nd, VARS (DISTR). binompdf(n, p, x) gives . binomcdf(n, p, x) gives the cumulative probability . For "at least" questions, use the complement: .What to write on the AP exam: calculator syntax by itself doesn't earn full credit. Name the distribution and its parameters, show the event with its boundary and direction, then give the answer. For example: " is binomial with and . ." This is the same habit as Topic 2.6: show the setup, then the answer.
Example 2: Students who walk to school
Use the setting from Example 1(d): 20 randomly selected students, each with probability 0.15 of walking to school. is binomial with and .
(a) Find the probability that exactly 2 of the students walk to school. (b) Find the probability that at least 6 walk to school. (c) Find the probability that none of them walk to school.
(a) Use the formula with :
(b) "At least 6" means 6, 7, 8, and so on up to 20. Use the complement:
Here =
binomcdf(20, 0.15, 5) , which is .(c) Every student must be a non-walker:

Answer: (a) about 0.2293, (b) about 0.0673, (c) about 0.0388. For (b): if we took many, many random samples of 20 students from this school, about 6.7% of the samples would have 6 or more students who walk to school. (The bars for 10 or more are too short to see. Together they have probability less than 0.001.)
Mean and standard deviation of a binomial distribution
If is binomial, its mean and standard deviation have simple formulas, both on the formula sheet:
These are shortcuts. You'd get the same answers by using the formulas from Topic 2.9 on the whole table of 21 probabilities. The mean makes intuitive sense: if 15% of students walk to school and you pick 20, you'd expect 15% of 20, which is 3, on average.
Example 3: Interpreting the mean and standard deviation
For the students who walk to school (, ), calculate and interpret the mean and standard deviation of .
Mean: if we took many, many random samples of 20 students from this school, the average number of students per sample who walk to school would be about 3.
Standard deviation: the number of students who walk to school in random samples of 20 typically varies by about 1.60 students from the mean of 3 students.
Notice what the mean does not say. It doesn't say every sample of 20 students has exactly 3 walkers. Some have 0 or 1, and a few have 6 or more. It describes the average over all possible samples.
The shape of a binomial distribution
The shape depends on (and on ):
- If , the distribution is skewed right: most of the probability is on small counts, with a tail to the right. The distribution of walkers above is skewed right.
- If , the distribution is symmetric.
- If , the distribution is skewed left.

For a fixed , a larger makes the distribution more symmetric and bell-shaped. That idea comes back in Unit 3, where a normal model is used for proportions when the sample is large enough.
Estimating binomial probabilities with a simulation
A probability distribution can be built using the rules of probability (like the binomial formula) or estimated with a simulation (Topic 2.3). A simulation is a good way to check a formula answer. Here's a simulation for the students who walk to school:
- Model one trial. Use random two-digit numbers from 00 to 99. Let 01 to 15 represent a student who walks (15 of the 100 numbers), and let 16 to 99 and 00 represent a student who doesn't, so the probability of a walker is .
- Model one sample. Generate 20 two-digit numbers and count how many are from 01 to 15. That count is one simulated value of .
- Repeat. Do this many times. Here, 100 times.
- Estimate. The proportion of simulated samples with estimates .
On a TI-84,
randBin(20, 0.15, 100) generates all 100 simulated counts at once. Here are the results of one simulation:
In this simulation, 7 of the 100 samples had at least 6 students who walk, so the estimate is . That's close to the exact answer of 0.0673. The average of the 100 simulated counts was 2.95, close to . A different simulation would give slightly different numbers, and more repetitions usually give estimates closer to the exact values.
Example 4: A taste test claim (AP-style)
Jada claims she can tell bottled water from tap water by taste. To test her, a friend fills 12 cups. For each cup, a coin flip decides whether it gets bottled or tap water, and Jada tastes it and says which one she thinks it is. She gets 10 of the 12 right.
(a) Suppose Jada is only guessing. Let = the number she gets right. Explain why is binomial and give and . (b) If she's only guessing, find the probability that she gets 10 or more right. (c) Does her result give convincing evidence that she can taste the difference? Explain.
(a) Each guess is right or wrong (binary). The water in each cup is set by a separate coin flip, so one guess doesn't change the chance of being right on another (independent). There are cups (number). A pure guess is right with probability on every cup (same probability). So is binomial with and .
(b) "10 or more" means 10, 11, or 12:
With a calculator: = 1
binomcdf(12, 0.5, 9) .(c) Yes. If Jada were only guessing, she would get 10 or more right only about 1.9% of the time. That's unlikely to happen by chance alone, so her result gives convincing evidence that she can tell the difference. It doesn't prove it, though. A lucky guesser could still do this about 2 times in 100. Asking "how likely is a result this extreme if only chance is at work?" is the idea behind significance tests in Unit 3.
Common mistakes
- Calling something binomial without checking. Go through BINS in context every time. No fixed , or trials that affect each other, means it's not binomial.
- Mixing up pdf and cdf.
binompdfgives exactly .binomcdfgives or fewer.
- Off-by-one errors. , not . Write the event out before you calculate.
- Writing only calculator syntax. Name the distribution, , , and the event, then give the answer.
- Forgetting the square root in .
- Reading the mean as a guarantee. doesn't mean every sample of 20 students has exactly 3 students who walk to school.