The binomial distribution

The binomial distribution

Spec N1 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • X∼B(n,p)X\sim B(n,p) counts successes in nn trials with a fixed number of trials, two outcomes, constant pp and independent trials.
  • P(X=r)=(nr)pr(1−p)n−rP(X=r)=\binom nr p^r(1-p)^{n-r}.
  • The calculator gives cumulative probabilities P(X≤r)P(X\le r): rewrite other probabilities in that form.
  • Define XX and its distribution first, then translate the question into a statement about XX.
  • Real situations only approximately meet the conditions: state the limitation and its likely effect.

When it applies

X∼B(n,p)X\sim B(n,p) counts successes in nn trials when four conditions hold: fixed nn, two outcomes, constant pp, independent trials.

Example: 10 seeds, each germinating with probability 0.30.3 independently, gives X∼B(10,0.3)X\sim B(10,0.3).

State each condition in context, such as 'each seed germinates with the same probability, independently of the others'.

00.050.10.150.20.250.0090.001012345678910r (seeds germinating)P(X = r)
X ~ B(10, 0.3), the seed example: P(X = r) to 3 d.p.

Example: 10 seeds

Fixed number of trials:
n = 10 seeds
Two outcomes:
Germinates or not
Same probability:
p = 0.3 for each seed
Independent trials:
One seed does not affect another

Fails when

Fixed number of trials:
Number of trials not fixed
Two outcomes:
More than two outcomes
Same probability:
p changes between trials
Independent trials:
Trials are linked, such as no replacement

A card is drawn from a pack without replacement 5 times and the number of hearts is counted. Is this binomial?

Calculating probabilities

For X∼B(n,p)X\sim B(n,p), P(X=r)P(X=r) multiplies the probability of one order by the number of orders, (nr)\binom nr.

(nr)\binom nr counts the arrangements of rr successes among nn trials.

The probability distribution is the set of all P(X=r)P(X=r), which add to 1.

The mean and variance of XX are not needed at this level; concentrate on probabilities.

  • P(X=r)P(X=r)(nr)pr(1−p)n−r\dbinom{n}{r}p^r(1-p)^{n-r}
00.050.10.150.20.250.0090.00140.0001012345678910r (number of successes)P(X = r)
Probability distribution of X ~ B(10, 0.3) (values to 4 d.p.)

Worked example

X∼B(10,0.3)X\sim B(10,0.3). Find P(X=3)P(X=3).

X∼B(5,0.5)X\sim B(5,0.5). What is P(X=2)P(X=2)?

Using the calculator

The calculator gives P(X=r)P(X=r) and the cumulative P(X≤r)P(X\le r). Rewrite every other probability as 'at most'.

Use the binomial probability function for P(X=r)P(X=r) and the cumulative binomial function for P(X≤r)P(X\le r). Enter nn, pp and rr.

For a range, P(a≤X≤b)=P(X≤b)−P(X≤a−1)P(a\le X\le b)=P(X\le b)-P(X\le a-1).

01234567891047
  • P(X<r)P(X<r)P(X≤r−1)P(X\le r-1)
  • P(X≥r)P(X\ge r)1−P(X≤r−1)1-P(X\le r-1)
  • P(X>r)P(X>r)1−P(X≤r)1-P(X\le r)

Worked example

Find P(X>7)P(X>7) for X∼B(20,0.25)X\sim B(20,0.25), and P(2≤X≤4)P(2\le X\le4) for X∼B(12,0.15)X\sim B(12,0.15).

Which expression equals P(X≥5)P(X\ge5)?

Combined situations

Define XX and its distribution, then translate the question into a statement about XX. The result can feed into another probability.

If a box is rejected with probability p=0.135p=0.135 and 5 boxes are independent, P(at least one rejected)=1−(1−p)5=0.516P(\text{at least one rejected})=1-(1-p)^5=0.516.

Watch the wording: decide what counts as a success before choosing pp.

  1. 1

    Define X

    say what counts as a success

  2. 2

    State X ~ B(n, p)

    with n and p from the context

  3. 3

    Translate

    turn the question into a statement about X

  4. 4

    Calculate

    use the calculator, then answer in context

Setting up a binomial question

Worked example

12 patients are booked for 10 appointment slots. Each does not attend with probability 0.15, independently. Find the probability that more patients attend than there are slots.

X∼B(8,0.1)X\sim B(8,0.1). Which is P(at least one success)P(\text{at least one success})?

The model in practice

The binomial distribution is a model: real situations only approximately meet its conditions. Question each condition.

In a clinic, patients from one family may attend or miss together, so independence may not hold. In quality control, a machine that drifts over time breaks the constant-probability condition.

If conditions fail, the probabilities may be inaccurate, so state the limitation and, where possible, its likely effect. A sample can estimate pp from real data, but that value carries its own uncertainty.

  1. 1

    Pick a condition

    Fixed n, two outcomes, constant p, independence

  2. 2

    Test it in context

    Could it fail in this situation?

  3. 3

    State the effect

    Say how the answer is affected

Evaluating a binomial model

A machine slowly wears so that the chance of a faulty item rises over a day. Which condition fails?

Try an exam question

A seed germinates with probability 0.70.7, independently of the others. Eight seeds are planted and XX is the number that germinate. State the distribution of XX, and find P(X=6)P(X=6) and P(X≥7)P(X\ge7).

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find P(X=3)P(X=3).

1 mark, marked against the mark scheme

Revision notes