01 / 21

Binomial Distribution
and Applications

Master the probability distribution that governs success-failure experiments, from coin flips to quality control, using the power of \( \binom{n}{k} p^k (1-p)^{n-k} \).

Discrete Math

What Is a Bernoulli Trial?

A Bernoulli trial is a single random experiment with exactly two outcomes: success (with probability \( p \)) and failure (with probability \( q = 1 - p \)). Every binomial scenario is built from repeated, independent Bernoulli trials.

✓ Success
Probability \( p \). The event you are counting.
✕ Failure
Probability \( q = 1 - p \). Everything else.

The Four Binomial Conditions

1
Fixed number of trials: The experiment is repeated exactly \( n \) times.
2
Two outcomes per trial: Each trial results in success or failure.
3
Constant probability: The probability \( p \) stays the same from trial to trial.
4
Independence: The outcome of one trial does not affect any other trial.

Binomial or Not Binomial?

✓ Binomial
Roll a die 10 times, count how many 6s appear. Fixed \( n=10 \), \( p=\frac{1}{6} \), independent.
✕ Not Binomial
Draw 5 cards without replacement from a deck. Probability changes after each draw: not independent.

The Binomial Formula

\( n \)
Total number of independent trials
\( k \)
Number of successes you want
\( p \)
Probability of success on each trial

Visualizing \( B(8, 0.5) \)

0 0.1 0.2 0.3 0 1 2 3 4 0.273 5 6 7 8 \( k \) (number of successes) \( P(X=k) \)

Mean, Variance, and Standard Deviation

Mean
$$ \mu = np $$
Variance
$$ \sigma^2 = np(1-p) $$
Std Dev
$$ \sigma = \sqrt{np(1-p)} $$

The mean tells you the expected number of successes. The standard deviation measures how spread out the outcomes are around that expected value.

Binomial vs Geometric

Binomial Geometric
Question asked How many successes in \( n \) trials? How many trials until first success?
Fixed quantity \( n \) (number of trials) \( k = 1 \) (one success)
Random variable \( X \) = count of successes \( X \) = trial number of 1st success
Mean \( np \) \( \frac{1}{p} \)
PMF \( \binom{n}{k}p^k(1-p)^{n-k} \) \( (1-p)^{k-1}p \)

How to Solve Binomial Problems

1
Verify the conditions: Fixed \( n \), two outcomes, constant \( p \), independence.
2
Identify parameters: Determine \( n \) (trials), \( p \) (success probability), and \( k \) (desired successes).
3
Compute the coefficient: Calculate \( \binom{n}{k} = \frac{n!}{k!(n-k)!} \).
4
Plug into the formula: \( P(X=k) = \binom{n}{k} p^k (1-p)^{n-k} \).
5
Adjust for "at least" / "at most": Sum over the needed values of \( k \), or use complements: \( P(X \geq 1) = 1 - P(X = 0) \).

Example 1: Coin Flips

Flip a fair coin 6 times. What is the probability of getting exactly 4 heads?

1
Identify: \( n = 6 \), \( k = 4 \), \( p = 0.5 \)
2
Coefficient: \( \binom{6}{4} = \frac{6!}{4! \cdot 2!} = 15 \)
3
Formula: \( P(X=4) = 15 \times (0.5)^4 \times (0.5)^2 = 15 \times \frac{1}{64} \)

Example 2: Quality Control

A factory produces widgets with a 5% defect rate. In a batch of 20 widgets, what is \( P(X = 0) \): the probability that none are defective?

1
Parameters: \( n = 20 \), \( k = 0 \), \( p = 0.05 \)
2
Coefficient: \( \binom{20}{0} = 1 \)
3
Formula: \( P(X=0) = 1 \times (0.05)^0 \times (0.95)^{20} \)

There is roughly a 36% chance that all 20 widgets are defect-free.

Example 3: "At Least One" Complement

Using the same factory: \( n = 20 \), \( p = 0.05 \). What is the probability of at least one defect?

1
From Example 2: \( P(X = 0) \approx 0.3585 \)
2
Complement: \( P(X \geq 1) = 1 - 0.3585 = 0.6415 \)

There is about a 64% chance that at least one widget is defective. The complement approach avoids summing \( P(X=1) + P(X=2) + \dots + P(X=20) \).

How \( p \) Affects the Shape

\( k \) 0 1 2 3 4 5 6 7 8 9 10 \( p = 0.2 \) \( p = 0.5 \) \( p = 0.8 \)

Cumulative Probability

Often you need \( P(X \leq k) \) or \( P(X \geq k) \), not just a single value. These are cumulative probabilities.

"At most \( k \)"
$$ P(X \leq k) = \sum_{i=0}^{k} P(X = i) $$
"At least \( k \)"
$$ P(X \geq k) = 1 - P(X \leq k-1) $$

Common Mistakes

✕ Forgetting Independence
Drawing without replacement changes \( p \) each draw: that is hypergeometric, not binomial.
✕ Swapping \( p \) and \( q \)
Writing \( p^{n-k} \) instead of \( (1-p)^{n-k} \). The exponent on \( p \) must match the successes \( k \).
✕ Off-by-One in "At Least"
\( P(X \geq 3) \neq 1 - P(X \leq 3) \). It equals \( 1 - P(X \leq 2) \). Watch the boundary carefully.

Summary of Key Formulas

Property Formula
PMF \( \binom{n}{k} p^k (1-p)^{n-k} \)
Mean \( \mu = np \)
Variance \( \sigma^2 = np(1-p) \)
Standard Deviation \( \sigma = \sqrt{np(1-p)} \)
Complement Rule \( P(X \geq k) = 1 - P(X \leq k-1) \)
Binomial Coefficient \( \binom{n}{k} = \frac{n!}{k!(n-k)!} \)

Question 1 of 5

A fair coin is flipped 10 times. What is \( P(X = 10) \): the probability of getting heads on every flip?

Question 2 of 5

For a binomial random variable with \( n = 12 \) and \( p = 0.3 \), what is the expected number of successes?

Question 3 of 5

Which scenario is NOT modeled by a binomial distribution?

Question 4 of 5

If \( X \sim B(5, 0.4) \), what is \( P(X = 2) \)?

Question 5 of 5

A basketball player makes 70% of free throws. She shoots 8 free throws. What is the standard deviation of the number she makes?