Count Outcomes to Build a Distribution
In Probability Distribution of a Discrete Random Variable, you learned that a distribution pairs each possible value of a random variable with its probability. The earlier tutorial on Finding a Missing Probability in a Distribution used the fact that the probabilities must add to 1. In this tutorial, we will build a distribution directly from the outcomes of a chance process: rolling a fair six-sided die twice and recording the larger value.
Let \(M\) be the larger of the two numbers rolled. For instance, if the rolls are 2 and 5, then \(M=5\). If both rolls are 4, then \(M=4\). The possible values of \(M\) are 1, 2, 3, 4, 5, and 6.
To count carefully, represent the outcome as an ordered pair \((a,b)\), where \(a\) is the first roll and \(b\) is the second. The order matters for describing outcomes: \((2,5)\) and \((5,2)\) are different outcomes, even though both give \(M=5\). With two independent rolls of a fair six-sided die, there are \(6\cdot6=36\) equally likely ordered pairs. Each has probability \(1/36\).
Count the Outcomes for Each Maximum
One direct way to count the outcomes with maximum \(m\) is to list pairs that include \(m\) but do not include any number larger than \(m\). For example, when \(m=4\), at least one roll must be 4, and the other roll can be 1, 2, 3, or 4. That gives seven ordered pairs: \((4,1)\), \((4,2)\), \((4,3)\), \((4,4)\), \((1,4)\), \((2,4)\), and \((3,4)\). The pair \((4,4)\) is counted only once.
There is also a useful counting method based on cumulative totals. The number of ordered pairs with both rolls at most \(m\) is \(m^2\): there are \(m\) choices for the first roll and \(m\) choices for the second. Of these, \((m-1)^2\) pairs have both rolls below \(m\). Subtracting leaves the pairs whose maximum is exactly \(m\).
For \(m=1\), the count is \(1^2-0^2=1\), the outcome \((1,1)\). For \(m=6\), it is \(6^2-5^2=11\). Dividing each count by 36 gives the probability of that maximum.
Worked Example: Construct the Full Distribution
Worked Example: Construct the Full Distribution
A fair six-sided die is rolled twice. Let \(M\) be the larger of the two rolls. Construct the probability distribution of \(M\), showing how the outcome counts are obtained.
State. We need \(P(M=m)\) for each possible maximum \(m=1,2,3,4,5,6\).
Plan. The sample space consists of 36 equally likely ordered pairs. For each \(m\), count the pairs with both rolls at most \(m\), then subtract those with both rolls below \(m\). Divide each resulting count by 36.
Do. The exact counts are \(m^2-(m-1)^2=2m-1\). Applying this for all six possible values gives:
| Maximum \(m\) | Count of ordered pairs | \(P(M=m)\) |
|---|---|---|
| 1 | \(1^2-0^2=1\) | \(\frac{1}{36}\) |
| 2 | \(2^2-1^2=3\) | \(\frac{3}{36}\) |
| 3 | \(3^2-2^2=5\) | \(\frac{5}{36}\) |
| 4 | \(4^2-3^2=7\) | \(\frac{7}{36}\) |
| 5 | \(5^2-4^2=9\) | \(\frac{9}{36}\) |
| 6 | \(6^2-5^2=11\) | \(\frac{11}{36}\) |
To check the distribution, each probability is between 0 and 1. The counts total \(1+3+5+7+9+11=36\), so the probabilities total \(36/36=1\). This agrees with the validity checks from Checking Whether a Probability Distribution Is Valid.
Conclude. The distribution assigns probabilities \(1/36, 3/36, 5/36, 7/36, 9/36,\) and \(11/36\) to maximums 1 through 6, respectively. It is a valid probability distribution for the larger value from these two rolls.
Why Larger Maximums Have More Outcomes
The count increases as the maximum increases. A maximum of 1 requires both rolls to be 1, so there is only one matching pair. A maximum of 6 can occur whenever at least one roll is 6; the other roll can be any value from 1 through 6, giving 11 pairs altogether. Thus, the possible maximums are not equally likely, even though each individual die face is equally likely on a single roll.
The counts \(1,3,5,7,9,11\) also have a cumulative interpretation. For example, there are \(4^2=16\) outcomes with maximum at most 4, because each roll must be one of 1, 2, 3, or 4. The exact-maximum count for 4 is the difference between the number with maximum at most 4 and the number with maximum at most 3: \(16-9=7\). This “cumulative count, then subtract the previous cumulative count” approach is useful whenever outcomes can be organized by whether a value is at most a given cutoff.
Worked Example: Count Outcomes with a Maximum of 4
For two rolls of a fair six-sided die, find the probability that the larger value is exactly 4. Show the matching ordered pairs and explain why the count is correct.
State. The target is \(P(M=4)\).
Plan. For the maximum to equal 4, neither roll can exceed 4, and at least one roll must equal 4. List the pairs with a 4 and avoid counting \((4,4)\) twice. Since the 36 ordered pairs are equally likely, divide the count by 36.
Do. The pairs are \((4,1)\), \((4,2)\), \((4,3)\), \((4,4)\), \((1,4)\), \((2,4)\), and \((3,4)\). There are 7 pairs. Equivalently, there are \(4^2=16\) pairs with both rolls at most 4 and \(3^2=9\) with both rolls below 4, giving \(16-9=7\) pairs with maximum exactly 4.
Conclude. The probability that the larger of the two rolls is 4 is \(7/36\), or approximately 0.1944. This is the share of all 36 equally likely ordered pairs that have maximum 4.
Use the Distribution to Find Event Probabilities
Once the distribution is built, probabilities for events involving \(M\) can be found by adding the probabilities for the values that meet the event. For example, the event “the larger roll is at least 5” includes \(M=5\) and \(M=6\). These are separate possible values of the random variable, so their probabilities can be added.
A cumulative count can also check the result. “At least 5” is the complement of “at most 4.” There are \(4^2=16\) pairs with both rolls at most 4, so \(36-16=20\) pairs have a maximum of at least 5. The distribution and the direct count should agree.
Worked Example: Find the Probability the Maximum Is at Least 5
Two fair six-sided die rolls are made. Let \(M\) be the larger value. Find \(P(M\geq5)\) using the distribution, then verify the answer with a count of ordered pairs.
State. Find the probability that the larger roll is either 5 or 6.
Plan. Add the probabilities for \(M=5\) and \(M=6\). As a check, count the complement: pairs where both rolls are at most 4.
Do. From the distribution, \(P(M=5)=9/36\) and \(P(M=6)=11/36\). Thus, \(P(M\geq5)=9/36+11/36=20/36=5/9\approx0.5556\). For the check, there are \(4\cdot4=16\) pairs with both rolls at most 4, leaving \(36-16=20\) pairs with maximum at least 5. This gives the same probability, \(20/36\).
Conclude. The probability that the larger of the two rolls is at least 5 is \(5/9\), or approximately 0.5556. Both the distribution and the complement count give 20 favorable outcomes out of 36.
Common Mistakes and AP Exam Tips
- Assuming the six maximums are equally likely. The die faces are equally likely on one roll, but the maximum comes from a pair of rolls. Count the ordered pairs for each maximum; the counts are not all the same.
- Forgetting that order creates different outcomes. The outcomes \((2,5)\) and \((5,2)\) are distinct ordered pairs. Count both when appropriate, but count \((5,5)\) only once.
- Counting pairs with a roll equal to \(m\) without restricting the other roll. If \(m=4\), pairs such as \((4,6)\) do not have maximum 4. The other roll must be at most \(m\).
- Dividing by the wrong total. For two rolls, the sample space contains \(6\cdot6=36\) equally likely ordered pairs, not 6 outcomes.
- Giving only a table without checking it. A complete answer should show that the listed values cover all possible maximums and that the probabilities total 1. Here, the counts total 36, matching the size of the sample space.
For full-credit communication, define the random variable, identify the equally likely outcomes, show how the count for the target value is obtained, and divide by the total number of outcomes. Finish by interpreting the result in context. For a complete distribution, include every possible value and verify the probabilities sum to 1.
Key Takeaway
To build a distribution from a sample space, assign the random variable’s value to each outcome and count how often each possible value occurs. For the larger value from two fair six-sided die rolls, the count for maximum \(m\) is \(m^2-(m-1)^2=2m-1\), out of 36 equally likely ordered pairs.
Check Your Understanding
For two rolls of a fair six-sided die, let \(M\) be the larger roll. Show your counting work and use ordered pairs or the cumulative-count method.
- How many ordered pairs have maximum 2, and what is \(P(M=2)\)?
- Find the number of ordered pairs with maximum exactly 5. Show the subtraction of cumulative counts.
- Find \(P(M\leq3)\) by counting the outcomes directly.
- Find \(P(M=1)\) and explain why only one ordered pair produces this maximum.
- Why are \((3,6)\) and \((6,3)\) counted as two outcomes, while \((6,6)\) is counted as one?