Five independent checks each succeed with probability . How likely is it that exactly two of them succeed, and how likely is it that at least one does? The probability of one particular sequence of results comes from multiplying, but many different sequences give the same number of successes. The binomial distribution collects those sequences into one formula. This lesson derives it, finds the mean, the variance and the tail probabilities, and states the conditions the model needs.
Key terms
Binomial assumptions
Definition A count of successes has a binomial distribution when the experiment meets four conditions.
- The number of trials is fixed in advance and does not depend on the results.
- Each trial records whether one clearly defined success event occurs.
- The trials are independent.
- Every trial has the same success probability .
Under these conditions . When a condition fails, the count is still a random variable with its own distribution, but the binomial formula is no longer justified for it.
In plain words The formula needs a fixed list of trials that do not influence each other and that all have the same chance of success. A rule that stops after a chosen number of successes breaks the first condition. Draws without replacement break independence whenever the collection holds both kinds of items, because each draw changes what is left. Trials with different success probabilities break the fourth condition.
Example A bag holds marked tokens among . Drawing tokens with replacement gives a number of marked draws with distribution . Without replacement, a marked first draw lowers the chance of a marked second draw to , so the draws are dependent and the binomial assumptions fail. For this bag every count from to has a probability different from its value. Unequal probabilities matter too. Two independent trials with success probabilities and give two successes with probability , while , which uses their average, gives .
Binomial distribution
Definition Let be a positive integer and . The binomial distribution is the distribution of the number of successes in trials that satisfy the binomial assumptions. If is that count and is the indicator of success on trial , then
where the indicators are independent and each is . The count takes values in , and each of these values has positive probability when . The case is the Bernoulli distribution. At the endpoints, with probability when , and with probability when .
In plain words The count keeps the number of successes and forgets where they happened. Different sequences of results can lead to the same count, and the binomial distribution gathers all the sequences with a given count.
Example Five independent checks each succeed with probability , so the number of successes is with possible values to . Writing S for success and F for failure, the sequences SSFFF and FSFSF are different results, but both give .
Binomial probability formula
Definition If , then for each integer with the PMF is
and for every other value of . By independence and the common , each particular sequence with successes and failures has probability . There are such sequences, one for each choice of the success positions, and they are mutually exclusive, so their probabilities add. The masses sum to by the binomial theorem, since
At or the formula relies on the convention .
In plain words The coefficient counts the arrangements, the power of accounts for the successes in one arrangement, and the power of accounts for its failures. Leaving out the coefficient gives the probability of a single arrangement. Leaving out the failure factor ignores what the other trials must do.
Example For , the single sequence SSFFF has probability . Each of the sequences with two successes has that probability, so
The whole PMF is below. These decimals are exact, and they add to .
Mean of a binomial count
Definition If , then
Writing with for each , linearity of expectation gives . This step uses only linearity, not independence, so any sum of indicators that each equal with probability has mean , even when the sum is not binomial.
In plain words On average a fraction of the trials succeed. The mean is the balance point of the distribution, not a promise about any one group of trials, and it need not be a possible value of the count.
Example For the mean is , yet , so most of the probability, , lies on other counts. For the mean is , which is not a possible count. The number of marked tokens in three draws without replacement from the bag with marked tokens among also has mean , because each draw is marked with probability before anything is seen, even though that count is not binomial.
Variance of a binomial count
Definition If , then
and . Because the indicators are independent, the variance of their sum is the sum of their variances, each equal to . This step uses independence. For dependent indicators the variance of the count can differ from even when the mean is still . Both endpoints and give variance .
In plain words For a fixed strictly between and , the spread of the count grows with the number of trials, but the standard deviation grows like , not like . The standard deviation of the count is the square root of the summed variances, not the sum of the standard deviations of the trials.
Example For the variance is , and . Adding the five trial standard deviations would give , which is wrong. For three draws without replacement from the bag with marked tokens among , the count of marked tokens has mean , the same as , but its variance is rather than .
Binomial tail probability
Definition A tail probability of is the probability that the count lies at or beyond a threshold, such as or . It is a finite sum of PMF values. For each integer with ,
and the complement rule gives the same number as . The phrase “at least ” includes , while “more than ” starts at .
In plain words First translate the words into a list of integer counts. Then add the matching PMF values, or subtract the excluded ones from when that list is shorter.
Example For , at least one success excludes only the count , which requires all five trials to fail. So
At least three successes is the set of counts , so . A high chance of at least one success does not make each trial likely to succeed, since each one succeeds with probability only .
Check yourself
- Four independent trials each succeed with probability , and counts the successes. Find , and .
Show the answer
The count is . There are positions for the single success, so . The mean is , and the variance is .
- For the same model, find . A classmate computes instead. Which probability did the classmate find?
Show the answer
At least two successes is the set of counts , so the complement removes only and . The probabilities are and , so
The classmate also removed the count , which belongs to the event, and so found .
- A box holds parts, of them defective. An inspector draws parts without replacement and counts the defective ones. Is the count ? Compare the probability that all three are defective with the binomial value.
Show the answer
No. The number of draws is fixed, and each draw is defective with probability before anything is seen, but the draws are dependent. After a defective first draw, the second is defective with probability , not . The exact probability that all three are defective is
while gives . With replacement the draws would be independent with the same success probability, and the binomial model would be exact.