How do we describe a discrete random variable and compute its expectation and variance?
Work with discrete random variables, their probability distributions, expectation, variance, and the expectation and variance of linear functions
A focused answer to the H2 Further Mathematics outcome on discrete random variables. Probability distributions, expectation and variance, the computational formula for variance, and the rules for the expectation and variance of a linear function aX + b.
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
SEAB wants you to describe a discrete random variable through its probability distribution, to compute its expectation (mean) and variance, to use the computational formula for variance, and to apply the rules for the expectation and variance of a linear function . These are the foundation of all the distribution work that follows.
The answer
The probability distribution
A discrete random variable takes a countable set of values, each with a probability . The probabilities must satisfy
The second condition (probabilities sum to ) is what fixes any unknown constant in the distribution.
Expectation
The expectation (mean) is the probability-weighted average of the values:
It is the long-run average value of over many repetitions, often denoted .
Variance
The variance measures spread about the mean. Its definition is , but the computational formula is almost always easier:
The standard deviation is .
Linear functions of X
For constants and ,
Expectation is fully linear, but variance scales by and is unaffected by the constant , because adding a constant shifts the distribution without changing its spread.
Examples in context
Example 1. Expected value of a game. A gambling or insurance payoff is a discrete random variable; its expectation is the long-run average gain or loss, the figure that decides whether a bet or premium is fair, and the variance measures the risk.
Example 2. Scaling units. Converting a discrete measurement from one unit to another by rescales the mean by and shifts it by , but the variance scales by , which is why standard deviation (not variance) shares the units of the data.
Try this
Q1. State the computational formula for the variance of a discrete random variable. [1 mark]
- Cue. .
Q2. If , find . [1 mark]
- Cue. .
Q3. If , find . [1 mark]
- Cue. (the has no effect).
Exam-style practice questions
Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Original6 marksA discrete random variable has for . Find , then and .Show worked answer →
Probabilities sum to : , so .
The distribution is : , , , .
.
.
.
Markers reward finding , the expectation , , and the variance via the computational formula.
Original5 marksA random variable has and . Find and .Show worked answer →
For a linear function, expectation is linear: . So
Variance scales by the square of the multiplier and ignores the constant: . So
Markers reward the linear expectation rule giving , and the variance rule (with having no effect) giving .
Related dot points
- Work with continuous random variables defined by a probability density function, finding probabilities, the cumulative distribution function, expectation, variance and median
A focused answer to the H2 Further Mathematics outcome on continuous random variables. The probability density function and its conditions, probabilities as areas, the cumulative distribution function, and the expectation, variance and median by integration.
- Recognise and apply the geometric and negative binomial distributions, including their probabilities, expectations and variances
A focused answer to the H2 Further Mathematics outcome on the geometric and negative binomial distributions. Their probability formulae, when each applies, the expectation and variance of each, and the link to the binomial distribution.
- Compute unbiased estimates of a population mean and variance and construct and interpret confidence intervals for a population mean
A focused answer to the H2 Further Mathematics outcome on estimation. Unbiased estimators of the population mean and variance, the sample variance with its n minus 1 divisor, and constructing and correctly interpreting confidence intervals for a mean.
- Carry out hypothesis tests and analyse Type I and Type II errors and the power of a test
A focused answer to the H2 Further Mathematics outcome on errors in hypothesis testing. Type I and Type II errors, the significance level as the Type I error probability, computing the probability of a Type II error, and the power of a test.