Example 2
Question: Two dice are thrown simultaneously. Define events: \( A \) : getting a prime number on the first die, \( B \) : getting a composite number on the first die, \( C \) : getting a product of the two numbers equal to 12. Describe the event 'A or B' (i.e. \( A \cup B \)) and find its probability.
Solution: The sample space \( S \) consists of all ordered pairs \( (i, j) \) where \( i, j \in \{1, 2, 3, 4, 5, 6\} \), so \( n(S) = 36 \). Prime numbers in \( \{1, 2, 3, 4, 5, 6\} \) are \( \{2, 3, 5\} \), so event \( A \) requires the first die to show 2, 3, or 5: \[ A = \{ (2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(5,1),(5,2),(5,3),(5,4),(5,5),(5,6) \} \] \[ n(A) = 18 \] Composite numbers in \( \{1, 2, 3, 4, 5, 6\} \) are \( \{4, 6\} \) (note: 1 is neither prime nor composite), so event \( B \) requires the first die to show 4 or 6: \[ B = \{ (4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(6,1),(6,2),(6,3),(6,4),(6,5),(6,6) \} \] \[ n(B) = 12 \] Since a number cannot be both prime and composite, \( A \) and \( B \) are mutually exclusive: \[ A \cap B = \emptyset \] Therefore, the event 'A or B' is: \[ A \cup B = \{ (i,j) \in S : i \in \{2,3,4,5,6\} \} \] This event contains all outcomes where the first die does NOT show 1. It excludes the 6 outcomes \( (1,1),(1,2),(1,3),(1,4),(1,5),(1,6) \) where the first die shows 1 (since 1 is neither prime nor composite). So: \[ n(A \cup B) = n(A) + n(B) = 18 + 12 = 30 \] The probability: \[ P(A \cup B) = \frac{30}{36} = \frac{5}{6} \]
Answer: \( A \cup B = \{ (i,j) \in S : i \in \{2,3,4,5,6\} \} \), a set of 30 outcomes; \( P(A \cup B) = \dfrac{5}{6} \)