All revision notes topics

Discrete uniform distributionAQA A-Level Further Maths: Revision notes

Section 1

The discrete uniform distribution

A DRV XX has a discrete uniform distribution on {1,2,…,n}\{1,2,\ldots,n\} if each of the nn values is equally likely: P(X=x)=1n,x=1,2,…,n.P(X=x)=\frac1n,\qquad x=1,2,\ldots,n. Example: a fair eight-sided die gives P(X=x)=18P(X=x)=\frac18 for x=1,…,8x=1,\ldots,8. Probabilities are found by counting: P(X>5)=38P(X>5)=\frac{3}{8}, and for a set of kk values P=knP=\frac kn.

Key termsdiscrete uniform distribution
Exam tip

Count the favourable integers carefully: P(X>5)P(X>5) for n=8n=8 is 6,7,86,7,8, so three values.

Section 2

When can it be used as a model?

Use the discrete uniform model when:

  • the outcomes form a finite set of consecutive integers 11 to nn (or can be numbered that way);
  • every outcome is equally likely, e.g. a fair die, a spinner with equal sectors, a ticket drawn at random from a numbered set. It is not suitable when outcomes are not equally likely (a biased die), when values are sums of random events (the total of two dice is more likely to be 77 than 22), or when the variable is a count with a different structure (number of heads in several tosses). In an answer, state the assumption in context: for example, 'each ticket is equally likely to be selected'.
Key termsequally likelymodel
Common mistake

Using the uniform model for the total of two dice. The totals are not equally likely.

Section 3

Mean and variance

For XX uniform on {1,2,…,n}\{1,2,\ldots,n\}: E(X)=n+12,Var(X)=n2−112.E(X)=\frac{n+1}{2},\qquad \mathrm{Var}(X)=\frac{n^2-1}{12}. Example: a fair six-sided die has E(X)=3.5E(X)=3.5 and Var(X)=3512=2.92\mathrm{Var}(X)=\frac{35}{12}=2.92. For n=20n=20, E(X)=10.5E(X)=10.5 and Var(X)=39912=33.25\mathrm{Var}(X)=\frac{399}{12}=33.25. The mean is the middle of the range and need not be a possible value. You can solve for nn from a given mean or variance: E(X)=10.5E(X)=10.5 gives n=20n=20; Var(X)=2\mathrm{Var}(X)=2 gives n2=25n^2=25 so n=5n=5.

Key termsmean of uniformvariance of uniform
Common mistake

Writing n2\frac n2 for the mean or n212\frac{n^2}{12} for the variance.

Section 4

Proof of the mean

Start from the definition with P(X=x)=1nP(X=x)=\frac1n: E(X)=∑x=1nx⋅1n=1n∑x=1nx=1n⋅n(n+1)2=n+12.E(X)=\sum_{x=1}^{n}x\cdot\frac1n=\frac1n\sum_{x=1}^{n}x=\frac1n\cdot\frac{n(n+1)}{2}=\frac{n+1}{2}. The key fact is the sum of the first nn integers, ∑x=n(n+1)2\sum x=\frac{n(n+1)}{2}.

Key termssum of integers
Exam tip

In a 'prove that' question, every line must follow from the previous one; do not skip the substitution of the standard sum.

Section 5

Proof of the variance

Use Var(X)=E(X2)−[E(X)]2\mathrm{Var}(X)=E(X^2)-[E(X)]^2 and the standard sum ∑x2=n(n+1)(2n+1)6\sum x^2=\frac{n(n+1)(2n+1)}{6}: E(X2)=1n⋅n(n+1)(2n+1)6=(n+1)(2n+1)6.E(X^2)=\frac1n\cdot\frac{n(n+1)(2n+1)}{6}=\frac{(n+1)(2n+1)}{6}. Var(X)=(n+1)(2n+1)6−(n+1)24=(n+1)[2(2n+1)−3(n+1)]12=(n+1)(n−1)12=n2−112.\mathrm{Var}(X)=\frac{(n+1)(2n+1)}{6}-\frac{(n+1)^2}{4}=\frac{(n+1)\left[2(2n+1)-3(n+1)\right]}{12}=\frac{(n+1)(n-1)}{12}=\frac{n^2-1}{12}. Use a common denominator of 1212 and factor out (n+1)(n+1) before simplifying.

Key termsvariance proof
Exam tip

Factor (n+1)(n+1) out of both terms before expanding; it keeps the algebra short.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Discrete uniform distribution

  1. A fair eight-sided die, numbered 11 to 88, is rolled once. The score XX is the number on the face it lands on, and XX is modelled by the discrete uniform distribution on {1,2,…,8}\{1,2,\ldots,8\}.
    Find the variance of XX.2 marks
  2. The discrete random variable XX has a discrete uniform distribution on {1,2,…,n}\{1,2,\ldots,n\}, where nn is a positive integer. It is given that E(X)=10.5E(X)=10.5.
    Find P(X>E(X))P(X>E(X)).2 marks
  3. The discrete random variable XX has a discrete uniform distribution on {1,2,…,n}\{1,2,\ldots,n\}, so that P(X=x)=1nP(X=x)=\frac1n for x=1,2,…,nx=1,2,\ldots,n.
    Prove that E(X)=n+12E(X)=\frac{n+1}{2}.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).