← Unit 2: Functions, calculus and probability

VICMath MethodsSyllabus dot point

How are discrete random variables analysed?

Define a discrete random variable and its probability distribution, and compute expected value (mean) and variance for given distributions

A focused answer to the VCE Maths Methods Unit 2 dot point on discrete random variables. Defines a probability distribution, computes expected value $E[X] = \sum x_i p_i$ and variance $\text{Var}(X) = E[X^2] - (E[X])^2$, and works the VCAA SAC-style fair-die and lottery-EV problems.

Generated by Claude OpusReviewed by Better Tuition Academy5 min answer

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

What this dot point is asking

VCAA wants you to define a discrete random variable, write down its probability distribution, and compute its expected value (mean) and variance.

Discrete random variable

A random variable XX is discrete if it takes a countable set of values (often integers).

The probability distribution of XX lists each possible value xix_i with its probability pi=P(X=xi)p_i = P(X = x_i). Requirements:

  • IMATH_8 for all ii.
  • IMATH_10 .

Expected value (mean)

E[X]=ΞΌ=βˆ‘ixi piE[X] = \mu = \sum_{i} x_i \, p_i

The expected value is the probability-weighted average. It is the long-run mean of many independent observations of XX.

For a fair six-sided die: E[X]=(1+2+3+4+5+6)/6=3.5E[X] = (1 + 2 + 3 + 4 + 5 + 6)/6 = 3.5. Not one of the possible outcomes, but the long-run average.

Variance

Var(X)=Οƒ2=E[(Xβˆ’ΞΌ)2]=βˆ‘i(xiβˆ’ΞΌ)2pi\text{Var}(X) = \sigma^2 = E[(X - \mu)^2] = \sum_i (x_i - \mu)^2 p_i

Equivalent computational form:

Var(X)=E[X2]βˆ’(E[X])2\text{Var}(X) = E[X^2] - (E[X])^2

where E[X2]=βˆ‘xi2piE[X^2] = \sum x_i^2 p_i.

Standard deviation: Οƒ=Var(X)\sigma = \sqrt{\text{Var}(X)}.

Linearity of expected value

For constants a,ba, b:

E[aX+b]=aE[X]+bE[aX + b] = a E[X] + b

For two independent random variables X,YX, Y: E[X+Y]=E[X]+E[Y]E[X + Y] = E[X] + E[Y].

Variance is not linear in the same way: Var(aX+b)=a2Var(X)\text{Var}(aX + b) = a^2 \text{Var}(X).

Worked example (lottery)

A lottery ticket costs \10.Probabilityofwinningtheprizeof. Probability of winning the prize of \10001000 is 0.0050.005. Net profit XX: gain \990withprobability with probability 0.005,lose, lose \1010 with probability 0.9950.995.

E[X]=0.005β‹…990+0.995β‹…(βˆ’10)=4.95βˆ’9.95=βˆ’5.00E[X] = 0.005 \cdot 990 + 0.995 \cdot (-10) = 4.95 - 9.95 = -5.00.

Expected loss of \5$ per ticket. Hence the term "negative-expected-value game".

Common traps

Confusing E[X2]E[X^2] with (E[X])2(E[X])^2. They differ by the variance.

Forgetting probabilities must sum to 11. Check before computing.

Treating E[X]E[X] as a typical outcome. It is the long-run average, not necessarily one of the observed values.

Negative variance. Variance is always non-negative; a negative result indicates a calculation error.

In one sentence

A discrete random variable has a probability distribution listing each value xix_i with probability pip_i (summing to 11); the expected value is E[X]=βˆ‘xipiE[X] = \sum x_i p_i (the probability-weighted mean) and the variance is Var(X)=E[X2]βˆ’(E[X])2\text{Var}(X) = E[X^2] - (E[X])^2 (with standard deviation Var(X)\sqrt{\text{Var}(X)}).

Past exam questions, worked

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

Year 11 SAC4 marksA discrete random variable $X$ has distribution $P(X=1) = 0.4$, $P(X=2) = 0.3$, $P(X=3) = 0.2$, $P(X=4) = 0.1$. Find (a) $E[X]$ and (b) $\text{Var}(X)$.
Show worked answer β†’

(a) Expected value. E[X]=1(0.4)+2(0.3)+3(0.2)+4(0.1)=0.4+0.6+0.6+0.4=2.0E[X] = 1(0.4) + 2(0.3) + 3(0.2) + 4(0.1) = 0.4 + 0.6 + 0.6 + 0.4 = 2.0.

(b) Variance. Compute E[X2]E[X^2] first.

E[X2]=1(0.4)+4(0.3)+9(0.2)+16(0.1)=0.4+1.2+1.8+1.6=5.0E[X^2] = 1(0.4) + 4(0.3) + 9(0.2) + 16(0.1) = 0.4 + 1.2 + 1.8 + 1.6 = 5.0.

Var(X)=E[X2]βˆ’(E[X])2=5.0βˆ’4.0=1.0\text{Var}(X) = E[X^2] - (E[X])^2 = 5.0 - 4.0 = 1.0.

Markers reward correct probability-weighted sums, the variance formula E[X2]βˆ’(E[X])2E[X^2] - (E[X])^2, and units (none for these abstract variables).

Related dot points