Discrete random variables, expected value and variance (QCE Mathematical Methods Unit 3)
“Define a discrete random variable and its probability distribution, calculate the expected value and the variance and standard deviation, and recognise the Bernoulli distribution as the single-trial case”
A discrete random variable has a probability distribution satisfying and , with mean and variance , and the Bernoulli distribution is the single-trial case with and .
Jump to a section
What this dot point is asking
QCAA wants you to define a discrete random variable, identify and work with its probability distribution, compute the expected value and variance, and recognise the Bernoulli distribution as the simplest case (a single yes or no trial). This dot point underpins the rest of Topic 5 and feeds directly into the binomial distribution.
The answer
Random variables
A random variable assigns a numerical value to each outcome of a probability experiment. A random variable is discrete if its possible values form a countable set (typically a list of integers).
The probability distribution of is the list of possible values together with their probabilities, often shown as a table.
For this to be a valid distribution, the probabilities must satisfy two conditions.
- Non-negativity. for every .
- Normalisation. .
QCAA Paper 1 questions frequently give a partial distribution with an unknown and ask you to use the normalisation condition to solve for .
Expected value
The expected value (or mean) of is the probability-weighted average of its values:
Interpretation: the long-run average of over many independent repetitions.
For any constants and :
Variance and standard deviation
The variance measures spread around the mean.
The computational shortcut (the version you should use on Paper 1 and Paper 2) is
where .
The standard deviation is .
For any constants and :
The disappears (a shift does not change spread) and the squares (a scale multiplies variance by ).
The Bernoulli distribution
A Bernoulli trial has exactly two outcomes, labelled success () and failure (), with probability of success.
Write . Then
The Bernoulli distribution is the building block of the binomial: a binomial is the sum of independent Bernoulli trials with the same .
Four tasks building from a validity check through to Bernoulli, using the distribution , , .
Step 1: Check whether a claimed distribution is valid
A student proposes , , . The normalisation condition requires all probabilities to sum to exactly .
This is not a valid distribution. The probabilities exceed in total, violating the normalisation condition.
Step 2: Compute the expected value and variance from a table
For the distribution , , , the expected value is the probability-weighted sum of values.
To find the variance, we first compute by weighting each squared value.
The variance shortcut avoids computing for each term.
Final answer: , , and .
Step 3: Apply a linear transformation
Using the results from Step 2, find and . The linearity rule applies, and for variance, the additive constant disappears while the scale factor is squared.
Step 4: Identify and use the Bernoulli distribution
A Bernoulli trial has a single success (with probability ) or failure. For , the standard formulas and apply directly.
- Forgetting the normalisation check
- A discrete distribution must have probabilities that sum to exactly 1. Forgetting to set this up costs the first mark when QCAA gives an unknown .
- Confusing and
- The variance shortcut is , where the first term squares each before weighting and the second squares after weighting. They are not equal.
- Dropping the square on the scale factor
- , not .
- Computing standard deviation but stopping at variance
- If QCAA asks for standard deviation, take the square root.
- Naming Bernoulli when you mean binomial
- A Bernoulli is a single trial. A binomial is trials. Mixing the two is a frequent IA2 short response error.
- Using negative probabilities
- A probability cannot be negative. If your algebra produces a negative , you have set up the problem wrongly.
Exam-style questions
Questions in the style of QCAA 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.
Practice5 marksA discrete random variable has the probability distribution shown below, where is a constant. (a) Find the value of . (b) Find . (c) Find .
| | 0 | 1 | 2 | 3 |
|-----|---|---|---|---|
| | | | | |Show worked answer →
A 5-mark answer needs the normalisation, the expected value, and the variance.
(a) Probabilities sum to 1: .
(b) .
(c) .
.
Markers reward the normalisation step, the correct calculation, use of the shortcut (rather than the longer first-principles formula), and a numerical answer to a reasonable number of decimal places.
Practice3 marksA biased coin lands heads with probability . Let if the coin lands heads, if it lands tails. State the distribution of and find and .Show worked answer →
is a Bernoulli random variable with parameter , written .
and .
To verify: and , so .
Markers reward naming the distribution explicitly (Bernoulli with ), the standard formulas and , and a check by direct calculation. Stating in shorthand notation also earns recognition.