Discrete random variables and the normal distribution

A-Level Mathematics · Probability & Statistics 1

Discrete random variables

$$\text{E}(X)=\sum xP(X=x),\qquad \text{Var}(X)=\sum x^{2}P(X=x)-\big[\text{E}(X)\big]^{2}$$

The probabilities in the table must sum to $1$ — checking that first catches most arithmetic slips.

The binomial distribution

$X\sim\text{B}(n,p)$ requires four conditions: a fixed number $n$ of trials, two outcomes each time, a constant $p$, and independent trials.

$$P(X=r)=\binom{n}{r}p^{r}(1-p)^{n-r},\qquad \text{E}(X)=np,\qquad \text{Var}(X)=np(1-p)$$

Sampling without replacement breaks independence, so such a variable is not binomial.

The normal distribution

$X\sim\text{N}\left(\mu,\sigma^{2}\right)$ — the second parameter is the variance, not the standard deviation.

$$Z=\frac{X-\mu}{\sigma}\sim\text{N}(0,1)$$

Working backwards from a probability to a value uses the inverse: find $z$ first, then $x=\mu+z\sigma$.

μ x P(X > x) z = (x − μ) / σ The table gives P(Z < z) ⇒ right tail = 1 − P(Z < z) Sketch first, look up the table afterwards — the sketch decides whether z is positive or negative
Drawing the sketch is not decoration but a way of choosing the sign. The normal distribution table gives only $P(Z\lt z)$, which is always the left tail. Every other question must be reduced to that: the right tail is $1-P(Z\lt z)$; the middle interval is the difference of two values; a left tail with negative $z$ uses symmetry $P(Z<-a)=1-P(Z\lt a)$. For inverse problems, the shaded region tells you at once whether $z$ must be positive or negative: shade a right tail smaller than $0.5$ then $z>0$; shade a left tail smaller than $0.5$ then $z<0$. Pressing the calculator without sketching leaves the sign to chance, and half of inverse problems have a negative $z$.

Worked example: a discrete random variable from drawing without replacement

A bag has $3$ red balls and $5$ blue balls. Draw $2$ balls at random without replacement. Let $X$ be the number of red balls drawn. Construct the distribution table of $X$, calculate $\text{E}(X)$, and explain why $X$ does not have a binomial distribution.

Solution

Step 1 — three probabilities.

$$P(X=0)=\frac{5}{8}\times\frac{4}{7}=\frac{20}{56}$$$$P(X=1)=\frac{3}{8}\times\frac{5}{7}+\frac{5}{8}\times\frac{3}{7}=\frac{30}{56}$$$$P(X=2)=\frac{3}{8}\times\frac{2}{7}=\frac{6}{56}$$

Step 2 — check the total. $\dfrac{20+30+6}{56}=\dfrac{56}{56}=1$. Correct, so you can go on.

Step 3 — expectation.

$$\text{E}(X)=0\left(\frac{20}{56}\right)+1\left(\frac{30}{56}\right)+2\left(\frac{6}{56}\right)=\frac{42}{56}=\frac{3}{4}$$

Step 4 — why not binomial. Because the draw is without replacement, the probability of drawing a red ball on the second draw depends on the result of the first ($\dfrac{2}{7}$ if the first was red, $\dfrac{3}{7}$ if not). The two trials are not independent and $p$ is not constant — violating two of the four conditions of the binomial distribution.

Sanity check: with replacement, $X\sim\text{B}\left(2,\dfrac{3}{8}\right)$ and $\text{E}(X)=2\left(\dfrac{3}{8}\right)=\dfrac{3}{4}$ — which coincides with the result above. The expectations coincide but the variances do not: that is why you must state the model explicitly rather than rely on a matching number.

Worked example: inverse normal problem

Exam scores $X$ have distribution $\text{N}\left(72,\,8^{2}\right)$. The top $15\%$ of candidates are graded $A$. Find the minimum score needed for grade $A$, rounding to an integer.

Solution

Step 1 — sketch and determine the sign. The shaded region is the right tail making up $15\%$, which is less than half the curve, so the required mark lies to the right of the mean and $z$ must be positive.

Step 2 — convert to the form the table gives. The table gives $P(Z\lt z)$, so

$$P(Z<z)=1-0.15=0.85\;\Longrightarrow\;z=1.036$$

Step 3 — return to the original scale.

$$x=\mu+z\sigma=72+1.036(8)=72+8.29=80.3$$

Scores are integers, so to exceed the mark $80.3$ you need at least $81$.

Two places to lose marks in this type. First, looking up the $z$ for $0.15$ directly gives $z=-1.036$ and the answer $63.7$ — a mark below the mean, absurd for "top $15\%$"; the sketch catches it immediately. Second, rounding $80.3$ to $80$ is rounding the wrong way: a score of $80$ has not exceeded the mark.

Common mistake

Reading the second parameter of $\text{N}\left(\mu,\sigma^{2}\right)$ as the standard deviation. The international standard notation puts the variance in that position, so $\text{N}(50,16)$ has $\sigma=4$, not $16$. Wrongly using $16$ as $\sigma$ when calculating $P(X<56)$ gives $z=0.375$ and probability $0.646$, whereas the correct answer is $z=1.5$ and $0.933$ — off by a third, yet the number still lies in $[0,1]$ so nothing signals an error. A self-protective habit: every time you see the $\text{N}$ notation, write two lines in the margin — "$\mu=\ldots$" and "$\sigma=\sqrt{\ldots}=\ldots$" — before pressing the first key. Note that questions sometimes deliberately give a perfect square such as $16$, $25$, $64$ to tell apart those who do that step from those who do not.

Key takeaway

The three distributions of Paper 5 differ in the modeling question, not in the formula: a discrete table is used when the values are listed; binomial is used when there are $n$ independent trials with the same $p$; normal is used when the quantity is continuous and symmetric about the mean. Choosing the wrong model ruins the whole question, while choosing the right one leaves the rest as button-pressing.

← Permutations, combinations and probability · All A-Level Mathematics lessons · Practice A-Level Mathematics questions (free, instant scoring) · The Poisson distribution and linear combinations →