6m left·0%
Reading Time: 6 min
Last Updated: August 26, 2026
Main Ideas: 4
Reading Time: 6 min
Last Updated: August 26, 2026
Main Ideas: 4

Topic 2.10 Notes – The Binomial Distribution

Verified for 2027 AP® Statistics Exam
Read aloud
A binomial distribution shows up when you count how many times a certain outcome happens across a fixed number of trials. This topic is about recognizing when that model fits, finding probabilities, interpreting its mean and standard deviation, and estimating probabilities with simulation.

What a Binomial Random Variable Is

A binomial random variable is a discrete random variable that counts successes in a fixed number of trials. If X∼Bin(n,p)X \sim \text{Bin}(n,p), then:

  • nn = number of trials
  • pp = probability of success on each trial
  • XX can be 0,1,2,…,n0,1,2,\dots,n

“Success” just means the outcome you’re counting. It could be a made shot, a defective product, or a missed question.

BINS conditions

For a variable to be binomial, all four must hold:

  • Binary: each trial is labeled success or failure
  • Independent: one trial doesn’t change another
  • Number: the number of trials is fixed ahead of time
  • Same probability: pp stays constant

A couple of easy traps:

  • A trial can have several actual outcomes and still be binomial if you group them into success/failure.
    • Example: “uses a credit card” vs “does not use a credit card”
  • “Number of successes in the next 12 trials” can be binomial.
  • “How many trials until the first success” is not binomial because the number of trials is not fixed.
  • Without replacement is not truly independent, but it’s close enough if the sample is no more than 10% of the population.

When you justify binomial on a test, say it in context. Example:

  • Let XX be the number of defective bulbs in the next 20 bulbs checked.
  • Each bulb is defective or not defective.
  • The checks are independent.
  • There are 20 bulbs, fixed in advance.
  • The probability a bulb is defective is 0.080.08 each time.

So X∼Bin(20,0.08)X \sim \text{Bin}(20,0.08).

Finding Binomial Probabilities

The exact probability of getting exactly xx successes is

P(X=x)=(nx)px(1−p)n−x P(X=x)=\binom{n}{x}p^x(1-p)^{n-x}

Here’s what the pieces mean:

  • (nx)\binom{n}{x} counts how many ways the xx successes can be arranged
  • pxp^x accounts for the successes
  • (1−p)n−x(1-p)^{n-x} accounts for the failures

For example, if X∼Bin(10,0.3)X \sim \text{Bin}(10,0.3), this probability model is centered around 3 successes, and the graph helps you see which counts are most likely.

If X∼Bin(10,0.3)X \sim \text{Bin}(10,0.3), then

P(X=4)=(104)(0.3)4(0.7)6 P(X=4)=\binom{10}{4}(0.3)^4(0.7)^6

Calculator shortcuts matter a lot here:

  • binompdf(n,p,x)\text{binompdf}(n,p,x) gives P(X=x)P(X=x)
  • binomcdf(n,p,x)\text{binomcdf}(n,p,x) gives P(X≤x)P(X\le x)

Translating words into probability notation

  • exactly kk →P(X=k)\rightarrow P(X=k)
  • at most kk →P(X≤k)\rightarrow P(X\le k)
  • fewer than kk →P(X≤k−1)\rightarrow P(X\le k-1)
  • at least kk →P(X≥k)\rightarrow P(X\ge k)
  • more than kk →P(X≥k+1)\rightarrow P(X\ge k+1)
  • between aa and bb, inclusive →P(a≤X≤b)\rightarrow P(a\le X\le b)

Upper-tail probabilities are usually fastest with complements:

P(X≥k)=1−P(X≤k−1) P(X\ge k)=1-P(X\le k-1)

Be careful. 1−P(X≤4)1-P(X\le4) equals P(X≥5)P(X\ge5), not P(X≥4)P(X\ge4).

Mean and Standard Deviation of a Binomial Distribution

For X∼Bin(n,p)X \sim \text{Bin}(n,p),

μX=np \mu_X=np

σX2=np(1−p) \sigma_X^2=np(1-p)

σX=np(1−p) \sigma_X=\sqrt{np(1-p)}

If X∼Bin(20,0.08)X \sim \text{Bin}(20,0.08), then

  • mean =20(0.08)=1.6=20(0.08)=1.6
  • standard deviation =20(0.08)(0.92)≈1.21=\sqrt{20(0.08)(0.92)}\approx1.21

Interpret them in context:

  • The mean is the long-run average number of defective bulbs in many groups of 20.
  • The standard deviation is the typical distance that count is from 1.6 bulbs.

A common mistake is using np(1−p)np(1-p) as the standard deviation. That’s the variance. Also, the mean can be non-integer even though the count itself must be whole numbers.

For fixed nn, spread is biggest near p=0.5p=0.5 and smaller when pp is near 0 or 1.

Estimating Binomial Probabilities with Simulation

Simulation works when you build the same trial structure as the binomial setting.

  1. Create a chance model with probability pp of success.
  2. Run nn independent trials.
  3. Count successes. That count is one simulated value of XX.
  4. Repeat many times.
  5. Use relative frequency to estimate probability.

Here’s what that looks like for p=0.2p=0.2 and n=5n=5:

  • Let digits 1-2 = success, 3-0 = failure.
  • Generate 5 random digits for one repetition.
  • If the digits are 1, 7, 2, 9, 4, then X=2X=2.
  • After many repetitions, estimate P(X=2)P(X=2) by the proportion with exactly 2 successes.

Binomial simulation with random digits

One repetition is the full set of nn trials, not one trial. That mistake shows up a lot.

Key Takeaways

A variable is binomial only if all four BINS conditions hold in context, not just because it “sounds like counting.”
“Success” means the outcome being counted, even if it’s something bad like a defect or an error.
P(X=x)P(X=x) is for exactly one count, and binomcdf\text{binomcdf} gives lower-tail probabilities P(X≤x)P(X\le x).
“Fewer than 4” means P(X≤3)P(X\le3), and P(X≥4)=1−P(X≤3)P(X\ge4)=1-P(X\le3).
In P(X=x)=(nx)px(1−p)n−xP(X=x)=\binom{n}{x}p^x(1-p)^{n-x}, the exponents come from successes and failures, and (nx)\binom{n}{x} counts arrangements.
For a binomial variable, μX=np\mu_X=np and σX=np(1−p)\sigma_X=\sqrt{np(1-p)}, where XX is a count, so interpretations must talk about counts in context.
Without replacement can be treated as approximately binomial only when the sample is no more than 10\% of the population.
In simulation, one repetition must model all nn trials and preserve the correct value of pp.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining