Skip to main content
ExamExplained
TAS · Math Methods
Math Methods study scene
§-Syllabus dot point
TASMath MethodsSyllabus dot point

How do we describe a discrete random variable and when does the binomial distribution apply?

Construct probability distributions for discrete random variables, find their mean and variance, and apply the binomial distribution.

A discrete random variable has a probability distribution from which you compute expected value and variance; the binomial distribution models the count of successes in a fixed number of independent trials.

Reviewed by: AI editorial process; not yet individually human-reviewed

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

What this dot point is asking

A random variable assigns a number to each outcome of a random process. A discrete random variable takes countable, separate values (often 0,1,2,0, 1, 2, \dots). Its probability distribution lists each value with its probability.

Mean and variance

The expected value (mean) is the long-run average:

The form E(X2)μ2E(X^2) - \mu^2 is usually faster to compute, where E(X2)=x2P(X=x)E(X^2) = \sum x^2 P(X=x).

The binomial distribution

The binomial distribution counts the number of successes in a fixed number of trials.

If XX is binomial with parameters nn and pp, written XB(n,p)X \sim B(n,p), then

Here (nk)=n!k!(nk)!\dbinom{n}{k} = \dfrac{n!}{k!(n-k)!} counts the number of ways to choose which trials are the successes.

Cumulative probabilities and technology

In the calculator-assumed section you will use the cumulative binomial function to evaluate ranges quickly. The cumulative probability P(Xk)P(X \le k) adds up all terms from 00 to kk, and most graphics or CAS calculators provide it directly as a "binomial CDF". Then P(Xk)=1P(Xk1)P(X \ge k) = 1 - P(X \le k - 1) and P(aXb)=P(Xb)P(Xa1)P(a \le X \le b) = P(X \le b) - P(X \le a - 1). Translating the English wording into these cumulative expressions is half the skill: write the inequality first, then read off which cumulative values you need.

Where the binomial is used

The binomial underpins quality-control sampling (the number of defective items in a batch), opinion polling at small scale (the number of supporters in a fixed sample), and any "nn independent yes/no trials" scenario. In Unit 4 it returns as the foundation for the sampling distribution of a proportion: dividing a binomial count by nn gives p^\hat{p}, whose mean pp and standard deviation p(1p)/n\sqrt{p(1-p)/n} come straight from E(X)=npE(X) = np and Var(X)=np(1p)\operatorname{Var}(X) = np(1-p).

Summary

For any discrete random variable, build the distribution table, confirm the probabilities sum to 11, then compute E(X)E(X) and Var(X)\operatorname{Var}(X). Before using the binomial formula, check all four conditions hold. Decide whether the question wants an exact value, a cumulative range, or a complement, and use E(X)=npE(X)=np and Var(X)=np(1p)\operatorname{Var}(X)=np(1-p) as quick shortcuts for binomial summaries.

Exam-style practice questions

Practice questions written in the style of TASC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

TCE 20245 marksCalculator-free. The probability of a machine producing a defective item is 110\dfrac{1}{10}. XX is the number of defective items produced when 44 items are made. Calculate exact values for: (a) P(X=3)P(X = 3); (b) P(X<3)P(X < 3).
Show worked answer →

XX is binomial with n=4n = 4 trials and success probability p=110p = \dfrac{1}{10}, so q=910q = \dfrac{9}{10}. Use P(X=r)=(nr)prqnrP(X = r) = \binom{n}{r}p^{r}q^{n-r}.

(a) P(X=3)=(43)(110)3(910)1=4×11000×910=3610000=92500P(X = 3) = \binom{4}{3}\left(\dfrac{1}{10}\right)^{3}\left(\dfrac{9}{10}\right)^{1} = 4\times\dfrac{1}{1000}\times\dfrac{9}{10} = \dfrac{36}{10000} = \dfrac{9}{2500}. One mark for the correct binomial coefficient and powers, one for the exact value.

(b) P(X<3)=P(X=0)+P(X=1)+P(X=2)P(X < 3) = P(X = 0) + P(X = 1) + P(X = 2). It is fastest to use P(X<3)=1P(X=3)P(X=4)P(X < 3) = 1 - P(X = 3) - P(X = 4).
P(X=4)=(110)4=110000P(X = 4) = \left(\dfrac{1}{10}\right)^{4} = \dfrac{1}{10000}.
So P(X<3)=13610000110000=13710000=996310000P(X < 3) = 1 - \dfrac{36}{10000} - \dfrac{1}{10000} = 1 - \dfrac{37}{10000} = \dfrac{9963}{10000}.
Markers want exact fractions, not decimals, since the question asks for exact values.

TCE 20235 marksCalculator-free. A discrete random variable XX has P(X=x)=0.1,0.2,0.4,0.2,0.1P(X = x) = 0.1, 0.2, 0.4, 0.2, 0.1 for x=2,1,0,1,2x = -2, -1, 0, 1, 2 respectively. (a) Find E(X)E(X). (b) Show that Var(X)=1.2\operatorname{Var}(X) = 1.2.
Show worked answer →

(a) E(X)=xP(X=x)E(X) = \sum x\,P(X = x)

=(2)(0.1)+(1)(0.2)+(0)(0.4)+(1)(0.2)+(2)(0.1)=0.= (-2)(0.1) + (-1)(0.2) + (0)(0.4) + (1)(0.2) + (2)(0.1) = 0.

The distribution is symmetric about 00, so E(X)=0E(X) = 0.

(b) Var(X)=E(X2)[E(X)]2\operatorname{Var}(X) = E(X^{2}) - [E(X)]^{2}.

E(X2)=(4)(0.1)+(1)(0.2)+(0)(0.4)+(1)(0.2)+(4)(0.1)=1.2.E(X^{2}) = (4)(0.1) + (1)(0.2) + (0)(0.4) + (1)(0.2) + (4)(0.1) = 1.2.

Since E(X)=0E(X) = 0, Var(X)=1.202=1.2\operatorname{Var}(X) = 1.2 - 0^{2} = 1.2 as required. Show the E(X2)E(X^{2}) sum explicitly to earn the working marks.

TCE 20242 marksCalculator-assumed. A casino game has net earnings XX dollars with P(X=1)=1424P(X = -1) = \dfrac{14}{24}, P(X=0)=424P(X = 0) = \dfrac{4}{24} and P(X=2)=624P(X = 2) = \dfrac{6}{24}. Calculate E(X)E(X) and state whether this is a fair game.
Show worked answer →

E(X)=(1)1424+(0)424+(2)624=14+0+1224=224=1120.083.E(X) = (-1)\frac{14}{24} + (0)\frac{4}{24} + (2)\frac{6}{24} = \frac{-14 + 0 + 12}{24} = \frac{-2}{24} = -\frac{1}{12} \approx -0.083.

A game is fair only when the expected earnings are 00. Here E(X)=112E(X) = -\dfrac{1}{12} dollars is negative, so on average the player loses about 8.38.3 cents per play. It is not a fair game; it favours the casino. One mark for the correct E(X)E(X), one for the justified conclusion.

ExamExplained