The binomial distribution

The binomial distribution

Spec 1.1–2 · Edexcel International A Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • X∼B(n,p)X\sim\mathrm{B}(n,p) needs a fixed nn, two outcomes, constant pp and independent trials.
  • P(X=r)=(nr)pr(1−p)n−r\mathrm{P}(X=r)=\binom nr p^r(1-p)^{n-r}.
  • Tables give P(X≤r)\mathrm{P}(X\le r): rewrite ≥\ge, >> and ranges in that form.
  • Mean npnp and variance np(1−p)np(1-p), so the variance is less than the mean.
  • Comment on the model by saying which condition may fail, in context.

When binomial applies

When there is a fixed number of independent trials, each with two outcomes and the same probability of success.

A binomial distribution B(n,p)\mathrm{B}(n,p) models the number of successes XX in nn trials provided:

  • there is a fixed number of trials, nn;
  • each trial has two outcomes, success or failure;
  • pp is the same for every trial;
  • the trials are independent.

Write X∼B(n,p)X\sim\mathrm{B}(n,p) and q=1−pq=1-p. The number of sixes in 1010 rolls of a fair die is B(10,16)\mathrm{B}\left(10,\frac16\right).

00.050.10.150.20.250.30.0130.0020123456Number of sixes, rProbability
P(X=r)\mathrm{P}(X=r) for the number of sixes in 10 rolls, X∼B(10,16)X\sim\mathrm{B}(10,\frac16), to 3 decimal places (r of 7 or more is negligible).

The number of hearts in a hand of 5 cards dealt from a pack of 52. Is this binomial?

Calculating probabilities

Multiply the number of arrangements by the probability of one arrangement.

The coefficient (nr)=n!r!(n−r)!\binom nr=\frac{n!}{r!(n-r)!} counts the arrangements of the rr successes among the nn trials. Each arrangement has probability pr(1−p)n−rp^r(1-p)^{n-r}.

00.10.20.30.00243012345rP(X = r)
P(X = r) for X ~ B(5, 0.3), found from C(5,r) × 0.3ʳ × 0.7⁵⁻ʳ.
  • P(X = r)(nr)pr(1−p)n−r\dbinom nr p^r(1-p)^{n-r}

Worked example

X∼B(8,0.4)X\sim\mathrm{B}(8,0.4). Find P(X=3)\mathrm{P}(X=3).

X∼B(5,0.5)X\sim\mathrm{B}(5,0.5). Find P(X=2)\mathrm{P}(X=2).

Cumulative probabilities

Tables give P(X≤r)\mathrm{P}(X\le r), so rewrite every probability in that form.

Tables stop at p=0.5p=0.5. For p>0.5p>0.5, let Y=n−X∼B(n,1−p)Y=n-X\sim\mathrm{B}(n,1-p). A calculator gives the same values.

For a cumulative probability, "at least" means a complement: P(X≥r)=1−P(X≤r−1)\mathrm{P}(X\ge r)=1-\mathrm{P}(X\le r-1).

00.20.40.60.81012345rP(X ≤ r)
P(X ≤ r) for X ~ B(5, 0.3): it rises to 1. For example P(X ≥ 2) = 1 − P(X ≤ 1) = 1 − 0.52822 = 0.47178.

P(X≥r)\mathrm{P}(X\ge r)

  • 1−P(X≤r−1)1-\mathrm{P}(X\le r-1)

P(X>r)\mathrm{P}(X>r)

  • 1−P(X≤r)1-\mathrm{P}(X\le r)

P(a≤X≤b)\mathrm{P}(a\le X\le b)

  • P(X≤b)−P(X≤a−1)\mathrm{P}(X\le b)-\mathrm{P}(X\le a-1)

Worked example

X∼B(8,0.4)X\sim\mathrm{B}(8,0.4). Find P(X≥5)\mathrm{P}(X\ge5) and P(3≤X≤5)\mathrm{P}(3\le X\le5).

Worked example

X∼B(10,0.7)X\sim\mathrm{B}(10,0.7). Find P(X≤4)\mathrm{P}(X\le4).

Write P(X>3)\mathrm{P}(X>3) in terms of a cumulative probability.

Mean and variance

The mean is npnp and the variance is np(1−p)np(1-p), so the variance is always less than the mean.

For X∼B(n,p)X\sim\mathrm{B}(n,p) you can quote the mean and the variance without derivation. The standard deviation is np(1−p)\sqrt{np(1-p)}.

For example B(30,0.4)\mathrm{B}(30,0.4) has mean 1212 and variance 7.27.2.

00.020.040.060.080.10.120.140.00410.00545678910111213141516171819rP(X = r)
P(X = r) for B(30, 0.4), r = 5 to 19: centred on the mean np = 12.
  • E(X)npnp
  • Var(X)np(1−p)np(1-p)

Worked example

A binomial distribution has mean 1212 and variance 7.27.2. Find nn and pp.

X∼B(20,0.3)X\sim\mathrm{B}(20,0.3). Find the mean and variance.

Commenting on the model

Say which condition may fail, in the context.

Say whether each condition is reasonable in the context. For binomial counts the variance is smaller than the mean. If the observed variance is much larger, trials are probably not independent or pp varies.

0.10.20.30.40.50.60.70.80.91246810xyMean npVariance np(1 − p)
For n = 10, the variance 10p(1 − p) is always below the mean 10p, so observed variance far above the mean is a warning sign.

Independence

  • Trials affect each other, for example sampling without replacement from a small population

Constant pp

  • The probability changes with time, person or batch

Two outcomes

  • A trial has several outcomes that need simplifying

Fixed nn

  • The number of trials depends on the outcomes

A coin is tossed until the first head appears and XX is the number of tosses. Why is XX not binomial?

Try an exam question

A biased coin has probability 0.40.4 of landing heads. It is tossed 88 times and XX is the number of heads. State the distribution of XX, find P(X=3)\mathrm{P}(X=3), and find the mean and variance of XX.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find P(X=3)\mathrm{P}(X=3).

1 mark, marked against the mark scheme

Revision notes