The binomial distribution: definition, probability mass function, mean and variance
“Define the binomial distribution , state its probability mass function, and find its mean and variance ”
The binomial distribution counts successes in independent Bernoulli trials with success probability ; its pmf is , mean is , variance is , and standard deviation is .
Jump to a section
What this dot point is asking
NESA wants you to recognise scenarios that fit the binomial model (fixed number of independent Bernoulli trials with the same success probability), state the probability mass function, and compute the mean, variance and standard deviation.
The answer
Definition
Let be the number of successes in independent Bernoulli trials, each with success probability . Then has the binomial distribution (or ).
The parameters are:
- : the number of trials (a positive integer).
- : the success probability on each trial ().
- : the failure probability.
The probability mass function
For ,
The binomial coefficient counts the number of ways to arrange successes among trials.
Mean and variance
By summing independent Bernoulli trials (each with mean and variance ):
For , the probability of exactly successes is . The mean is , the variance is , and the standard deviation is . The binomial coefficient counts the orderings of successes among trials; the powers and give the probability of any one such ordering.
Conditions for the binomial model
Four conditions must hold:
- A fixed number of trials, .
- Each trial has exactly two outcomes (success or failure).
- The trials are independent.
- The probability of success is the same for every trial.
If any of these fails, the distribution is not binomial.
Common scenarios
- Number of heads in coin flips: with the heads probability.
- Number of items defective in a batch of (with replacement, or with a large enough population to treat as approximately independent).
- Number of correct answers on a multiple-choice test if every question is guessed.
- Number of successful free throws in a fixed number of attempts (independence is a simplifying assumption).
Symmetric and skewed cases
- If , the distribution is symmetric around .
- If , the distribution is right-skewed (long tail to the right).
- If , it is left-skewed.
The skew decreases as grows; for large , the binomial approaches the normal (see the normal approximation dot point).
Building one distribution, stage by stage
To see where the pmf, the mean and the variance come from, take a concrete case: a biased coin with flipped times, so . The three panels build the whole distribution from the formula and then read its centre and spread off the picture.
Stage 1, compute a few probabilities from the formula. Each bar height is . For the first few values, , , and . Each is one number from the same formula.
Stage 2, fill in every to get the whole distribution. Repeating the formula for gives all eleven bars. Because the eleven probabilities are the terms of , they sum to : the distribution is complete and valid.
Stage 3, read the centre and spread. The distribution is centred on its mean , marked by the dashed line, and its spread is governed by the variance (standard deviation ). With the tail leans to the right, exactly as the skew rule predicts.
How exam questions ask about the binomial distribution
The binomial is one of the most reliable sources of marks in Extension 1 statistics, and the question wordings are stable:
- "Let be the number of [successes] in [trials] ... find , and the standard deviation": identify and , then quote , and its square root. State the model first.
- "Find the probability of exactly [successes]": substitute into and evaluate. Showing the substituted formula earns the method mark even before you reach the calculator.
- "Explain why is (or is not) binomial": name the four conditions, fixed , two outcomes, independence, constant , and say which one fails. Sampling without replacement is the classic failure (the model becomes hypergeometric).
- "Let ... find and ": apply and ; the constant never touches the variance.
- Distribution-shape parts: a sketch or a "describe the shape" cue wants you to mark the mean and call the shape symmetric (if ), right-skewed () or left-skewed ().
Always open with the model in symbols, with the actual numbers, so the marker sees you have read off and correctly; this single line is often worth a mark. For the mean and variance, write the formulas and before substituting, and do not forget the factor that separates the variance from the mean. Take the standard deviation as the positive square root of the variance, and round only at the end. For a pmf value, leave the substituted expression visible before the decimal answer. If the question says "without replacement" or gives a small fixed population, stop and check independence: it is the trap that turns a binomial into something else.
Identify the model and find the mean and variance
A coin lands heads with probability . It is flipped times. We have a fixed number of independent trials with a constant success probability, so the count follows a binomial distribution.
Apply the formulas and directly:
Use the pmf for an exact probability
A multiple-choice quiz has questions, each with options. Guessing randomly gives success probability on each question, so . To find , substitute , , into the pmf :
The binomial coefficient counts the number of ways to place correct answers among questions.
Check whether the binomial conditions hold
An urn has red and blue marbles. Drawing without replacement: the probability of red changes with each draw because removing a marble alters the composition. This violates the constant- condition. The number of red draws follows the hypergeometric distribution, not the binomial.
Verify all four conditions, then compute
A factory produces items with probability of being defective, independently, in a sample of . All four conditions are satisfied: fixed , two outcomes (defective or not), independence (stated), constant . So .
Apply the pmf to a small case
Two independent flips of a coin with . Here and we want . The binomial coefficient counts the two ways to get exactly one head (HT or TH):
Handle a linear transformation
Let where . The rules for linear transformations of a random variable are and . A constant added to a random variable shifts the mean but does not affect spread.
Final answer: and .
- Variance is , not
- The variance formula has the factor.
- Confusing and
- is the fixed number of trials; is the (variable) number of successes.
- Forgetting the binomial coefficient
- accounts for the ways the successes can be arranged.
- Independence assumption broken
- Sampling without replacement breaks independence and changes the model to hypergeometric.
- Using the formula when varies between trials
- If is not constant, the model is not binomial.
Exam-style questions
Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
HSC-style3 marksA biased coin lands heads with probability . It is flipped times. Let be the number of heads. Find , and the standard deviation.Show worked answer →
.
.
.
Standard deviation: .
Markers reward identifying the binomial model with , , applying the formulas, and the square root for .