Expectation and variance of discrete random variablesEdexcel International A Level Maths: Revision notes
Section 1
The mean, E(X)
The expectation (mean) of a discrete random variable is the long-run average value, found by weighting each value by its probability: Example: , , , gives . need not be a possible value of . If takes values symmetrically about a centre, the mean is at the centre.
Averaging the values of without weighting by their probabilities.
Section 2
E(X²) and the variance
: square each value first, then weight by its probability. The variance measures spread: The standard deviation is . Variance cannot be negative. Example: with the distribution above, , so . A fully worked layout (a table of , , , ) keeps this tidy. If you are given and , rearrange to find .
Writing . These are equal only when the variance is zero.
A negative variance means an error. Recheck your working.
Section 3
Linear transformations: E(aX+b) and Var(aX+b)
For constants and :
- The mean is shifted and scaled in the same way as the values.
- The constant has no effect on the spread, because adding a constant moves every value by the same amount.
- The multiplier is squared in the variance. Example: , and : and . For a negative multiplier, e.g. : .
Using rather than for the variance, or letting affect the variance.
Section 4
Finding unknown probabilities
Often the distribution contains unknowns. Write one equation from and another from a given mean or variance, then solve the simultaneous equations. Example: , , , with . From : . From : , so . Solving gives , . Then and .
Check your constants by confirming the probabilities add to 1 and the mean agrees with the given value.
Section 5
Interpreting expectation in context
In a game with prize and an entry fee , the expected net gain is . The game is fair if . A positive expected gain favours the player; a negative one favours the organiser. Example: a die roll pays 8 pounds for a 6, 3 pounds for a 4 or 5, and nothing otherwise: . At a fee of 2 pounds the expected net gain is pounds, about 33p per game. Remember that is a long-run average: any single game gives only 0, 3 or 8.
Say 'on average' or 'in the long run' when interpreting an expectation.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Expectation and variance of discrete random variables
- The discrete random variable has probability distribution , , and .Find .2 marks
- The random variable has and . The random variable is defined by .Find .2 marks
- The discrete random variable takes the values 1, 2, 3 and 4 with , , and , where and are constants. It is given that .Find the values of and .3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).