Mean and variance of the binomial distribution
The notation X ~ Bin(n, p), the mean and variance of a Bernoulli distribution, the mean np and variance np(1 − p) of a binomial distribution, and finding n and p from a given mean and variance.
Notation
We write $X \sim \text{Bin}(n, p)$ when $X$ counts the successes in $n$ independent trials with probability of success $p$. The probabilities add to $1$, because by the binomial theorem $\displaystyle\sum_{k=0}^{n}\binom{n}{k}p^k q^{n-k} = (p + q)^n = 1$.
The Bernoulli distribution
A single trial gives $X = 1$ with probability $p$ and $X = 0$ with probability $q$. So $E(X) = 0 \times q + 1 \times p = p$, and $\text{Var}(X) = E(X^2) - p^2 = p - p^2 = p(1 - p)$.
p(1 − p) is greatest when p = 0.5, when the outcome is least predictable.
Why is the variance $0$ when $p = 0$ or $p = 1$?
The binomial distribution
This follows because $X$ is the sum of $n$ independent Bernoulli variables, and means and variances of independent variables add.
$X \sim \text{Bin}(20, 0.3)$. Find the mean, variance and standard deviation.
A binomial variable has mean $12$ and variance $3$. Find $n$ and $p$.
$X \sim \text{Bin}(20, 0.3)$. Find $E(X)$.
$20 \times 0.3$.
$X \sim \text{Bin}(20, 0.3)$. Find $\text{Var}(X)$.
$6 \times 0.7$.
$X \sim \text{Bin}(20, 0.3)$. Find the standard deviation, correct to three decimal places.
$\sqrt{4.2}$.
A binomial variable has mean $12$ and variance $3$. Find $n$.
$p = 0.75$, so $n = 12 \div 0.75$.
For the same variable, find $p$.
$1 - p = \tfrac{3}{12}$.
Find the variance of a Bernoulli trial with $p = 0.2$.
$0.2 \times 0.8$.
The variance of a Bernoulli trial is greatest when $p$ equals:
$p(1 - p)$ is a parabola with its vertex at $p = 0.5$.
$\displaystyle\sum_{k=0}^{n}\binom{n}{k}p^k(1 - p)^{n-k}$ equals:
It is $(p + 1 - p)^n$.
New numbers every time. Keep going until you get five in a row.
Coaching Centre