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.
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
Foundations
Section titled “Foundations”H1. Check all four conditions. Decide whether each variable is binomial, explaining any failed condition. For a binomial case, give .
- (a) The number of even results in 15 independent rolls of a fair die.
- (b) The number of reds in four draws without replacement from six red and four blue marbles.
- (c) The number of flips until a fair coin first shows tails.
- (d) The number of successful shots in six independent attempts whose success probabilities increase from 0.4 to 0.9.
H2. Parameters and expectation. For 18 independent trials with success probability 0.3, state the possible success counts and failure probability. Find the expected success count and explain why it need not be a whole number.
H3. Exactly four. A player succeeds with probability 0.65 independently on each of six shots. Find the probability of exactly four successes. Explain what the combination factor counts. Round to four decimal places.
H4. A complete distribution. For , make the full probability table, check its sum, and find . Describe the histogram’s shape and identify its tallest bar.
H5. Defective items. Model 12 tests as independent, each with defect probability 0.08. Find the probabilities of at least one defect and at least two defects. Show the complement calculations and round to four decimal places.
H6. Cumulative language. A student guesses independently on eight four-choice questions, each with one correct answer. Find the probabilities of at most two correct, more than two correct, and between two and four correct inclusive. Round to four decimal places and state the counts included in each event.
Challenge
Section titled “Challenge”H7. A minimum number of attempts. Each independent attempt succeeds with probability 0.2. Find the smallest number of attempts for which the probability of at least one success is at least 0.95. Verify your number and the preceding number.
H8. Recover a parameter. A binomial variable has and . Find and to four decimal places. Use a computed probability table to check which count is most likely. Does the most likely count have probability greater than 0.5?
H9. One order versus every order. In seven independent trials with , a student claims the probability of exactly three successes is . Explain the missing factor, calculate the correct probability to four decimal places, and give an event for which the student’s expression is correct.
H10. Different success probabilities. Machine A makes four independent attempts with success probability 0.6; machine B makes three with success probability 0.8. All seven attempts are independent.
- (a) Explain why their combined success count is not modelled by one binomial distribution with a common .
- (b) Find the probability of at least one success across both machines.
- (c) Find the probability of exactly one success across both machines by separating which machine succeeds.