All revision notes topics

The discrete uniform distributionEdexcel International A Level Maths: Revision notes

Section 1

The discrete uniform distribution

A discrete random variable XX has a discrete uniform distribution on {1,2,…,n}\{1,2,\ldots,n\} when each of the nn values is equally likely: P(X=x)=1n,x=1,2,…,n.\mathrm{P}(X=x)=\frac1n,\quad x=1,2,\ldots,n. Typical models are a fair die (n=6n=6), a fair spinner or a number drawn at random from a list of equally likely numbers. The model is only valid if every outcome really is equally likely.

Key termsdiscrete uniform distributionequally likely
Common mistake

Using the uniform model for a biased die or any situation where the outcomes are not equally likely.

Section 2

Finding probabilities by counting

Because every value has probability 1n\frac1n, probabilities are found by counting the favourable values: P(X≤k)=kn,P(a≤X≤b)=b−a+1n.\mathrm{P}(X\le k)=\frac kn,\qquad \mathrm{P}(a\le X\le b)=\frac{b-a+1}{n}. Example: for a spinner numbered 1 to 8, P(X≥6)\mathrm{P}(X\ge6) counts the values 6, 7, 8, so it is 38\frac38. Check whether the inequality is strict (>>) or not (≥\ge) before counting.

Common mistake

Counting the end values wrongly. P(Y>10)\mathrm{P}(Y>10) for n=14n=14 is 414\frac{4}{14} (11, 12, 13, 14), not 514\frac{5}{14}.

Section 3

The mean

The mean of the discrete uniform distribution on {1,…,n}\{1,\ldots,n\} is E(X)=n+12.\mathrm{E}(X)=\frac{n+1}{2}. It is the midpoint of the values, because the distribution is symmetrical about it. It comes from E(X)=1n(1+2+⋯+n)=1n⋅n(n+1)2\mathrm{E}(X)=\frac1n(1+2+\cdots+n)=\frac1n\cdot\frac{n(n+1)}{2}. For a fair six-sided die, E(X)=3.5\mathrm{E}(X)=3.5. The mean need not be a possible value of XX.

Key termsmean

Section 4

The variance

The variance of the discrete uniform distribution on {1,…,n}\{1,\ldots,n\} is Var(X)=n2−112.\mathrm{Var}(X)=\frac{n^2-1}{12}. It comes from Var(X)=E(X2)−[E(X)]2\mathrm{Var}(X)=\mathrm{E}(X^2)-[\mathrm{E}(X)]^2 with E(X2)=(n+1)(2n+1)6\mathrm{E}(X^2)=\frac{(n+1)(2n+1)}{6}. For a fair die, Var(X)=3512=2.92\mathrm{Var}(X)=\frac{35}{12}=2.92 (3 s.f.), and the standard deviation is 3512=1.71\sqrt{\frac{35}{12}}=1.71. Worked example: a spinner numbered 1 to 8 has E(X)=4.5\mathrm{E}(X)=4.5 and Var(X)=64−112=5.25\mathrm{Var}(X)=\frac{64-1}{12}=5.25.

Key termsvariancestandard deviation
Common mistake

Writing n212\frac{n^2}{12} or n+112\frac{n+1}{12}. The numerator is n2−1n^2-1.

Section 5

Finding n from the mean or variance

If E(X)=μ\mathrm{E}(X)=\mu then n+12=μ\frac{n+1}{2}=\mu, so n=2μ−1n=2\mu-1. If Var(X)=σ2\mathrm{Var}(X)=\sigma^2 then n2=12σ2+1n^2=12\sigma^2+1, and nn is the positive root. Example: E(Y)=7.5\mathrm{E}(Y)=7.5 gives n=14n=14, and then Var(Y)=196−112=16.25\mathrm{Var}(Y)=\frac{196-1}{12}=16.25. Example: Var(X)=14\mathrm{Var}(X)=14 gives n2=169n^2=169, so n=13n=13 (reject −13-13). Inequalities such as m2−112>14\frac{m^2-1}{12}>14 give bounds on mm; mm must be an integer.

Exam tip

Always check that nn is a positive integer. If it is not, the information given cannot describe a uniform distribution.

Section 6

Values that do not start at 1

If XX takes the nn equally likely values 0,1,…,n−10,1,\ldots,n-1, the shape is the same, shifted by 1. The mean becomes n−12\frac{n-1}{2} and the variance is unchanged at n2−112\frac{n^2-1}{12}. For a spinner numbered 0 to 9, E(X)=4.5\mathrm{E}(X)=4.5 and Var(X)=100−112=8.25\mathrm{Var}(X)=\frac{100-1}{12}=8.25. When in doubt, work from first principles with E(X)\mathrm{E}(X) and E(X2)\mathrm{E}(X^2). To judge whether XX lies within one standard deviation of the mean, find μ±σ\mu\pm\sigma and count the values inside.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The discrete uniform distribution

  1. A fair eight-sided spinner has faces numbered 1 to 8. The random variable XX is the number on the face it lands on.
    Find Var(X)\mathrm{Var}(X).2 marks
  2. The discrete random variable YY takes each of the values 1,2,…,n1, 2, \ldots, n with equal probability, and E(Y)=7.5\mathrm{E}(Y)=7.5.
    Find Var(Y)\mathrm{Var}(Y).2 marks
  3. A fair ten-sided spinner has faces numbered 0 to 9. The random variable XX is the number on the face it lands on.
    Find E(X)\mathrm{E}(X) and Var(X)\mathrm{Var}(X).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).