Binomial distribution
When to use the binomial distribution, finding binomial probabilities on the TI-Nspire, and its mean and variance.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Know the conditions for a binomial distributionSL 4.8
- Use the notation SL 4.8
- Find , and with the TI-NspireSL 4.8
- Use and SL 4.8
- Solve problems such as finding the number of trials neededSL 4.8
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
2.1 What the binomial distribution models
You do the same thing times. Each time it either works or it does not, and the chance of it working is always . The binomial distribution tells you how likely each possible number of successes is.
Situations like this come up everywhere: the number of heads in 10 coin flips, the number of faulty phones in a box of 20, the number of questions a student gets right by guessing on a multiple-choice test. In each case a random variable counts the successes, so it can take the values .
"Success" just means the outcome you are counting. It does not have to be a good thing: if you are counting seeds that fail to grow, a seed failing is a "success".
We write , read as " follows a binomial distribution with trials and probability of success ". The model only works when all four of these are true:
- A fixed number of trials, . You know in advance how many times you will do it.
- Two outcomes per trial: success or failure.
- The same probability of success, , on every trial.
- Independent trials: one result does not affect the next.
Is each of these binomial?
- The number of sixes in 20 rolls of a fair die. Yes: .
- The number of rolls until the first six. No: the number of trials is not fixed.
- The number of red cards when 3 cards are taken, without replacement, from 10 cards of which 4 are red. No: the probability of red changes after each card is taken.
- The number of left-handed students in a class of 25, if 10% of people are left-handed. Yes, as a model: , assuming students are independent of each other.
2.2 Where the formula comes from
A basketball player scores a free throw with probability 0.7. She takes 3 shots. What is the probability she scores exactly 2?
Write S for a score and F for a miss. There are three ways to get exactly 2 scores: SSF, SFS and FSS. Because the shots are independent, each of these has probability . So
The same thinking works in general. Any one particular order with successes and failures has probability . The number of different orders is the number of ways of choosing which of the trials are the successes, which is .
The probabilities are exactly the terms of the binomial expansion of . That is where the name comes from. Since , the expansion equals , so the probabilities add up to 1, as they must. See Binomial theorem.
2.3 Single values and cumulative probabilities
is the probability of exactly successes: one bar on the bar chart in the Explore it section. Many questions ask about several values at once, such as "at most 3" or "at least 5". You then add up several bars. This is called a cumulative probability.
The words matter. Since only takes whole-number values, "fewer than 3" means , or :
| In words | In symbols | On the calculator |
|---|---|---|
| exactly 3 | Binomial Pdf | |
| at most 3, no more than 3 | Binomial Cdf from 0 to 3 | |
| fewer than 3, less than 3 | Binomial Cdf from 0 to 2 | |
| at least 3, 3 or more | Binomial Cdf from 3 to | |
| more than 3 | Binomial Cdf from 4 to |
For "at least" questions, it is often quicker to use the complement: everything that is not included. For example , because the values 0, 1, 2 are the only ones left out.
Calculator page: menu → 6: Statistics → 5: Distributions → Binomial Pdf for , or Binomial Cdf for . Enter , and the value(s). For , use Binomial Cdf with lower bound and upper bound .
2.4 Mean and variance
If you flip a fair coin 10 times, you expect about 5 heads. If a seed fails with probability 0.15 and you plant 20, you expect about to fail. In general, the expected number of successes is .
The expected value does not have to be a whole number. If , then . You will never get 12.5 successes, but over many repetitions the average number of successes will be close to 12.5.
The variance measures how spread out the results are. The standard deviation is . For a fixed , the spread is largest when , because then the outcome is hardest to predict. When is close to 0 or 1, almost every trial goes the same way, so the results are tightly bunched. Try this in the Explore it section.
Think of one trial on its own. It gives 1 success with probability and 0 with probability , so its mean is . Its variance works out to be . A binomial variable is the total of of these independent trials, and for independent trials both the means and the variances add up. That gives and .
2.5 At least one
"At least one" questions are very common. The quick way is the complement: the opposite of "at least one success" is "no successes at all".
This also lets you work backwards and find how many trials are needed. You get an inequality with in the power. Solve it with logarithms or a table of values on the calculator, then round up, because must be a whole number and the condition must be met.
The inequality sign flips when dividing by , because is negative. Checking the two whole numbers either side, as above, avoids this trap.
3Explore it
Change and . Choose whether to shade , or .
★HL extension
Extra depth for HL: harder worked examples and HL-standard exam questions.
HL binomial questions work backwards (find and from the mean and variance, or the least for a probability condition) and combine the binomial with conditional probability.
Finding n and p
Conditional binomial probabilities
HL exam-style questions
with mean 4 and variance 3.2.
- (a)Find .[2]
- (b)Find .[2]
| (a) | |
| M1 | |
| A1 | |
| (b) | |
| M1 | |
| A1 | |
In a large population, 20% of people have a certain gene. A random sample of 10 people is taken.
- (a)Find the probability that at least one person has the gene.[2]
- (b)Given that at least one person has the gene, find the probability that at least two do.[3]
| (a) | |
| M1 | |
| A1 | |
| (b) | |
| M1 | |
| A1 | |
| A1 | |
4Common mistakes & exam tips
Common mistakes
- Using Binomial Pdf when the question needs a cumulative probability ("at most", "fewer than").
- Treating "fewer than 3" as : it is .
- Calculating as : it is .
- Using a binomial model when trials are not independent (e.g. without replacement from a small group).
Exam tips
- Write the distribution and the probability statement, e.g. , .
- Translate the words: "at most 3" ; "more than 3" ; "at least 3" .
- The standard deviation is .
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
15% of seeds of a certain type fail to grow. 20 seeds are planted. Let be the number that fail.
- (a)Write down the distribution of .[1]
- (b)Find .[2]
- (c)Find the probability that at most 2 seeds fail.[2]
- (d)Find the probability that at least 5 seeds fail.[2]
- (e)Find the expected number of seeds that fail.[1]
| (a) | |
| A1 | |
| (b) | |
| Binomial Pdf | M1 |
| A1 | |
| (c) | |
| M1 | |
| A1 | |
| (d) | |
| M1 | |
| A1 | |
| (e) | |
| A1 | |
A fair die is rolled times. Find the least value of for which the probability of at least one six is greater than 0.9.
| M1 A1 | |
| A1 | |
| A1 |
.
- (a)Find .[2]
- (b)Write down .[1]
- (c)Find .[1]
| (a) | |
| M1 | |
| A1 | |
| (b) | |
| A1 | |
| (c) | |
| A1 | |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2023 · TZ2 · Paper 2 | Q3 | Normal weights of rice, then a binomial count | ★☆☆ |
| May 2024 · TZ1 · Paper 2 | Q6 | Rainfall probabilities using the binomial distribution | ★★☆ |
| May 2024 · TZ2 · Paper 2 | Q5 | Find least n so that binomial probability exceeds a given threshold | ★★☆ |
| May 2025 · TZ2 · Paper 2 | Q10 | Solve normal and binomial probability problems about apple weights | ★★★ |
