B. Probability Distributions · Discrete Probability DistributionsBinomial Experiments and the Binomial Probability Formula
B1.4About 75 minutes
Learning goals- I can identify the four conditions of a binomial experiment and decide whether a situation is binomial.
- I can derive the binomial probability formula from a tree diagram.
- I can use P(X = k) = C(n, k)pᵏqⁿ⁻ᵏ to find binomial probabilities.
- I can connect binomial probabilities to Pascal's triangle and the binomial expansion of (q + p)ⁿ.
Words to know
Bernoulli trial
A single trial with exactly two outcomes, called success (probability p) and failure (probability q = 1 − p).
binomial experiment
A fixed number n of independent Bernoulli trials, each with the same probability of success p.
binomial random variable
X = the number of successes in a binomial experiment. We write X ~ B(n, p).
independent trials
Trials where the result of one trial does not change the probabilities for the others (for example, sampling with replacement).
C(n, k)
The number of ways to choose k items from n, n!/(k!(n − k)!). Also written ₙCₖ or (n k) stacked in brackets.
Repeat the same chance, many times
A basketball player makes 70% of her free throws. She takes 5 shots. What is the probability she makes exactly 4?
A student guesses on all 10 questions of a multiple-choice quiz with 4 choices each. What is the probability of exactly 3 right?
A factory makes light bulbs, and 0.5% are defective. In a pack of 4, what is the probability that none is defective?
These problems have the same structure. Something with two outcomes is repeated a fixed number of times, with the same chance each time, and we count the successes. This is a binomial experiment.
The four conditions
A random variable X is binomial when all four are true:
- Fixed number of trials, n.
- Two outcomes per trial: success or failure. ("Success" just means the outcome we are counting; it can be something bad, like a defective bulb.)
- Independent trials: one trial does not affect another.
- Constant probability of success p on every trial. Then q = 1 − p is the probability of failure.
X counts the number of successes, so X can be 0, 1, 2, ..., n. We write X ~ B(n, p).
A single trial with two outcomes is called a Bernoulli trial, after the Swiss mathematician Jacob Bernoulli.
Worked exampleExample 1: Binomial or not?
Decide whether X is binomial. If it is, give n and p. (a) X = number of 6s in 10 rolls of a die. (b) X = number of hearts when 5 cards are dealt from one deck. (c) X = number of rolls until the first 6. (d) X = number of correct guesses on 20 true-or-false questions.
- (a) Fixed n = 10, success = rolling a 6, independent rolls, p = 1/6 each time. Binomial, B(10, 1/6).
- (b) Dealing without replacement: after a heart is dealt, fewer hearts remain, so p changes and the trials are dependent. Not binomial (it is hypergeometric, lesson 8).
- (c) The number of trials is not fixed. Not binomial.
- (d) n = 20, success = correct guess, p = 1/2, independent. Binomial, B(20, 0.5).
(a) and (d) are binomial; (b) and (c) are not.
Building the formula with a tree
Think of 3 trials. Each trial has a success S (probability p) or a failure F (probability q). Because the trials are independent, we multiply along each path of the tree.
Every path with exactly k successes has probability pᵏqⁿ⁻ᵏ. The only question is how many such paths there are.For X = 2 in 3 trials, the paths are SSF, SFS and FSS. Each has probability p·p·q = p²q, and there are 3 of them, so P(X = 2) = 3p²q.
In general, a path with exactly k successes in n trials has probability pᵏqⁿ⁻ᵏ. The number of such paths is the number of ways to choose which k of the n trials are successes: C(n, k). So
P(X = k) = C(n, k) pᵏ qⁿ⁻ᵏ, k = 0, 1, ..., n
where C(n, k) = n!/(k!(n − k)!), as in Permutations and Combinations.
The coefficients C(n, k) are the entries of Pascal's triangle. For n = 3 they are 1, 3, 3, 1, matching the 1, 3, 3, 1 paths with 0, 1, 2, 3 successes in the tree.Remember from Grade 11
In Sequences and Series (MCR3U) you expanded (a + b)ⁿ with Pascal's triangle. Expand (q + p)ⁿ and each term C(n, k)pᵏqⁿ⁻ᵏ is one binomial probability. Since q + p = 1, the terms add to 1ⁿ = 1. That is why it is called the binomial distribution.
Worked exampleExample 2: Free throws
A player makes 70% of her free throws. Assuming independent shots, find the probability that she makes exactly 4 of her next 5.
- Success = make, n = 5, p = 0.7, q = 0.3, k = 4.
- P(X = 4) = C(5, 4)(0.7)⁴(0.3)¹.
- C(5, 4) = 5 and 0.7⁴ = 0.2401.
- P(X = 4) = 5 × 0.2401 × 0.3 = 0.36015.
P(X = 4) ≈ 0.360, about a 36% chance.
Worked exampleExample 3: Guessing on a quiz
A quiz has 10 multiple-choice questions, each with 4 choices. A student guesses every answer. Find the probability of (a) exactly 3 correct, (b) no correct answers, (c) at least 1 correct.
- n = 10, p = 1/4 = 0.25, q = 0.75.
- (a) P(X = 3) = C(10, 3)(0.25)³(0.75)⁷ = 120 × 0.015625 × 0.13348... ≈ 0.2503.
- (b) P(X = 0) = (0.75)¹⁰ ≈ 0.0563.
- (c) "At least 1" is the complement of "none": P(X ≥ 1) = 1 − P(X = 0) ≈ 1 − 0.0563 = 0.9437.
(a) ≈ 0.250; (b) ≈ 0.056; (c) ≈ 0.944
"At least one" means use the complement
P(X ≥ 1) = 1 − P(X = 0) = 1 − qⁿ. This is much faster than adding P(1) + P(2) + ... + P(n).
Worked exampleExample 4: At least one 6
You roll a die 4 times. What is the probability of at least one 6? Is it more or less than 1/2?
- X ~ B(4, 1/6). P(X = 0) = (5/6)⁴ = 625/1296 ≈ 0.4823.
- P(X ≥ 1) = 1 − 0.4823 = 0.5177.
About 0.518, a little more than 1/2.
Just for funIn statistics, a factory that finds a defective light bulb may record it as a success. It is the only job where finding a broken bulb counts as a win.
Hands-on activityCoins, dice and the formula
You need: 5 coins (or one coin tossed 5 times), one die, pencil, paper and a calculator.
- Toss 5 coins and count heads. Repeat 32 times, tallying the number of heads (0 to 5).
- Use the formula with n = 5, p = 0.5 to find P(X = k) for k = 0 to 5. (You should get 1/32, 5/32, 10/32, 10/32, 5/32, 1/32: row 5 of Pascal's triangle over 2⁵.) Multiply by 32 to get expected counts: 1, 5, 10, 10, 5, 1.
- Compare your counts with the expected counts.
- Now roll the die 5 times, count the 6s (n = 5, p = 1/6), and repeat 30 times. Before you start, use the formula to predict how often you will get no 6s at all.
What to look for: for the coins, results such as 0, 6, 9, 11, 5, 1 are typical. For the die, P(no 6s) = (5/6)⁵ ≈ 0.402, so about 12 of your 30 sets should have no 6s.
Your turn
1X ~ B(6, 0.5). Find P(X = 3).
C(6, 3)(0.5)⁶ = 20/64 = 0.3125.
2X ~ B(8, 0.2). Find P(X = 0) and P(X ≥ 1).
P(0) = 0.8⁸ ≈ 0.168. P(X ≥ 1) ≈ 1 − 0.168 = 0.832.
3A die is rolled 6 times. Find the probability of exactly two 6s.
C(6, 2)(1/6)²(5/6)⁴ = 15 × (1/36) × (625/1296) ≈ 0.201.
4Is this binomial? "X = number of red cards in 4 draws from a deck, replacing and shuffling each time." If yes, give n and p.
Yes: with replacement the draws are independent with constant p. B(4, 1/2).
5Is this binomial? "X = number of students absent from a class of 30 on a day when a flu is going around."
Probably not: absences are not independent (flu spreads between students), and p may differ from student to student.
6In 12 independent trials with p = 0.1, find P(X = 2).
C(12, 2)(0.1)²(0.9)¹⁰ = 66 × 0.01 × 0.34868 ≈ 0.230.
7Write out all the terms of (q + p)⁴ and say which one equals P(X = 2) for X ~ B(4, p).
(q + p)⁴ = q⁴ + 4pq³ + 6p²q² + 4p³q + p⁴. 6p²q² = C(4, 2)p²q² = P(X = 2).
More practice: warm-up
1How many outcomes does each trial of a binomial experiment have?
Two (success or failure).
4X ~ B(3, 0.5). Find P(X = 3).
5In X ~ B(n, p), what does n stand for?
More practice: on your own
1X ~ B(4, 0.6). Find P(X = 2).
C(4, 2)(0.6)²(0.4)² = 6 × 0.36 × 0.16 = 0.3456.
2About 5% of eggs in a large shipment are cracked. In a carton of 20, find the probability that exactly 1 is cracked.
C(20, 1)(0.05)(0.95)¹⁹ ≈ 20 × 0.05 × 0.3774 ≈ 0.377.
3A spinner lands on blue with probability 0.4. In 7 spins, find P(at least one blue).
1 − 0.6⁷ = 1 − 0.02799 ≈ 0.972.
4Guessing on 10 four-choice questions, find P(at least 5 correct). Use P(5) ≈ 0.0584, P(6) ≈ 0.0162, P(7) ≈ 0.0031, P(8) ≈ 0.0004 and P(9) + P(10) ≈ 0.0000.
Add: 0.0584 + 0.0162 + 0.0031 + 0.0004 ≈ 0.078. Passing by guessing is unlikely (about 8%).
5Explain why drawing 3 cards without replacement and counting aces is not binomial, but becomes close to binomial if the cards are drawn from 20 shuffled decks.
Without replacement, each draw changes the probabilities (dependence). With 20 decks (1040 cards, 80 aces), removing a few cards barely changes p ≈ 80/1040, so the draws are almost independent and binomial is a good approximation.
Challenge
1Show that P(X = k) for X ~ B(n, p) add to 1, using the binomial theorem.
Σ C(n, k)pᵏqⁿ⁻ᵏ for k = 0 to n is exactly the expansion of (q + p)ⁿ. Since q + p = 1, the sum is 1ⁿ = 1. ✓
2A test has 15 multiple-choice questions with 5 choices each. What is the probability of getting exactly 3 correct by guessing? How does this compare with the most likely score?
p = 0.2. P(3) = C(15, 3)(0.2)³(0.8)¹² = 455 × 0.008 × 0.068719 ≈ 0.250. Since E(X) = 15 × 0.2 = 3, a score of 3 is the most likely one (lesson 7).
3How many times must you roll a die so that the probability of at least one 6 is more than 0.9?
Need 1 − (5/6)ⁿ > 0.9, so (5/6)ⁿ < 0.1. n log(5/6) < log 0.1, so n > log 0.1 / log(5/6) ≈ 12.6. n = 13 rolls. (Check: (5/6)¹² ≈ 0.112, (5/6)¹³ ≈ 0.093.)
Check your understandingQuiz
1. Which is not a condition of a binomial experiment?
2. X ~ B(5, 0.7). What is P(X = 4)?
3. Which situation is binomial?
4. X ~ B(10, 0.25). What is P(X ≥ 1)?
5. For X ~ B(4, p), the number of paths in a tree diagram with exactly 2 successes is...
6. In a binomial experiment, a "success" is...
For parents and teachersBig idea (B1.4): a binomial random variable counts successes in n independent trials with the same probability p. Its probabilities are P(X = k) = C(n, k)pᵏ(1 − p)ⁿ⁻ᵏ. The formula comes from a tree diagram: each path with k successes has probability pᵏqⁿ⁻ᵏ, and there are C(n, k) such paths.
How to help: give your teen everyday situations (free throws, guessing on a quiz, drawing cards with or without putting them back) and ask whether each one is binomial and why. Checking the four conditions is the most important skill here.
Common difficulties:
- Forgetting the C(n, k) factor (using only pᵏqⁿ⁻ᵏ, which is the probability of one particular path).
- Using the formula when the trials are dependent (drawing without replacement).
- Computing "at least one" by adding many terms instead of using 1 − qⁿ.
- Calculator slips with powers: enter (0.75)^7, not 0.75 × 7.