EZ Tuitions Logo
EZ Tuitions

Find the mean and variance of a binomial distribution

For n trials with success probability p and q = 1 - p, the mean is np and the variance is npq.

This is original written practice with invented trials. Each answer is checked by computing Σk·P(k) and Σ(k - mean)²·P(k) from the whole distribution. Counts are expected values.

Work out np and npq, then compute from P(k)

  1. Work out mean = np and variance = npq.
  2. List P(k) for k = 0 to n.
  3. Check: Σk·P(k) and Σ(k - mean)²·P(k) must match.

n = 4, p = 0.5

Mean = 2, variance = 4 × 0.5 × 0.5 = 1.

Check: P(k): 0.0625, 0.25, 0.375, 0.25, 0.0625. Σk·P = 2, and the weighted squared deviation is 1.

n = 5, p = 0.2

Mean = 1, variance = 5 × 0.2 × 0.8 = 0.8.

Check: P(k): 0.3277, 0.4096, 0.2048, 0.0512, 0.0064, 0.0003. Σk·P = 1, and the weighted squared deviation is 0.8.

n = 3, p = 0.3

Mean = 0.9, variance = 3 × 0.3 × 0.7 = 0.63.

Check: P(k): 0.343, 0.441, 0.189, 0.027. Σk·P = 0.9, and the weighted squared deviation is 0.63.

Counterexample: using p in place of q

A student works out the variance for n = 5, p = 0.2 as 5 × 0.2 × 0.2 = 0.2.

The check fails. The weighted squared deviation from the distribution is 0.8. The variance is npq with q = 0.8.

Try one yourself

n = 6, p = 0.5. Find the mean and variance and check.

Show the worked self-check

Mean = 3, variance = 6 × 0.25 = 1.5. Check: P(k) = 1, 6, 15, 20, 15, 6, 1 over 64, Σk·P = 3, and the weighted squared deviation is 1.5.

Scope and limits

  • The page covers the mean and variance of a binomial distribution.
  • It does not cover normal approximations or confidence intervals.
  • The trials are invented, and the questions are practice, not an exam key.
  • Every answer is checked from the full distribution.

Common questions

What does the mean tell me?

The expected number of successes.

When is the variance largest?

When p = 0.5.

What is the standard deviation?

The square root of npq.

Is the mean always a whole number?

No. n = 3, p = 0.3 gives 0.9.

Sources and scope

Sources checked . They support the formula or law used. The numbers, worked examples and self-check above are original EZT practice.

Browse tuition and practice pagesCheck that binomial probabilities sum to one