01 / 21

Binomial
Distribution

Master the probability model for fixed independent trials with two outcomes: understand the formula, compute probabilities, and apply it to real-world scenarios.

IB Mathematics AA SL 4.6

What Is a Binomial Experiment?

A binomial experiment is a probability experiment that satisfies four specific conditions. Whenever all four are met, the number of successes follows a binomial distribution.

1. Fixed Trials
The experiment consists of a fixed number \( n \) of identical trials.
2. Two Outcomes
Each trial results in exactly success or failure.
3. Independent
The outcome of one trial does not affect another.
4. Constant \( p \)
The probability of success \( p \) is the same for every trial.

Parameters and Notation

If a random variable \( X \) counts the number of successes in \( n \) independent trials, each with probability \( p \), we write:

\( n \)
Number of trials (positive integer)
\( p \)
Probability of success on each trial, \( 0 \le p \le 1 \)
\( q = 1 - p \)
Probability of failure on each trial

Visualising \( B(8, 0.4) \)

The probability histogram below shows how likely each value of \( X \) is when \( n = 8 \) and \( p = 0.4 \). Notice the distribution is slightly right-skewed because \( p < 0.5 \).

\( P(X = x) \)
\( x \)
0 1 2 3 4 5 6 7 8 .017 .090 .209 .279 .232 .124 .041 .008 mode

The Binomial Formula

The probability of obtaining exactly \( r \) successes in \( n \) trials is:

\( \binom{n}{r} \)
The number of ways to choose which \( r \) trials are successes: \( \frac{n!}{r!(n-r)!} \)
\( p^r \)
Probability of success happening exactly \( r \) times
\( q^{n-r} \)
Probability of failure on the remaining \( n - r \) trials

Why the Combination Factor?

Imagine tossing a coin 3 times and wanting exactly 2 heads. The probability of any single sequence with 2 H's and 1 T is \( p^2 q \). But there are multiple orderings:

H H T H T H T H H
\( \binom{3}{2} = 3 \) arrangements
Total: \( 3 \times p^2 q \)

Mean, Variance, and Standard Deviation

For \( X \sim B(n,p) \) the key summary statistics can be calculated directly from the parameters:

Mean
\( E(X) = \mu = np \)
Variance
\( \text{Var}(X) = \sigma^2 = npq \)
Std Dev
\( \sigma = \sqrt{npq} \)

Binomial vs Other Distributions

Feature Binomial Geometric
Question asked How many successes in \( n \) trials? How many trials until first success?
Number of trials Fixed \( n \) Not fixed
Parameters \( n, p \) \( p \)
Mean \( np \) \( \frac{1}{p} \)

How to Apply the Binomial

1
Verify the conditions. Fixed \( n \), two outcomes, independent trials, constant \( p \).
2
Identify parameters. Define \( n \) (trials) and \( p \) (success probability). Compute \( q = 1 - p \).
3
Translate the question. Rewrite using \( P(X = r) \), \( P(X \le r) \), or \( P(X \ge r) \).
4
Compute. Use the formula \( \binom{n}{r}p^r q^{n-r} \) or your GDC's binompdf / binomcdf.
5
Interpret. State your answer in context and check it is between 0 and 1.

Example 1: Exactly \( r \) Successes

A fair die is rolled 10 times. Find the probability of getting exactly 3 sixes.

1
Parameters: \( n = 10 \), \( p = \frac{1}{6} \), \( q = \frac{5}{6} \), \( r = 3 \).
2
Combination: \( \binom{10}{3} = \frac{10!}{3!\,7!} = 120 \).
3
Substitute: \( P(X=3) = 120 \times \left(\frac{1}{6}\right)^3 \times \left(\frac{5}{6}\right)^7 \).
4
Calculate: \( = 120 \times 0.004630 \times 0.2791 \approx 0.155 \).

Example 2: At Least \( r \) Successes

A factory produces bolts with a 5% defect rate. In a sample of 20 bolts, find the probability that at least 2 are defective.

1
Parameters: \( X \sim B(20, 0.05) \). We need \( P(X \ge 2) \).
2
Complement: \( P(X \ge 2) = 1 - P(X = 0) - P(X = 1) \).
3
\( P(X = 0) = \binom{20}{0}(0.05)^0(0.95)^{20} = 0.3585 \).
4
\( P(X = 1) = \binom{20}{1}(0.05)^1(0.95)^{19} = 0.3774 \).
5
Result: \( P(X \ge 2) = 1 - 0.3585 - 0.3774 = 0.264 \).

Example 3: Cumulative Probability

A test has 12 multiple-choice questions, each with 4 options. A student guesses every answer. Find \( P(X \le 3) \), the probability of getting at most 3 correct.

\( r \) \( \binom{12}{r} \) \( p^r q^{12-r} \) \( P(X = r) \)
010.031680.0317
1120.010560.1267
2660.0035200.2323
32200.0011730.2581

Using Your GDC

In IB exams you are expected to use your graphing calculator. Know both functions:

binompdf
Gives \( P(X = r) \): the probability of exactly \( r \) successes.
binomcdf
Gives \( P(X \le r) \): the cumulative probability up to and including \( r \).

Effect of \( p \) on Shape

Changing \( p \) while keeping \( n \) fixed alters the symmetry and skewness of the distribution.

\( p = 0.2 \)
\( p = 0.5 \)
\( p = 0.8 \)
0 1 2 3 4 5 6 Right-skewed 0 1 2 3 4 5 6 Symmetric 0 1 2 3 4 5 6 Left-skewed

Common Mistakes

✕ Forgetting the complement
For "at least \( r \)" questions, compute \( 1 - P(X \le r-1) \) instead of summing every term from \( r \) to \( n \).
✕ Wrong \( p \) definition
Always define success carefully. If the question asks about defectives, \( p \) = defect rate, not the working rate.
✕ Confusing pdf and cdf
binompdf gives \( P(X = r) \). binomcdf gives \( P(X \le r) \). Mixing them up changes the entire answer.

Summary Cheat Sheet

Property Formula / Value
Notation\( X \sim B(n, p) \)
Probability\( P(X = r) = \binom{n}{r}p^r(1-p)^{n-r} \)
Mean\( \mu = np \)
Variance\( \sigma^2 = np(1-p) \)
Std Deviation\( \sigma = \sqrt{np(1-p)} \)
Range of \( X \)\( 0, 1, 2, \dots, n \)
ConditionsFixed \( n \), two outcomes, independent, constant \( p \)

Question 1 of 5

A coin is flipped 6 times. What is \( P(X = 4) \) where \( X \) is the number of heads?

Question 2 of 5

If \( X \sim B(20, 0.3) \), what is the expected value of \( X \)?

Question 3 of 5

Which of the following is NOT a condition for a binomial distribution?

Question 4 of 5

A biased coin has \( P(\text{heads}) = 0.7 \). It is flipped 5 times. Find \( P(X \ge 4) \).

Question 5 of 5

If \( X \sim B(10, 0.4) \), what is the standard deviation of \( X \)?