Probability functions and cumulative distribution functions
Studying this course? Keep your progress in one place.
Key facts
- A discrete random variable takes separate values; is the probability that it takes the value .
- The probability function has and .
- The cumulative distribution function is : add the probabilities up to .
- Convert probabilities into differences of : and .
- For 'largest' or 'smallest' questions, working with is often quicker.
Discrete random variables
A random variable takes values that depend on a random experiment; it is discrete if the values are separate, such as whole numbers.
A random variable is a variable whose value depends on the outcome of a random experiment. It is discrete if it takes separate values, usually whole numbers, such as the score on a die.
A capital letter, , names the variable; a lower-case letter, , is a particular value. means 'the probability that takes the value '.
The possible values and their probabilities form the probability distribution of .
In the notation , what does the lower-case 3 represent?
The probability function p(x)
The probability function is . Every probability lies between 0 and 1 and they sum to 1.
The probability function is . It can be given as a table, a list or a formula such as for .
Two rules always hold. Use the second to find an unknown constant.
After finding a constant, check that every probability is between 0 and 1.
- Each probability
- All probabilities
Worked example
for . Find and .
- 1
Use : .
- 2
So and .
- 3
.
Worked example
for . Find .
- 1
The values of are 1, 2, 5, 10.
- 2
, so .
for . What is ?
The cumulative distribution function
adds the probabilities from the smallest value up to .
The cumulative distribution function is . It adds up the probabilities from the smallest value up to .
never decreases, and for the largest value is 1. For a value that is not possible, use the next lower possible value: if takes whole numbers, .
For probabilities on : , , , .
| x = 1 | x = 2 | x = 3 | x = 4 | |
|---|---|---|---|---|
| p(x) | 0.1 | 0.2 | 0.3 | 0.4 |
| F(x) | 0.1 | 0.3 | 0.6 | 1 |
x = 1
- p(x):
- 0.1
- F(x):
- 0.1
x = 2
- p(x):
- 0.2
- F(x):
- 0.3
x = 3
- p(x):
- 0.3
- F(x):
- 0.6
x = 4
- p(x):
- 0.4
- F(x):
- 1
- Cumulative distribution function
takes whole numbers and . What is ?
Using F to find probabilities
Convert each probability into differences of ; to go the other way, add the probabilities cumulatively.
Convert each probability into differences of (for whole-number values):
To go the other way, add the probabilities cumulatively: gives .
Worked example
, , , . Find and .
- 1
.
- 2
.
Using the same , what is ?
Building a distribution from a situation
List the possible values, work out each probability, and check the total is 1. For 'largest' or 'smallest', work with .
To find a distribution from a situation, list the possible values, count or calculate each probability, and check the total is 1.
Example: a fair four-sided die is rolled twice and is the larger score. Of the 16 outcomes, for 5, so for .
A shortcut: , so .
For three rolls, and .
A fair four-sided die is rolled twice and is the larger score. What is ?
Try an exam question
The discrete random variable has probability function for . (a) Find the value of . (b) Find . (c) Find .
[4 marks]
- [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