β Unit 3: Further calculus and statistics
Topic 3: Discrete random variables
Define a discrete random variable and its probability distribution, calculate the expected value $E(X)$ and the variance $\mathrm{Var}(X)$ and standard deviation, and recognise the Bernoulli distribution as the single-trial case
A focused answer to the QCE Mathematical Methods Unit 3 dot point on discrete random variables. Covers the probability distribution and its conditions ($p_i \geq 0$ and $\sum p_i = 1$), the calculation of $E(X)$ and $\mathrm{Var}(X)$ from a distribution table, and the Bernoulli distribution as the single-trial case, with QCAA IA2-style worked examples.
Have a quick question? Jump to the Q&A page
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 all of Topic 3 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.
| IMATH_9 | IMATH_10 | IMATH_11 | IMATH_12 | IMATH_13 |
|---|---|---|---|---|
| IMATH_14 | IMATH_15 | IMATH_16 | IMATH_17 | IMATH_18 |
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 .
Worked examples
Validity check
A student claims the following is a probability distribution: , , . Is it valid?
. Not valid; it violates the normalisation condition.
Mean and variance from a table
A discrete random variable has , , .
.
.
.
Standard deviation .
Linear transformation
If and , find and .
.
.
Bernoulli with IMATH_60
has and .
Common traps
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.
In one sentence
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 .
Past exam questions, worked
Real questions from past QCAA papers on this dot point, with our answer explainer.
2023 QCAA-style P15 marksA discrete random variable $X$ has the probability distribution shown below, where $k$ is a constant. (a) Find the value of $k$. (b) Find $E(X)$. (c) Find $\mathrm{Var}(X)$.
| $x$ | 0 | 1 | 2 | 3 |
|-----|---|---|---|---|
| $P(X = x)$ | $0.1$ | $0.3$ | $k$ | $0.2$ |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.
2022 QCAA-style P23 marksA biased coin lands heads with probability $0.7$. Let $X = 1$ if the coin lands heads, $X = 0$ if it lands tails. State the distribution of $X$ and find $E(X)$ and $\mathrm{Var}(X)$.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.
Related dot points
- Recognise the binomial distribution $X \sim \mathrm{Bin}(n, p)$ as the count of successes in $n$ independent Bernoulli trials, apply the binomial probability formula and use CAS, and use the formulas $E(X) = np$ and $\mathrm{Var}(X) = np(1 - p)$
A focused answer to the QCE Mathematical Methods Unit 3 dot point on the binomial distribution. Defines the binomial conditions (BINS), states the probability formula, gives the mean $np$ and variance $np(1 - p)$, and walks through both by-hand Paper 1 calculations and CAS-supported Paper 2 calculations including $P(X \leq k)$, $P(X \geq k)$ and modelling applications.
- Use the first and second derivative to analyse the behaviour of a function (intervals of increase and decrease, stationary points and their nature, concavity and inflection), and apply the derivative to solve optimisation and rates of change problems in context
A focused answer to the QCE Mathematical Methods Unit 3 dot point on the applications of differentiation. Sets out how to use the first and second derivative to classify stationary points, walks through the optimisation method (model, constrain, differentiate, classify, check), and the related rates approach that QCAA examiners reward in PSMTs and EA extended response.
- Apply the definite integral to find the area under a curve, the area between two curves, the average value of a function, and to solve kinematics problems involving displacement, velocity and acceleration
A focused answer to the QCE Mathematical Methods Unit 3 dot point on the applications of integration. Covers area under a curve, area between two curves (including curves that cross), the average value of a function, and the kinematics chain (integrate acceleration for velocity, integrate velocity for displacement), with worked Paper 2 and PSMT-style examples.