Discrete Random Variables
HSC Maths Advanced discrete random variables: the key points tested in the HSC Maths Advanced exam, explained step by step. A discrete random variable takes a countable set of values, each with its own probability. In this focus area you build and check probability distributions, calculate the expected value, variance and standard deviation, and use them to make decisions about games, insurance and other real situations. Expect HSC questions to give the distribution as a table or as a short experiment.
What you need to be able to do S
What you need to be able to do for the HSC Maths Advanced exam, in our own words, based on the NESA Stage 6 syllabus content.
- Recognise a discrete random variable and represent its probability distribution as a table, a formula or a graph, checking that every probability lies between 0 and 1 and that they sum to 1.
- Calculate the expected value E(X) of a discrete random variable and interpret it as the long-run mean of many repetitions.
- Calculate the variance and standard deviation of a discrete random variable, using Var(X) = E(X²) − [E(X)]², and interpret them as measures of spread.
- Apply the rules for linear changes, E(aX + b) = aE(X) + b and Var(aX + b) = a²Var(X), and use discrete distributions to model and evaluate real situations.
Probability distributions and expected value
A random variable X assigns a number to each outcome of a random experiment. X is discrete when its values can be listed, for example the number of heads in four tosses or the score on a spinner. A probability distribution lists every value x with its probability P(X = x).
For a valid distribution, two conditions must hold:
0 ≤ P(X = x) ≤ 1 for every x, and Σ P(X = x) = 1
The expected value (mean) of X is the probability-weighted average of its values:
μ = E(X) = Σ x · P(X = x)
E(X) need not be a value that X can actually take. It is the average result you would expect over a very large number of trials, which is why it is used to judge whether a game is fair (expected gain of zero) or how much an insurer should charge.
Worked example. The number of goals X scored by a junior team in a match has this distribution.
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 0.1 | 0.3 | k | 0.2 |
The probabilities add to 1, so 0.6 + k = 1 and k = 0.4. Then E(X) = 0(0.1) + 1(0.3) + 2(0.4) + 3(0.2) = 1.7 goals per match. Over a 20-match season the team would expect about 20 × 1.7 = 34 goals.
A distribution can also be estimated from an experiment: the relative frequency of each outcome, f/n, approximates its probability, and the approximation improves as the number of trials grows.
Variance, standard deviation and linear changes
The variance measures how far the values of X spread from the mean. It is the expected value of the squared deviation, and in practice the second form is quicker:
Var(X) = E[(X − μ)²] = E(X²) − μ², where E(X²) = Σ x² · P(X = x)
The standard deviation σ = √Var(X) is in the same units as X, so it is the measure you usually interpret.
Worked example (continued). For the goals distribution, E(X²) = 0(0.1) + 1(0.3) + 4(0.4) + 9(0.2) = 3.7. So Var(X) = 3.7 − 1.7² = 3.7 − 2.89 = 0.81 and σ = √0.81 = 0.9 goals.
If every value of X is multiplied by a and then increased by b, the new variable Y = aX + b has
E(aX + b) = aE(X) + b, Var(aX + b) = a²Var(X), SD(aX + b) = |a| SD(X)
Adding a constant shifts the centre but does not change the spread; multiplying stretches both. For example, if a player earns $5 per goal plus a $10 appearance fee, the earnings Y = 5X + 10 have E(Y) = 5(1.7) + 10 = $18.50 and SD(Y) = 5(0.9) = $4.50.
| Quantity | Formula | Effect of Y = aX + b |
|---|---|---|
| Mean | Σ x P(X = x) | aμ + b |
| Variance | E(X²) − μ² | a²σ² |
| Standard deviation | √Var(X) | |a|σ |
These results let you compare options: of two games with the same expected gain, the one with the larger standard deviation is riskier.
Set out a table with rows for x, P(X = x), x·P(X = x) and x²·P(X = x); markers can then follow your working and award method marks even after a slip. Remember that Var(X) is E(X²) minus the square of the mean, not E(X²) alone. When a question says “interpret” or “explain”, answer in the context, for example “in the long run the player loses $1 per game on average”.
Common mistakes in HSC Maths Advanced discrete random variables
- Forgetting to check that the probabilities sum to 1, or accepting a table that contains a negative probability.
- Using E(X²) as the variance, or calculating [E(X)]² as E(X²).
- Writing Var(aX + b) = aVar(X) + b instead of a²Var(X); a constant added to X does not change the spread.
- Calculating the expected payout but forgetting to subtract the cost of playing when asked for the expected gain.
- A discrete distribution needs 0 ≤ P(X = x) ≤ 1 and Σ P(X = x) = 1; E(X) = Σ x P(X = x) is the long-run average.
- Var(X) = E(X²) − [E(X)]² and σ = √Var(X); the standard deviation has the same units as X.
- E(aX + b) = aE(X) + b and Var(aX + b) = a²Var(X): shifting changes the mean only, scaling changes both.
Ready to practise?
A quick test and 2 question sets on HSC Maths Advanced discrete random variables in the style of HSC exam questions: 13 parts, 13 marks, with worked solutions.