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

How do we measure the centre and spread of a discrete probability distribution?

The expected value is the long-run mean of a discrete random variable; the variance and standard deviation measure how spread out its values are.

How to compute the expected value, variance and standard deviation of a discrete random variable, including the shortcut variance formula and linear transformation rules.

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

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

Jump to a section
  1. What this dot point is asking
  2. Expected value
  3. Variance and standard deviation
  4. Linear transformations
  5. Decision-making with expected value
  6. Common errors
  7. Why it matters

What this dot point is asking

The expected value is the average value of XX you would see over very many repetitions - the "centre" of the distribution. The variance and standard deviation measure how far, on average, the outcomes fall from that centre.

Expected value

You multiply each value by its probability and add the results. The expected value need not be a value the variable can actually take (a die's mean is 3.53.5).

Variance and standard deviation

Variance is the expected squared distance from the mean. The definition and the much faster computational form are:

The shortcut E(X2)μ2E(X^2)-\mu^2 is almost always quicker than working with (xμ)2(x-\mu)^2 directly.

Linear transformations

If you scale and shift a random variable, Y=aX+bY=aX+b, the mean and variance transform predictably:

For example, if each spin's payout is doubled and a $1\$1 entry fee is subtracted, Y=2X1Y=2X-1, then E(Y)=2(2.1)1=3.2E(Y)=2(2.1)-1=3.2 and Var(Y)=22(2.29)=9.16\operatorname{Var}(Y)=2^2(2.29)=9.16.

The reason bb disappears from the variance is intuitive: adding a fixed amount to every outcome slides the whole distribution sideways without changing how spread out the values are. Scaling by aa, on the other hand, stretches the distances from the mean by a factor of aa, and since variance is built from squared distances, those distances get squared too. This is why the standard deviation, which is in the original units, scales by a|a| while the variance scales by a2a^2.

Decision-making with expected value

A frequent SACE application is judging whether a game is "fair". A game is fair if the expected net gain is zero once the cost of playing is subtracted. Suppose a game costs $2\$2 to play and pays out according to XX with E(X)=2.1E(X)=2.1. The expected net gain is E(X)2=0.10E(X)-2=0.10 dollars per play, so the game slightly favours the player. If instead the cost were $2.50\$2.50, the expected net would be $0.40-\$0.40, so over many plays you would expect to lose forty cents per game. Expected value is the standard tool for these long-run decision questions, and examiners expect you to interpret the sign of the result in context, not just compute it.

Common errors

Why it matters

Expected value underpins fair-game and decision questions, while variance and standard deviation describe risk and spread - concepts you reuse for the binomial distribution, the normal distribution in Topic 5, and the sampling distributions in Topic 6.

Exam-style practice questions

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

SACE 20233 marksCalculator-assumed. A discrete random variable XX takes values 1-1, 00 and 22 with probabilities 0.20.2, 0.70.7 and 0.10.1 respectively, so that E(X)=0E(X) = 0. Calculate the standard deviation of XX.
Show worked answer →

The standard deviation is the square root of the variance. With μ=0\mu = 0, the variance is (xμ)2P(X=x)\sum (x - \mu)^2 P(X=x):

Var(X)=(1)2(0.2)+(0)2(0.7)+(2)2(0.1)=0.2+0+0.4=0.6.\operatorname{Var}(X) = (-1)^2(0.2) + (0)^2(0.7) + (2)^2(0.1) = 0.2 + 0 + 0.4 = 0.6.

Standard deviation =0.60.775= \sqrt{0.6} \approx 0.775 (to three significant figures).

Marks: one for the variance set-up, one for evaluating it to 0.60.6, and one for the square root. Forgetting to square root the variance is a common slip.

SACE 20222 marksCalculator-assumed. The number XX printed on a randomly selected duck takes the values 11, 22, 55 and 1010 with probabilities 0.50.5, 0.20.2, 0.20.2 and 0.10.1, and E(X)=2.9E(X) = 2.9. Calculate the standard deviation of XX.
Show worked answer →

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

First E(X2)=(1)2(0.5)+(2)2(0.2)+(5)2(0.2)+(10)2(0.1)=0.5+0.8+5+10=16.3E(X^2) = (1)^2(0.5) + (2)^2(0.2) + (5)^2(0.2) + (10)^2(0.1) = 0.5 + 0.8 + 5 + 10 = 16.3.

Then Var(X)=16.3(2.9)2=16.38.41=7.89\operatorname{Var}(X) = 16.3 - (2.9)^2 = 16.3 - 8.41 = 7.89.

Standard deviation =7.892.81= \sqrt{7.89} \approx 2.81 (to three significant figures).

Marks: one for the variance, one for the square root. The large spread reflects the rare but high value of 1010.

SACE 20213 marksCalculator-assumed. A random variable XX has E(X)=4E(X) = 4 and Var(X)=9\operatorname{Var}(X) = 9. The variable Y=3X2Y = 3X - 2. Find E(Y)E(Y) and Var(Y)\operatorname{Var}(Y).
Show worked answer →

Apply the linear transformation rules. For Y=aX+bY = aX + b with a=3a = 3, b=2b = -2:

E(Y)=aE(X)+b=3(4)2=10.E(Y) = aE(X) + b = 3(4) - 2 = 10.

Var(Y)=a2Var(X)=32(9)=81.\operatorname{Var}(Y) = a^2 \operatorname{Var}(X) = 3^2 (9) = 81.

Marks: one for E(Y)=10E(Y) = 10, one for using a2a^2 (not aa) on the variance, and one for Var(Y)=81\operatorname{Var}(Y) = 81. The constant 2-2 shifts the mean but leaves the spread unchanged.

ExamExplained