4.7 Discrete random variables
Studying this course? Keep your progress in one place.
Key facts
- ; use it to find unknown constants.
- Expected value: .
- Expected number of occurrences .
- A fair game has .
- need not be a value that can take.
Discrete random variables
A quantity decided by chance that takes only separate, countable values.
A random variable is a quantity whose value is determined by the outcome of a random experiment. It is discrete if it takes only separate (countable) values, such as the number of goals in a match or the score on a dice.
We write for the random variable and for a value it takes, so means 'the probability that takes the value 2'.
| Discrete | Continuous | |
|---|---|---|
| Takes | Separate, countable values | Any value in an interval |
| Examples | Goals in a match, dice score | Height, time |
Discrete
- Takes:
- Separate, countable values
- Examples:
- Goals in a match, dice score
Continuous
- Takes:
- Any value in an interval
- Examples:
- Height, time
Which of these is a discrete random variable?
Probability distributions
A list of every value of with its probability; the probabilities add up to 1.
A probability distribution lists every possible value of with its probability. It can be a table, for example , , or a function, for example for .
Every probability is between 0 and 1 and they add up to 1. Use this to find an unknown constant.
- Total probability
Worked example
for . Find .
- 1
The probabilities must sum to 1: .
- 2
So .
Is for a valid distribution?
Expected value
The long-run mean: multiply each value by its probability and add.
The expected value (mean) of is in the formula booklet. It is the long-run average value of over many trials. It need not be a possible value of : a team can have goals per match.
Check that your lies between the smallest and largest values of .
- Expected value
Worked example
for . Find .
- 1
Multiply each value by its probability: .
- 2
Add: .
, , . What is ?
Applications and expected numbers
Multiply the number of occasions by the probability: .
If an event has probability on each of occasions, the expected number of occurrences is . With , over 30 matches the expected number with at least 2 goals is .
For two independent observations, multiply probabilities and remember different orders. For example when 2 and 3 are the only values that sum to 5.
- Expected number
. In 50 matches, how many are expected to have at least 2 goals?
Fair games
When the player's expected gain, prize minus cost, is zero.
Let be the gain of a player: the amount received minus the cost to play. The game is fair if .
If , the player expects to lose and the organiser expects to profit. Over games the organiser's expected profit is .
To make a game fair, write in terms of the unknown prize or cost, set it equal to 0 and solve.
- 1
List the gains
prize minus cost for each outcome
- 2
Write E(X)
in terms of the unknown
- 3
Set E(X) = 0
the fair game condition
- 4
Solve
for the prize or cost
Worked example
A game costs £2 to play. A fair die is rolled and the player wins £ if a six is rolled, otherwise nothing. Find for a fair game.
- 1
The gain is with probability , and with probability .
- 2
.
- 3
Set .
In a game, pounds per play. What profit does the organiser expect over 200 plays?
Try an exam question
The discrete random variable has for . (a) Find . (b) Find .
[4 marks]
- [1]The probabilities sum to 1: .
- [1].
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the value of .
1 mark, marked against the mark scheme
Find the value of .
1 mark, marked against the mark scheme