PYQ Vault

HSC Maths · Binomial Distribution

Mean, Variance and Standard Deviation of a Binomial Distribution

For X ~ B(n, p), the mean is E(X) = np, the variance is Var(X) = npq and the standard deviation is the square root of npq; given two of these facts, the others follow.

Why this matters

24 questions, twelve of them from board papers, five of those as MCQs. The board asked for E(X) and Var(X) from the p.m.f. or from n and p (2015, 2023, 2024, 2025, 2026), for Var(X) or p when n and E(X) are given (2020, 2026), and for n and p from the mean and variance (2019, 2024, 2025 twice, 2026). Eleven of the twelve repeat a textbook exercise or solved example with the same numbers: the same p.m.f. was set in 2015, 2023 and 2026, and E(X) = 6 with Var(X) = 4.2 in 2019, 2025 and 2026.

Concept 1 of 3: E(X) = np, Var(X) = npq and SD(X)

If you toss a fair coin 10 times you expect about 5 heads: the number of trials times the chance of success. That is the mean, npnp. The variance npqnpq measures how far the number of successes usually strays from npnp. Since qq is less than 1, the variance npqnpq is always smaller than the mean npnp. The textbook gives these formulae without proof, so the board asks you to use them, not to prove them.

Definition

Let X∼B(n,p)X \sim B(n, p) and q=1−pq = 1 - p. Then:

  • mean (expected value): μ=E(X)=np\mu = E(X) = np;
  • variance: Var(X)=npq\text{Var}(X) = npq;
  • standard deviation: SD(X)=σx=Var(X)=npqSD(X) = \sigma_{x} = \sqrt{\text{Var}(X)} = \sqrt{npq}.
  • Given the p.m.f. P(X=x)=nCx pxqn−xP(X = x) = {}^{n}C_{x}\,p^{x}q^{n-x}: nn is the top number of nCx{}^{n}C_{x}, pp is the number raised to the power xx, and qq is the number raised to the power n−xn - x. Check that p+q=1p + q = 1.
  • From a story: decide what X counts, then write nn and pp as on the previous page.

Mean, variance and standard deviation

E(X)=np,Var(X)=npq,SD(X)=npqE(X) = np, \qquad \text{Var}(X) = npq, \qquad SD(X) = \sqrt{npq}
  • nnnumber of trials
  • ppprobability of success in one trial
  • qq1 minus p

Worked example

Given X∼B(12,14)X \sim B\left(12, \dfrac{1}{4}\right), find E(X)E(X), Var(X)\text{Var}(X) and SD(X)SD(X).
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2026 · Q. 26Moderate

Example 1 · Binomial Distribution · Mean and Variance of a Binomial Distribution

If the p.m.f of r.v. XX be P(X=x)=4Cx(59)x(49)4−xP(X = x) = {}^{4}C_{x}\left(\frac{5}{9}\right)^{x}\left(\frac{4}{9}\right)^{4 - x} for x=0,1,2,3,4x = 0, 1, 2, 3, 4 =0= 0 ; otherwise then find E(X)E(X) and Var(X)\text{Var}(X).

Mixing up the three formulae

The mean is npnp, the variance is npqnpq and the SD is npq\sqrt{npq}. Writing npnp for the variance, or npqnpq for the SD, are the usual wrong MCQ options.

Reading p from the wrong power in the p.m.f.

In nCx axbn−x{}^{n}C_{x}\,a^{x}b^{n-x}, pp is aa, the base with power xx. Taking the base with power n−xn - x as pp swaps pp and qq and gives the wrong mean.

Forgetting the square root for SD

When the question asks for the standard deviation, finish with npq\sqrt{npq}. Stopping at npqnpq gives the variance.

Concept 2 of 3: One unknown from the mean

If you know the number of trials and the mean, the chance of success follows at once from mean =np= np. If you know pp and the mean, the number of trials follows the same way. Once n and p are both known, everything else, the variance and the SD, can be worked out.

Definition

  • From E(X)=npE(X) = np: p=E(X)np = \dfrac{E(X)}{n} when nn is known, and n=E(X)pn = \dfrac{E(X)}{p} when pp is known.
  • Then q=1−pq = 1 - p, Var(X)=npq\text{Var}(X) = npq and SD(X)=npqSD(X) = \sqrt{npq}.
  • A short way to the variance: Var(X)=(np)q=E(X)×q\text{Var}(X) = (np)q = E(X) \times q.
  • nn must come out a whole number and pp must lie between 0 and 1.

Mean gives the unknown

np=E(X),Var(X)=E(X) qnp = E(X), \qquad \text{Var}(X) = E(X)\,q

Worked example

Given X∼B(n,p)X \sim B(n, p) with p=0.25p = 0.25 and E(X)=5E(X) = 5, find nn and Var(X)\text{Var}(X).
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2026 · Q. 14Easy

Example 2 · Binomial Distribution · Mean and Variance of a Binomial Distribution

Given that, X∼B(n,p)X \sim B(n, p), if n=10n = 10, E(X)=8E(X) = 8 then find Var(X)\text{Var}(X).

Stopping after finding p

If the question asks for the variance, pp is only a step. Write qq, then Var(X)=npq\text{Var}(X) = npq with the substitution shown.

Taking q as 1 divided by p

q=1−pq = 1 - p, not 1p\dfrac{1}{p}. A value of qq bigger than 1 is a sure sign of this slip.

Concept 3 of 3: n and p from the mean and the variance

The mean is npnp and the variance is npnp times qq. Divide the variance by the mean and npnp cancels, leaving qq alone. Then p=1−qp = 1 - q, and nn comes from the mean. It takes three short lines, and the board set it in 2019, 2024, 2025 and 2026.

Definition

  • np=E(X)np = E(X) ...(i) and npq=Var(X)npq = \text{Var}(X) ...(ii).
  • Divide (ii) by (i): q=Var(X)E(X)q = \dfrac{\text{Var}(X)}{E(X)}.
  • p=1−qp = 1 - q.
  • Put pp in (i): n=E(X)pn = \dfrac{E(X)}{p}.
  • Since q<1q < 1, the variance must be less than the mean. If it is not, no binomial distribution fits the data.

Recovering q

q=npqnp=Var(X)E(X),p=1−q,n=E(X)pq = \dfrac{npq}{np} = \dfrac{\text{Var}(X)}{E(X)}, \qquad p = 1 - q, \qquad n = \dfrac{E(X)}{p}

Worked example

The mean and variance of a binomial distribution are 8 and 6. Find nn and pp.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2025 · Q. 14Easy

Example 3 · Binomial Distribution · Mean and Variance of a Binomial Distribution

If X∼B(n,p)X \sim B(n, p) and E(X)=6,Var(X)=4.2,E(X) = 6, Var(X) = 4.2, then find nn and pp.

Dividing the mean by the variance

npnpq=1q\dfrac{np}{npq} = \dfrac{1}{q}, not qq. Divide the variance by the mean, so that qq comes out less than 1.

Taking q for p

The division gives qq, the chance of failure. Write p=1−qp = 1 - q before finding nn; using qq in n=E(X)pn = \dfrac{E(X)}{p} gives the wrong nn, often one of the MCQ options.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • E(X) = np, Var(X) = npq and SD(X)

    Mean, variance and standard deviation

    E(X)=np,Var(X)=npq,SD(X)=npqE(X) = np, \qquad \text{Var}(X) = npq, \qquad SD(X) = \sqrt{npq}
  • One unknown from the mean

    Mean gives the unknown

    np=E(X),Var(X)=E(X) qnp = E(X), \qquad \text{Var}(X) = E(X)\,q
  • n and p from the mean and the variance

    Recovering q

    q=npqnp=Var(X)E(X),p=1−q,n=E(X)pq = \dfrac{npq}{np} = \dfrac{\text{Var}(X)}{E(X)}, \qquad p = 1 - q, \qquad n = \dfrac{E(X)}{p}

Watch out for (7)

Test yourself on Binomial Distribution

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.