Discrete random variables and distributions (SACE Stage 2 Mathematical Methods)
“A discrete random variable assigns a numerical value to each outcome, and its probability distribution lists every value together with its probability.”
A discrete random variable takes a countable set of numerical values, each with a probability. Its probability distribution is the table or rule pairing every value with . To be valid, all probabilities must satisfy and they must sum to exactly .
Jump to a section
What this dot point is asking
A random variable is a rule that attaches a number to each outcome of a chance experiment. It is discrete when its possible values can be listed - typically counts such as the number of heads in three tosses, or the number of defective items in a sample.
A discrete random variable is a variable whose possible values form a countable set , where each value occurs with a known probability .
The probability distribution
The probability distribution of lists each value alongside its probability. For tossing a fair coin three times and counting heads, :
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
The two rules of a valid distribution
Every probability distribution must satisfy two conditions:
The second rule is the workhorse of exam questions: you are often given a distribution containing an unknown and must use "the probabilities sum to 1" to solve for it.
The random variable has the distribution below, where is a constant.
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
Find , then .
Step 1: Write the sum-to-one equation
Every valid probability distribution must have all its probabilities add to exactly 1. That rule gives us an equation to solve for the unknown .
Step 2: Solve for
Collect the constant terms on the left and the terms together.
So and .
Step 3: Find
The event means or , so add those two probabilities.
Final answer: and .
Reading probabilities from the table
Compound events are found by adding the relevant rows. Watch the inequality carefully:
- (strictly greater, so is excluded).
- ( included).
- The complement: can be quicker.
For "at least one" or "at least two" style questions, it is often faster to compute or than to add many rows. This also reduces arithmetic slips.
The cumulative distribution
Beyond individual probabilities, you can build a running total , called the cumulative distribution. For the three-toss coin example, the cumulative probabilities are , , and . Cumulative values make "less than or equal to" questions immediate and let you find any interval probability by subtraction: . Examiners use cumulative phrasing ("no more than two") precisely to test whether you include or exclude the boundary value.
Common errors
Two errors recur. First, building a distribution whose probabilities do not total exactly 1 - always check the sum before answering. Second, confusing strict and inclusive inequalities: excludes whereas includes it. Write out the values you are summing rather than working in your head.
Distributions given by a rule
A distribution need not be a table; it can be a formula. If for , you generate the probabilities by substitution: . Always confirm the rule produces a valid distribution by checking each value lies in and the total is exactly . Rule-based distributions are common because they let an examiner embed an unknown constant - for example - which you solve for using .
The random variable has for . Find and then .
Step 1: Generate the probabilities from the rule
Substitute each value of into the formula to see what each probability looks like in terms of .
Step 2: Apply the sum-to-one condition
Because all probabilities must sum to 1, add the three expressions and set the total equal to 1.
Step 3: Find
Now that is known, substitute back into the expression for .
Final answer: and .
Why it matters
Discrete random variables are the foundation for expected value, variance, and the binomial distribution that follow in this topic. The "sum to 1" technique and careful inequality reading reappear throughout the probability strand and into Topic 5's continuous distributions, where the sum becomes an integral.
Exam-style questions
Questions in the style of SACE Board 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.
SACE 2023-style4 marksCalculator-assumed. A discrete random variable takes values , and with probabilities , and . (a) Explain why . (b) Given , write a second equation for and . (c) Find and .Show worked answer →
(a) Every valid probability distribution must have probabilities that sum to 1. Here , so . (1 mark)
(b) The expected value is . Setting gives , i.e. . (1 mark)
(c) From (b), . Substitute into to get . (2 marks)
So and . The two ideas tested are that probabilities sum to 1 and the definition of expected value.
SACE 2022-style2 marksCalculator-assumed. In a game, the number printed on a randomly selected duck takes the values , , and with probabilities , , and respectively. Calculate the expected value .Show worked answer →
Use across all four values:
So . Marks: one for the sum of value times probability, one for the arithmetic. A quick check that confirms the distribution is valid before computing the mean.
SACE 2021-style3 marksCalculator-assumed. The distribution of is for . (a) Verify this is a valid probability distribution. (b) Find .Show worked answer →
(a) Compute each probability: , , , . Each lies between and , and the sum is , so it is valid. (2 marks)
(b) . (1 mark)
Marks reward checking both validity conditions and reading the inclusive inequality correctly.