Skip to main content
EnglandFurther MathsSyllabus dot point

How do you describe a discrete random variable and compute its expectation and variance?

Discrete random variables and probability distributions, expectation and variance, the effect of linear coding, and expectation and variance of functions of a discrete variable.

A focused answer to the Edexcel A-Level Further Mathematics Further Statistics content on discrete probability distributions, covering discrete random variables and their distributions, expectation and variance, the effect of linear coding, and the expectation and variance of functions of a discrete random variable.

Generated by Claude Opus 4.812 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Distributions, expectation and variance
  3. Functions of a discrete variable
  4. Linear coding
  5. Examples in context
  6. Try this

What this dot point is asking

Edexcel Further Statistics wants you to define a discrete random variable through its probability distribution, compute expectation E(X)E(X) and variance Var(X)\operatorname{Var}(X), find the expectation and variance of a function of XX, and use the effect of linear coding E(aX+b)E(aX + b) and Var(aX+b)\operatorname{Var}(aX + b). These are the foundational tools that the named distributions (Poisson, geometric, negative binomial) all build on.

Distributions, expectation and variance

A probability distribution lists each value the variable can take alongside its probability, and these probabilities must sum to 11. The expectation (mean) is the probability-weighted average of the values; the variance measures the spread about that mean, computed most efficiently as E(X2)[E(X)]2E(X^2) - [E(X)]^2 rather than from the deviations directly.

Functions of a discrete variable

For a function g(X)g(X), the expectation is E(g(X))=g(x)P(X=x)E(g(X)) = \sum g(x) P(X = x), summing the function values weighted by the same probabilities. This is how E(X2)E(X^2) is computed, and it extends to any function, but note that in general E(g(X))g(E(X))E(g(X)) \neq g(E(X)) unless gg is linear.

Linear coding

Scaling and shifting a variable changes its mean and variance in fixed, predictable ways, which is the basis of coding to simplify calculations. Adding a constant slides the whole distribution along the number line, moving the mean but leaving the spread unchanged. Multiplying by a constant stretches the distribution, scaling the standard deviation by the multiplier and hence the variance by its square.

Examples in context

These definitions are the engine room of Further Statistics. The named distributions all have their means and variances derived by these sums: the Poisson has E(X)=Var(X)=λE(X) = \operatorname{Var}(X) = \lambda, the binomial E(X)=npE(X) = np and Var(X)=np(1p)\operatorname{Var}(X) = np(1 - p), and the geometric E(X)=1pE(X) = \frac{1}{p}. Linear coding is used to standardise data and to relate raw scores to coded ones in calculations. The summation techniques mirror the series work in further algebra, where r\sum r and r2\sum r^2 appear, and the expectation of a function underlies the moment calculations used in fitting distributions for chi-squared tests.

Try this

Q1. XX has E(X)=4E(X) = 4 and Var(X)=3\operatorname{Var}(X) = 3. Find Var(2X+5)\operatorname{Var}(2X + 5). [2 marks]

  • Cue. Var(2X+5)=22×3=12\operatorname{Var}(2X + 5) = 2^2 \times 3 = 12.

Q2. For the same XX, find E(2X+5)E(2X + 5). [1 mark]

  • Cue. E(2X+5)=2(4)+5=13E(2X + 5) = 2(4) + 5 = 13.

Q3. A variable has E(X)=2E(X) = 2 and E(X2)=7E(X^2) = 7. Find its variance. [2 marks]

  • Cue. Var(X)=722=3\operatorname{Var}(X) = 7 - 2^2 = 3.

Exam-style practice questions

Practice questions written in the style of Pearson Edexcel exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Edexcel 20187 marksThe discrete random variable XX has probability distribution P(X=x)=kxP(X = x) = kx for x=1,2,3,4x = 1, 2, 3, 4. Find the value of kk, then find E(X)E(X) and Var(X)\operatorname{Var}(X).
Show worked answer →

Use the total-probability condition to find kk, then the standard expectation and variance sums.

P(X=x)=k(1+2+3+4)=10k=1\sum P(X = x) = k(1 + 2 + 3 + 4) = 10k = 1, so k=110k = \frac{1}{10} (M1 A1).

E(X)=xP(X=x)=110(12+22+32+42)=1+4+9+1610=3E(X) = \sum x P(X = x) = \frac{1}{10}(1^2 + 2^2 + 3^2 + 4^2) = \frac{1 + 4 + 9 + 16}{10} = 3 (M1 A1).

E(X2)=x2P(X=x)=110(1+8+27+64)=10010=10E(X^2) = \sum x^2 P(X = x) = \frac{1}{10}(1 + 8 + 27 + 64) = \frac{100}{10} = 10 (M1).

Var(X)=E(X2)[E(X)]2=109=1\operatorname{Var}(X) = E(X^2) - [E(X)]^2 = 10 - 9 = 1 (A1, plus A1 for fully correct working).

Edexcel 20215 marksThe random variable XX has E(X)=5E(X) = 5 and Var(X)=4\operatorname{Var}(X) = 4. Find E(3X2)E(3X - 2) and Var(3X2)\operatorname{Var}(3X - 2), and find E(X2)E(X^2).
Show worked answer →

Apply the linear-coding rules, then rearrange the variance definition for E(X2)E(X^2).

E(3X2)=3E(X)2=3(5)2=13E(3X - 2) = 3E(X) - 2 = 3(5) - 2 = 13 (M1 A1).

Var(3X2)=32Var(X)=9(4)=36\operatorname{Var}(3X - 2) = 3^2\operatorname{Var}(X) = 9(4) = 36 (the constant 2-2 has no effect on variance) (M1 A1).

From Var(X)=E(X2)[E(X)]2\operatorname{Var}(X) = E(X^2) - [E(X)]^2: 4=E(X2)254 = E(X^2) - 25, so E(X2)=29E(X^2) = 29 (A1).

Related dot points

Sources & how we know this