Example 1
Question: A die is thrown three times. Events A and B are defined as: A = getting an odd number on the third throw; B = getting 2 on the first throw and 4 on the second throw. Find the probability of A given that B has already occurred.
Solution: The sample space when a die is thrown three times has \(6 \times 6 \times 6 = 216\) equally likely outcomes. Event B: getting 2 on the first throw AND 4 on the second throw. The third throw can be anything (1 through 6), so the outcomes in B are: (2, 4, 1), (2, 4, 2), (2, 4, 3), (2, 4, 4), (2, 4, 5), (2, 4, 6). Thus \(n(B) = 6\), and \[P(B) = \frac{6}{216} = \frac{1}{36}\] Event A \(\cap\) B: getting 2 on the first throw, 4 on the second throw, AND an odd number (1, 3, or 5) on the third throw. The outcomes are: (2, 4, 1), (2, 4, 3), (2, 4, 5). Thus \(n(A \cap B) = 3\), and \[P(A \cap B) = \frac{3}{216} = \frac{1}{72}\] Using the conditional probability formula: \[P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{\dfrac{1}{72}}{\dfrac{1}{36}}\] Simplifying: \[P(A \mid B) = \frac{1}{72} \times \frac{36}{1} = \frac{36}{72} = \frac{1}{2}\]
Answer: P(A|B) = 1/2
Example 2
Question: A die is thrown four times. Events A and B are defined as: A = getting a multiple of 3 on the fourth throw; B = getting 1 on the first throw, 5 on the second throw, and 2 on the third throw. Find the probability of A given that B has already occurred.
Solution: The sample space when a die is thrown four times has \(6^4 = 1296\) equally likely outcomes. Event B: getting 1 on the first throw, 5 on the second throw, AND 2 on the third throw. The fourth throw can be anything (1 through 6), so the outcomes in B are: (1, 5, 2, 1), (1, 5, 2, 2), (1, 5, 2, 3), (1, 5, 2, 4), (1, 5, 2, 5), (1, 5, 2, 6). Thus \(n(B) = 6\), and \[P(B) = \frac{6}{1296} = \frac{1}{216}\] Event A \(\cap\) B: getting 1 on the first throw, 5 on the second throw, 2 on the third throw, AND a multiple of 3 (i.e., 3 or 6) on the fourth throw. The outcomes are: (1, 5, 2, 3) and (1, 5, 2, 6). Thus \(n(A \cap B) = 2\), and \[P(A \cap B) = \frac{2}{1296} = \frac{1}{648}\] Using the conditional probability formula: \[P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{\dfrac{1}{648}}{\dfrac{1}{216}}\] Simplifying: \[P(A \mid B) = \frac{1}{648} \times \frac{216}{1} = \frac{216}{648} = \frac{1}{3}\]
Answer: P(A|B) = 1/3