StatisticsBinomial and Other Distributions1 of 5
Binomial and Other Distributions · 1

The Binomial Distribution

We know how to multiply probabilities to find the chance of one exact sequence of independent events, and now we want the probability of getting a certain number of successes across several trials in any order.

1

Counting Arrangements and the Binomial Formula

Suppose a 70%\success{70\%} free-throw shooter (P(make)=0.7P(\text{make}) = \success{0.7} and P(miss)=0.3P(\text{miss}) = \failure{0.3}) takes 55 independent shots, and we want to find the probability that she makes exactly 3\success{3} out of 55 shots. Multiplying three 0.7\success{0.7}s and two 0.3\failure{0.3}s together is a natural first try, but let's see why that single product comes out far too small.

Why One Arrangement Isn't Enough
P(make)=0.7P(miss)=0.3\begin{aligned} P(\text{make}) &= \htmlClass{lc-blue}{0.7} \\[3pt] P(\text{miss}) &= \htmlClass{lc-orange}{0.3} \end{aligned}
P(3 makes in 5 shots)= ?P(\htmlClass{lc-blue}{3}\ \text{makes in}\ 5\ \text{shots}) = \ ?

Reordering the three 0.7\success{0.7} factors and two 0.3\failure{0.3} factors does not change their product, so every possible arrangement of 3\success{3} makes and 2\failure{2} misses has the exact same probability, (0.7)3(0.3)2\success{(0.7)^3}\failure{(0.3)^2}. To find the total probability of making 3\success{3} out of 55 shots, we just need to count how many ways we can choose which 3\success{3} of the 55 shot slots get the makes.

Remember from counting: when we have nn slots and want to choose kk of them without caring about the order in which we pick them, we use the combination (nk)\arrange{\binom{n}{k}} (read "nn choose kk," or `nCr` on a calculator). For 3\success{3} makes across 55 slots, there are 5×4×3=605 \times 4 \times 3 = 60 ways to pick 3\success{3} slots in order, divided by the 3!=3×2×1=63! = 3 \times 2 \times 1 = 6 ways to rearrange the 3\success{3} identical makes.

Counting Arrangements and the Binomial Formula
M\htmlClass{lc-blue}{\text{M}}
M\htmlClass{lc-blue}{\text{M}}
M\htmlClass{lc-blue}{\text{M}}
X\htmlClass{lc-orange}{\text{X}}
X\htmlClass{lc-orange}{\text{X}}
(53)= ?\htmlClass{lc-violet}{\dbinom{5}{3}} = \ ?
Text solution
One arrangement of 3 makes and 2 missesMultiplying three 0.7\success{0.7} factors for the makes and two 0.3\failure{0.3} factors for the misses gives the probability of any single order.
P(one arrangement)\displaystyle P(\text{one arrangement}) =(0.7)3(0.3)2\displaystyle = \success{(0.7)^3}\failure{(0.3)^2} =0.03087\displaystyle = \prob{0.03087}
Number of arrangements across 5 slotsChoosing which 3\success{3} of the 55 shot slots get the makes counts how many different orders have 3\success{3} makes and 2\failure{2} misses.
(53)\displaystyle \arrange{\binom{5}{3}} =5×4×33×2×1\displaystyle = \frac{5 \times 4 \times 3}{3 \times 2 \times 1} =606\displaystyle = \frac{60}{6} =10\displaystyle = \arrange{10}
All arrangements of 3 makes in 5 shotsMultiplying the number of arrangements by the probability of one arrangement gives the probability of making 3\success{3} out of 55 shots in any order.
P(X=3)\displaystyle P(X = \success{3}) =(53)(0.7)3(0.3)2\displaystyle = \arrange{\binom{5}{3}}\success{(0.7)^3}\failure{(0.3)^2} =10×0.03087\displaystyle = \arrange{10} \times \prob{0.03087} =0.3087\displaystyle = \prob{0.3087}

So there is a 0.3087\prob{0.3087} (or 30.87%\prob{30.87\%}) chance that a 70%\success{70\%} shooter makes 3\success{3} out of 55 shots.

In general, if a discrete random variable XX counts the successes across nn trials with success probability p\success{p} on each trial, the probability of getting k\success{k} successes is the product of those same three pieces:

P(X=k)\displaystyle P(X = \success{k}) =(nk)⏟arrangementspk⏟successes(1−p)n−k⏟failures\displaystyle = \arrange{\underbrace{\binom{n}{k}}_{\text{arrangements}}} \success{\underbrace{p^k}_{\text{successes}}} \failure{\underbrace{(1 - p)^{n - k}}_{\text{failures}}}

Notice that (nk)\arrange{\binom{n}{k}} is a single counting number, not a fraction. Before you calculate, two quick checks confirm that the pieces match: the two probabilities inside the parentheses (p\success{p} and 1−p\failure{1 - p}) always add up to 11, and the two exponents (k\success{k} and n−k\failure{n - k}) always add up to the total number of trials nn.

In this 55-shot setup, changing which 3\success{3} slots are makes only reorders the 0.7\success{0.7} and 0.3\failure{0.3} factors, so the single-order probability (0.7)3(0.3)2\success{(0.7)^3}\failure{(0.3)^2} stays the same. Changing how many of the 55 shots are makes (k\success{k}) changes both the exponents in (0.7)k(0.3)5−k\success{(0.7)^k}\failure{(0.3)^{5 - k}} and the number of arrangements (5k)\arrange{\binom{5}{k}}.

Changing which shots you make only reorders the factors, while changing how many you make changes both the exponents and the number of matching arrangements.
2

The Binomial Setting: BINS

We can only use the three-piece binomial formula when the trials fit what the math requires. A binomial setting is a situation where those requirements hold, and the random variable XX that counts the successes is a binomial random variable.

The Binomial Setting: BINS
P(X=k)=(nk)(nk)Arrangements×(nk)pkSuccesses×(nk)(1−p)n−kFailures\begin{aligned} & P(X = \htmlClass{lc-blue}{k}) \\[2pt] & \quad = \underset{\mathclap{\htmlClass{lc-violet}{\text{\normalsize Arrangements}}}}{\vphantom{\dbinom{n}{k}}\htmlClass{lc-violet}{\dbinom{n}{k}}}\hspace{1.7em}\times\hspace{1.5em}\underset{\mathclap{\htmlClass{lc-blue}{\text{\normalsize Successes}}}}{\vphantom{\dbinom{n}{k}}\htmlClass{lc-blue}{p^k}}\hspace{0.6em}\times\hspace{0.3em}\underset{\mathclap{\htmlClass{lc-orange}{\text{\normalsize Failures}}}}{\vphantom{\dbinom{n}{k}}\htmlClass{lc-orange}{(1-p)^{n-k}}} \end{aligned}
When can we use this formula?\text{When can we use this formula?}

Each condition in the BINS checklist comes directly from one part of the formula:

3

Sampling Without Replacement and the 10% Condition

In polls, surveys, and factory inspections, we sample people or items without replacement so we never pick the same one twice. Because removing each selection changes the group left for the next selection, the trials are not strictly independent, so we need to know when the change in probability is small enough to ignore.

Sampling Without Replacement and the 10% Condition
AAAA
52 cards, 4 Aces52\ \text{cards},\ \htmlClass{lc-blue}{4\ \text{Aces}}
1,000,000 adults1{,}000{,}000\ \text{adults}
n=5n = 5
without replacement\text{without replacement}
AAAA
52 cards52\ \text{cards}
4 Aces\htmlClass{lc-blue}{4\ \text{Aces}}
1,000,000 adults1{,}000{,}000\ \text{adults}
700,000 support\htmlClass{lc-blue}{700{,}000\ \text{support}}
First Ace\text{First Ace}
452≈0.0769\htmlClass{lc-blue}{\dfrac{4}{52} \approx 0.0769}
First Yes\text{First Yes}
700,0001,000,000=0.700000\htmlClass{lc-blue}{\dfrac{700{,}000}{1{,}000{,}000} = 0.700000}
Second Ace\text{Second Ace}
351≈0.0588\htmlClass{lc-blue}{\dfrac{3}{51} \approx 0.0588}
Second Yes\text{Second Yes}
699,999999,999≈0.6999997\htmlClass{lc-blue}{\dfrac{699{,}999}{999{,}999} \approx 0.6999997}

When the population is huge compared to the sample, removing a few individuals changes p\success{p} only in the far decimal places. We check this using the 10% Condition:

n<0.10×(population size)⏟10% Condition\displaystyle \underbrace{n < 0.10 \times (\text{population size})}_{\text{10\% Condition}}

When sampling without replacement, if the sample size nn is less than 10%10\% of the total population, we can treat the trials as approximately independent and use the binomial formula.

4

Finding "At Least" Probabilities by Hand

Now suppose we want the probability of getting a range of successes, such as at least 33 right or at least 11 right, when guessing on a 44-question multiple-choice quiz with 55 options per question (n=4n = 4, p=0.2\success{p} = \success{0.2}, and 1−p=0.8\failure{1 - p} = \failure{0.8}). Because the possible scores 0,1,2,3,40, 1, 2, 3, 4 are separate outcomes whose probabilities add up to 11, we can either add the scores we want or subtract the scores we don't want from 11.

Finding "At Least" Probabilities by Hand
A\text{A}
B\text{B}
C\text{C}
D\text{D}
E\text{E}
1.1.
2.2.
3.3.
4.4.
X=number rightn=4p=0.21−p=0.8\begin{aligned} X &= \text{number right} \\[2pt] n &= 4 \\[2pt] p &= \htmlClass{lc-blue}{0.2} \\[2pt] 1 - p &= \htmlClass{lc-orange}{0.8} \end{aligned}
P(X≥3)= ?P(X≥1)= ?P(X \ge 3) = \ ? \qquad P(X \ge 1) = \ ?
00
11
22
33
44

When only a couple of scores match what we want, we find each one with the binomial formula and add them together.

Text solution
Scores that count as at least 3Out of the possible scores 0,1,2,3,40, 1, 2, 3, 4, "at least 33" means X=3X = \success{3} or X=4X = \success{4}.
P(X≥3)\displaystyle P(X \ge 3) =P(X=3)+P(X=4)\displaystyle = P(X = \success{3}) + P(X = \success{4})
Probability of 3 right and of 4 rightApply the binomial formula to each score separately.
P(X=3)=(43)(0.2)3(0.8)1=4×0.008×0.8=0.0256P(X=4)=(44)(0.2)4(0.8)0=1×0.0016×1=0.0016\displaystyle \begin{aligned} P(X = \success{3}) &= \arrange{\binom{4}{3}}\success{(0.2)^3}\failure{(0.8)^1} \\ &= \arrange{4} \times \success{0.008} \times \failure{0.8} \\ &= \prob{0.0256} \\ P(X = \success{4}) &= \arrange{\binom{4}{4}}\success{(0.2)^4}\failure{(0.8)^0} \\ &= \arrange{1} \times \success{0.0016} \times \failure{1} \\ &= \prob{0.0016} \end{aligned}
Add the probabilitiesAdd the two probabilities together.
P(X≥3)\displaystyle P(X \ge 3) =0.0256+0.0016\displaystyle = \prob{0.0256} + \prob{0.0016} =0.0272\displaystyle = \prob{0.0272}

So there is a 0.0272\prob{0.0272} (or 2.72%\prob{2.72\%}) chance of guessing at least 33 right out of 44.

When we want P(X≥1)P(X \ge 1), four of the five scores (1,2,3,1, 2, 3, and 44) are included and only X=0X = \success{0} is left out, so subtracting P(X=0)P(X = \success{0}) from 11 saves three binomial calculations.

Text solution
Rewrite using the complement X=0X = \success{0}All five probabilities from 00 to 44 add up to 11, and X=0X = \success{0} is the only outcome not in X≥1X \ge 1.
P(X≥1)\displaystyle P(X \ge 1) =1−P(X=0)\displaystyle = 1 - P(X = \success{0})
Probability of getting 0 rightFind the probability of missing all 4\failure{4} questions.
P(X=0)\displaystyle P(X = \success{0}) =(40)(0.2)0(0.8)4\displaystyle = \arrange{\binom{4}{0}}\success{(0.2)^0}\failure{(0.8)^4} =1×1×0.4096\displaystyle = \arrange{1} \times \success{1} \times \failure{0.4096} =0.4096\displaystyle = 0.4096
Subtract from 1Subtract the X=0X = \success{0} probability from the total probability of 11.
P(X≥1)\displaystyle P(X \ge 1) =1−0.4096\displaystyle = 1 - 0.4096 =0.5904\displaystyle = \prob{0.5904}

So there is a 0.5904\prob{0.5904} (or 59.04%\prob{59.04\%}) chance of getting at least 11 question right.

5

Calculator Commands and the Number Line

Adding outcomes by hand is fine when n=4n = 4, but on a 2020-question exam (n=20n = 20 and p=0.2\success{p} = \success{0.2}), finding P(X≤6)P(X \le \success{6}) by hand would mean adding seven separate binomial formulas from 00 through 66. For larger values of nn, we use calculator commands, and we can jot down the whole numbers around the cutoff so we don't mix up <,≤,>,<, \le, >, and ≥\ge.

Calculator Commands and the Number Line
X=number rightn=20,  p=0.2X = \text{number right} \qquad n = 20,\ \ p = \htmlClass{lc-blue}{0.2}
P(X≤6)= ?P(X \le \htmlClass{lc-blue}{6}) = \ ?
00
22
44
66
88
1010
1212
1414
1616
1818
2020

Calculators and statistical software provide two commands:

On a test, writing only calculator syntax like `binomcdf(20, 0.2, 5)` can lose credit if you press a wrong button, so write the probability statement (such as 1−P(X≤5)1 - P(X \le \success{5})) and list nn, p\success{p}, and k\success{k} beside it.

P(X≤6)P(X \le \htmlClass{lc-blue}{6})
00
⋯\cdots
44
55
66
7\htmlClass{lc-mute}{7}
⋯\htmlClass{lc-mute}{\cdots}
20\htmlClass{lc-mute}{20}
P(X<6)=P(X≤5)P(X < 6) = P(X \le \htmlClass{lc-blue}{5})
00
⋯\cdots
44
55
6\htmlClass{lc-mute}{6}
7\htmlClass{lc-mute}{7}
⋯\htmlClass{lc-mute}{\cdots}
20\htmlClass{lc-mute}{20}
P(X>6)=1−P(X≤6)P(X > 6) = 1 - P(X \le \htmlClass{lc-blue}{6})
0\htmlClass{lc-mute}{0}
⋯\htmlClass{lc-mute}{\cdots}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
6\htmlClass{lc-mute}{6}
77
⋯\cdots
2020
P(X≤6)P(X \le \htmlClass{lc-blue}{6})
P(X≥6)=1−P(X≤5)P(X \ge 6) = 1 - P(X \le \htmlClass{lc-blue}{5})
0\htmlClass{lc-mute}{0}
⋯\htmlClass{lc-mute}{\cdots}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
66
77
⋯\cdots
2020
P(X≤5)P(X \le \htmlClass{lc-blue}{5})

Because binomcdf\text{binomcdf} only adds starting from 00 up to a cutoff k\success{k}, we rewrite <,>,<, >, and ≥\ge probabilities using a left group that runs from 00 to k\success{k}.

Text solution
Strictly less than 6 (X<6X < 6)Since 66 does not count, the highest score that counts is 5\success{5}.
P(X<6)\displaystyle P(X < 6) =P(X≤5)\displaystyle = P(X \le \success{5}) =binomcdf(20,0.2,5)≈0.8042\displaystyle = \text{binomcdf}(20, \success{0.2}, \success{5}) \approx \prob{0.8042}
More than 6 (X>6X > 6)Keeping 77 through 2020 means subtracting the unwanted left group from 00 through 66 from 11.
P(X>6)=1−P(X≤6)=1−binomcdf(20,0.2,6)≈1−0.9133=0.0867\displaystyle \begin{aligned} &P(X > 6) \\ &\quad= 1 - P(X \le \success{6}) \\ &\quad= 1 - \text{binomcdf}(20, \success{0.2}, \success{6}) \\ &\quad\approx 1 - 0.9133 = \prob{0.0867} \end{aligned}
At least 6 (X≥6X \ge 6)Because 66 is included in 66 through 2020, we keep 66 and subtract only 00 through 55 from 11.
P(X≥6)=1−P(X≤5)=1−binomcdf(20,0.2,5)≈1−0.8042=0.1958\displaystyle \begin{aligned} &P(X \ge 6) \\ &\quad= 1 - P(X \le \success{5}) \\ &\quad= 1 - \text{binomcdf}(20, \success{0.2}, \success{5}) \\ &\quad\approx 1 - 0.8042 = \prob{0.1958} \end{aligned}

So on the 2020-question exam, there is an 80.42%\prob{80.42\%} chance of getting fewer than 66 right, an 8.67%\prob{8.67\%} chance of getting more than 66 right, and a 19.58%\prob{19.58\%} chance of getting at least 66 right.

The whole difference between P(X≥6)P(X \ge 6) and P(X>6)P(X > 6) is what happens to the score 66: P(X≥6)P(X \ge 6) keeps 66, so we only subtract 00 through 55 using binomcdf(20,0.2,5)\text{binomcdf}(20, \success{0.2}, \success{5}), while P(X>6)P(X > 6) leaves 66 out, so we subtract 00 through 66 using binomcdf(20,0.2,6)\text{binomcdf}(20, \success{0.2}, \success{6}).

Every split between two whole numbers puts the left group from 0 up to the cutoff into binomcdf, and leaves 1 minus that same binomcdf for the remaining numbers on the right.

Key concepts

Before applying the binomial formula to a count of successes XX, check BINS: each trial is Binary (Success vs. Failure, including when you group several outcomes into "rolling a 44" with p=16\success{p} = \success{\tfrac{1}{6}} versus "not rolling a 44" with 1−p=56\failure{1 - p} = \failure{\tfrac{5}{6}}), trials are Independent, the Number of trials nn is fixed in advance (not flipping until you get 44 heads), and the Same probability p\success{p} holds on every trial (not shooting from different distances). When sampling without replacement, use the binomial method only if the 10% Condition holds (n<0.10×populationn < 0.10 \times \text{population}, like polling 55 people from 1,000,0001{,}000{,}000, not dealing 1010 cards from 5252).

When a question asks for one exact order, such as making the first 3\success{3} shots and missing the last 2\failure{2}, do not use (nk)\arrange{\binom{n}{k}}; multiply the trial probabilities directly, (0.7)3(0.3)2\success{(0.7)^3}\failure{(0.3)^2}. When the k\success{k} successes can happen in any order across nn trials, multiply the three pieces together:

P(X=k)=(nk)⏟arrangementspk⏟successes(1−p)n−k⏟failures,for example P(X=3)=(53)(0.7)3(0.3)2\displaystyle \begin{aligned} &P(X = \success{k}) \\ &\quad= \arrange{\underbrace{\binom{n}{k}}_{\text{arrangements}}} \success{\underbrace{p^k}_{\text{successes}}} \failure{\underbrace{(1 - p)^{n - k}}_{\text{failures}}}, \\ &\text{for example } P(X = \success{3}) \\ &\quad= \arrange{\binom{5}{3}}\success{(0.7)^3}\failure{(0.3)^2} \end{aligned}

Check that the two probabilities add to 11 (0.7+0.3=1\success{0.7} + \failure{0.3} = 1) and the two exponents add to nn (3+2=5\success{3} + \failure{2} = 5).

For a single score P(X=k)P(X = \success{k}), use the binomial formula or binompdf(n,p,k)\text{binompdf}(n, \success{p}, \success{k}). For an inequality, write down the whole numbers around the cutoff and circle the scores you want:

Key concept

If only two or three scores are circled, add their binomial formulas directly, such as P(X≥3)=P(X=3)+P(X=4)P(X \ge 3) = P(X = \success{3}) + P(X = \success{4}) when n=4n = 4.

Key concept

If the phrase is "at least 11" (X≥1X \ge 1), only X=0X = \success{0} is left out, so subtract it from 11: P(X≥1)=1−P(X=0)P(X \ge 1) = 1 - P(X = \success{0}).

Key concept

For larger nn, binomcdf(n,p,k)\text{binomcdf}(n, \success{p}, \success{k}) adds from 00 up through k\success{k}. Look at your circled numbers to see where the left group starting at 00 ends: for n=20n = 20 and p=0.2\success{p} = \success{0.2}, P(X<6)=P(X≤5)P(X < 6) = P(X \le \success{5}) =binomcdf(20,0.2,5)= \text{binomcdf}(20, \success{0.2}, \success{5}), whereas P(X>6)=1−P(X≤6)P(X > 6) = 1 - P(X \le \success{6}) =1−binomcdf(20,0.2,6)= 1 - \text{binomcdf}(20, \success{0.2}, \success{6}) and P(X≥6)=1−P(X≤5)P(X \ge 6) = 1 - P(X \le \success{5}) =1−binomcdf(20,0.2,5)= 1 - \text{binomcdf}(20, \success{0.2}, \success{5}).

6

Practice

1

An archer hits the bullseye on 60%\success{60\%} of her shots (p=0.6\success{p} = \success{0.6}), and her shots are independent. She takes 55 shots. (a) What is the probability that she hits the bullseye on the first 22 shots and misses on the last 33? (b) What is the probability that she hits the bullseye on 22 out of the 55 shots in any order?

In part (a), how many different arrangements match "first 22 hits, last 33 misses"? In part (b), how many ways can you choose which 22 of the 55 slots are hits?

(a) Because the exact order is given (first 2\success{2} hits, last 3\failure{3} misses), only one arrangement counts. Do not multiply by (52)=10\arrange{\binom{5}{2}} = \arrange{10}, which would give the wrong answer 0.23040.2304:
(0.6)2(0.4)3\displaystyle \success{(0.6)^2}\failure{(0.4)^3} =0.36×0.064\displaystyle = \success{0.36} \times \failure{0.064} =0.02304\displaystyle = \prob{0.02304}
(b) Because the 2\success{2} hits can happen in any of the 55 slots, multiply the single-arrangement probability by (52)=10\arrange{\binom{5}{2}} = \arrange{10} (leaving off (52)\arrange{\binom{5}{2}} gives the single-order answer 0.023040.02304, and swapping the exponents on 0.6\success{0.6} and 0.4\failure{0.4} gives 0.34560.3456):
(52)(0.6)2(0.4)3\displaystyle \arrange{\binom{5}{2}}\success{(0.6)^2}\failure{(0.4)^3} =10×0.02304\displaystyle = \arrange{10} \times \prob{0.02304} =0.2304\displaystyle = \prob{0.2304}
2

A student writes the binomial expression (n3)(0.25)3(q)4\binom{n}{3}(0.25)^3(q)^4 to find the probability P(X=3)P(X = 3). Use the two quick checks of the binomial formula to find the failure probability qq, the number of trials nn, and the probability P(X=3)P(X = 3).

What must the two probabilities inside the parentheses add up to, and what must the two exponents add up to?

The two probabilities inside the parentheses must add to 11:
q\displaystyle \failure{q} =1−0.25\displaystyle = 1 - \success{0.25} =0.75\displaystyle = \failure{0.75}
The two exponents must add to the total number of trials nn (watch out for reading the failure exponent 4\failure{4} as nn, which would give n=4n = 4 and P(X=3)≈0.0198P(X = 3) \approx 0.0198):
n\displaystyle n =3+4\displaystyle = \success{3} + \failure{4} =7\displaystyle = 7
Substitute n=7n = 7 and q=0.75\failure{q} = \failure{0.75} into the binomial expression (remembering to multiply by (73)=35\arrange{\binom{7}{3}} = \arrange{35}; forgetting (73)\arrange{\binom{7}{3}} gives 0.00490.0049):
P(X=3)=(73)(0.25)3(0.75)4=35×0.015625×0.31640625≈0.1730\displaystyle \begin{aligned} &P(X = \success{3}) \\ &\quad= \arrange{\binom{7}{3}}\success{(0.25)^3}\failure{(0.75)^4} \\ &\quad= \arrange{35} \times \success{0.015625} \times \failure{0.31640625} \\ &\quad\approx \prob{0.1730} \end{aligned}
3

For each scenario, decide whether XX is a binomial random variable. If it is, give nn and pp; if not, state which BINS condition fails and why. (a) You spin a fair 88-sector spinner (numbered 11 to 88) 1010 times and let XX be the number of times it lands on 88. (b) You flip a fair coin until you get 44 heads and let XX be the total number of flips it takes. (c) A golfer takes 66 independent putts, one each from 3,6,9,12,15,3, 6, 9, 12, 15, and 1818 feet, and lets XX be the number of putts made.

For (a), can every spin be sorted into "lands on 88" versus "does not land on 88"? For (b) and (c), check whether the total number of trials is fixed before starting and whether the chance of success stays the same across all trials.

(a) Even though the spinner has 88 sectors, do not say B (Binary) fails: each spin can be sorted into two categories, "lands on 88" (Success) and "does not land on 88" (Failure). All four BINS conditions hold, so XX is binomial with n=10n = 10 and p=18=0.125\success{p} = \success{\tfrac{1}{8}} = \success{0.125}. (b) Not binomial: N (Number fixed) fails because flipping until you get 44 heads means the total number of flips is not fixed in advance (watch out for treating the target of 44 heads as a fixed number of trials n=4n = 4). (c) Not binomial: S (Same pp) fails because the probability of making a putt decreases as the distance increases from 33 feet to 1818 feet (watch out for saying it is binomial just because the putts are independent, or blaming I instead of S).
4

Two inspectors each test a random sample of 44 batteries without replacement from a batch in which 10%10\% of the batteries are defective. Inspector A samples 44 batteries from a box of 2020 batteries. Inspector B samples 44 batteries from a shipment of 5,0005{,}000 batteries. Which inspector can use the binomial formula to find the probability of getting 11 defective battery, why, and what is that probability?

Both inspectors sample without replacement. Compare each sample size (n=4n = 4) to 10%10\% of that inspector's batch size.

For Inspector A, n=4n = 4 is 20%20\% of the 2020 batteries in the box, which fails the 10%10\% Condition. For Inspector B, n=4n = 4 is well under 10%10\% of the 5,0005{,}000 batteries (0.10×5,000=5000.10 \times 5{,}000 = 500), so the 10%10\% Condition holds and the trials are approximately independent (don't confuse the 10%\success{10\%} defective rate p=0.1\success{p} = \success{0.1} with the 10%10\% sample-size cutoff). Using the binomial formula for Inspector B with n=4n = 4 and p=0.1\success{p} = \success{0.1} (remembering to multiply by (41)=4\arrange{\binom{4}{1}} = \arrange{4}; leaving it off gives 0.07290.0729):
P(X=1)=(41)(0.1)1(0.9)3=4×0.1×0.729=0.2916\displaystyle \begin{aligned} P(X = \success{1}) &= \arrange{\binom{4}{1}}\success{(0.1)^1}\failure{(0.9)^3} \\ &= \arrange{4} \times \success{0.1} \times \failure{0.729} = \prob{0.2916} \end{aligned}
5

A cereal company puts a prize in 20%\success{20\%} of its boxes (p=0.2\success{p} = \success{0.2}). A family buys 55 boxes at random from a large national production run. Let XX be the number of prizes they get. Find (a) P(X≥1)P(X \ge 1) and (b) P(X≥4)P(X \ge 4).

Look at the possible counts 0,1,2,3,4,50, 1, 2, 3, 4, 5. In (a), which single outcome is left out of X≥1X \ge 1? In (b), which outcomes make up X≥4X \ge 4?

(a) Out of 0,1,2,3,4,50, 1, 2, 3, 4, 5, only X=0X = \success{0} is left out of X≥1X \ge 1, so subtract P(X=0)P(X = \success{0}) from 11 (watch out for computing P(X=1)=0.4096P(X = 1) = 0.4096 or 1−P(X=1)=0.59041 - P(X = 1) = 0.5904 instead of using X=0X = \success{0}):
P(X≥1)=1−P(X=0)=1−(50)(0.2)0(0.8)5=1−0.32768=0.67232\displaystyle \begin{aligned} P(X \ge 1) &= 1 - P(X = \success{0}) \\ &= 1 - \arrange{\binom{5}{0}}\success{(0.2)^0}\failure{(0.8)^5} \\ &= 1 - 0.32768 = \prob{0.67232} \end{aligned}
(b) "At least 44" out of 55 includes both X=4X = \success{4} and X=5X = \success{5} (forgetting to add P(X=5)P(X = 5) stops at 0.00640.0064):
P(X≥4)=(54)(0.2)4(0.8)1+(55)(0.2)5(0.8)0=0.0064+0.00032=0.00672\displaystyle \begin{aligned} P(X \ge 4) &= \arrange{\binom{5}{4}}\success{(0.2)^4}\failure{(0.8)^1} \\ &\quad + \arrange{\binom{5}{5}}\success{(0.2)^5}\failure{(0.8)^0} \\ &= \prob{0.0064} + \prob{0.00032} \\ &= \prob{0.00672} \end{aligned}
6

For a certain airline, 20%\success{20\%} of flights are delayed (p=0.2\success{p} = \success{0.2}). Suppose you track 1515 independent flights (n=15n = 15), and let XX be the number of delayed flights. Write the `binomcdf` expression and find the probability that the number of delayed flights is (a) strictly less than 55, (b) more than 55, and (c) at least 55.

Write down the numbers …,4,5,6,…\dots, 4, 5, 6, \dots around 55 and circle the counts that match each phrase before picking the cutoff for `binomcdf`.

(a) For X<5X < 5, the outcome 55 is not included, so the highest count in the left group from 00 is 4\success{4} (plugging 55 directly into `binomcdf(15, 0.2, 5)` includes 55 and gives the wrong answer 0.93890.9389):
P(X<5)\displaystyle P(X < 5) =P(X≤4)\displaystyle = P(X \le \success{4}) =binomcdf(15,0.2,4)≈0.8358\displaystyle = \text{binomcdf}(15, \success{0.2}, \success{4}) \approx \prob{0.8358}
(b) For X>5X > 5, we want 66 through 1515, so we subtract the unwanted left group 00 through 55 from 11 (stopping the subtraction at 44 leaves 55 in and gives 0.16420.1642):
P(X>5)=1−P(X≤5)=1−binomcdf(15,0.2,5)≈1−0.9389=0.0611\displaystyle \begin{aligned} P(X > 5) &= 1 - P(X \le \success{5}) \\ &= 1 - \text{binomcdf}(15, \success{0.2}, \success{5}) \\ &\approx 1 - 0.9389 = \prob{0.0611} \end{aligned}
(c) For X≥5X \ge 5, we want 55 through 1515, so we keep 55 and subtract only 00 through 44 from 11 (subtracting `binomcdf(15, 0.2, 5)` leaves out 55 and gives 0.06110.0611):
P(X≥5)=1−P(X≤4)=1−binomcdf(15,0.2,4)≈1−0.8358=0.1642\displaystyle \begin{aligned} P(X \ge 5) &= 1 - P(X \le \success{4}) \\ &= 1 - \text{binomcdf}(15, \success{0.2}, \success{4}) \\ &\approx 1 - 0.8358 = \prob{0.1642} \end{aligned}