4 The Meaning of “And” and “Or” in Probability
Brokk Toggerson
“And” and “or” have important roles in probability and entropy, and we will be exploring them in this section.
Consider a bowl with four balls of different colors, red, green, orange, and blue. If we reach in and grab a ball, the probability of grabbing each color is easy to see; there’s a 1/4 chance of grabbing red, 1/4 chance of grabbing green, 1/4 chance of grabbing orange, and 1/4 chance in grabbing the blue. Regarding the probability, we can say that the probability of grabbing each color is 1/4.
Now let’s think about the probability of grabbing a blue ball or grabbing a green ball. There’s four different possibilities when you pull out a ball, red, green, orange, and blue, and two of them are either blue or green, and so the probability becomes 2/4. Thinking about this mathematically, you’ll notice that the final probability is the sum of the two probabilities. In this problem, we’re looking for the probability of pulling a green ball OR a blue ball, and a general guideline is that when you see “or”, that usually tells you to add.
Moving onto “and”, what is the probability of pulling out a blue ball, putting it back, and pulling out a green ball? Let’s go through all the different possibilities if you pull two balls:
blue, red | red, red | green, red | orange, red |
blue, green | red, green | green, green | orange, green |
blue, blue | red, blue | green, blue | orange, blue |
blue, orange | red, orange | green, orange | orange, orange |
Out of all these possibilities, there is only one case where you pull out the blue ball, and then the green ball, so the probability is 1/16. Notice that this is the probability of each ball multiplied together. Just like how you add when you see “or”, you multiply when you see “and”.
Now let’s look at a more complicated example that combines these two ideas. What is the probability of pulling out the blue ball and then the green ball, or pulling out the green ball and then the blue ball? Essentially, it’s the same example as above, only we don’t care about the order in which the ball is pulled. First, let’s apply these ideas of adding with “or” and multiplying with “and”. In this scenario, we are looking for blue AND green, OR green AND blue. We can model this as:
where is the probability of pulling a blue and is the probability of pulling a green. Plugging in our values for the probabilities:
Solving this gives us 2/16, or 1/8. We can confirm this by looking back at table above, we can see that there’s two possibilities out of the 16, so the probability is 2/16 here as well.
Summary
In general, if in describing the problem you say
- “or” – you will add probabilities,
- “and” – you will multiply probabilities.
In general, the “and” and “or” rules will work; there are very few cases where this will not apply.