Lesson 1: Discrete random variables and probability functions
Build a probability function from a chance experiment
SkillsProbability functionsModelling with discrete random variables
Worked example
Two fair four-sided dice, each numbered 1 to 4, are rolled. Let be the larger of the two numbers (if they are equal, is that number).
(a) Determine the probability function of .
(b) Is a uniform random variable? Explain.
Step 1: Describe the equally likely outcomes
There are equally likely ordered pairs, from to .
Step 2: Count the pairs for each value
- : only , so 1 pair.
- : , so 3 pairs.
- : , so 5 pairs.
- : the remaining 7 pairs.
The larger number is at most when both dice are at most , which happens in ways. So exactly happens in ways: 1, 3, 5, 7.
Step 3: Write the table
1 2 3 4 Check: .
Step 4: Decide whether it is uniform
The values are not equally likely: a larger number of 4 is seven times as likely as 1. So is not uniform, even though the 16 outcomes underneath it are equally likely.
Answer
, , , . is not uniform because its values have different probabilities.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
List or count the equally likely outcomes.
Group the outcomes by the value of and count each group.
Divide by the total, and check that the probabilities add to 1.
Watch out for
Counting and as one outcome.
Assuming is uniform because the dice are fair.