Algebra 2Probability and Statistics2 of 5
Probability and Statistics · 2

Binomial Distributions

When a repeatable try can only succeed or fail, we often want the probability of getting a certain number of successes out of several tries.

1

Making Any 3 Shots Out of 5

Suppose a basketball player makes 70%\success{70\%} of her free throws (Make=0.7\success{\text{Make}} = \success{0.7}, Miss=0.3\failure{\text{Miss}} = \failure{0.3}) and takes 55 shots. Assume the shots are independent, each with a 0.7\success{0.7} chance of a make. What is the probability that she makes any 3\success{3} of them?

Making Any 3 Shots Out of 5
Make=0.7\success{\text{Make}} = \success{0.7}
Miss=0.3\failure{\text{Miss}} = \failure{0.3}
P(any 3 of 5)=  ?P(\text{any } \success{3} \text{ of } 5) = \;?
Text solution
Find the probability of one specific sequence of 3 makes and 2 missesBecause the shots are independent, any single sequence with 3\success{3} makes and 2\failure{2} misses multiplies three 0.7\success{0.7}s and two 0.3\failure{0.3}s together.
(0.7)3×(0.3)2\displaystyle \success{(0.7)^3} \times \failure{(0.3)^2} =0.343×0.09\displaystyle = \success{0.343} \times \failure{0.09} =0.03087\displaystyle = 0.03087
Multiply by the 10 ways to arrange 3 makes in 5 shotsEvery arrangement of 3\success{3} makes and 2\failure{2} misses multiplies those same five numbers in a different order, so the total probability is 10\ways{10} times the probability of a single sequence.
10×(0.7)3×(0.3)2\displaystyle \ways{10} \times \success{(0.7)^3} \times \failure{(0.3)^2} =10×0.03087\displaystyle = \ways{10} \times 0.03087 =0.3087≈30.9%\displaystyle = 0.3087 \approx 30.9\%

Moving the 3\success{3} makes to different slots only changes the order in which you multiply the three 0.7\success{0.7}s and two 0.3\failure{0.3}s, so all 10\ways{10} sequences have the same probability.

Moving the makes around only reorders the multiplication, so every way of making 3 out of 5 shots has the exact same probability.
2

Counting Ways with Combinations

Listing all 10\ways{10} arrangements by hand worked for 55 shots, but with more shots (like finding the chance of making 14\success{14} out of 2020), we need a direct way to count how many ways the makes can be placed among the slots.

Counting Ways with Combinations
M\success{\text{M}}
M\success{\text{M}}
M\success{\text{M}}
X\failure{\text{X}}
X\failure{\text{X}}
11
22
33
44
55
ways to choose 3 slots of 5=  ?\text{ways to choose } \success{3} \text{ slots of } 5 = \;?

We count the ways to choose 3\success{3} slots out of 55 using the combination "5\ways{5} choose 3\ways{3}":

5C3\displaystyle \ways{{}_5C_3} =(53)\displaystyle = \ways{\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 = \ways{10}

Putting this count together with the probability of one sequence builds the answer in three pieces from left to right:

5C3⏟The Ways×(0.7)3⏟The Hits×(0.3)2⏟The Misses\displaystyle \underbrace{\ways{{}_5C_3}}_{\ways{\text{The Ways}}} \times \underbrace{\success{(0.7)^3}}_{\success{\text{The Hits}}} \times \underbrace{\failure{(0.3)^2}}_{\failure{\text{The Misses}}}

Because every shot is either a make or a miss, the two exponents (3+2=5\success{3} + \failure{2} = 5) always add up to the total number of shots, and the two probabilities inside the parentheses (0.7+0.3=1\success{0.7} + \failure{0.3} = 1) always add up to 11.

3

The Binomial Probability Formula

Now let's use those same three pieces on a multiple-choice quiz. Suppose a quiz has 88 questions with 44 choices (A, B, C, D) each, and you guess independently and at random on all 88. What is the probability of getting 2\success{2} questions right?

The Binomial Probability Formula
A\text{A}
B\text{B}
C\text{C}
D\text{D}
11
22
33
44
55
66
77
88
8 questions8 \text{ questions}
4 choices each4 \text{ choices each}
P(2 right of 8)=  ?P(\success{2} \text{ right of } 8) = \;?
Text solution
Find the right and wrong probabilities for a single questionWith 11 right answer out of 44 choices, the probability of guessing right is 0.25\success{0.25}, leaving 0.75\failure{0.75} for guessing wrong.
Right\displaystyle \success{\text{Right}} =14\displaystyle = \frac{1}{4} =0.25,Wrong\displaystyle = \success{0.25}, \qquad \failure{\text{Wrong}} =1−0.25\displaystyle = 1 - \success{0.25} =0.75\displaystyle = \failure{0.75}
Count the ways to choose which 2 of the 8 questions are rightMultiply two numbers counting down from 88 on top, and divide by 2×12 \times 1 on the bottom.
8C2\displaystyle \ways{{}_8C_2} =8×72×1\displaystyle = \frac{8 \times 7}{2 \times 1} =562\displaystyle = \frac{56}{2} =28\displaystyle = \ways{28}
Multiply the ways, the 2 rights, and the 6 leftover wrongsOnce 2\success{2} of the 88 questions are right, the remaining 8−2=68 - \success{2} = \failure{6} questions must be wrong.
28×(0.25)2×(0.75)6≈28×0.0625×0.177979≈0.311≈31.1%\displaystyle \begin{aligned} &\ways{28} \times \success{(0.25)^2} \times \failure{(0.75)^6} \\ &\approx \ways{28} \times \success{0.0625} \times \failure{0.177979} \\ &\approx 0.311 \approx 31.1\% \end{aligned}

For k\success{k} successes out of a fixed number of nn independent trials, each with success probability p\success{p} and failure probability 1−p\failure{1 - p}, the three pieces are written:

nCk⏟ways to choose k slots×pk⏟k successes×(1−p)n−k⏟n−k leftover misses\displaystyle \underbrace{\ways{{}_nC_k}}_{\ways{\text{ways to choose } k \text{ slots}}} \times \underbrace{\success{p^k}}_{\success{k \text{ successes}}} \times \underbrace{\failure{(1 - p)^{n - k}}}_{\failure{n - k \text{ leftover misses}}}
4

The Full Binomial Distribution

A binomial distribution shows how the full 100%\collected{100\%} probability is spread out across every possible number of successes from 00 to nn. Let's find the probability for every possible score from 00 makes to 55 makes on our 55 free throws (Make=0.7\success{\text{Make}} = \success{0.7}, Miss=0.3\failure{\text{Miss}} = \failure{0.3}).

The Full Binomial Distribution
5 shots,  Make=0.7,  Miss=0.35 \text{ shots},\ \ \success{\text{Make}} = \success{0.7},\ \ \failure{\text{Miss}} = \failure{0.3}
??
??
??
??
??
??
00
11
22
33
44
55
makes\text{makes}
5 shots,  Make=0.7,  Miss=0.35 \text{ shots},\ \ \success{\text{Make}} = \success{0.7},\ \ \failure{\text{Miss}} = \failure{0.3}
0.0020.002
0.0280.028
0.1320.132
0.3090.309
0.3600.360
0.1680.168
00
11
22
33
44
55
makes\text{makes}

For 00 makes, there is only 1\ways{1} way to pick zero slots (5C0=1\ways{{}_5C_0} = \ways{1}) and (0.7)0=1\success{(0.7)^0} = \success{1}, so the three-piece calculation simplifies to missing all 5\failure{5} shots in a row:

5C0×(0.7)0×(0.3)5\displaystyle \ways{{}_5C_0} \times \success{(0.7)^0} \times \failure{(0.3)^5} =1×1×(0.3)5\displaystyle = \ways{1} \times \success{1} \times \failure{(0.3)^5} =0.00243≈0.002\displaystyle = 0.00243 \approx 0.002

Each bar is one term in the expansion of (0.7+0.3)5(\success{0.7} + \failure{0.3})^5, and because 0.7+0.3=1\success{0.7} + \failure{0.3} = 1, all six bars together must add up to 15=11^5 = \collected{1}.

5

Finding "At Least" Probabilities

Often we care about reaching a cutoff rather than getting one exact score: out of 55 shots at p=0.7\success{p} = \success{0.7}, what is the probability of making at least 44 shots, and what is the probability of making at least 11 shot?

Finding "At Least" Probabilities
5 shots,  Make=0.7,  Miss=0.35 \text{ shots},\ \ \success{\text{Make}} = \success{0.7},\ \ \failure{\text{Miss}} = \failure{0.3}
0.0020.002
0.0280.028
0.1320.132
0.3090.309
0.3600.360
0.1680.168
00
11
22
33
44
55
makes\text{makes}
P(at least 4)=  ?P(\text{at least } 4) = \;?
P(at least 1)=  ?P(\text{at least } 1) = \;?
Text solution
Making at least 4 shots (add the wanted bars)Making at least 44 out of 55 shots means making 4\collected{4} or 5\collected{5} shots, so we add those two bars together.
P(at least 4)\displaystyle P(\text{at least } 4) =P(4)+P(5)\displaystyle = \collected{P(4)} + \collected{P(5)} =0.36015+0.16807\displaystyle = \collected{0.36015} + \collected{0.16807} =0.52822≈52.8%\displaystyle = 0.52822 \approx 52.8\%
Making at least 1 shot (subtract the left-out bar from 1)Bars 1\collected{1} through 5\collected{5} include every outcome except 0\leftout{0} makes, so we subtract P(0)\leftout{P(0)} from the total probability of 1\collected{1}.
P(at least 1)\displaystyle P(\text{at least } 1) =1−P(0)\displaystyle = \collected{1} - \leftout{P(0)} =1−(0.3)5\displaystyle = \collected{1} - \failure{(0.3)^5} =1−0.00243\displaystyle = \collected{1} - \leftout{0.00243} =0.99757≈99.8%\displaystyle = 0.99757 \approx 99.8\%

Wherever the cutoff line sits on the chart, the sum of the wanted bars on one side always equals 1\collected{1} minus the sum of the left-out bars on the other side.

For any cutoff on the 5-shot chart, adding the bars you want and subtracting the left-out bars from 1 always give the exact same probability.
6

Rules for a Binomial Setting

Before using the three-piece method on a problem, we need to check when a situation is actually binomial and when the method doesn't work.

Rules for a Binomial Setting
M\success{\text{M}}
M\success{\text{M}}
M\success{\text{M}}
X\failure{\text{X}}
X\failure{\text{X}}
5 shots5 \text{ shots}
A\text{A}
♠\spadesuit
52 cards, draw 552 \text{ cards, draw } 5
without putting them back\text{without putting them back}
binomial?\text{binomial?}

A setting is binomial only when all three rules hold:

7

Mean and Standard Deviation

Across nn trials, the mean (μ\mu) is the average number of successes we expect to get, and the standard deviation (σ\step{\sigma}) is the typical give-or-take amount around that average. If a 70%\success{70\%} free-throw shooter takes 100100 shots, how many makes should she expect on average, and what is the standard deviation?

Mean and Standard Deviation
100 free throws100 \text{ free throws}
70% made\success{70\%}\text{ made}
μ=  ?\mu = \;?
σ=  ?\step{\sigma} = \;?
Text solution
Find the mean (expected number of makes)Multiply the number of shots nn by the success probability p\success{p}.
μ\displaystyle \mu =n×p\displaystyle = n \times \success{p} =100×0.7\displaystyle = 100 \times \success{0.7} =70 makes\displaystyle = 70\text{ makes}
Find the standard deviation (typical give-or-take)Multiply the mean n×pn \times \success{p} by the miss probability 1−p\failure{1 - p}, then take the square root.
σ\displaystyle \step{\sigma} =n×p×(1−p)\displaystyle = \sqrt{n \times \success{p} \times \failure{(1 - p)}} =100×0.7×0.3\displaystyle = \sqrt{100 \times \success{0.7} \times \failure{0.3}} =21≈4.58 makes\displaystyle = \sqrt{21} \approx 4.58\text{ makes}

So in a set of 100100 shots, she can expect to make around 7070 shots, give or take about 4\step{4} or 5\step{5} shots.

8

Shape and Skew of the Distribution

Finally, let's see how the single-shot probability p\success{p} controls which way the bar chart leans and where its tail stretches out.

Shape and Skew of the Distribution
00
11
22
33
44
55
p=0.7\success{p} = \success{0.7}
??
??
00
88
00
55
p=0.25\success{p} = \success{0.25}
p=0.5\success{p} = \success{0.5}
00
11
22
33
44
55
p=0.25\success{p} = \success{0.25}
Skewed Right\text{Skewed Right}
(0<p<0.5)(0 < \success{p} < 0.5)
00
11
22
33
44
55
p=0.5\success{p} = \success{0.5}
Symmetric\text{Symmetric}
00
11
22
33
44
55
p=0.7\success{p} = \success{0.7}
Skewed Left\text{Skewed Left}
(0.5<p<1)(0.5 < \success{p} < 1)

As the single-trial probability p\success{p} moves from below 0.50.5 to above 0.50.5, the tall bars shift from the left side to the right side while the thin tail (which gives the skew its name) stretches out to the opposite side.

The single-shot Make chance sets which way the bars lean, and skew is named for the side where the long, thin tail stretches out rather than where the tall bars bunch up.

For a fixed p\success{p} between 00 and 11, increasing nn makes the bars around the mean μ=n×p\mu = n \times \success{p} more nearly symmetric and bell-shaped.

Key concepts

Before using the binomial method, check that there are a fixed number of trials nn, only two outcomes, and independent trials with the same probability p\success{p} every time. Do not use it when drawing without replacement (such as dealing 55 cards from a deck without putting them back), because the chance of success on the next draw depends on what was already drawn. Also check whether the question asks for one specific order (making the first 3\success{3} and missing the last 2\failure{2}: just (0.7)3×(0.3)2\success{(0.7)^3} \times \failure{(0.3)^2}) or any k\success{k} successes across the nn slots, which multiplies by the number of ways nCk\ways{{}_nC_k}:

nCk×pk×(1−p)n−ke.g., any 3 makes in 5 shots: 5C3×(0.7)3×(0.3)2≈0.309\displaystyle \begin{aligned} &\ways{{}_nC_k} \times \success{p^k} \times \failure{(1 - p)^{n - k}} \\[4pt] &\text{e.g., any } \success{3}\text{ makes in } 5\text{ shots: } \\ &\ways{{}_5C_3} \times \success{(0.7)^3} \times \failure{(0.3)^2} \approx 0.309 \end{aligned}

For "at least" or "at most" questions, add the bars you want when there are only a few (P(at least 4)=P(4)+P(5)P(\text{at least } 4) = \collected{P(4)} + \collected{P(5)}), or subtract the left-out bars from 11 when you want almost the whole chart (P(at least 1)=1−P(0)=1−(0.3)5P(\text{at least } 1) = \collected{1} - \leftout{P(0)} = \collected{1} - \failure{(0.3)^5}). Across nn trials, the expected average and typical give-or-take amount are

μ=n×p,σ=n×p×(1−p)e.g., 100 shots at p=0.7:  μ=70,  σ=100×0.7×0.3≈4.58\displaystyle \begin{aligned} \mu &= n \times \success{p}, \\ \step{\sigma} &= \sqrt{n \times \success{p} \times \failure{(1 - p)}} \\[4pt] &\text{e.g., } 100\text{ shots at } \success{p} = \success{0.7}\text{:}\; \\ \mu &= 70,\; \\ \step{\sigma} &= \sqrt{100 \times \success{0.7} \times \failure{0.3}} \approx 4.58 \end{aligned}

The bar chart is skewed right when 0<p<0.50 < \success{p} < 0.5 (tail on the right), symmetric when p=0.5\success{p} = \success{0.5}, and skewed left when 0.5<p<10.5 < \success{p} < 1 (tail on the left). For a fixed p\success{p} between 00 and 11, it becomes more nearly symmetric and bell-shaped as nn grows large.

9

Practice

1

A basketball player makes 60%60\% of her free throws (p=0.6p = 0.6). Assume her shots are independent, each with this probability of a make. If she takes 55 shots, what is the probability that she makes exactly 44 of them?

Picture 55 blank slots and build the three pieces from left to right: how many ways can you choose 44 slots for the makes, and how many leftover shots must be misses?

With n=5n = 5, k=4\success{k} = \success{4}, p=0.6\success{p} = \success{0.6}, and 1−p=0.4\failure{1 - p} = \failure{0.4}, there is 5−4=15 - \success{4} = \failure{1} leftover miss. Don't forget to multiply by 5C4=5\ways{{}_5C_4} = \ways{5} (finding (0.6)4×(0.4)1\success{(0.6)^4} \times \failure{(0.4)^1} alone gives 0.051840.05184, which is only one specific order) or leave off the (0.4)1\failure{(0.4)^1} miss factor (which gives 0.6480.648):
5C4×(0.6)4×(0.4)1\displaystyle \ways{{}_5C_4} \times \success{(0.6)^4} \times \failure{(0.4)^1} =5×0.1296×0.4\displaystyle = \ways{5} \times \success{0.1296} \times \failure{0.4} =0.2592, or about 25.9%\displaystyle = 0.2592\text{, or about } 25.9\%
2

A baseball player gets a hit 30%30\% of the time (p=0.3p = 0.3). Assume his at-bats are independent, each with this probability of a hit. In 44 at-bats, what is the probability that he gets a hit on his first two at-bats and misses on his last two? How many times larger is the probability that he gets a hit on any 22 of his 44 at-bats?

Does the first question allow any arrangement of 22 hits, or only the single sequence H H X X\text{H H X X}? Then count how many ways 22 hits can be placed in 44 slots for the second question.

The first question asks for only the single sequence H H X X\text{H H X X}, so do not multiply by 4C2=6\ways{{}_4C_2} = \ways{6} here (which would give 0.26460.2646):
(0.3)2×(0.7)2\displaystyle \success{(0.3)^2} \times \failure{(0.7)^2} =0.09×0.49\displaystyle = \success{0.09} \times \failure{0.49} =0.0441, or 4.41%\displaystyle = 0.0441\text{, or } 4.41\%
For getting a hit on any 22 of the 44 at-bats, remember to divide out the 2×1=22 \times 1 = 2 duplicate orders in 4C2=4×32×1=6\ways{{}_4C_2} = \frac{4 \times 3}{2 \times 1} = \ways{6} (not 4×3=124 \times 3 = 12): it is 6\ways{6} times larger, which is 6×0.0441=0.2646\ways{6} \times 0.0441 = 0.2646, or 26.46%26.46\%.
3

A multiple-choice quiz has 66 questions, and each question has 55 choices (A, B, C, D, E). If you guess independently and at random on all 66 questions, what is the probability that you get exactly 22 questions right? Round to the nearest tenth of a percent.

First find the probability of guessing right (11 out of 55) and wrong on a single question, then ask how many of the 66 questions are left over as wrong when 22 are right.

Each question has Right=15=0.2\success{\text{Right}} = \frac{1}{5} = \success{0.2} and Wrong=0.8\failure{\text{Wrong}} = \failure{0.8}, and choosing 2\success{2} right out of 66 gives 6C2=6×52×1=15\ways{{}_6C_2} = \frac{6 \times 5}{2 \times 1} = \ways{15} ways. Watch the exponent on the wrongs: 2\success{2} right out of 66 leaves 6−2=46 - \success{2} = \failure{4} wrong (using (0.8)2(0.8)^2 instead of (0.8)4\failure{(0.8)^4} gives 0.3840.384, or 38.4%38.4\%):
6C2×(0.2)2×(0.8)4\displaystyle \ways{{}_6C_2} \times \success{(0.2)^2} \times \failure{(0.8)^4} =15×0.04×0.4096≈0.246, or 24.6%\displaystyle = \ways{15} \times \success{0.04} \times \failure{0.4096} \approx 0.246\text{, or } 24.6\%
4

An archer hits the bullseye on 70%70\% of her shots (p=0.7p = 0.7). Assume her shots are independent, each with this probability of a bullseye. If she takes 44 shots, what is the probability that she hits the bullseye at least 33 times?

Out of 44 shots, which exact numbers of bullseyes count as "at least 33"?

"At least 33" out of 44 shots means hitting 3\collected{3} or 4\collected{4} bullseyes, so don't stop after finding P(3)=0.4116\collected{P(3)} = \collected{0.4116} (41.2%41.2\%) and forget to add the P(4)\collected{P(4)} bar:
P(3)+P(4)=4C3(0.7)3(0.3)1+4C4(0.7)4(0.3)0=0.4116+0.2401=0.6517, or about 65.2%\displaystyle \begin{aligned} \collected{P(3)} + \collected{P(4)} &= \ways{{}_4C_3}\success{(0.7)^3}\failure{(0.3)^1} + \ways{{}_4C_4}\success{(0.7)^4}\failure{(0.3)^0} \\ &= \collected{0.4116} + \collected{0.2401} = 0.6517\text{, or about } 65.2\% \end{aligned}
5

A game gives a winning ticket 10%10\% of the time (p=0.1p = 0.1). Assume the plays are independent, each with this probability of winning. If you play 88 times, what is the probability that you win at least 11 prize? Round to the nearest tenth of a percent.

Instead of adding bars 11 through 88, which single bar is left out of "at least 11"?

Subtract the 0\leftout{0}-wins bar from 1\collected{1}. Be careful to raise the miss probability 1−p=0.9\failure{1 - p} = \failure{0.9} to the 8\failure{8}th power for P(0)\leftout{P(0)} rather than the win probability 0.1\success{0.1}, and remember to subtract P(0)≈0.4305\leftout{P(0)} \approx \leftout{0.4305} from 1\collected{1} rather than stopping at 43.0%43.0\%:
P(at least 1)\displaystyle P(\text{at least } 1) =1−P(0)\displaystyle = \collected{1} - \leftout{P(0)} =1−(0.9)8≈1−0.4305\displaystyle = \collected{1} - \failure{(0.9)^8} \approx \collected{1} - \leftout{0.4305} =0.5695, or 57.0%\displaystyle = 0.5695\text{, or } 57.0\%
6

A bag holds 1010 red marbles and 1010 blue marbles. You draw 44 marbles one at a time without putting them back and want the probability of getting 33 red marbles. Can you use the binomial formula 4C3×(0.5)3×(0.5)1_4C_3 \times (0.5)^3 \times (0.5)^1? Explain why or why not.

Check the three rules for a binomial setting: after you draw the first marble and keep it out, is the probability of drawing a red marble on the second draw still 0.50.5?

NoAfter a red first draw, the chance of a red on the second draw is 919\tfrac{9}{19}. After a blue first draw, it is 1019\tfrac{10}{19}. The second draw depends on the first result, so the trials are not independent and the binomial calculation giving 0.250.25 does not apply.
7

A seed company knows that 80%80\% of its tomato seeds sprout (p=0.8p = 0.8). Assume the seeds sprout independently, each with this probability. If a gardener plants 400400 seeds, what is the expected number of seeds that will sprout (the mean), and what is the standard deviation?

First find how many of the 400400 seeds sprout on average, then multiply that mean by the miss probability 1−p1 - p before taking the square root.

The mean is
μ\displaystyle \mu =400×0.8\displaystyle = 400 \times \success{0.8} =320 seeds\displaystyle = 320\text{ seeds}
For the standard deviation, don't forget to multiply by the miss probability 1−p=0.2\failure{1 - p} = \failure{0.2} inside the square root (400×0.8≈17.9\sqrt{400 \times 0.8} \approx 17.9) or forget to take the square root at the end (6464):
σ\displaystyle \step{\sigma} =400×0.8×0.2\displaystyle = \sqrt{400 \times \success{0.8} \times \failure{0.2}} =64\displaystyle = \sqrt{64} =8 seeds\displaystyle = 8\text{ seeds}
8

Distribution A has n=6n = 6 trials with p=0.85p = 0.85, and Distribution B has n=6n = 6 trials with p=0.15p = 0.15. Which graph is skewed left and which is skewed right, and what happens to the shape of Distribution A if nn increases to 200200?

Look at where the rare scores trail off into a long tail on each graph, rather than where the tall bars bunch up.

Don't name the skew after the tall pile of bars and reverse the two graphs: Distribution A (p=0.85>0.5\success{p} = \success{0.85} > 0.5) is skewed left because its tail stretches toward the low numbers on the left, while Distribution B (p=0.15<0.5\success{p} = \success{0.15} < 0.5) is skewed right because its tail stretches toward the high numbers on the right. If nn increases to 200200, Distribution A becomes much less skewed and approximately symmetric and bell-shaped around its mean (170170).