Binomial Distribution
Master the binomial distribution for success/failure experiments. Learn the binomial formula, mean, variance, and applications.
On This Page
Bernoulli Trials
A Bernoulli trial is an experiment with exactly two outcomes: success or failure.
- Coin flip: Heads (success) or Tails (failure)
- Quality check: Pass (success) or Fail (failure)
- Medical test: Positive or Negative
- Free throw: Made or Missed
Bernoulli Distribution
For a single trial with success probability p:
Mean:
Variance:
The Binomial Distribution
The binomial distribution models the number of successes in n independent Bernoulli trials.
Requirements for Binomial
The Binomial Formula
Where:
- n = number of trials
- k = number of successes
- p = probability of success on each trial
- = “n choose k”
Problem: Flip a fair coin 5 times. What’s P(exactly 3 heads)?
- n = 5 trials
- k = 3 successes (heads)
- p = 0.5
or 31.25%
Problem: A factory produces items with 10% defect rate. In a batch of 8 items, what’s P(exactly 2 are defective)?
- n = 8 items
- k = 2 defects
- p = 0.10
or about 15%
Cumulative Probabilities
Often we need P(X ≤ k) or P(X ≥ k), not just P(X = k).
Problem: Roll a die 4 times. p(6) = 1/6 each roll. What’s P(at least one 6)?
Method 1: Complement P(at least one 6) = 1 - P(no sixes) = 1 - P(X = 0) = 1 - = 1 - 1 × 1 × 0.482 = 0.518 or about 52%
Method 2: Sum all possibilities P(X ≥ 1) = P(X=1) + P(X=2) + P(X=3) + P(X=4) (More tedious, same answer)
Mean and Variance
Mean (expected value):
Variance:
Standard deviation:
Problem: 100 free throws with 75% success rate.
- n = 100
- p = 0.75
Expected makes: μ = 100 × 0.75 = 75
Variance: σ² = 100 × 0.75 × 0.25 = 18.75
Standard deviation: σ = √18.75 ≈ 4.33
Interpretation: On average, 75 makes with SD of about 4.33.
Shape of Binomial Distribution
| Condition | Shape |
|---|---|
| p = 0.5 | Symmetric |
| p < 0.5 | Right-skewed |
| p > 0.5 | Left-skewed |
| Large n | Approximately normal |
When to Use Binomial
Common Mistakes
| Mistake | Correction |
|---|---|
| Forgetting | Always include the combination term |
| Using wrong p | Identify what “success” means |
| Assuming independence | Check if sampling with replacement |
| Wrong formula for ≥ | P(X ≥ k) = 1 - P(X ≤ k-1), not 1 - P(X ≤ k) |
Summary
In this lesson, you learned:
- Bernoulli trial: Single experiment with success (p) or failure (1-p)
- Binomial distribution: Number of successes in n independent trials
- Binomial formula:
- BINS conditions: Binary, Independent, Number fixed, Same probability
- Mean: μ = np
- Variance: σ² = np(1-p)
- Use complement rule for “at least one” problems
Practice Problems
1. A coin with P(heads) = 0.6 is flipped 10 times. a) What’s P(exactly 6 heads)? b) What’s E(X) and SD(X)?
2. A multiple choice test has 5 questions with 4 choices each. If you guess randomly, what’s P(getting at least 2 correct)?
3. A basketball player makes 80% of free throws. In 20 attempts, what’s the expected number of makes? What’s the standard deviation?
4. Why can’t we use binomial for drawing 5 cards from a deck and counting hearts (without replacement)?
Click to see answers
1a. n = 10, k = 6, p = 0.6 = 210 × 0.0467 × 0.0256 = 0.251 (about 25%)
1b. E(X) = np = 10 × 0.6 = 6 SD(X) = √(np(1-p)) = √(10 × 0.6 × 0.4) = √2.4 ≈ 1.55
2. n = 5, p = 0.25 (1 correct out of 4 choices)
P(X ≥ 2) = 1 - P(X ≤ 1) = 1 - [P(X=0) + P(X=1)]
P(X=0) = = 0.2373 P(X=1) = = 0.3955
P(X ≥ 2) = 1 - (0.2373 + 0.3955) = 0.367 (about 37%)
3. n = 20, p = 0.80
Expected makes: μ = 20 × 0.80 = 16 SD: σ = √(20 × 0.80 × 0.20) = √3.2 ≈ 1.79
4. Without replacement, trials are not independent.
After drawing the first card, the probability of hearts changes:
- If first card was a heart: 12/51
- If first card was not a heart: 13/51
The probability is not constant across trials.
(For very large populations, this effect is negligible and binomial can approximate.)
Next Steps
Explore more probability distributions:
- Normal Distribution - The continuous bell curve
- Discrete Distributions - Poisson, geometric, and more
- Probability Calculator - Practice binomial calculations
Was this lesson helpful?
Help us improve by sharing your feedback or spreading the word.