PDF and CDF: Roll 2 dice
Roll two dice colored red and green. Let record the number of dots showing on the red die, the number on the green die, and let be a random variable giving the total number of dots showing after the roll, namely .
- Find the PMFs of and of and of .
- Find the CDF of .
- Find .
Solution
(1) Construct sample space:
Denote outcomes with ordered pairs of numbers , where is the number showing on the red die and is the number on the green one.
Therefore are integers satisfying .
(2) Create chart of outcomes:

(3) Define random variables:
We have and .
Therefore .
(4) Find PMF of :
Use variable for each possible value of , so . Find :
Therefore for every .
(5) Find PMF of similarly:
(6) Find PMF of :
Count outcomes along diagonal lines in the chart.
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|

Evaluate: .
(7) Find CDF of :
CDF definition:
Apply definition: add new PMF value at each increment:
PMF for total heads count; binomial expansion of 1
A fair coin is flipped times.
Let be the random variable that counts the total number of heads in each sequence.
The PMF of is given by:
Since the total probability must add to 1, we know this formula must hold:
Is this equation really true?
There is another way to view this equation: it is the binomial expansion where and :
Life insurance payouts
A life insurance company has two clients, and , each with a policy that pays $100,000 upon death. Consider events that the older client dies next year, and that the younger dies next year. Suppose and .
Define a random variable measuring the total money paid out next year in units of $1,000. The possible values for are 0, 100, 200. Now calculate: