All revision notes topics

Mean and variance of discrete distributionsEdexcel A-Level Further Maths: Revision notes

Section 1

The mean of a discrete random variable

A discrete random variable XX takes separate values xx with probabilities P(X=x)P(X=x) that sum to 1. The expected value or mean is E(X)=μ=∑xP(X=x).E(X)=\mu=\sum xP(X=x). It is the long-run average of many observations, not necessarily a value XX can take. Example: P(X=1)=0.5P(X=1)=0.5, P(X=2)=0.3P(X=2)=0.3, P(X=3)=0.2P(X=3)=0.2 gives E(X)=0.5+0.6+0.6=1.7E(X)=0.5+0.6+0.6=1.7. Always weight each value by its probability; the plain average of the values (22 here) is wrong unless all probabilities are equal.

Key termsexpected valuediscrete random variable
Common mistake

Dividing ∑xP(X=x)\sum xP(X=x) by the number of values. The probabilities already do the averaging.

Section 2

The variance

The variance measures spread: Var(X)=σ2=E(X2)−μ2=∑x2P(X=x)−μ2.\text{Var}(X)=\sigma^2=E(X^2)-\mu^2=\sum x^2P(X=x)-\mu^2. Find E(X2)E(X^2) by squaring each value before weighting. Continuing the example: E(X2)=0.5+1.2+1.8=3.5E(X^2)=0.5+1.2+1.8=3.5, so Var(X)=3.5−1.72=0.61\text{Var}(X)=3.5-1.7^2=0.61. The standard deviation is σ=0.61=0.781\sigma=\sqrt{0.61}=0.781. A variance cannot be negative; if you get a negative answer, you have made an arithmetic error or forgotten to square.

Key termsvariancestandard deviation
Common mistake

Stopping at E(X2)E(X^2) and quoting it as the variance. You must subtract μ2\mu^2.

Section 3

The expected value of a function of X

For any function gg, E(g(X))=∑g(x)P(X=x).E(g(X))=\sum g(x)P(X=x). Apply gg to each value, then weight by the probability. For g(x)=x2g(x)=x^2 this is E(X2)E(X^2). In the example, E(2X2−1)=2(3.5)−1=6E(2X^2-1)=2(3.5)-1=6. In general E(g(X))≠g(E(X))E(g(X))\neq g(E(X)): for instance E(X2)=3.5E(X^2)=3.5 but [E(X)]2=2.89[E(X)]^2=2.89, and the difference is exactly the variance. The special case g(x)=ax+bg(x)=ax+b gives E(aX+b)=aE(X)+bE(aX+b)=aE(X)+b. Costs, profits and penalties are often functions of a random variable, so E(g(X))E(g(X)) gives the expected cost or profit.

Key termsE(g(X))
Common mistake

Substituting E(X)E(X) into gg. E(1/X)E(1/X) is not 1/E(X)1/E(X); work out ∑1xP(X=x)\sum\frac1xP(X=x).

Section 4

Finding unknown constants

Probabilities are often given by a formula with an unknown constant. Use ∑P(X=x)=1\sum P(X=x)=1 to find it. Example: P(X=x)=kx2P(X=x)=kx^2 for x=1,2,3x=1,2,3. Then k(1+4+9)=1k(1+4+9)=1, so k=114k=\frac1{14}. E(X)=13+23+3314=3614=187E(X)=\frac{1^3+2^3+3^3}{14}=\frac{36}{14}=\frac{18}{7} and E(X2)=1+16+8114=7E(X^2)=\frac{1+16+81}{14}=7. Then Var(X)=7−(187)2=1949\text{Var}(X)=7-\left(\frac{18}{7}\right)^2=\frac{19}{49}. Check every probability lies between 00 and 11 once kk is found.

Exam tip

Keep fractions exact until the end; rounding kk early causes errors in E(X)E(X) and Var(X)\text{Var}(X).

Section 5

Expected profit and fair games

A game's profit is a function of the outcome, so E(profit)E(\text{profit}) is found by weighting each profit by its probability. A game is fair if the expected profit is zero. Example: a game costs £3 and pays £20 with probability 0.050.05, £6 with probability 0.20.2 and nothing otherwise. The profit is 1717, 33 or −3-3, so E=0.85+0.6−2.25=−0.8E=0.85+0.6-2.25=-0.8: the player loses 80p per game on average. Interpret answers in context, with units. The variance tells you how much results vary around the average, which matters when the expected value is small.

Key termsfair game
Exam tip

Define the profit variable first: payout minus cost. Do not use the payout as the value of XX.

Section 6

Assessing the suitability of a model

A model for a real situation should reproduce the observed mean and variance. To assess it, calculate E(X)E(X) and Var(X)\text{Var}(X) for the model and compare with the sample mean and variance (or standard deviation) from data. If they are close, the model may be suitable. If the model's variance is much smaller than the data's, it underestimates spread and so underestimates the chance of extreme values; costs calculated with E(g(X))E(g(X)) from such a model are too low. Also check whether the model allows every value seen in the data (a model with a maximum of 3 cannot describe a sample containing 5). Always state a conclusion about suitability and say why.

Common mistake

Comparing only the means. A model can match the mean and still be unsuitable if the spread is wrong.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Mean and variance of discrete distributions

  1. The discrete random variable XX has P(X=1)=0.1P(X=1)=0.1, P(X=2)=0.3P(X=2)=0.3, P(X=3)=0.4P(X=3)=0.4 and P(X=4)=0.2P(X=4)=0.2.
    Find E(1X)E\left(\frac1X\right).2 marks
  2. The discrete random variable YY has probability function P(Y=y)=kyP(Y=y)=ky for y=1,2,3,4,5y=1,2,3,4,5, where kk is a constant.
    Find Var(Y)\text{Var}(Y).2 marks
  3. A fairground game costs £3 to play. A player is paid £20 with probability 0.050.05, £6 with probability 0.20.2 and nothing otherwise. Let XX be the player's profit in pounds, where profit is the payout minus the £3 cost.
    Find E(X)E(X) and interpret your answer in context.3 marks
See the full worksheet

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).