How do you describe a discrete random variable, and how do you find its expectation and variance?
Probability distributions of discrete random variables, the expectation and variance, the effect of linear coding, and expectation and variance of functions of a random variable.
A focused answer to the AQA A-Level Further Mathematics discrete random variables content, covering probability distributions, the expectation and variance, the effect of linear coding, and the expectation and variance of functions of a random variable.
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
AQA wants you to work with the probability distribution of a discrete random variable, compute its expectation (mean) and variance, apply linear coding to find the mean and variance of , and find the expectation and variance of a function of the variable such as .
Probability distributions
A discrete random variable takes a finite or countable set of values, each with an assigned probability. Two conditions define a valid distribution: every probability is non-negative, and the probabilities sum to exactly . The summing condition is the lever for almost every opening part of an exam question, because it lets you solve for an unknown constant in a probability formula or fill in a missing entry in a table. Once the distribution is fully known, every other quantity (expectation, variance, the probability of an event) follows by summation over the values.
Expectation and variance
The expectation is the long-run average value, a weighted mean of the outcomes with the probabilities as weights. The variance measures how spread out the values are about that mean. The formula is almost always preferred over the defining form because it needs only the two sums and , which are quick to tabulate. A common rearrangement, , lets you recover when the mean and variance are given.
Linear coding and functions of a variable
Linear coding turns an awkward set of values into convenient ones, then transforms the answers back. The key insight in the variance rule is that adding a constant slides the whole distribution along without changing how spread out it is, so drops out, while multiplying by stretches the spread by a factor of , which squares to in the variance. For a more general function the expectation is found directly as , summing the transformed values against the original probabilities. A frequent special case is , whose expectation is exactly the used in the variance formula.
A subtle point that examiners probe is that the expectation of a non-linear function is not the function of the expectation. In general , and the variance formula is the clearest example: is almost never equal to , and their difference is precisely the variance, which is positive for any genuinely random variable. The linear rules are special because a straight line is the one shape of function for which working through the expectation gives the same answer either way, which is why holds exactly. For any curved function you must average the transformed values, not transform the average.
Putting the steps together
A typical exam question chains these ideas in a fixed order, and recognising the chain saves time. First use the total-probability condition to find any unknown constant or missing probability. Next tabulate the products and sum them for . Then tabulate and sum them for , from which the variance follows as . Finally apply any coding or function in the last part, using the rules and , or the direct sum for a non-linear function. Laying the work out as a table with a row for each value and columns for , , and keeps the arithmetic organised and makes slips easy to spot.
Exam-style practice questions
Practice questions written in the style of AQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AQA 20197 marksA discrete random variable has the probability distribution for , where is a constant. Find the value of , then calculate and .Show worked answer →
The probabilities must sum to . So , giving and .
The distribution is therefore , , , .
Expectation: .
For the variance, first find .
Then .
Markers reward using the total probability to find , the expectation, , and the variance formula.
AQA 20215 marksA discrete random variable has and . The variable is defined by . Find and , and calculate .Show worked answer →
Use the linear coding rules. For , and .
Here , . So .
. Note the additive constant does not affect the variance, because variance measures spread, not location.
For , rearrange the variance formula : .
Markers reward both coding results, noting that leaves variance unchanged, and rearranging the variance formula to get .
Related dot points
- The Poisson distribution as a model for random events, its mean and variance, calculating probabilities, the sum of independent Poisson variables, and the Poisson approximation to the binomial.
A focused answer to the AQA A-Level Further Mathematics Poisson distribution content, covering the Poisson distribution as a model for random events, its mean and variance, calculating probabilities, the sum of independent Poisson variables, and the Poisson approximation to the binomial.
- Hypothesis tests for the mean of a Poisson distribution, tests for a population mean using the normal distribution, one-tailed and two-tailed tests, and the meaning of Type I and Type II errors.
A focused answer to the AQA A-Level Further Mathematics hypothesis testing content, covering tests for the mean of a Poisson distribution, tests for a population mean using the normal distribution, one-tailed and two-tailed tests, and the meaning of Type I and Type II errors.
- The chi-squared statistic, goodness of fit tests for given distributions, contingency tables and tests for independence, degrees of freedom, and Yates' correction for a two by two table.
A focused answer to the AQA A-Level Further Mathematics chi-squared tests content, covering the chi-squared statistic, goodness of fit tests for given distributions, contingency tables and tests for independence, degrees of freedom, and Yates' correction for a two by two table.
- Confidence intervals for a population mean with known variance, the meaning of a confidence level, the effect of sample size and confidence level on width, and using the t distribution when the variance is unknown.
A focused answer to the AQA A-Level Further Mathematics confidence intervals content, covering confidence intervals for a population mean with known variance, the meaning of a confidence level, the effect of sample size and confidence level on width, and the use of the t distribution when the variance is unknown.
Sources & how we know this
- AQA A-level Further Mathematics (7367) specification — AQA (2017)