Skip to main content

Mean and variance of the binomial distribution: WACE Year 12 Mathematics Methods Unit 3

Syllabus dot point

“Find and apply the mean np and variance np(1-p) of a binomial distribution and describe the effect of n and p on its shape”

8 min read

Quick answer

For X∼B(n,p)X\sim\mathrm{B}(n,p), the mean is E(X)=npE(X)=np and the variance is Var(X)=np(1−p)\mathrm{Var}(X)=np(1-p), with standard deviation np(1−p)\sqrt{np(1-p)}. Increasing nn scales and smooths the distribution; p=0.5p=0.5 makes it symmetric, while pp near 00 or 11 makes it skewed.

Jump to a section
  1. What this dot point is asking
  2. Mean and variance formulas
  3. Solving for a parameter
  4. Where the variance is largest
  5. Effect of nn and pp on shape
  6. Exam-style questions

What this dot point is asking

SCSA Unit 3 asks you to find the summary measures of the binomial distribution and to describe how its two parameters shape it. This dot point is examined in both sections of the WACE written examination, including questions that solve for nn or pp from a given mean or variance.

Mean and variance formulas

A binomial variable is the sum of nn independent Bernoulli trials, each with mean pp and variance p(1−p)p(1-p). Summing nn of them multiplies both by nn.

Binomial mean and variance

For X∼B(n,p)X\sim\mathrm{B}(n,p),

E(X)=np,Var(X)=np(1−p),SD(X)=np(1−p).E(X)=np, \qquad \mathrm{Var}(X)=np(1-p), \qquad \mathrm{SD}(X)=\sqrt{np(1-p)}.

Mean, variance and standard deviation

A quality-control sample

A machine produces items defective with probability p=0.1p=0.1. In a batch of n=50n=50, let XX count the defectives. Find the mean, variance and standard deviation.

The mean is npnp.

E(X)=50×0.1=5.E(X)=50\times 0.1 = 5.

The variance is np(1−p)np(1-p).

Var(X)=50×0.1×0.9=4.5.\mathrm{Var}(X)=50\times 0.1\times 0.9 = 4.5.

The standard deviation is the square root.

SD(X)=4.5≈2.12.\mathrm{SD}(X)=\sqrt{4.5}\approx 2.12.

So on average 55 defectives per batch, with typical spread about 2.122.12. Markers reward all three values with the square root taken for the standard deviation.

Solving for a parameter

Because the mean and variance depend on nn and pp, you can recover a parameter from a given summary measure. If the mean is known you can find pp from npnp, or combine the mean and variance: dividing Var(X)E(X)=np(1−p)np=1−p\dfrac{\mathrm{Var}(X)}{E(X)}=\dfrac{np(1-p)}{np}=1-p isolates pp directly.

Finding p from mean and variance

Step 1: Use the variance-to-mean ratio to find pp

Dividing variance by mean cancels nn because np(1−p)np=1−p\dfrac{np(1-p)}{np} = 1-p, isolating 1−p1-p in one step. A binomial variable has mean 1212 and variance 4.84.8, so:

Var(X)E(X)=1−p=4.812=0.4,\frac{\mathrm{Var}(X)}{E(X)} = 1-p = \frac{4.8}{12} = 0.4,

which gives p=0.6p = 0.6.

Step 2: Substitute pp into the mean formula to find nn

Now that pp is known, the mean formula np=12np = 12 gives nn directly:

n=120.6=20.n = \frac{12}{0.6} = 20.

Final answer: X∼B(20,0.6)X\sim\mathrm{B}(20,0.6)

Where the variance is largest

Because Var(X)=np(1−p)\mathrm{Var}(X)=np(1-p), for a fixed nn the spread is greatest when p(1−p)p(1-p) is greatest, which happens at p=0.5p=0.5. A fair process therefore carries the most uncertainty, while a process with pp near 00 or 11 is nearly certain and has small variance. This explains why political polls (with proportions near 0.50.5) need larger samples to achieve a given precision than surveys about rare events.

Using the mean to find a probability

Expected successes and a related probability

A basketball player makes free throws independently with p=0.8p=0.8 and takes n=15n=15 in a session. Find the expected number made and the standard deviation.

The mean is

E(X)=np=15×0.8=12.E(X)=np=15\times 0.8=12.

The variance is
Var(X)=np(1−p)=15×0.8×0.2=2.4,\mathrm{Var}(X)=np(1-p)=15\times 0.8\times 0.2=2.4,

so the standard deviation is 2.4≈1.55\sqrt{2.4}\approx 1.55. On average the player makes 1212 of 1515, with most sessions falling within roughly one standard deviation, that is between about 1010 and 1414 made. Markers reward npnp, np(1−p)np(1-p), and an interpretation in context.

Effect of nn and pp on shape

The parameter pp controls symmetry: at p=0.5p=0.5 the distribution is symmetric; for p<0.5p<0.5 it is skewed right, and for p>0.5p>0.5 it is skewed left. Increasing nn raises the mean npnp and the spread, and the distribution becomes more bell-shaped, which is why a binomial with large nn is well approximated by a normal distribution. A common rule of thumb is that the normal approximation is reasonable when both npnp and n(1−p)n(1-p) exceed about 55, because then the distribution is far enough from either boundary at 00 or nn to be roughly symmetric. This connection prepares the way for the sample-proportion work in Unit 4, where a binomial count is rescaled and treated as approximately normal.

Common errors
Reporting variance as standard deviation
The standard deviation is np(1−p)\sqrt{np(1-p)}; do not stop at the variance.
Using npnp for the variance
The mean is npnp; the variance is np(1−p)np(1-p).
Dropping the (1−p)(1-p)
A frequent slip is to compute variance as npnp rather than np(1−p)np(1-p).
Assuming symmetry for any pp
Only p=0.5p=0.5 gives a symmetric distribution; otherwise it is skewed.

Exam-style questions

Questions in the style of SCSA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

WACE 2022-style5 marks
Calculator-assumed. A binomial random variable XX has mean 99 and variance 6.36.3. (a) Find the values of nn and pp. (b) Hence find P(X=9)P(X=9).
Show worked answer →

A solve-for-parameters question.

(a) Use the ratio Var(X)E(X)=1−p=6.39=0.7\dfrac{\mathrm{Var}(X)}{E(X)}=1-p=\dfrac{6.3}{9}=0.7, so p=0.3p=0.3. Then np=9np=9 gives n=90.3=30n=\dfrac{9}{0.3}=30. So X∼B(30,0.3)X\sim\mathrm{B}(30,0.3).

(b) P(X=9)=(309)(0.3)9(0.7)21≈0.158P(X=9)=\binom{30}{9}(0.3)^{9}(0.7)^{21}\approx 0.158.

Markers reward the variance-to-mean ratio to isolate pp, solving for nn, and the correct binomial probability at k=9k=9.

WACE 2024-style4 marks
Calculator-free. For X∼B(n,p)X\sim\mathrm{B}(n,p) with n=40n=40 and p=0.25p=0.25, find (a) the mean, (b) the variance and (c) the standard deviation.
Show worked answer →

Direct application of the binomial summary formulas.

(a) E(X)=np=40×0.25=10E(X)=np=40\times 0.25=10.

(b) Var(X)=np(1−p)=40×0.25×0.75=7.5\mathrm{Var}(X)=np(1-p)=40\times 0.25\times 0.75=7.5.

(c) SD(X)=7.5≈2.74\mathrm{SD}(X)=\sqrt{7.5}\approx 2.74.

Markers reward npnp, np(1−p)np(1-p), and taking the square root for the standard deviation.

Practise this

Sources & how we know this

ExamExplained