Unit 2 · Topic 2.10 Beta

The Binomial Distribution

4 min read · freeNot practiced

Many chance questions have the same shape: repeat a yes-or-no trial a set number of times and count the yeses. How many of 10 customers use an app? How many of 12 guessed answers are right? How many of 20 parts are defective? These counts all follow one distribution, the binomial, with one formula.

The binomial setting

A count of successes is binomial when the chance process is a binomial setting. Check four conditions, in context:

  • Binary: each trial has two outcomes, success or failure (uses the app or not).
  • Independent: the outcome of one trial does not change the chances on another (customers chosen at random do not influence each other).
  • Number: the number of trials, n, is fixed in advance (10 customers).
  • Same probability: the probability of success, p, is the same on every trial (0.3 for each customer).

The first letters spell BINS. When a condition fails, the count is not binomial. Draw 4 tickets without replacement from a jar of 12 with 4 winners, and the chance of a winner changes after every draw: 4 of 12, then 3 of 11 or 4 of 11. The draws are not independent, and p is not constant.

Where the formula comes from

Let X = the number of the 10 customers who use the app. Think about X=4X = 4. One particular order, 4 app users then 6 non-users, has probability (0.3)4(0.7)6(0.3)^4(0.7)^6 by the multiplication rule for independent trials. Every other order of 4 users and 6 non-users has the same probability. How many orders are there? That is the number of ways to choose which 4 of the 10 customers are users, (104)=210\binom{10}{4} = 210, from the counting skills page. So

P(X=k)=(nk)pk(1−p)n−k,k=0,1,…,n.P(X = k) = \binom{n}{k}p^k(1 - p)^{n - k}, \quad k = 0, 1, \dots, n.

This is the binomial probability formula on the reference sheet. The two exponents always add to n: k successes and n−kn - k failures.

Worked example 1. A polling firm dials 15 random numbers; 20% of calls are answered. Let Y = the number of answered calls. Find P(Y=2)P(Y = 2).

Name it: Y is binomial with n=15n = 15 and p=0.20p = 0.20.

Structure and substitution: P(Y=2)P(Y = 2)=(152)(0.20)2(0.80)13= \binom{15}{2}(0.20)^2(0.80)^{13}=105(0.04)= 105(0.04)(0.80)13(0.80)^{13}.

Answer: P(Y=2)≈0.231P(Y = 2) \approx 0.231. A calculator's binomial probability command gives the same value; on the exam, write the distribution, the parameters and the expression, not just the command.

More than one value: add, or use the complement

Probability histogram of the binomial distribution with n = 10 and p = 0.3. The bars for 4 through 10 are shaded; together they are P(X ≥ 4) = 1 − P(X ≤ 3) = 0.350.
Figure 1. The binomial distribution with n = 10 and p = 0.3, with 4 or more shaded. LevlPrep original diagram.

Most questions ask about several values. First write the event as an inequality. "Fewer than 2" is Y≤1Y \le 1. "At least 4" is X≥4X \ge 4. Then add the probabilities, or use a cumulative probability and the complement.

Worked example 2. For the coffee shop, find the probability that at least 4 of the 10 customers use the app.

X is binomial with n=10n = 10, p=0.3p = 0.3. The boundary is 4 and the direction is "4 or more".

P(X≥4)P(X \ge 4)=1−P(X≤3)= 1 - P(X \le 3)=1−0.6496= 1 - 0.6496=0.3504= 0.3504.

This is the shaded area in the figure.

The classic slip is 1−P(X≤4)1 - P(X \le 4). The opposite of "4 or more" is "3 or fewer", so the complement stops at 3.

Mean and standard deviation

For a binomial random variable, the mean and standard deviation have short formulas, both on the reference sheet:

μX=np,σX=np(1−p).\mu_X = np, \qquad \sigma_X = \sqrt{np(1 - p)}.

For the guessing quiz (n=12n = 12, p=0.25p = 0.25): μ=12(0.25)=3\mu = 12(0.25) = 3 questions and σ\sigma=12(0.25)(0.75)= \sqrt{12(0.25)(0.75)}=1.5= 1.5 questions. Over many students who guess on every question, the average score is about 3 right, and scores typically vary by about 1.5 questions from that.

Using a binomial probability to judge a claim

The shop claims 30% of customers use the app, and 7 of 10 random customers did. Assume the claim and compute the chance of a result at least that extreme:

P(X≥7)=1−P(X≤6)≈0.011,X binomial,n=10,p=0.3.P(X \ge 7) = 1 - P(X \le 6) \approx 0.011, \quad X \text{ binomial}, n = 10, p = 0.3.

Conclusion: if 30% of customers use the app, the probability that 7 or more of 10 randomly chosen customers use it is about 0.011. Because that is so unlikely, the sample gives reason to doubt the claim and suggests more than 30% use the app.

Compare a coin that lands heads 7 times in 10 flips. If it is fair, P(7 or more heads)P(\text{7 or more heads})≈0.172\approx 0.172. That happens about one time in six, so it gives little reason to doubt the coin. A small probability casts doubt on a claim; a moderate one does not, and neither shows the claim is true.

WordsWriteCompute
exactly 3P(X=3)P(X = 3)the formula
at most 3P(X≤3)P(X \le 3)cumulative
fewer than 3P(X≤2)P(X \le 2)cumulative
at least 4P(X≥4)P(X \ge 4)1−P(X≤3)1 - P(X \le 3)

Spot a mistake on this page?