Discrete random variables, expected value and variance (VCE Maths Methods Unit 2)
“Define a discrete random variable and its probability distribution, and compute expected value (mean) and variance for given distributions”
A discrete random variable lists values with probabilities that sum to 1. The expected value (mean) is and the variance is , with standard deviation .
Jump to a section
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 is discrete if it takes a countable set of values (often integers).
The probability distribution of lists each possible value with its probability . Requirements:
- for all .
- .
Expected value (mean)
The expected value is the probability-weighted average. It is the long-run mean of many independent observations of .
For a fair six-sided die: . Not one of the possible outcomes, but the long-run average.
Variance
Equivalent computational form:
where .
Standard deviation: .
Linearity of expected value
For constants :
For two independent random variables : .
Variance is not linear in the same way: .
Finding unknown probabilities
A frequent exam task gives a distribution containing one or two unknown probabilities and a piece of information such as the value of . Two equations then pin down the unknowns: the probabilities must sum to , and the expected value (or another given) supplies a second linear relation. Solving the pair simultaneously is routine algebra, but you must remember to apply the "sum to one" condition, which students often omit. Once the distribution is complete, variance and standard deviation follow from the usual formulas.
Functions of a random variable
For constants and , the expected value is linear: , because adding a constant shifts every value and scaling stretches them. Variance behaves differently: , since adding a constant does not change spread (so disappears) while scaling by stretches deviations by and hence variance by . The standard deviation scales by . These transformation rules are examinable and let you read off the mean and spread of a rescaled variable without recomputing the whole distribution.
Step 1: Define the random variable
A lottery ticket costs and pays a prize of with probability . Let be the net profit: (the prize less the cost) with probability , and with probability . Expressing as net profit rather than gross receipt keeps the economics transparent and avoids having to subtract the ticket price later.
Step 2: Apply the expected-value formula
. The expected value multiplies each outcome by its probability and sums; note that the probabilities as required for a valid distribution.
Step 3: Evaluate
. The arithmetic is straightforward once each product is computed separately before combining.
Step 4: Interpret
The expected net result is a loss of per ticket, the defining feature of a negative-expected-value game. This does not mean every player loses exactly ; it means that over a large number of tickets the average loss converges to per ticket.
- Confusing with
- These differ by exactly the variance, so never substitute one for the other.
- Forgetting probabilities must sum to
- Check (and use) this condition before computing, especially when solving for unknowns.
- Treating as a typical outcome
- It is the long-run average and need not be one of the possible values.
- Reporting a negative variance
- Variance is always non-negative; a negative result signals an arithmetic error.
In one sentence
A discrete random variable has a probability distribution listing each value with probability (summing to ); the expected value is (the probability-weighted mean) and the variance is (with standard deviation ).
Examples in context
Example 1. Expected payout on a carnival game. A stall charges to spin a wheel. The wheel pays with probability , with probability , and with probability . Let be the payout. Then . Since the player pays but expects only back, the expected loss per play is , the stall's average profit.
Example 2. Insurance expected cost. An insurer covers a claim that occurs with probability in a year; otherwise the cost is . Let be the claim cost. Then . To break even the insurer must charge at least in premium (before expenses), the expected value of the random cost.
Try this
Q1. A variable has , , . Find . [2 marks]
- Cue. .
Q2. For the same distribution, find . [3 marks]
- Cue. ; .
Q3. A game gives net winnings : with probability , with probability . (a) Find . (b) Is the game favourable to the player? [2+1 marks]
- Cue. (a) . (b) No; negative expected value.
Exam-style questions
Questions in the style of VCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
Practice4 marksA discrete random variable has distribution , , , . Find (a) and (b) .Show worked answer →
(a) Expected value. .
(b) Variance. Compute first.
.
.
Markers reward correct probability-weighted sums, the variance formula , and units (none for these abstract variables).
Practice5 marksA discrete random variable has , , and , where and are constants. It is known that . (a) Set up two equations in and and solve them. (b) Hence find the standard deviation of , correct to two decimal places.Show worked answer →
(a) Probabilities sum to : , so .
Expected value: , so .
Subtract the first from the second: , giving and .
(b) .
. Standard deviation .
Markers reward both simultaneous equations, solving for and , and the variance then square-root step.