Skip to main content
ExamExplained
WA · Math Methods
Math Methods study scene
§-Syllabus dot point
WAMath MethodsSyllabus dot point

How do we model a single trial with exactly two outcomes, and what are its mean and variance?

Use the Bernoulli distribution to model a single two-outcome trial and find its mean and variance

WACE Year 12 Mathematics Methods Unit 3 the Bernoulli distribution: a single success-or-failure trial, its probability function, mean p and variance p times one minus p, and its role as the building block of the binomial, with a worked example.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The Bernoulli model
  3. Mean and variance
  4. Where the variance is largest
  5. Link to the binomial distribution

What this dot point is asking

SCSA Unit 3 introduces the Bernoulli distribution as the simplest discrete model: one trial, two outcomes. This dot point asks you to state its distribution and derive its mean and variance, which then generalise directly to the binomial distribution. It supports questions in both examination sections.

The Bernoulli model

A Bernoulli trial has exactly two outcomes, conventionally labelled success and failure. The random variable XX records 11 for success and 00 for failure. This 00-or-11 coding is what makes the algebra so clean: the mean of XX turns out to be exactly the success probability, and because squaring 00 and 11 leaves them unchanged, the variance simplifies neatly as well. The Bernoulli distribution is the simplest possible non-trivial probability distribution, which is why the whole of discrete probability in the course can be built up from it.

Examples include a single coin toss (success = heads), one inspected item (success = defective), or one penalty kick (success = goal). The choice of which outcome to call "success" is a labelling decision; swapping the labels simply replaces pp with 1p1-p. The variable is sometimes called an indicator variable, because it indicates whether the event of interest occurred, recording 11 if it did and 00 if it did not.

Mean and variance

Because XX takes only the values 00 and 11, the mean and variance follow directly from the definitions of expected value and variance.

The mean is

E(X)=0(1p)+1p=p.E(X)=0\cdot(1-p)+1\cdot p = p.

For the variance, note that X2=XX^{2}=X since 02=00^{2}=0 and 12=11^{2}=1, so E(X2)=E(X)=pE(X^{2})=E(X)=p. Then

Var(X)=E(X2)[E(X)]2=pp2=p(1p).\mathrm{Var}(X)=E(X^{2})-[E(X)]^{2}=p-p^{2}=p(1-p).

Where the variance is largest

The Bernoulli variance p(1p)p(1-p) is a downward parabola in pp, zero at p=0p=0 and p=1p=1 and largest at p=0.5p=0.5, where it equals 0.250.25. This matches intuition: a trial that is almost certain to succeed (or fail) carries little uncertainty, while a fair trial is the least predictable. The same shape carries through to the binomial, whose variance np(1p)np(1-p) is also maximised at p=0.5p=0.5 for fixed nn.

A binomial random variable counts the number of successes in nn independent Bernoulli trials, each with the same pp. Adding nn independent Bernoulli variables gives the binomial, which is why the binomial mean npnp and variance np(1p)np(1-p) are simply nn times the Bernoulli values. Understanding the single-trial case makes the binomial formulae intuitive rather than memorised.

Exam-style practice questions

Practice questions written in the style of SCSA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

WACE 20214 marksCalculator-free. A single random voter supports a policy with probability p=0.6p=0.6. Let X=1X=1 if the voter supports it and X=0X=0 otherwise. (a) State E(X)E(X) and Var(X)\mathrm{Var}(X). (b) Explain how this Bernoulli trial relates to the binomial distribution for a sample of nn voters.
Show worked answer →

A definition-and-link question.

(a) E(X)=p=0.6E(X)=p=0.6 and Var(X)=p(1p)=0.6×0.4=0.24\mathrm{Var}(X)=p(1-p)=0.6\times 0.4=0.24.

(b) A sample of nn independent voters, each modelled by the same Bernoulli(0.6)(0.6) trial, gives a binomial variable counting total supporters. Summing nn independent Bernoulli variables produces B(n,0.6)\mathrm{B}(n,0.6) with mean npnp and variance np(1p)np(1-p), that is nn times the single-trial values.

Markers reward stating E(X)=pE(X)=p and p(1p)p(1-p) and explaining the binomial as a sum of nn Bernoulli trials.

WACE 20233 marksCalculator-free. For a Bernoulli random variable, show that the variance p(1p)p(1-p) is greatest when p=0.5p=0.5, and state the maximum value.
Show worked answer →

A short reasoning question about the variance.

The variance V(p)=p(1p)=pp2V(p)=p(1-p)=p-p^{2}. Differentiating, V(p)=12pV'(p)=1-2p, which is zero at p=0.5p=0.5. Since V(p)=2<0V''(p)=-2<0, this is a maximum.

The maximum value is V(0.5)=0.5×0.5=0.25V(0.5)=0.5\times 0.5=0.25.

Markers reward differentiating pp2p-p^{2}, solving V(p)=0V'(p)=0, confirming a maximum, and the value 0.250.25.

ExamExplained