KS Maths
Topic 4.8 · AA and AI, SL and HL

The binomial distribution

Which bars does your event actually cover?

The binomial distribution, its mean and variance, and the phrasing that decides whether you shade from 3 or from 4.

This video lesson is a free sample. The plans open the rest of the lessons in this course, each with a figure to move and questions that check your answer as you type. See the plans.
Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

binomial
Having two parts or two possible outcomes, like success and failure.A coin toss is a binomial trial.
distribution
How data or probabilities are spread over the possible values.The distribution shows how likely each value is.
probability
How likely it is that something happens, from 0 to 1.The probability of heads is one half.
at least
This number or more.At least 5 means 5 or more.
decimal place
A digit after the decimal point. We count places from the point.3.14 has two decimal places.
trial
One go of an experiment.One roll of a die is one trial.
write down
Give the answer with little or no working.Write down the median.
decimal
A number with a decimal point. It shows parts smaller than one.0.5 is a decimal.
variance
The standard deviation squared. A measure of spread.Variance is standard deviation squared.
significant figure
A digit that matters for the size of a number. Counting starts at the first non-zero digit.0.0382 to 2 significant figures is 0.038.

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. Work out 6C2, the number of ways to choose 2 things from 6.
    Answer

    6C2 = (6 × 5) ÷ (2 × 1) = 15. Write the product out with 2 factors on top and 2 below. The binomial formula needs this number for every bar.

  2. Work out 0.8³ without a calculator, then check it with one.
    Answer

    0.8 × 0.8 = 0.64, and 0.64 × 0.8 = 0.512. A power means repeated multiplication: 0.8³ is not 0.8 × 3.

  3. A fair coin is flipped 3 times. What is the probability of getting at least one head?
    Answer

    It is easier through the complement: P(no heads) = (1/2)³ = 1/8, so P(at least one head) = 1 − 1/8 = 7/8 = 0.875. This is the same trick as the “at least one” box in the lesson.

  4. A random variable X takes the values 0, 1 and 2 with probabilities 0.5, 0.3 and 0.2. Find E(X).
    Answer

    E(X) = 0 × 0.5 + 1 × 0.3 + 2 × 0.2 = 0.7. Multiply each value by its probability, then add. The binomial mean np is a shortcut for this sum.

Words used in this lesson
trial
one go at the experiment. For example: flipping a coin once is one trial.
success
the outcome you are counting, whether or not it is good news. For example: if you count faulty bulbs, a faulty bulb is a “success”.
independent
one result does not change the chance of another. For example: two separate coin flips are independent.
probability of success (p)
the chance of a success on a single trial. For example: if one bulb in 25 is faulty, p = 0.04.
complement
everything that is not the event. For example: the complement of “at least one” is “none”.
cumulative
added up from the lowest value to a chosen one. For example: a cumulative probability P(X ≤ 2) adds the bars for 0, 1 and 2.
at most
this number or fewer. For example: at most 5 means 0, 1, 2, 3, 4 or 5.
at least
this number or more. For example: at least 5 means 5, 6, 7 and so on.
state
write the answer or the model, with no working needed. For example: “state the distribution of X” wants X ~ B(n, p) with the numbers in.
hence
use the result you have just found. For example: “find P(X = 2), and hence P(X ≥ 3)” means use your first answer.

Predict first. For ten trials with probability 0.3 each time, which do you think is the more likely: getting no successes at all, or getting 7 or more successes? Decide, and say why, before you look.

Then check

Now use the figure. Choose the event for exactly k and set k to 0, then choose the event for at least k and set k to 7, and read the probability each time. Was your prediction right? If not, what did you expect the bars at the far right to look like?

Ten trials, probability 0.3 each time. Choose an event and the bars it covers light up. Most lost marks on this sub-topic are a shaded bar too many or too few.

k = 3
0.2668probability
3mean np
2.1variance np(1−p)

Read the shading, not the words. The words are what trip people up.

When is it binomial?

Drawing counters without replacement is not binomial, because p changes after each draw. That is the most common situation students force into a binomial, and it is exactly the tree diagram case from 4.6.

Mean and variance

mean= np = 10 × 0.3 = 3 the same n × P as 4.5 variance= np(1 − p) = 10 × 0.3 × 0.7 = 2.1 standard deviation= √2.1 ≈ 1.449 the square root, not the variance itself

Reading the phrasing

The question saysIn symbolsBars covered
exactly 3P(X = 3)just 3
at most 3, no more than 3P(X ≤ 3)0, 1, 2, 3
fewer than 3, less than 3P(X ≤ 2)0, 1, 2
at least 3, 3 or moreP(X ≥ 3)3 up to 10
more than 3P(X ≥ 4)4 up to 10

"At least one" is always 1 − P(X = 0). Shading nine bars and adding them is nine chances to slip; the complement is one calculation. For B(10, 0.3), P(X ≥ 1) = 1 − 0.0282 = 0.9718.

Worked example

P(X = 3)= 10C3(0.3)³(0.7)⁷ = 120 × 0.027 × 0.0824 ≈ 0.2668 P(X ≤ 2)= 0.3828 three bars added, best done on the calculator P(X ≥ 4)= 1 − P(X ≤ 3) = 0.3504 note the 3, not the 4

On the GDC: binomial probabilities

Pdf for exactly one value, Cdf for a range. The two menu entries sit next to each other and look alike.

When you may use it. Applications allows a calculator in every paper. Analysis does not allow one in Paper 1, so if you sit AA you must be able to do this without the machine as well.

TI-Nspire CX II

  1. menu → Statistics → Distributions → Binomial Pdf for P(X = k)
  2. Binomial Cdf for a range, giving it a lower and an upper bound
  3. For P(X ≥ 3) with B(10, 0.3) use bounds 3 and 10
The Distributions submenu showing Normal Pdf, Normal Cdf, Inverse Normal, t and chi squared entries, and Binomial Pdf lettered A.
Binomial Pdf is A, Binomial Cdf is B. The entries are lettered, not numbered.

Casio fx-CG50

  1. MENU → Statistics → F5 DIST → F5 BINM
  2. Bpd for exactly k, Bcd for a range with a lower and upper bound
  3. Choose Var rather than List when you have a single value

The mark people lose. "More than 3" starts at 4. For B(10, 0.3) a lower bound of 3 returns 0.6172 when you wanted 0.3504, which is 1.76 times too big and does not look wrong on the screen.

A second example, finished by you

The same method on a new situation. The first two steps are written out with the reason for each; the last is yours, and uses your calculator. Cover the reasons and see if you can say them first.

8 seeds are planted, and each one independently grows with probability 0.4. Find the probability that at least 3 grow, to 4 decimal places.

  1. X ~ B(8, 0.4), and the event is X ≥ 3.State the model with its numbers first: it is often a mark on its own. “At least 3” includes 3, so the bars covered are 3 up to 8.
  2. P(X ≥ 3) = 1 − P(X ≤ 2).The bars 3 to 8 are six bars. The bars 0, 1 and 2 are three. Use the complement, and notice the 2, not the 3: the value 3 is in the event, so it is not taken away.
  3. Use Binomial Cdf for the lower bars with n = 8, p = 0.4 and the bounds 0 and 2, then subtract the result from 1.Your step. Write it out in full before you type the answer below.

Your answer. Type P(X ≥ 3), to 4 decimal places.

Check before you go on

One question that tells you whether the main idea has landed. Each wrong option is a different common slip, so the reply tells you which one you made.

X ~ B(12, 0.2). Which is the correct way to write the probability that X is at least 4?

X ~ B(12, 0.2). Which is the correct way to write the probability that X is at least 4?

Where it decides something

A factory packs light bulbs in boxes of 20. Each bulb is faulty with probability 0.05, independently of the others. A box is accepted by a buyer only if it contains at most 2 faulty bulbs. The factory wants to know how often a box is accepted. Let X be the number of faulty bulbs in a box, so X ~ B(20, 0.05).

Find the probability that a box is accepted, to 4 decimal places.

Your turn

1. A factory finds that 20% of its floor tiles have a small chip. An inspector picks 15 tiles at random, and X is the number with a chip. State the distribution of X, then find the probability that exactly 4 tiles have a chip, to 4 decimal places.

2. Same inspector, same 15 tiles. Find the probability that more than 4 tiles have a chip, to 4 decimal places.

3. Which of these is not binomial?

Where the marks go

Writing X ~ B(n, p) with the numbers in it. It states the model, and it is often an explicit mark before any calculation.

Translating the words into the right inequality. "More than 3" is X ≥ 4, and getting that boundary wrong loses the whole answer even with perfect technology use.

Using the complement for "at least one". Expected, and much safer than adding bars.

Something to think about

For n = 10 trials the variance of the binomial is 10p(1 − p). What happens to the variance as p moves from 0.1 up to 0.9? Which p gives the largest variance, and why does that make sense for the shape of the bars?

One way to think about it

Try p = 0.1, 0.3, 0.5, 0.7 and 0.9 and write the variance each time. Look for a pattern and a symmetry. Then think about the bars: when is the outcome most certain, and when is it hardest to call?

Climb to an exam question

Five steps, each one a little harder than the last. Every step is a piece of the exam question at the end, so by the top you have already done each part once.

Step 1 of 5: name the distribution. A spinner lands on red with probability 0.25 on each spin, independently of the others. It is spun 12 times, and X is the number of reds. Which gives the distribution of X?

A spinner lands on red with probability 0.25 on each spin, independently of the others. It is spun 12 times, and X is the number of reds. Which gives the distribution of X?

Step 2 of 5: an exact probability. For the same spinner, X ~ B(12, 0.25). Find P(X = 2), to 4 decimal places.

Step 3 of 5: a cumulative probability. For X ~ B(12, 0.25), find P(X ≤ 2), to 4 decimal places.

Step 4 of 5: a probability of at least. For X ~ B(12, 0.25), find P(X ≥ 4), to 4 decimal places.

Step 5 of 5: a second binomial built on the first. A game is 12 spins of the same spinner, and a game is won if it gives at least 4 reds. Amara plays 4 games, independently, and W is the number of games she wins. Which gives the distribution of W?

A game is 12 spins of the same spinner, and a game is won if it gives at least 4 reds. Amara plays 4 games, independently, and W is the number of games she wins. Which gives the distribution of W?

The exam question

Written for this site in the style of the real papers. Do it on paper first, as you would in the exam, and show your working: most of the marks are for method. Give answers to 3 significant figures unless the question says otherwise. Then check each part below.

Paper 2 style · calculator (GDC) allowed · 8 marks · about 9 minutes

A bakery packs loaves in trays of 30. Each loaf is underweight with probability 0.06, independently of the others. Let X be the number of underweight loaves in a tray, so X ~ B(30, 0.06).

(a) Find the expected number of underweight loaves in a tray. [2]

(b) A tray is rejected if it contains more than 2 underweight loaves. Find the probability that a tray is rejected. Give your answer correct to 3 significant figures. [3]

(c) A shop receives 6 trays, independently of each other. Find the probability that at least one of the 6 trays is rejected. Give your answer correct to 3 significant figures. [3]

Check (a). Type the expected number of underweight loaves in a tray.

Check (b). Type the probability that a tray is rejected, to 3 significant figures.

Check (c). Type the probability that at least one of the 6 trays is rejected, to 3 significant figures.

Want the rest of this topic?

This is a free sample lesson. The IB Diploma plan opens every other Diploma lesson, AA and AI, SL and HL, and every lesson from Year 7 for the refreshers. It covers every child in the family and includes all seven revision packs.

$99 for 12 months, or $149 for 2 years

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

That is $8.25 a month for the whole family.

Student without a card? in one tap.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Already paid? Type the email you paid with in the sign-in box, then click the link we send. See every price, including $19 revision packs.

Teaching this lesson?

Every lesson here has a teacher page beside it: worked answers, what each common wrong answer tells you about a student's thinking, and questions at three levels for the board. Every unit has a free sample lesson for students, and a plan opens every other lesson.

See the teacher pages