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% free-throw shooter (P(make)=0.7 and P(miss)=0.3) takes 5 independent shots, and we want to find the probability that she makes exactly 3 out of 5 shots. Multiplying three 0.7s and two 0.3s 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
Reordering the three 0.7 factors and two 0.3 factors does not change their product, so every possible arrangement of 3 makes and 2 misses has the exact same probability, (0.7)3(0.3)2. To find the total probability of making 3 out of 5 shots, we just need to count how many ways we can choose which 3 of the 5 shot slots get the makes.
Remember from counting: when we have n slots and want to choose k of them without caring about the order in which we pick them, we use the combination (kn) (read "n choose k," or `nCr` on a calculator). For 3 makes across 5 slots, there are 5×4×3=60 ways to pick 3 slots in order, divided by the 3!=3×2×1=6 ways to rearrange the 3 identical makes.
Counting Arrangements and the Binomial Formula
Text solution
One arrangement of 3 makes and 2 missesMultiplying three 0.7 factors for the makes and two 0.3 factors for the misses gives the probability of any single order.
P(one arrangement)=(0.7)3(0.3)2=0.03087
Number of arrangements across 5 slotsChoosing which 3 of the 5 shot slots get the makes counts how many different orders have 3 makes and 2 misses.
(35)=3×2×15×4×3=660=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 out of 5 shots in any order.
P(X=3)=(35)(0.7)3(0.3)2=10×0.03087=0.3087
So there is a 0.3087 (or 30.87%) chance that a 70% shooter makes 3 out of 5 shots.
In general, if a discrete random variable X counts the successes across n trials with success probability p on each trial, the probability of getting k successes is the product of those same three pieces:
Notice that (kn) 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 and 1−p) always add up to 1, and the two exponents (k and n−k) always add up to the total number of trials n.
In this 5-shot setup, changing which3 slots are makes only reorders the 0.7 and 0.3 factors, so the single-order probability (0.7)3(0.3)2 stays the same. Changing how many of the 5 shots are makes (k) changes both the exponents in (0.7)k(0.3)5−k and the number of arrangements (k5).
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 X that counts the successes is a binomial random variable.
The Binomial Setting: BINS
Each condition in the BINS checklist comes directly from one part of the formula:
B: Binary. Every trial can be sorted into just two categories, "Success" (what we are counting) and "Failure" (everything else), so the two probabilities add to 1 and their counts add to n.
I: Independent. One trial's outcome does not change what happens on the next trial, which allows us to multiply the probabilities from trial to trial without adjusting them.
N: Number fixed. The total number of trials n is fixed before we start, giving us a fixed number of slots in (kn) (watch for the word "until," as in shooting until you make 3 shots, which leaves the number of trials open).
S: Same p. The probability of success p stays the same on every trial, so we can multiply k factors of p together as pk (trials can be independent and still fail this if the difficulty changes from trial to trial).
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
When the population is huge compared to the sample, removing a few individuals changes p only in the far decimal places. We check this using the 10% Condition:
10% Conditionn<0.10×(population size)
When sampling without replacement, if the sample size n is less than 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 3 right or at least 1 right, when guessing on a 4-question multiple-choice quiz with 5 options per question (n=4,p=0.2, and 1−p=0.8). Because the possible scores 0,1,2,3,4 are separate outcomes whose probabilities add up to 1, we can either add the scores we want or subtract the scores we don't want from 1.
Finding "At Least" Probabilities by Hand
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,4, "at least 3" means X=3 or X=4.
P(X≥3)=P(X=3)+P(X=4)
Probability of 3 right and of 4 rightApply the binomial formula to each score separately.
Add the probabilitiesAdd the two probabilities together.
P(X≥3)=0.0256+0.0016=0.0272
So there is a 0.0272 (or 2.72%) chance of guessing at least 3 right out of 4.
When we want P(X≥1), four of the five scores (1,2,3, and 4) are included and only X=0 is left out, so subtracting P(X=0) from 1 saves three binomial calculations.
Text solution
Rewrite using the complement X=0All five probabilities from 0 to 4 add up to 1, and X=0 is the only outcome not in X≥1.
P(X≥1)=1−P(X=0)
Probability of getting 0 rightFind the probability of missing all 4 questions.
P(X=0)=(04)(0.2)0(0.8)4=1×1×0.4096=0.4096
Subtract from 1Subtract the X=0 probability from the total probability of 1.
P(X≥1)=1−0.4096=0.5904
So there is a 0.5904 (or 59.04%) chance of getting at least 1 question right.
5
Calculator Commands and the Number Line
Adding outcomes by hand is fine when n=4, but on a 20-question exam (n=20 and p=0.2), finding P(X≤6) by hand would mean adding seven separate binomial formulas from 0 through 6. For larger values of n, we use calculator commands, and we can jot down the whole numbers around the cutoff so we don't mix up <,≤,>, and ≥.
Calculator Commands and the Number Line
Calculators and statistical software provide two commands:
Particular value (P(X=k)): binompdf(n,p,k) finds the binomial probability at one single score k:
Cumulative sum from 0 through k (P(X≤k)): binomcdf(n,p,k) starts at 0 and adds every probability up to and including k:
P(X≤6)=binomcdf(20,0.2,6)≈0.9133
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)) and list n,p, and k beside it.
Because binomcdf only adds starting from 0 up to a cutoff k, we rewrite <,>, and ≥ probabilities using a left group that runs from 0 to k.
Text solution
Strictly less than 6 (X<6)Since 6 does not count, the highest score that counts is 5.
P(X<6)=P(X≤5)=binomcdf(20,0.2,5)≈0.8042
More than 6 (X>6)Keeping 7 through 20 means subtracting the unwanted left group from 0 through 6 from 1.
So on the 20-question exam, there is an 80.42% chance of getting fewer than 6 right, an 8.67% chance of getting more than 6 right, and a 19.58% chance of getting at least 6 right.
The whole difference between P(X≥6) and P(X>6) is what happens to the score 6:P(X≥6) keeps 6, so we only subtract 0 through 5 using binomcdf(20,0.2,5), while P(X>6) leaves 6 out, so we subtract 0 through 6 using binomcdf(20,0.2,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 X, check BINS: each trial is Binary (Success vs. Failure, including when you group several outcomes into "rolling a 4" with p=61 versus "not rolling a 4" with 1−p=65), trials are Independent, the Number of trials n is fixed in advance (not flipping until you get 4 heads), and the Same probability 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×population, like polling 5 people from 1,000,000, not dealing 10 cards from 52).
When a question asks for one exact order, such as making the first 3 shots and missing the last 2, do not use (kn); multiply the trial probabilities directly, (0.7)3(0.3)2. When the k successes can happen in any order across n trials, multiply the three pieces together:
P(X=k)=arrangements(kn)successespkfailures(1−p)n−k,for example P(X=3)=(35)(0.7)3(0.3)2
Check that the two probabilities add to 1 (0.7+0.3=1) and the two exponents add to n (3+2=5).
For a single score P(X=k), use the binomial formula or binompdf(n,p,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) when n=4.
Key concept
If the phrase is "at least 1" (X≥1), only X=0 is left out, so subtract it from 1:P(X≥1)=1−P(X=0).
Key concept
For larger n,binomcdf(n,p,k) adds from 0 up through k. Look at your circled numbers to see where the left group starting at 0 ends: for n=20 and p=0.2,P(X<6)=P(X≤5)=binomcdf(20,0.2,5), whereas P(X>6)=1−P(X≤6)=1−binomcdf(20,0.2,6) and P(X≥6)=1−P(X≤5)=1−binomcdf(20,0.2,5).
6
Practice
1
An archer hits the bullseye on 60% of her shots (p=0.6), and her shots are independent. She takes 5 shots. (a) What is the probability that she hits the bullseye on the first 2 shots and misses on the last 3? (b) What is the probability that she hits the bullseye on 2 out of the 5 shots in any order?
Because the exact order is given (first 2 hits, last 3 misses), only one arrangement counts. Do not multiply by (25)=10, which would give the wrong answer 0.2304.
In part (a), how many different arrangements match "first 2 hits, last 3 misses"? In part (b), how many ways can you choose which 2 of the 5 slots are hits?
(a) Because the exact order is given (first 2 hits, last 3 misses), only one arrangement counts. Do not multiply by (25)=10, which would give the wrong answer 0.2304:
(0.6)2(0.4)3=0.36×0.064=0.02304
(b) Because the 2 hits can happen in any of the 5 slots, multiply the single-arrangement probability by (25)=10 (leaving off (25) gives the single-order answer 0.02304, and swapping the exponents on 0.6 and 0.4 gives 0.3456):
(25)(0.6)2(0.4)3=10×0.02304=0.2304
2
A student writes the binomial expression (3n)(0.25)3(q)4 to find the probability P(X=3). Use the two quick checks of the binomial formula to find the failure probability q, the number of trials n, and the probability 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 1:
q=1−0.25=0.75
The two exponents must add to the total number of trials n (watch out for reading the failure exponent 4 as n, which would give n=4 and P(X=3)≈0.0198):
n=3+4=7
Substitute n=7 and q=0.75 into the binomial expression (remembering to multiply by (37)=35; forgetting (37) gives 0.0049):
For each scenario, decide whether X is a binomial random variable. If it is, give n and p; if not, state which BINS condition fails and why. (a) You spin a fair 8-sector spinner (numbered 1 to 8)10 times and let X be the number of times it lands on 8. (b) You flip a fair coin until you get 4 heads and let X be the total number of flips it takes. (c) A golfer takes 6 independent putts, one each from 3,6,9,12,15, and 18 feet, and lets X be the number of putts made.
For (a), can every spin be sorted into "lands on 8" versus "does not land on 8"? 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 8 sectors, do not say B (Binary) fails: each spin can be sorted into two categories, "lands on 8" (Success) and "does not land on 8" (Failure). All four BINS conditions hold, so X is binomial with n=10 and p=81=0.125. (b) Not binomial: N (Number fixed) fails because flipping until you get 4 heads means the total number of flips is not fixed in advance (watch out for treating the target of 4 heads as a fixed number of trials n=4). (c) Not binomial: S (Same p) fails because the probability of making a putt decreases as the distance increases from 3 feet to 18 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 4 batteries without replacement from a batch in which 10% of the batteries are defective. Inspector A samples 4 batteries from a box of 20 batteries. Inspector B samples 4 batteries from a shipment of 5,000 batteries. Which inspector can use the binomial formula to find the probability of getting 1 defective battery, why, and what is that probability?
Remember to multiply by (14)=4; leaving it off gives 0.0729.
Both inspectors sample without replacement. Compare each sample size (n=4) to 10% of that inspector's batch size.
For Inspector A, n=4 is 20% of the 20 batteries in the box, which fails the 10% Condition. For Inspector B, n=4 is well under 10% of the 5,000 batteries (0.10×5,000=500), so the 10% Condition holds and the trials are approximately independent (don't confuse the 10% defective rate p=0.1 with the 10% sample-size cutoff). Using the binomial formula for Inspector B with n=4 and p=0.1 (remembering to multiply by (14)=4; leaving it off gives 0.0729):
P(X=1)=(14)(0.1)1(0.9)3=4×0.1×0.729=0.2916
5
A cereal company puts a prize in 20% of its boxes (p=0.2). A family buys 5 boxes at random from a large national production run. Let X be the number of prizes they get. Find (a) P(X≥1) and (b) P(X≥4).
Out of 0,1,2,3,4,5, only X=0 is left out of X≥1, so subtract P(X=0) from 1 (watch out for computing P(X=1)=0.4096 or 1−P(X=1)=0.5904 instead of using X=0).
Look at the possible counts 0,1,2,3,4,5. In (a), which single outcome is left out of X≥1? In (b), which outcomes make up X≥4?
(a) Out of 0,1,2,3,4,5, only X=0 is left out of X≥1, so subtract P(X=0) from 1 (watch out for computing P(X=1)=0.4096 or 1−P(X=1)=0.5904 instead of using X=0):
For a certain airline, 20% of flights are delayed (p=0.2). Suppose you track 15 independent flights (n=15), and let X 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 5, (b) more than 5, and (c) at least 5.
For X<5, the outcome 5 is not included, so the highest count in the left group from 0 is 4 (plugging 5 directly into binomcdf(15,0.2,5) includes 5 and gives the wrong answer 0.9389).
Write down the numbers …,4,5,6,… around 5 and circle the counts that match each phrase before picking the cutoff for `binomcdf`.
(a) For X<5, the outcome 5 is not included, so the highest count in the left group from 0 is 4 (plugging 5 directly into `binomcdf(15, 0.2, 5)` includes 5 and gives the wrong answer 0.9389):
P(X<5)=P(X≤4)=binomcdf(15,0.2,4)≈0.8358
(b) For X>5, we want 6 through 15, so we subtract the unwanted left group 0 through 5 from 1 (stopping the subtraction at 4 leaves 5 in and gives 0.1642):
(c) For X≥5, we want 5 through 15, so we keep 5 and subtract only 0 through 4 from 1 (subtracting `binomcdf(15, 0.2, 5)` leaves out 5 and gives 0.0611):