The binomial distribution
The binomial distribution models the number of successes in a fixed number of repeated trials. It is appropriate only when each trial has two possible outcomes, trials are independent, and the probability of success stays constant.
If counts successes in trials and each trial has success probability , write
Then, for ,
This lesson develops the model, the formula, cumulative probabilities, calculator methods, and the distribution’s mean and variance.
Prerequisites
Section titled “Prerequisites”You should be able to:
- use complements, mutually exclusive events and independence from probability;
- calculate combinations such as ;
- interpret a discrete random variable;
- distinguish a mathematical model from reality using probability modelling.
Recognising a binomial model
Section titled “Recognising a binomial model”Check all four conditions before writing .
| Condition | What it means |
|---|---|
| Fixed number of trials | is decided in advance |
| Two outcomes per trial | Each trial is classified as success or failure |
| Independent trials | One result does not change the probabilities on another trial |
| Constant success probability | The same value of applies on every trial |
The word success is only a label for the outcome being counted. A defective component, a missed penalty, or a patient experiencing a side effect may all be called a success in a binomial model.
Example 1: deciding whether the model applies
Section titled “Example 1: deciding whether the model applies”For each situation, decide whether a binomial model is reasonable.
- A fair coin is tossed times and counts heads.
- Five cards are drawn from an ordinary pack without replacement and counts aces.
- A machine produces components independently, with probability that any component is defective. Of the next components, counts defects.
- A die is rolled until the first six appears, and counts the number of rolls.
Situation 1: yes. There are fixed, independent trials, each with outcomes head or not head and constant probability . Thus
Situation 2: not exactly. Without replacement, the probability of an ace changes after each draw and the trials are dependent.
Situation 3: yes, under the stated independence and constant defect rate:
Situation 4: no. The number of trials is not fixed. The experiment stops at a random time.
Self-check 1
Section titled “Self-check 1”A bag contains red and blue counters. A counter is selected, its colour is recorded, and it is replaced. This is repeated times. Let count red selections. State a suitable distribution for .
Answer
Replacement keeps the red probability constant and makes the trials independent. Since
the model is
Why the probability formula works
Section titled “Why the probability formula works”Suppose and let
be the failure probability.
One particular sequence containing successes and failures has probability
because the trials are independent. There are
different positions in which the successes can occur. These sequences are mutually exclusive, so their probabilities add:
The three factors have distinct jobs:
Worked example 2: an exact probability
Section titled “Worked example 2: an exact probability”A basketball player scores a free throw with probability . Assume successive attempts are independent. She takes free throws. Find the probability that she scores exactly .
Let be the number scored. Then
Use :
Therefore
The power of is , not , because exactly three of the ten attempts must be failures.
Worked example 3: success is defined by the question
Section titled “Worked example 3: success is defined by the question”A biased die has probability of showing a six. It is rolled times independently. Find the probability of exactly two results that are not sixes.
Define success as obtaining a result that is not a six. Its probability is
If counts results that are not sixes, then and
This very small answer is sensible: when a non-six has probability , only two non-sixes in twelve rolls is unusual.
Self-check 2
Section titled “Self-check 2”For , calculate .
Answer
Translating probability language
Section titled “Translating probability language”Because a binomial random variable is integer valued, boundary words must be translated carefully.
| Words | Probability statement |
|---|---|
| exactly | |
| at most | |
| fewer than | |
| at least | |
| more than | |
| between and inclusive |
Two facts are especially useful:
and
Notice the and . These are common sources of lost marks.
Cumulative probabilities
Section titled “Cumulative probabilities”For ,
For a short sum, calculate the terms directly. For a large sum, use the calculator’s binomial cumulative distribution function. Calculator menus differ, but they usually distinguish:
- binomial PDF or binomial probability, which returns ;
- binomial CDF or binomial cumulative probability, which returns .
Always write the probability statement before using the calculator. It makes the required boundary explicit.
Worked example 4: at most
Section titled “Worked example 4: at most”The probability that a seed germinates is . Assume seeds germinate independently. Twelve seeds are planted. Find the probability that at most nine germinate.
Let count germinating seeds. Then
“At most nine” means , so
A calculator CDF call with , and upper value gives the same result.
Worked example 5: at least
Section titled “Worked example 5: at least”For the same seed model, find the probability that at least ten germinate.
“At least ten” means . Its complement is , not . Hence
The events and cover every possible value without overlap.
Worked example 6: an interval
Section titled “Worked example 6: an interval”Let . Find
Since is integer valued, the required values are . Use two cumulative probabilities:
Do not subtract , because that would remove the allowed value .
Self-check 3
Section titled “Self-check 3”Let . Write each event in a form suitable for a calculator CDF.
Answer
Numerically, these are approximately , , and respectively.
At least one success
Section titled “At least one success”Questions involving “at least one” are usually shortest by complement:
Worked example 7: using a complement
Section titled “Worked example 7: using a complement”A server request fails with probability , independently of other requests. Find the probability that at least one of the next requests fails.
Let count failures, so . Then
Although each request has only a failure probability, repeated exposure makes at least one failure more likely than not.
Worked example 8: finding the number of trials
Section titled “Worked example 8: finding the number of trials”A component has probability of failing during a test. Independent components are tested. Find the smallest number that must be tested for the probability of at least one failure to exceed .
We need
Rearrange:
Taking logarithms gives
Since , dividing reverses the inequality:
As is an integer, the smallest possible value is
Check the boundary:
Mean, variance and standard deviation
Section titled “Mean, variance and standard deviation”If , then
and therefore
The expectation has a direct interpretation. Across trials, each contributes an average of successes, so the expected total is .
Expectation need not be a possible observed value. If , then , although can only be an integer. The mean describes the long run average over many repetitions of the whole five-trial experiment.
Why the formulas are natural
Section titled “Why the formulas are natural”Let equal when trial succeeds and when it fails. Then
Each indicator has
and
Expectations add, so . Because the trials are independent, their variances also add, giving .
Worked example 9: interpreting the moments
Section titled “Worked example 9: interpreting the moments”A call centre resolves each enquiry at first contact with probability . Assume independence. Let be the number resolved at first contact among enquiries.
Then
The mean is
The variance is
so the standard deviation is
Over many groups of enquiries, the average number resolved at first contact would approach . This does not claim that every group contains exactly .
Worked example 10: recovering the parameters
Section titled “Worked example 10: recovering the parameters”A binomial random variable has mean and variance . Find and .
Using the formulas,
and
Divide (2) by (1):
Thus
Substitute into (1):
so
The answer passes essential checks: is a positive integer and .
Self-check 4
Section titled “Self-check 4”Let . Find its mean, variance and standard deviation.
Answer
and
Shape and parameter effects
Section titled “Shape and parameter effects”The values of and determine the distribution’s location and spread.
- Increasing with fixed increases both the mean and variance .
- Replacing by reflects the distribution: if , then .
- When , the distribution is symmetric about .
- When , probability tends to be concentrated near smaller values of .
- When , probability tends to be concentrated near larger values of .
For fixed , the variance is largest when . Outcomes are most variable when success and failure are equally likely. If is close to or , results are more predictable.
Modelling assumptions in context
Section titled “Modelling assumptions in context”A calculation may be correct while its model is weak. Examine the assumptions behind , independence and constant .
Example 11: criticising a model
Section titled “Example 11: criticising a model”A footballer scores of penalties historically. A coach models the number scored from the next penalties as .
Possible limitations include:
- the goalkeeper, venue and pressure may change the scoring probability;
- fatigue, confidence or learning may make successive penalties dependent;
- the historical rate may not represent the player’s current ability.
The model may still be useful, but its conclusions are conditional on treating the attempts as independent with constant probability .
Common misconceptions
Section titled “Common misconceptions”Confusing with the more pleasant outcome
Section titled “Confusing ppp with the more pleasant outcome”is the probability of whichever outcome counts. Define in words before substituting numbers.
Omitting the combination factor
Section titled “Omitting the combination factor”is the probability of one specific ordering. Multiply by to include every ordering with successes.
Using the wrong tail boundary
Section titled “Using the wrong tail boundary”not .
Calling dependent trials binomial
Section titled “Calling dependent trials binomial”Two outcomes alone are not enough. Trials must also be independent, must remain constant, and must be fixed.
Confusing variance and standard deviation
Section titled “Confusing variance and standard deviation”The variance is . The standard deviation is its square root. Standard deviation has the same units as .
Rounding too early
Section titled “Rounding too early”Keep full calculator values during intermediate steps. Round only the final answer, usually to the accuracy requested.
Mixed exam style example
Section titled “Mixed exam style example”A factory states that of its batteries fail an initial test. Assume battery results are independent. A random sample of batteries is tested, and is the number that fail.
- State the distribution of .
- Find .
- Find .
- Find the expected number of failures and the standard deviation.
- Give one reason why the model might not fit actual production.
1. Distribution
2. Exactly two failures
3. At least three failures
Use the complement :
4. Mean and standard deviation
5. Limitation
Batteries made in the same batch may share a fault, so their outcomes may not be independent. Alternatively, the failure probability may change when machinery or materials change.
Final self-check
Section titled “Final self-check”- State all conditions required for a binomial model.
- If , find .
- For the same distribution, express using one lower-tail cumulative probability.
- If and , find and .
- A trial succeeds with probability . Find the probability of at least one success in six independent trials.
Answers
-
A fixed number of trials; two outcomes on each trial; independent trials; constant probability of success.
- From , . Then
Next steps
Section titled “Next steps”- Learn how evidence is judged using hypothesis testing language.
- Apply binomial tail probabilities in binomial hypothesis tests.
- Compare this model with alternatives in choosing a distribution.
- Study a continuous model in the normal distribution.