The binomial and normal distributions

IB Math AA · Statistics and Probability

The binomial distribution

$X\sim B(n,p)$ models the number of successes in $n$ trials that are independent, have only two outcomes, and share a constant $p$:

$$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 from a small population breaks the constant-$p$ condition, so a binomial model is not valid there.

The normal distribution

$X\sim N\!\left(\mu,\sigma^{2}\right)$ is continuous and symmetric about $\mu$. Standardising gives

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

Because the distribution is continuous, $P(X=k)=0$ for every $k$, so $P(X>k)$ and $P(X\ge k)$ are equal — unlike in the binomial case.

Inverse normal, and finding an unknown parameter

If $P(X\lt k)=q$ is given, the inverse normal returns the $z$ with $P(Z\lt z)=q$, and then $k=\mu+z\sigma$. When both $\mu$ and $\sigma$ are unknown, two given probabilities give two $z$-values and hence two simultaneous linear equations:

$$x_1=\mu+z_1\sigma,\qquad x_2=\mu+z_2\sigma$$

The probabilities themselves never appear in those equations — only the $z$-values read from them.

80 90 100 110 120 μ = 100 σ = 10 x = 115, i.e. z = 1.5 P(X > 115) = 0,0668 Total area under the curve = 1 Symmetric about μ, so P(X < μ) = 0.5 z = (x − μ) / σ — divide by the STANDARD DEVIATION, not by the variance.
Standardizing is measuring distance in units of $\sigma$. The value $x=115$ lies $15$ units from the mean, i.e. $1.5$ standard deviations, so $z=1.5$ and the yellow shaded part has area $0.0668$. Three things read straight from the figure that questions often ask: the total area equals $1$ (so $P(X<115)=1-0.0668=0.9332$); the curve is symmetric about $\mu$ (so $P(X<100)=0.5$ and $P(z<-1.5)=P(z>1.5)$); and because the distribution is continuous, $P(X=115)=0$, so $P(X>115)$ and $P(X\ge 115)$ are equal — quite unlike the binomial distribution, where those two signs differ by exactly one term. The most common failure is dividing by the variance $\sigma^{2}=100$ instead of by $\sigma=10$: then $z=0.15$ and the answer becomes $0.44$ — still a valid probability, so nothing sounds an alarm.

Worked example: binomial: a single point and a tail

Given $X\sim B(12;\ 0.35)$. Calculate $P(X=4)$ and $P(X\ge 3)$, then state the expected value and standard deviation of $X$.

Solution

$P(X=4)$ — use the formula, not the cumulative command.

$$P(X=4)=\binom{12}{4}(0.35)^{4}(0.65)^{8}=495\times 0.01500625\times 0.0318644=0.237$$

$P(X\ge 3)$ — switch to the complementary event. The calculator only gives the sum from $0$ upward, so

$$P(X\ge 3)=1-P(X\le 2)$$$$P(0)=0.00569,\quad P(1)=0.03675,\quad P(2)=0.10885\;\Longrightarrow\;P(X\le 2)=0.15128$$$$P(X\ge 3)=1-0.15128=0.849$$

Expected value and standard deviation.

$$\text{E}(X)=np=12\times 0.35=4.2$$$$\sigma=\sqrt{np(1-p)}=\sqrt{12\times 0.35\times 0.65}=\sqrt{2.73}=1.65$$

The easy slip is converting $\ge$ to the complementary event: $P(X\ge 3)=1-P(X\le 2)$, not $1-P(X\le 3)$. Because the variable is discrete, $X\ge 3$ and $X\le 2$ fit together exactly; taking the wrong bound also subtracts $P(X=3)=0.195$, a very large error.

Worked example: normal with two unknown parameters

The random variable $Y$ has a normal distribution with $P(Y<50)=0.2$ and $P(Y<70)=0.9$. Find $\mu$ and $\sigma$.

Solution

Convert the two probabilities to two $z$ values before doing anything else.

$$P(Z<z_1)=0.2\;\Longrightarrow\;z_1=-0.8416$$$$P(Z<z_2)=0.9\;\Longrightarrow\;z_2=1.2816$$

The negative sign of $z_1$ is itself a check: $0.2<0.5$ so the value $50$ must lie to the left of the mean.

Two linear equations.

$$50=\mu-0.8416\sigma\qquad(1)$$$$70=\mu+1.2816\sigma\qquad(2)$$

Take $(2)-(1)$ to eliminate $\mu$:

$$20=2.1232\sigma\;\Longrightarrow\;\sigma=9.42$$$$\mu=50+0.8416\times 9.42=57.9$$

Check backwards. $57.9+1.2816\times 9.42=70.0$ — matches the second piece of data, so there is no arithmetic error.

Sensibility check: $\mu=57.9$ lies between $50$ and $70$ but leans toward $50$, exactly as it should, because $50$ is only $0.84\sigma$ from $\mu$ while $70$ is $1.28\sigma$ away.

Common mistake

Substituting the probability directly in place of $z$ when finding $\mu$ and $\sigma$. The student writes $\dfrac{50-\mu}{\sigma}=0.2$ and $\dfrac{70-\mu}{\sigma}=0.9$, solves the system, and gets $\sigma=\dfrac{20}{0.7}=28.6$ and $\mu=44.3$ — two numbers that are perfectly valid in form. The mechanism: both probabilities and $z$ are small numbers appearing side by side in the same line of the question, and nothing in the notation reminds you that you must go through the inverse normal first. The only sign you can catch yourself is the sign: every probability is positive, so this wrong method never produces a negative $z$, whereas any value lying below the mean must have $z<0$. A self-protecting habit: write a separate line "$z_1=\dots$, $z_2=\dots$" and check their signs before setting up the system — a probability less than $0.5$ means $z$ must be negative.

Key takeaway

The binomial requires three conditions (two outcomes, independence, constant $p$) and there $\ge$ differs from $>$. The normal is continuous so those two signs are the same, but in exchange you must divide by $\sigma$ and not $\sigma^{2}$, and every parameter-finding problem begins by converting probabilities into $z$.

← Probability rules, conditional probability and tree diagrams · All IB Math AA lessons · Practice IB Math AA questions (free, instant scoring) · Differentiation: rules, tangents and the second derivative →