← Unit 3: Further calculus and statistics

QLDMath MethodsSyllabus dot point

Topic 3: Discrete random variables

Recognise the binomial distribution $X \sim \mathrm{Bin}(n, p)$ as the count of successes in $n$ independent Bernoulli trials, apply the binomial probability formula and use CAS, and use the formulas $E(X) = np$ and $\mathrm{Var}(X) = np(1 - p)$

A focused answer to the QCE Mathematical Methods Unit 3 dot point on the binomial distribution. Defines the binomial conditions (BINS), states the probability formula, gives the mean $np$ and variance $np(1 - p)$, and walks through both by-hand Paper 1 calculations and CAS-supported Paper 2 calculations including $P(X \leq k)$, $P(X \geq k)$ and modelling applications.

Generated by Claude OpusReviewed by Better Tuition Academy9 min answer

Have a quick question? Jump to the Q&A page

What this dot point is asking

QCAA wants you to recognise when a count is binomially distributed, calculate binomial probabilities (by hand for small nn, by CAS for larger nn), and apply the mean and variance formulas. The binomial distribution is the most heavily examined probability model in QCE Mathematical Methods Unit 3, and it appears in IA1 PSMTs, IA2 short and extended response, and most EA Paper 2 probability questions.

The answer

When is XX binomial: the BINS conditions

A random variable XX has a binomial distribution if all four conditions hold.

  • B (Binary): Each trial has two outcomes labelled success or failure.
  • I (Independent): Trials are independent of one another.
  • N (Number fixed): The number of trials nn is fixed in advance.
  • S (Same probability): The probability of success pp is the same on every trial.

If all four hold, write X∼Bin(n,p)X \sim \mathrm{Bin}(n, p), where XX is the number of successes in the nn trials.

The binomial probability formula

For X∼Bin(n,p)X \sim \mathrm{Bin}(n, p) and k=0,1,2,…,nk = 0, 1, 2, \ldots, n,

P(X=k)=(nk)pk(1βˆ’p)nβˆ’k.P(X = k) = \binom{n}{k} p^k (1 - p)^{n - k}.

The binomial coefficient (nk)=n!k! (nβˆ’k)!\binom{n}{k} = \dfrac{n!}{k! \, (n - k)!} counts the number of ways to arrange kk successes among nn trials.

Paper 1 expects this formula by hand for small nn (typically n≀6n \leq 6) with values that simplify to clean fractions.

Paper 2 expects you to use CAS for any nn above about 6, calling functions named binomPdf(n,p,k)\mathrm{binomPdf}(n, p, k) for P(X=k)P(X = k) and binomCdf(n,p,a,b)\mathrm{binomCdf}(n, p, a, b) for P(a≀X≀b)P(a \leq X \leq b). Check the exact syntax for your approved CAS model.

Mean and variance

For X∼Bin(n,p)X \sim \mathrm{Bin}(n, p),

E(X)=np,Var(X)=np(1βˆ’p).E(X) = n p, \qquad \mathrm{Var}(X) = n p (1 - p).

Standard deviation: Οƒ=np(1βˆ’p)\sigma = \sqrt{n p (1 - p)}.

These come from the fact that a binomial is the sum of nn independent Bernoulli trials, each with mean pp and variance p(1βˆ’p)p (1 - p), and the rules E(X+Y)=E(X)+E(Y)E(X + Y) = E(X) + E(Y) and Var(X+Y)=Var(X)+Var(Y)\mathrm{Var}(X + Y) = \mathrm{Var}(X) + \mathrm{Var}(Y) for independent variables.

Cumulative probabilities

QCAA commonly asks for P(X≀k)P(X \leq k), P(Xβ‰₯k)P(X \geq k) or P(a≀X≀b)P(a \leq X \leq b) rather than a single P(X=k)P(X = k).

  • IMATH_34 .
  • IMATH_35 (use the complement to save work).
  • IMATH_36 .

For nn above about 6, do all four with CAS. For Paper 1 with small nn, set up the sums explicitly and evaluate by hand.

Worked examples

Paper 1: small nn by hand

A student answers 4 multiple-choice questions at random, each with 4 options. Let XX be the number correct. Find P(X=3)P(X = 3).

X∼Bin(4,0.25)X \sim \mathrm{Bin}(4, 0.25).

P(X=3)=(43)(0.25)3(0.75)1=4β‹…164β‹…34=12256=364β‰ˆ0.0469.P(X = 3) = \binom{4}{3} (0.25)^3 (0.75)^1 = 4 \cdot \dfrac{1}{64} \cdot \dfrac{3}{4} = \dfrac{12}{256} = \dfrac{3}{64} \approx 0.0469.

Paper 2: CAS-supported cumulative

A coin biased so that P(heads)=0.6P(\text{heads}) = 0.6 is tossed 50 times. Find the probability of getting between 28 and 35 heads inclusive.

X∼Bin(50,0.6)X \sim \mathrm{Bin}(50, 0.6).

P(28≀X≀35)=binomCdf(50,0.6,28,35)β‰ˆ0.7411.P(28 \leq X \leq 35) = \mathrm{binomCdf}(50, 0.6, 28, 35) \approx 0.7411.

By hand this would require 8 terms of the formula; CAS is required for IA2 and Paper 2 efficiency.

Mean and variance

A daily quality test on 100 items has p=0.02p = 0.02 probability of any item being faulty. Find the expected number of faulty items and the standard deviation.

E(X)=100β‹…0.02=2E(X) = 100 \cdot 0.02 = 2. Var(X)=100β‹…0.02β‹…0.98=1.96\mathrm{Var}(X) = 100 \cdot 0.02 \cdot 0.98 = 1.96. Οƒ=1.4\sigma = 1.4.

You would expect 2 faulty items per day, with results typically within Β±1.4\pm 1.4 of the mean.

Using the complement

A test has 20 multiple-choice questions, each with 5 options. A student answers at random. What is the probability of getting at least one correct?

X∼Bin(20,0.2)X \sim \mathrm{Bin}(20, 0.2).

P(Xβ‰₯1)=1βˆ’P(X=0)=1βˆ’(0.8)20β‰ˆ1βˆ’0.0115=0.9885.P(X \geq 1) = 1 - P(X = 0) = 1 - (0.8)^{20} \approx 1 - 0.0115 = 0.9885.

The complement saves you from summing 20 binomial terms.

Recognition (not binomial)

A bag contains 5 red and 5 blue marbles. Three marbles are drawn without replacement. Let XX be the number of red marbles drawn. Is XX binomial?

No. The trials are not independent (drawing without replacement changes pp between draws). This is a hypergeometric situation, outside Methods. The BINS conditions fail at I (independence) and S (same pp).

Common traps

Misidentifying nn and pp. The number of trials nn is the count of opportunities for success, not the number of items in any other sense. The probability pp is the chance of success on one trial.

Forgetting the binomial coefficient. P(X=k)=pk(1βˆ’p)nβˆ’kP(X = k) = p^k (1 - p)^{n - k} alone is the probability of one specific sequence with kk successes. The coefficient (nk)\binom{n}{k} counts how many sequences have that many successes.

Wrong direction for P(Xβ‰₯k)P(X \geq k). It is 1βˆ’P(X≀kβˆ’1)1 - P(X \leq k - 1), not 1βˆ’P(X≀k)1 - P(X \leq k). The boundary value kk belongs in the "at least" event.

Using BINS for a without-replacement scenario. Without replacement violates independence. Methods only handles binomial probability for with-replacement (or effectively independent) trials.

Computing E(X)E(X) as pp instead of npnp. Forgetting the nn factor is the most common Paper 1 mistake on the mean formula.

Wrong CAS syntax. Different calculators use slightly different function names (binomPdf, binomialPdf, etc.) and argument orders. Practise the exact syntax on your model before the IA2.

In one sentence

The binomial distribution X∼Bin(n,p)X \sim \mathrm{Bin}(n, p) models the number of successes in nn independent Bernoulli trials each with success probability pp, with P(X=k)=(nk)pk(1βˆ’p)nβˆ’kP(X = k) = \binom{n}{k} p^k (1 - p)^{n - k}, mean E(X)=npE(X) = n p and variance Var(X)=np(1βˆ’p)\mathrm{Var}(X) = n p (1 - p), and CAS support is the standard tool for cumulative probabilities on Paper 2.

Past exam questions, worked

Real questions from past QCAA papers on this dot point, with our answer explainer.

2023 QCAA-style P13 marksA fair six-sided die is rolled 5 times. Let $X$ be the number of sixes. Find $P(X = 2)$ exactly.
Show worked answer β†’

X∼Bin(5,16)X \sim \mathrm{Bin}(5, \frac{1}{6}) because rolling a six is a single success in each independent trial.

P(X=2)=(52)(16)2(56)3=10β‹…136β‹…125216=12507776=6253888.P(X = 2) = \binom{5}{2} \left(\frac{1}{6}\right)^2 \left(\frac{5}{6}\right)^3 = 10 \cdot \frac{1}{36} \cdot \frac{125}{216} = \frac{1250}{7776} = \frac{625}{3888}.

As a decimal, β‰ˆ0.1608\approx 0.1608.

Markers reward the correct identification of n=5n = 5 and p=16p = \frac{1}{6}, the binomial coefficient (52)=10\binom{5}{2} = 10, the powers of pp and 1βˆ’p1 - p matched to successes and failures, and the simplified exact fraction. Paper 1 wants exact form.

2022 QCAA-style P25 marksA quality control process tests batches of 20 components from a production line. The probability that any one component is faulty is $0.05$, independently of the others. Let $X$ be the number of faulty components in a batch. (a) Find $P(X = 0)$. (b) Find $P(X \geq 2)$. (c) Find the expected number of faulty components per batch and the standard deviation.
Show worked answer β†’

A 5-mark answer needs the distribution statement, both probabilities (with the complement trick for part (b)), and the descriptive statistics.

X∼Bin(20,0.05)X \sim \mathrm{Bin}(20, 0.05).

(a) P(X=0)=(0.95)20β‰ˆ0.3585P(X = 0) = (0.95)^{20} \approx 0.3585.

(b) Use the complement: P(Xβ‰₯2)=1βˆ’P(X=0)βˆ’P(X=1)P(X \geq 2) = 1 - P(X = 0) - P(X = 1).

P(X=1)=(201)(0.05)(0.95)19=20β‹…0.05β‹…(0.95)19β‰ˆ0.3774P(X = 1) = \binom{20}{1} (0.05)(0.95)^{19} = 20 \cdot 0.05 \cdot (0.95)^{19} \approx 0.3774.

P(Xβ‰₯2)=1βˆ’0.3585βˆ’0.3774β‰ˆ0.2641P(X \geq 2) = 1 - 0.3585 - 0.3774 \approx 0.2641.

(CAS: 1βˆ’binomCdf(20,0.05,0,1)β‰ˆ0.26411 - \mathrm{binomCdf}(20, 0.05, 0, 1) \approx 0.2641.)

(c) E(X)=np=20β‹…0.05=1E(X) = n p = 20 \cdot 0.05 = 1. Var(X)=np(1βˆ’p)=20β‹…0.05β‹…0.95=0.95\mathrm{Var}(X) = n p (1 - p) = 20 \cdot 0.05 \cdot 0.95 = 0.95. Standard deviation β‰ˆ0.9747\approx 0.9747.

Markers reward stating the distribution explicitly, the complement-trick setup for P(Xβ‰₯2)P(X \geq 2) (rather than summing 19 terms), the CAS-friendly numerical answers to 4 decimal places, and the mean-variance formulas applied cleanly.

Related dot points