Skip to content
๐ŸŽฏโญ INTERACTIVE LESSON

Binomial Distribution

Learn step-by-step with interactive practice!

Binomial Distribution - Complete Interactive Lesson

Part 1: Binomial Setting

๐ŸŽฐ Binomial Distributions

Part 1 of 7 โ€” The Binomial Setting


BINS Criteria

A random variable XX is binomial if it counts the number of successes and:

LetterCondition
BBinary outcomes (success/failure)
IIndependent trials
NFixed Number of trials (nn)
SSame probability of success (pp) each trial

Binomial Distribution: XโˆผB(n,p)X \sim B(n, p)

P(X=k)=(nk)pk(1โˆ’p)nโˆ’kP(X = k) = \binom{n}{k} p^k (1-p)^{n-k}

where (nk)=n!k!(nโˆ’k)!\binom{n}{k} = \frac{n!}{k!(n-k)!} and k=0,1,2,โ€ฆ,nk = 0, 1, 2, \ldots, n


Mean and Standard Deviation

ฮผ=npฯƒ=np(1โˆ’p)\mu = np \qquad \sigma = \sqrt{np(1-p)}

Example: 20 free throws, p=0.8p = 0.8

  • ฮผ=20(0.8)=16\mu = 20(0.8) = 16
  • ฯƒ=20(0.8)(0.2)=3.2โ‰ˆ1.789\sigma = \sqrt{20(0.8)(0.2)} = \sqrt{3.2} \approx 1.789

Concept Check ๐ŸŽฏ

Binomial Basics ๐Ÿงฎ

A basketball player makes 75% of free throws. She shoots 12.

1) Expected number of makes?

2) Standard deviation? (round to 2 decimal places)

3) P(X=12)P(X = 12)? (round to 4 decimal places)

Part 2: Binomial Probabilities

๐Ÿ”ข Binomial Calculations

Part 2 of 7 โ€” Computing Binomial Probabilities


Using the Formula

P(X=k)=(nk)pk(1โˆ’p)nโˆ’kP(X = k) = \binom{n}{k} p^k (1-p)^{n-k}

Cumulative Probabilities

  • P(Xโ‰คk)P(X \leq k): use binomcdf(n, p, k) on calculator
  • P(Xโ‰ฅk)=1โˆ’P(Xโ‰คkโˆ’1)P(X \geq k) = 1 - P(X \leq k-1)
  • P(aโ‰คXโ‰คb)=P(Xโ‰คb)โˆ’P(Xโ‰คaโˆ’1)P(a \leq X \leq b) = P(X \leq b) - P(X \leq a-1)

Worked Example

XโˆผB(5,0.4)X \sim B(5, 0.4). Find P(Xโ‰ฅ3)P(X \geq 3).

P(Xโ‰ฅ3)=P(3)+P(4)+P(5)P(X \geq 3) = P(3) + P(4) + P(5)

=(53)(0.4)3(0.6)2+(54)(0.4)4(0.6)1+(55)(0.4)5= \binom{5}{3}(0.4)^3(0.6)^2 + \binom{5}{4}(0.4)^4(0.6)^1 + \binom{5}{5}(0.4)^5

=10(0.064)(0.36)+5(0.0256)(0.6)+1(0.01024)= 10(0.064)(0.36) + 5(0.0256)(0.6) + 1(0.01024)

=0.2304+0.0768+0.01024=0.3174= 0.2304 + 0.0768 + 0.01024 = 0.3174

Concept Check ๐ŸŽฏ

Binomial Calculation ๐Ÿงฎ

XโˆผB(4,0.5)X \sim B(4, 0.5).

1) P(X=2)=?P(X = 2) = ? (as a fraction, e.g., 3/8)

2) P(Xโ‰ค1)=?P(X \leq 1) = ? (as a fraction)

3) P(Xโ‰ฅ3)=?P(X \geq 3) = ? (as a fraction)

Part 3: Binomial Mean and Standard Deviation in Context

๐ŸŽฏ Binomial Mean and Standard Deviation in Context

Part 3 of 7 โ€” What npnp and np(1โˆ’p)\sqrt{np(1-p)} Tell You


The Two Parameters

If XโˆผB(n,p)X \sim B(n, p) counts successes in nn independent trials:

ฮผX=npฯƒX=np(1โˆ’p)\mu_X = np \qquad \sigma_X = \sqrt{np(1-p)}

Both formulas are on the AP formula sheet. The work the exam rewards is interpreting them in context.


Worked Example

A store finds that 35% of customers use a coupon. Let XX = the number of coupon users among 40 randomly selected customers.

  • ฮผX=40(0.35)=14\mu_X = 40(0.35) = 14 customers
  • ฯƒX=40(0.35)(0.65)=9.1โ‰ˆ3.02\sigma_X = \sqrt{40(0.35)(0.65)} = \sqrt{9.1} \approx 3.02 customers

Interpreting the mean: If we took many random samples of 40 customers, the average number of coupon users would be about 14.

Interpreting the standard deviation: The number of coupon users in a sample of 40 typically varies by about 3.02 customers from the mean of 14.

โš ๏ธ Both values are counts of customers, not proportions or percents, so give them in units of the count.

Concept Check ๐ŸŽฏ

Is a Result Surprising?

The mean and standard deviation let you judge whether an observed count is unusual.

In the coupon example, suppose a sample of 40 customers has 22 coupon users:

22โˆ’143.02โ‰ˆ2.65\frac{22 - 14}{3.02} \approx 2.65

That count is about 2.65 standard deviations above the mean. A count that far above npnp would be unusual if the coupon rate really were 35%, so it gives some evidence that the rate for these customers is higher than 35%.

StatementUnits
"The mean is 14"customers
"The SD is 3.02"customers
"22 is 2.65 SDs above the mean"standard deviations

Guessing on a Quiz ๐Ÿงฎ

A student guesses on all 20 questions of a multiple-choice quiz; each question has 4 choices. Let XX = the number correct.

1) Mean number correct?

2) Standard deviation of XX? (round to 2 decimals)

3) How many standard deviations above the mean is a score of 10? (round to 2 decimals)

Part 4: Simulation and Cumulative Binomial Probabilities

๐Ÿ“ˆ Simulation and Cumulative Binomial Probabilities

Part 4 of 7 โ€” Tables of P(Xโ‰คk)P(X \leq k) and Estimates from Simulation


Cumulative Probability Distribution

A cumulative probability distribution gives P(Xโ‰คk)P(X \leq k) for every value kk. For XโˆผB(5,0.4)X \sim B(5, 0.4):

kk012345
P(X=k)P(X = k)0.07780.25920.34560.23040.07680.0102
P(Xโ‰คk)P(X \leq k)0.07780.33700.68260.91300.98981.0000

Each cumulative value adds the next exact probability: 0.3370+0.3456=0.68260.3370 + 0.3456 = 0.6826.


Reading a Cumulative Table

WantUse
P(Xโ‰คk)P(X \leq k)Read the table at kk (calculator: binomcdf(n, p, k))
P(X=k)P(X = k)P(Xโ‰คk)โˆ’P(Xโ‰คkโˆ’1)P(X \leq k) - P(X \leq k-1)
P(Xโ‰ฅk)P(X \geq k)1โˆ’P(Xโ‰คkโˆ’1)1 - P(X \leq k-1)

Example: P(Xโ‰ฅ3)=1โˆ’P(Xโ‰ค2)=1โˆ’0.6826=0.3174P(X \geq 3) = 1 - P(X \leq 2) = 1 - 0.6826 = 0.3174, which matches the sum of P(3)+P(4)+P(5)P(3) + P(4) + P(5) from Part 2.

Concept Check ๐ŸŽฏ

Estimating Binomial Probabilities by Simulation

When you cannot (or do not want to) use the formula, simulate the random process.

Simulating XโˆผB(5,0.4)X \sim B(5, 0.4) with random digits:

  1. Let digits 0โ€“3 represent a success (4 of the 10 digits, so p=0.4p = 0.4) and 4โ€“9 a failure.
  2. Read 5 digits and count the successes: that is one value of XX.
  3. Repeat many times and record each count.
  4. Estimate a probability with the relative frequency, e.g. (number of repetitions with Xโ‰ฅ3X \geq 3) รท (total repetitions).

Example: In 50 repetitions, 17 had Xโ‰ฅ3X \geq 3, so the estimate is 17/50=0.3417/50 = 0.34 (the exact value is 0.3174).

๐Ÿ”‘ Law of large numbers: as the number of repetitions grows, the simulated relative frequency tends to get closer to the true probability.

Simulation Check ๐ŸŽฒ

Cumulative Practice ๐Ÿงฎ

XโˆผB(8,0.25)X \sim B(8, 0.25).

1) P(Xโ‰ค1)P(X \leq 1)? (round to 4 decimals)

2) P(Xโ‰ฅ2)P(X \geq 2)? (round to 4 decimals)

3) A simulation of 400 repetitions gives 252 with Xโ‰ฅ2X \geq 2. What is the simulated estimate of P(Xโ‰ฅ2)P(X \geq 2)? (2 decimals)

Part 5: Is It Binomial? Checking the Conditions

๐Ÿ”„ Is It Binomial? Checking the Conditions

Part 5 of 7 โ€” Justifying a Binomial Model


Check Each Condition in Context

ConditionWhat to sayHow it fails
BinaryDefine "success" for each trialCounting a total that is not a success count (e.g. the sum of die faces)
IndependentTrials do not affect each otherSampling without replacement from a small group
Numbernn is fixed in advance"Keep going until..."
Same ppThe success probability never changesConditions change from trial to trial

The 10% Condition

Sampling without replacement makes trials slightly dependent. If the sample is no more than 10% of the population (nโ‰ค0.10Nn \leq 0.10N), the trials are close enough to independent to use a binomial model.

Example: Choosing 5 students from a class of 20 is 25% of the class, so the selections are NOT approximately independent and XX is not binomial. Choosing 50 adults from a city of 200,000 is fine.

๐Ÿ”‘ On the AP exam, name the condition and tie it to the context: "There are n=15n = 15 independent rolls, each roll is a 4 or not a 4, and P(4)=1/6P(4) = 1/6 on every roll."

Concept Check ๐ŸŽฏ

From Counts to Proportions

A binomial XX counts successes. Dividing by nn gives the sample proportion p^=X/n\hat{p} = X/n, which you will use for inference in Unit 3.

Count XXProportion p^=X/n\hat{p} = X/n
Meannpnppp
SDnp(1โˆ’p)\sqrt{np(1-p)}p(1โˆ’p)n\sqrt{\frac{p(1-p)}{n}}

Example: XโˆผB(200,0.3)X \sim B(200, 0.3) has ฮผX=60\mu_X = 60 and ฯƒX=42โ‰ˆ6.48\sigma_X = \sqrt{42} \approx 6.48. For p^=X/200\hat{p} = X/200: mean 0.30.3 and SD 6.48/200โ‰ˆ0.0326.48/200 \approx 0.032.

Counts vs. Proportions ๐Ÿ“

Checking and Computing ๐Ÿงฎ

In a large city, 18% of adults are left-handed. A random sample of 60 adults is taken; XX = number who are left-handed.

1) Mean of XX?

2) Standard deviation of XX? (round to 2 decimals)

3) Mean of the sample proportion p^\hat{p}?

Part 6: Problem-Solving Workshop

๐Ÿ† Problem-Solving Workshop

Part 6 of 7 โ€” AP-Style Practice


AP Free-Response Strategy

When the AP exam gives a binomial scenario:

  1. State the distribution and parameters: โ€œXโˆผB(n,p)X \sim B(n, p)โ€ with XX defined in context
  2. Verify conditions (BINS, plus the 10% condition when sampling without replacement)
  3. Calculate using the formula or calculator (binompdf / binomcdf), showing the setup
  4. Interpret in context with proper probability language

๐Ÿ”‘ Calculator syntax alone does not earn credit: write P(Xโ‰ค2)P(X \leq 2) with nn and pp identified.

Concept Check ๐ŸŽฏ

Mixed Practice ๐Ÿงฎ

10% of products are defective. A random sample of 20 is inspected.

1) P(exactlyย 2ย defective)=?P(\text{exactly 2 defective}) = ? (round to 4 decimals)

2) Expected number defective?

3) P(atย mostย 1ย defective)=?P(\text{at most 1 defective}) = ? (round to 4 decimals)

Part 7: Mixed Review

๐Ÿ“ Review & Applications

Part 7 of 7 โ€” Comprehensive Review


Key Formulas

QuantityFormula
ProbabilityP(X=k)=(nk)pk(1โˆ’p)nโˆ’kP(X = k) = \binom{n}{k}p^k(1-p)^{n-k}
MeanฮผX=np\mu_X = np
Standard deviationฯƒX=np(1โˆ’p)\sigma_X = \sqrt{np(1-p)}
"At least"P(Xโ‰ฅk)=1โˆ’P(Xโ‰คkโˆ’1)P(X \geq k) = 1 - P(X \leq k-1)

Common AP Mistakes

  • Calling a variable binomial when the number of trials is not fixed
  • Forgetting (nk)\binom{n}{k} in the binomial formula
  • Writing P(Xโ‰ฅk)=1โˆ’P(Xโ‰คk)P(X \geq k) = 1 - P(X \leq k), which drops X=kX = k
  • Leaving out the square root in ฯƒX\sigma_X
  • Interpreting the mean as the count that "will happen" instead of a long-run average

Concept Check ๐ŸŽฏ

Final Challenge ๐Ÿงฎ

XโˆผB(100,0.3)X \sim B(100, 0.3)

1) ฮผX=?\mu_X = ?

2) ฯƒX=?\sigma_X = ? (round to 2 decimals)

3) How many standard deviations above the mean is X=40X = 40? (round to 2 decimals)