The AND / OR rules
In a nutshell
Events can be combined using either of the phrases "and" or "or". For two events A and B, the combined event A AND B occurs if both A happens and B happens. The combined event A OR B happens if either A happens or B happens (at least one must occur).
AND events
Definition
Two events are independent if the outcome of either event doesn't affect the other. If the outcome of one event is affected by the outcome of another, then the events are dependent.
If two events A and B are independent then the AND rule can be used to calculate the probability of the combined event A AND B:
P(A and B)=P(A)×P(B)
This formula cannot be used if there A and B are not independent.
Example 1
What is the probability of landing heads on a fair coin flip and rolling a 6 on a fair die?
P(Landing heads)=21
P(Rolling 6)=61
As these events are independent:
P(Landing heads and rolling 6)=P(Landing heads)×P(Rolling 6)=21×61=121
OR events
Definition
Two events are mutually exclusive if the events cannot both occur at the same time. This means that for two mutually exclusive events A and B, P(A and B)=0 as there is zero chance of the outcomes both occurring.
For any two events A and B, which are not mutually exclusive, the OR rule can be used to calculate the probability of the combined event A OR B:
P(A or B)=P(A)+P(B)−P(A and B)
For the case where A and B are mutually exclusive we obtain the OR rule as:
P(A or B)=P(A)+P(B)
Example 2
What is the probability of landing a heads on a fair coin flip or rolling a 6 on a fair die?
Rolling a die and flipping a coin are not mutually exclusive events. Therefore
P(Landing heads and rolling 6)=121
Hence, using the OR rule, P(Landing heads or rolling 6)=P(Landing heads)+P(Rolling 6)−P(Landing heads and rolling 6)=21+61−121=127