SA: Discrete random variables (DRVs) and expectation — AQA AS-Level Further Mathematics
SA: Discrete random variables (DRVs) and expectation explained
SA: Discrete random variables (DRVs) and expectation covers 9 specification points, including Understand DRVs with distributions given in… and Evaluate probabilities for a DRV..
Read the full explanation
Open a point below for its explanation and revision guidance.
Understand DRVs with distributions given in the form of a table or function.
A discrete random variable X takes a countable set of values, each with a probability. The specification requires you to read a distribution presented either as a table or as a function. In table form, each value x appears with its probability P(X = x), for example x = 1, 2, 3 with probabilities 0.2, 0.5, 0.3. In function form, a rule gives the probability for each value, such as P(X = x) = kx for x = 1, 2, 3, where k is chosen so the probabilities total 1. Recognise that the probabilities must be non-negative and sum to 1, that each value maps to exactly one probability, and that the function's domain lists the permitted values. Distinguish a probability function from a cumulative one by checking whether it gives P(X = x) or P(X ≤ x).
Evaluate probabilities for a DRV.
Evaluating probabilities for a discrete random variable means calculating the chance of an event defined by conditions on X. From a table or function you find P(X = a) directly, and for compound events you add the probabilities of the individual values that satisfy the condition, because the values are mutually exclusive. For example, with P(X = x) = kx on x = 1, 2, 3, once k is fixed you find P(X ≥ 2) by adding P(X = 2) and P(X = 3). Use complements where quicker, such as P(X > 1) = 1 − P(X = 1). Watch whether the inequality is strict or inclusive, and list exactly the values that satisfy it before summing. Treat the result as a probability that must lie between 0 and 1 inclusive.
Evaluate measures of average and spread for a DRV to include mean, variance, standard deviation, mode and median.
A discrete random variable X takes each value x with a probability from its distribution table. The mean is E(X) = Σ x·P(X = x). The variance is Var(X) = E(X²) − [E(X)]², where E(X²) = Σ x²·P(X = x); the standard deviation is the positive square root of the variance. For example, if X takes 1, 2, 3 with probabilities 0.2, 0.5, 0.3, then E(X) = 0.2 + 1.0 + 0.9 = 2.1, E(X²) = 0.2 + 2.0 + 2.7 = 4.9, so Var(X) = 4.9 − 4.41 = 0.49 and the standard deviation is 0.7. The mode is the value with the largest probability; the median is the smallest value m with P(X ≤ m) ≥ 0.5. Evaluating means comparing these measures and choosing the one suited to the question.
Understand expectation and know the formulae: E X = ∑ xi pi ; E X 2 = ∑ xi 2 pi ; Var X = E X 2 − E X 2
For a discrete random variable X taking values xᵢ with probabilities pᵢ, the expectation E(X) = ∑ xᵢpᵢ is the probability-weighted mean. The expectation of X² is E(X²) = ∑ xᵢ²pᵢ, found by squaring each value before weighting. The variance is Var(X) = E(X²) − [E(X)]², the mean of the squares minus the square of the mean. Example: if X takes 1, 2, 3 with probabilities 0.2, 0.5, 0.3, then E(X) = 0.2 + 1.0 + 0.9 = 2.1 and E(X²) = 0.2 + 2.0 + 2.7 = 4.9, so Var(X) = 4.9 − 2.1² = 4.9 − 4.41 = 0.49. Always square the value xᵢ before weighting, and square the whole E(X) in the variance formula.
Understand expectation of linear functions of DRVs and know the formulae: E aX + b = aE X + b and Var aX + b = a2Var X
A linear function of a discrete random variable X takes the form aX + b, where a and b are constants. Adding b shifts every value of X by b, so it shifts the mean by b: E(aX + b) = aE(X) + b. Multiplying by a scales each value, so the mean scales by a and the added constant b does not affect the spread. Variance measures spread about the mean, so shifting by b leaves it unchanged while scaling by a multiplies every deviation by a and hence the variance by a²: Var(aX + b) = a²Var(X). For example, if E(X) = 5 and Var(X) = 4, then E(3X + 2) = 3(5) + 2 = 17 and Var(3X + 2) = 3² × 4 = 36. Note that a negative a still gives a positive a², so variance stays non-negative.
Understand expectation and know the formulae: E(X) = ∑ xᵢ pᵢ ; E(X²) = ∑ xᵢ² pᵢ ; Var(X) = E(X²) − (E(X))²
For a discrete random variable X with values xᵢ and probabilities pᵢ summing to 1, the expectation E(X) = ∑ xᵢpᵢ is the probability-weighted mean of the values. To find E(X²) = ∑ xᵢ²pᵢ, square each value first and then weight it by its probability; this is not the same as squaring E(X). The variance follows from Var(X) = E(X²) − (E(X))², giving a measure of spread about the mean. For example, if X takes value 1 with probability 0.4 and value 3 with probability 0.6, then E(X) = 1(0.4) + 3(0.6) = 2.2, E(X²) = 1²(0.4) + 3²(0.6) = 5.8, and Var(X) = 5.8 − 2.2² = 5.8 − 4.84 = 0.96. Check that probabilities sum to 1 before computing.
Understand expectation of linear functions of DRVs and know the formulae: E(aX + b) = aE(X) + b and Var(aX + b) = a^2 Var(X)
For a discrete random variable X with distribution table or given E(X) and Var(X), you can form a new variable Y = aX + b, where a and b are constants. The expectation shifts and scales linearly: E(aX + b) = aE(X) + b, so doubling each value and adding 5 doubles the mean and adds 5. Variance behaves differently because adding b shifts every value by the same amount and changes no spread, while multiplying by a stretches every deviation by |a|, so the variance scales by a²: Var(aX + b) = a²Var(X). Squaring matters: multiplying by 3 multiplies variance by 9, not 3. Apply the formulae to computed values, and remember that a² is always non-negative, so variance stays non-negative.
Know the discrete uniform distribution defined on the set {1, 2, …, n}. Understand when this distribution can be used as a model.
The discrete uniform distribution on the set 1, 2, …, n assigns probability 1/n to each of the n values, so P(X = k) = 1/n for k = 1, 2, …, n. Its mean is E(X) = (n + 1)/2 and its variance is Var(X) = (n² − 1)/12. For example, with n = 6 each outcome 1 to 6 has probability 1/6, giving mean 3.5 and variance 35/12. The distribution models a situation where a finite set of equally likely outcomes is labelled 1 to n, such as a fair die or a random whole number chosen from 1 to n. It is not appropriate when outcomes are not equally likely, when values are not consecutive integers starting at 1, or when the number of outcomes is unbounded.
Proof of mean and variance of discrete uniform distribution.
A discrete uniform distribution on n consecutive integer values gives each value probability 1/n. The proof of the mean uses E(X)=ΣxP(X=x): writing the values as a, a+1, …, a+n−1 and summing gives the average of the first and last values, a+(n−1)/2. The proof of the variance uses Var(X)=E(X²)−[E(X)]²; summing the squares of the consecutive values and subtracting the squared mean simplifies to (n²−1)/12. Recognise that the variance depends only on the number of values n, not on the starting value a, because shifting every value by the same amount leaves the spread unchanged. A typical exam item asks you to select the correct mean, variance or intermediate summation identity, so be ready to compute the sum of the first n integers as n(n+1)/2 and the sum of squares as n(n+1)(2n+1)/6.
Your focus
- Read the possible values and their probabilities from a table or a function.
- Use the condition that probabilities sum to 1 to determine an unknown constant.
- Identify whether a given rule is a point probability function or a cumulative function.
Show all 27 objectives
- Identify the values of X that satisfy a given condition.
- Calculate probabilities of compound events by summing qualifying point probabilities.
- Apply the complement rule to simplify a probability calculation.
- Calculate the mean of a discrete random variable from its probability distribution
- Calculate the variance and standard deviation using E(X²) − [E(X)]²
- Determine the mode and median of a discrete random variable and compare the measures
- Calculate E(X) using E(X) = ∑ xᵢpᵢ for a discrete random variable.
- Calculate E(X²) using E(X²) = ∑ xᵢ²pᵢ.
- Apply Var(X) = E(X²) − [E(X)]² to find the variance.
- Apply E(aX + b) = aE(X) + b to find the mean of a linear function.
- Apply Var(aX + b) = a²Var(X) to find the variance of a linear function.
- Explain why the additive constant does not affect the variance.
- Calculate E(X) using the sum of value-times-probability products.
- Calculate E(X²) by weighting squared values by their probabilities.
- Use Var(X) = E(X²) − (E(X))² to find the variance of a discrete random variable.
- Apply E(aX + b) = aE(X) + b to a discrete random variable.
- Apply Var(aX + b) = a²Var(X) to a discrete random variable.
- Explain why an additive constant changes the mean but not the variance.
- Define the discrete uniform distribution on 1 to n with probability 1/n for each value
- Apply the mean and variance formulas for the discrete uniform distribution
- Justify when the discrete uniform distribution is a suitable model
- Derive the mean of a discrete uniform distribution using ΣxP(X=x)
- Derive the variance of a discrete uniform distribution using E(X²)−[E(X)]²
- Select the correct simplified expressions for mean and variance in a multiple-choice item
SA: Discrete random variables (DRVs) and expectation exam tips
Marking Points
- Identifies the set of possible values of the discrete random variable from the table or from the stated domain of the function.
- States that the probabilities must sum to 1 and uses this to find an unknown constant in a function.
- Checks that each listed probability lies between 0 and 1 inclusive.
- Distinguishes a probability function giving P(X = x) from a cumulative function giving P(X ≤ x).
- Lists the exact set of values of X that satisfy the stated condition, respecting strict or inclusive inequalities.
- Adds the individual point probabilities of the qualifying values to obtain the required probability.
- Uses the complement rule where appropriate, subtracting from 1 to find the probability of the opposite event.
- States the final probability as a value between 0 and 1 inclusive.
- Computes E(X) as the sum of each value multiplied by its probability
- Computes E(X²) using squared values and probabilities before subtracting the square of E(X)
- Takes the standard deviation as the positive square root of the variance
- Identifies the mode as the value carrying the largest probability
- Finds the median as the smallest value whose cumulative probability reaches at least 0.5
- Computes the expectation as the sum of each value multiplied by its probability, E(X) = ∑ xᵢpᵢ.
- Computes E(X²) by squaring each value before multiplying by its probability, E(X²) = ∑ xᵢ²pᵢ.
- Applies Var(X) = E(X²) − [E(X)]², subtracting the square of the mean from E(X²).
- Squares the whole expectation E(X) rather than individual values when forming the variance.
- Keeps probabilities summing to one and uses each value with its matching probability.
- Applies the formula E(aX + b) = aE(X) + b by multiplying the mean by a and then adding b.
- Applies the formula Var(aX + b) = a²Var(X) by squaring a and multiplying by the variance, ignoring b.
- Recognises that the additive constant b shifts the mean but leaves the variance unchanged.
- Squares the multiplier a when finding the variance, so a negative a produces a positive variance.
- Computes E(X) = ∑ xᵢpᵢ by multiplying each value by its probability and summing the products.
- Computes E(X²) = ∑ xᵢ²pᵢ by squaring each value before weighting it by its probability.
- Applies Var(X) = E(X²) − (E(X))², subtracting the square of the mean from E(X²).
- Confirms that the probabilities sum to 1 before using them in the expectation formulae.
- Applies E(aX + b) = aE(X) + b by multiplying the original mean by a and then adding b.
- Applies Var(aX + b) = a²Var(X) by squaring a and ignoring the additive constant b.
- Recognises that the constant b shifts every value equally and therefore leaves the variance unchanged.
- Squares the multiplier a when scaling variance, so a factor of 3 becomes a factor of 9.
- Keeps variance non-negative by using a², which is non-negative for any real a.
- States that each of the n values has equal probability 1/n
- Uses the mean formula (n + 1)/2 for the discrete uniform distribution
- Uses the variance formula (n² − 1)/12 where required
- Explains that the model applies only when outcomes are equally likely and labelled 1 to n
- Rejects the model when probabilities are unequal or the range is not 1 to n
- Selects the correct mean a+(n−1)/2 for a discrete uniform distribution on n consecutive values starting at a
- Selects the correct variance (n²−1)/12 for a discrete uniform distribution on n consecutive values
- Uses the identity Σr=n(n+1)/2 when summing the values in the mean proof
- Uses the identity Σr²=n(n+1)(2n+1)/6 when summing squares in the variance proof
- Applies Var(X)=E(X²)−[E(X)]² correctly rather than assuming variance equals the mean
Examiner Tips
- 💡Write out the value-probability pairs from a table before answering so no entry is missed.
- 💡When a constant k appears in a function, set the sum of all probabilities equal to 1 and solve for k.
- 💡Check every probability is between 0 and 1 as a quick sanity check on your reading of the distribution.
- 💡Rewrite the condition as an explicit list of values of X before summing any probabilities.
- 💡Check whether the inequality is strict or inclusive, since this changes which boundary value counts.
- 💡Use 1 minus the probability of the opposite event when that involves fewer terms.
- 💡Lay out a working table with columns for x, P(X = x), x·P(X = x) and x²·P(X = x) to avoid arithmetic slips
- 💡Check that the probabilities sum to 1 before computing any measure
- 💡Quote the standard deviation to a sensible number of significant figures and keep the variance exact where possible
- 💡Lay out a table of xᵢ, pᵢ, xᵢpᵢ and xᵢ²pᵢ, then sum the last two columns.
- 💡Check the probabilities sum to 1 before calculating expectation.
- 💡Write E(X)² clearly as the square of the whole mean to avoid squaring individual values.
- 💡Write out E(X) and Var(X) first, then substitute into each formula separately to avoid mixing the operations.
- 💡Check that your variance answer is non-negative; a negative result signals a slip with the square.
- 💡Remember the constant b affects only the mean, so use it in E(aX + b) but never in Var(aX + b).
- 💡Lay out a table of xᵢ, pᵢ, xᵢpᵢ and xᵢ²pᵢ so each sum is easy to check.
- 💡Compute E(X) and E(X²) separately, then substitute into the variance formula to avoid arithmetic slips.
- 💡Check that your variance is non-negative; a negative value signals an error in the subtraction.
- 💡Write the two formulae down before substituting so the roles of a and b stay clear.
- 💡Check reasonableness: adding a constant should not change spread, so variance must stay the same.
- 💡When a is negative, square it before multiplying the variance and keep the mean sign correct.
- 💡Substitute given E(X) and Var(X) directly rather than rebuilding the whole distribution unless asked.
- 💡Identify n clearly, the number of equally likely outcomes, before substituting into formulas
- 💡Check the modelling assumptions of equal likelihood and consecutive labels from 1 to n
- 💡Keep exact fractions for the variance and round only at the final stage
- 💡Write out the two summation identities before substituting so you do not mix them up
- 💡Check the variance formula gives zero when n=1, as a single value has no spread
- 💡Confirm the mean lies midway between the smallest and largest values as a quick sanity check
Common Mistakes
- Treats the function's formula as applying to every integer; restrict the domain to the values the distribution actually permits.
- Adds probabilities without checking they total 1; verify the sum equals 1 before using the distribution.
- Confuses P(X = x) with P(X ≤ x); read whether the rule is a point probability or a cumulative one.
- Includes a boundary value when the inequality is strict; list only values that genuinely satisfy the condition.
- Multiplies probabilities of separate values instead of adding them; use addition because the values are mutually exclusive.
- Omits a qualifying value from the sum; write out the full set of values before adding.
- Squares the mean after subtracting instead of subtracting the square of the mean; compute E(X²) first, then subtract [E(X)]²
- Reports the variance as the standard deviation; take the positive square root to obtain the standard deviation
- Picks the middle listed value as the median; accumulate probabilities and choose the smallest value reaching 0.5
- Chooses the mode as the largest numerical value; select the value with the highest probability
- Squares the expectation of X incorrectly by squaring each xᵢ term separately; square the single value E(X) as a whole.
- Computes E(X²) by squaring E(X); instead square each value xᵢ before weighting and summing.
- Pairs a value with the wrong probability; match each xᵢ to its own pᵢ before summing.
- Adds b to the variance as well as the mean; keep b out of the variance because a shift does not change spread.
- Multiplies the variance by a rather than a²; square the multiplier since variance is measured in squared units.
- Treats a negative multiplier as giving a negative variance; square a so the variance remains non-negative.
- Squares the mean E(X) instead of weighting squared values when finding E(X²); square each value xᵢ first, then multiply by pᵢ.
- Subtracts E(X) rather than (E(X))² in the variance formula; square the mean before subtracting.
- Omits checking that probabilities sum to 1; confirm the total is 1 before computing the expectation.
- Adds b to the variance as well as to the mean; correct this by leaving variance unchanged when only a constant is added.
- Multiplies the variance by a rather than by a²; correct this by squaring the multiplier first.
- Subtracts b when the formula requires adding b to aE(X); correct this by following E(aX + b) = aE(X) + b exactly.
- Treats a negative multiplier as producing negative variance; correct this by using a², which is positive.
- Assigns unequal probabilities to the values; give each of the n values probability 1/n
- Uses the continuous uniform mean or variance; apply the discrete formulas (n + 1)/2 and (n² − 1)/12
- Applies the model to non-consecutive or non-unit-spaced values; restrict it to the set 1 to n
- Ignores that outcomes must be equally likely; check equal likelihood before modelling
- Confuses the variance with the mean; keep the two results separate and check that the variance depends only on n
- Uses the sum of the first n integers where the sum of squares is required; match each summation to its identity
- Treats the starting value a as changing the variance; recognise that a shift leaves the spread unchanged