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
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 records for success and for failure. This -or- coding is what makes the algebra so clean: the mean of turns out to be exactly the success probability, and because squaring and 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 with . The variable is sometimes called an indicator variable, because it indicates whether the event of interest occurred, recording if it did and if it did not.
Mean and variance
Because takes only the values and , the mean and variance follow directly from the definitions of expected value and variance.
The mean is
For the variance, note that since and , so . Then
Where the variance is largest
The Bernoulli variance is a downward parabola in , zero at and and largest at , where it equals . 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 is also maximised at for fixed .
Link to the binomial distribution
A binomial random variable counts the number of successes in independent Bernoulli trials, each with the same . Adding independent Bernoulli variables gives the binomial, which is why the binomial mean and variance are simply 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 . Let if the voter supports it and otherwise. (a) State and . (b) Explain how this Bernoulli trial relates to the binomial distribution for a sample of voters.Show worked answer →
A definition-and-link question.
(a) and .
(b) A sample of independent voters, each modelled by the same Bernoulli trial, gives a binomial variable counting total supporters. Summing independent Bernoulli variables produces with mean and variance , that is times the single-trial values.
Markers reward stating and and explaining the binomial as a sum of Bernoulli trials.
WACE 20233 marksCalculator-free. For a Bernoulli random variable, show that the variance is greatest when , and state the maximum value.Show worked answer →
A short reasoning question about the variance.
The variance . Differentiating, , which is zero at . Since , this is a maximum.
The maximum value is .
Markers reward differentiating , solving , confirming a maximum, and the value .
