Binomial Distribution
A basketball player takes free throws. A quiz has multiple-choice questions you guess on. A factory tests light bulbs. Each of these repeats the same yes-or-no trial several times and counts the “yes” results. The binomial distribution gives the probability of every possible count, with one formula.
Key ideas
Section titled “Key ideas”When is it binomial?
Section titled “When is it binomial?”A random variable has a binomial distribution when all four conditions hold:
- There is a fixed number of trials, .
- Each trial has two outcomes: success or failure.
- The probability of success, , is the same on every trial.
- The trials are independent.
is the number of successes in the trials, so . The probability of failure is (sometimes written ).
“Success” just means the outcome you’re counting. It can be something bad, like a defective bulb.
The formula
Section titled “The formula”Here’s why each part is there:
- is the probability of one particular order with successes and failures (multiply, because the trials are independent).
- counts how many orders there are: the number of ways to choose which of the trials are the successes. (See combinations; it’s also written or .)
Technology: on a TI-83/84, binompdf(n, p, k) gives , and binomcdf(n, p, k) gives . In a spreadsheet, use =BINOM.DIST(k, n, p, FALSE) and =BINOM.DIST(k, n, p, TRUE).
Expected value
Section titled “Expected value”For a binomial distribution,
This makes sense: if you take shots with a chance each, you expect about to go in.
The table and histogram
Section titled “The table and histogram”The distribution for and , rounded to decimal places:
(The rounded values add to ; the exact values add to .)
How the shape changes as n increases
Section titled “How the shape changes as n increases”When , the histogram is symmetric. When is less than , it’s skewed right (a long tail toward the large values); when is greater than , it’s skewed left.
As increases (with fixed), the histogram:
- moves to the right, because its centre grows;
- spreads out over more values;
- becomes more symmetric and bell-shaped, even if isn’t .
That bell shape is the reason a binomial distribution can be approximated by a normal distribution when is large; see normal approximation.
“At least” problems
Section titled ““At least” problems”For “at least one”, use the complement: the opposite of “at least one success” is “no successes”.
Similarly, . This is much faster than adding up many terms.
Worked examples
Section titled “Worked examples”Example 1: Is it binomial?
Section titled “Example 1: Is it binomial?”Decide whether is binomial. If it is, give and .
- (a) A die is rolled times, and is the number of s.
- (b) Five cards are dealt from a deck, and is the number of hearts.
- (c) A coin is flipped until it lands heads, and is the number of flips.
Solution.
(a) Yes. There are independent trials, each a success () or failure, with every time. So , .
(b) No. The cards aren’t replaced, so the trials are dependent: the chance of a heart changes after each card. (This is the hypergeometric distribution.)
(c) No. The number of trials isn’t fixed.
Example 2: Free throws
Section titled “Example 2: Free throws”A basketball player makes of her free throws. She takes shots, and the shots are independent. Find the probability that she makes exactly .
Solution. This is binomial with , , and .
The counts which shot is the miss: the first, second, third, fourth, or fifth.
Example 3: Using the table
Section titled “Example 3: Using the table”For and , use the table above to find and .
Solution.
On the histogram, is exactly where the tallest bar is.
Example 4: At least one defective
Section titled “Example 4: At least one defective”A large shipment of light bulbs has defective. A sample of bulbs is tested. (The shipment is so large that the trials are close enough to independent.) Find the probability that at least one bulb is defective, and that at least two are.
Solution. This is binomial with and . Use the complement.
For at least two, also take away :
The expected number of defective bulbs is .
Common mistakes
Section titled “Common mistakes”Using the binomial formula when the trials are dependent. Drawing without replacement from a small group changes each time, so it isn’t binomial. Check all four conditions first.
Forgetting the combination. is the probability of one order. Multiply by to count all the orders.
Mixing up k and n − k in the exponents. The power of is the number of successes; the power of is the number of failures. The two exponents always add to .
Adding many terms for “at least”. for trials would need terms. Use instead.
Getting “at most” and “at least” backwards. “At most ” means (, , or ). “At least ” means . Also, is , not .
Practice
Section titled “Practice”1. (Warm-up) Is binomial? Explain briefly.
- (a) is the number of heads in coin flips.
- (b) is the number of red marbles when are drawn without replacement from a bag of red and blue.
- (c) is the number of rolls of a die until you get a .
Solution
(a) Yes: independent flips, each time.
(b) No: without replacement, the trials are dependent ( changes after each draw).
(c) No: the number of trials isn’t fixed.
2. (Warm-up) A fair coin is flipped times. Find the probability of exactly heads.
Solution
3. (Warm-up) A binomial experiment has and . Find .
Solution
4. (Core) A fair die is rolled times. Find the probability of exactly two s.
Solution
Binomial with , , :
5. (Core) Make the probability distribution table for a binomial experiment with and , and find . Describe the shape of its histogram.
Solution
Using :
Check: the values add to . ✓ .
The histogram is strongly skewed right: two tall bars at and , then a quick drop to almost nothing at .
6. (Core) A student guesses on all questions of a multiple-choice quiz. Each question has choices.
- (a) Find the probability of getting at least one right.
- (b) Find the probability of getting at least right (a pass).
- (c) How many does the student expect to get right?
Solution
Binomial with , .
(a) .
(b) . Guessing is not a good plan for passing.
(c) questions.
7. (Core) At a large school, of students walk or bike to school. Seven students are chosen at random. Find the probability that at most of them walk or bike.
Solution
Binomial with , . “At most ” means , , or .
(Adding the unrounded values gives ; adding the three rounded values above gives . Keep full values on your calculator until the end.)
8. (Challenge) How many times must you roll a fair die so that the probability of getting at least one is more than ?
Solution
For rolls, . You need .
Try values: (too big) and (small enough).
So you need at least rolls. Then .
9. (Challenge) A binomial random variable has and . Find , then find . Is likely to be the single most probable value? Explain.
Solution
From : .
Yes. The tallest bar of a binomial histogram is at (or right next to) , and here is a whole number, so is the most probable value. Even so, its probability is only about : the other values together are much more likely.