I was thinking about the following problem: What are the odds you roll a die and it comes up with either an odd number or a prime number?
In my head:
Odd: 1,3,5
Prime: 2,3,5
The die could come up 1, 2, 3, or 5 and fit the criteria of being odd or prime, meaning 4/6
However, I was thinking about the following formula: P(A or B) = P(A) + P(B) - P(A and B) which would mean: 1/2 + 1/2 - (1/2 * 1/2) = 3/4. What am I missing? Thoughts? Thanks.
In my head:
Odd: 1,3,5
Prime: 2,3,5
The die could come up 1, 2, 3, or 5 and fit the criteria of being odd or prime, meaning 4/6
However, I was thinking about the following formula: P(A or B) = P(A) + P(B) - P(A and B) which would mean: 1/2 + 1/2 - (1/2 * 1/2) = 3/4. What am I missing? Thoughts? Thanks.