Fiveable

🎲Intro to Statistics Unit 4 Review

QR code for Intro to Statistics practice questions

4.3 Binomial Distribution

4.3 Binomial Distribution

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🎲Intro to Statistics
Unit & Topic Study Guides

Binomial Distribution

The binomial distribution lets you calculate the probability of getting a specific number of successes across a fixed set of trials, where each trial has only two outcomes. It shows up constantly in statistics, from quality control (how many defective items in a batch?) to medicine (how many patients respond to a treatment?). Understanding it well also sets you up for later topics like confidence intervals and hypothesis testing.

Characteristics of Binomial Experiments

For an experiment to count as binomial, it must meet all four of these conditions:

  1. Fixed number of trials (nn). You decide in advance how many trials you'll run. For example, flipping a coin 10 times means n=10n = 10.

  2. Two outcomes per trial. Each trial results in either a "success" (with probability pp) or a "failure" (with probability q=1pq = 1 - p). These labels are just conventions; "success" doesn't have to be a good thing. If you're counting defective products, a defect is your "success."

  3. Constant probability. The probability of success pp stays the same from trial to trial. Every coin flip has the same p=0.5p = 0.5 chance of heads.

  4. Independent trials. The outcome of one trial doesn't affect any other. Flipping heads on trial 3 has no influence on trial 4. If you're sampling from a population, this means sampling with replacement, or from a population large enough that removing one item barely changes the probabilities.

A binomial distribution is a type of discrete probability distribution because the number of successes can only be a whole number (0, 1, 2, ... up to nn).

Characteristics of binomial experiments, Binomial distribution - Wikipedia

Bernoulli Trials vs. Binomial Experiments

A Bernoulli trial is a single trial with exactly two outcomes: success (probability pp) or failure (probability q=1pq = 1 - p). One coin flip is a Bernoulli trial. One roll of a die where you check "did I get a 6?" is a Bernoulli trial.

A binomial experiment is just a fixed number (nn) of independent Bernoulli trials, all with the same success probability. So flipping a coin 5 times is a binomial experiment made up of 5 Bernoulli trials. The total number of successes across those trials is a discrete random variable that follows a binomial distribution.

Think of it this way: a Bernoulli trial is the building block, and a binomial experiment stacks nn of those blocks together.

Characteristics of binomial experiments, Binomial distribution - Wikipedia

The Binomial Probability Formula

To find the probability of getting exactly kk successes in nn trials:

P(X=k)=(nk)pk(1p)nkP(X = k) = \binom{n}{k} p^k (1-p)^{n-k}

  • (nk)\binom{n}{k} is the binomial coefficient, which counts the number of ways to arrange kk successes among nn trials. It's calculated as (nk)=n!k!(nk)!\binom{n}{k} = \frac{n!}{k!(n-k)!}
  • pkp^k accounts for the probability of kk successes
  • (1p)nk(1-p)^{n-k} accounts for the probability of the remaining failures

Example: What's the probability of getting exactly 3 heads in 5 coin flips?

Here n=5n = 5, k=3k = 3, and p=0.5p = 0.5:

P(X=3)=(53)(0.5)3(0.5)2=10×0.125×0.25=0.3125P(X = 3) = \binom{5}{3}(0.5)^3(0.5)^2 = 10 \times 0.125 \times 0.25 = 0.3125

So there's about a 31.25% chance of getting exactly 3 heads in 5 flips.

Mean and Variance of Binomial Distributions

These formulas are much simpler than the general formulas for discrete random variables because the binomial structure does the heavy lifting.

  • Mean: μ=np\mu = np
  • Variance: σ2=npq\sigma^2 = npq
  • Standard deviation: σ=npq\sigma = \sqrt{npq}

where q=1pq = 1 - p.

Example: You roll a fair die 20 times and count how many times you roll a 6. Here n=20n = 20 and p=1/6p = 1/6.

  • Mean: μ=20×163.33\mu = 20 \times \frac{1}{6} \approx 3.33 (you'd expect about 3.33 sixes)
  • Variance: σ2=20×16×562.78\sigma^2 = 20 \times \frac{1}{6} \times \frac{5}{6} \approx 2.78
  • Standard deviation: σ=2.781.67\sigma = \sqrt{2.78} \approx 1.67

The mean tells you the expected number of successes, and the standard deviation tells you how much the actual count will typically vary from that expected value.

Additional Concepts

  • Cumulative distribution function (CDF): Gives the probability of obtaining up to a certain number of successes, i.e., P(Xk)P(X \leq k). This is useful when you need "at most" or "fewer than" probabilities. You calculate it by summing individual binomial probabilities from 0 to kk.
  • Law of large numbers: As you increase the number of trials, the observed proportion of successes gets closer and closer to the true probability pp. Flip a coin 10 times and you might get 70% heads. Flip it 10,000 times and you'll almost certainly be very close to 50%.