Probability
See also: numbers, Permutations and Combinations
Independent and Mutually exclusive events
Two events are independent if the outcome of one doesn't affect the outcome of the other. Otherwise they are dependent.
Examples
- When tossing a fair coin twice, the result of the first toss doesn't affect the probability of the outcome of the second toss.
- When drawing two cards from a deck of 52 playing card, the event 'getting a King' on the first card and the event 'getting a black card' are not independent. The probability of the second card change after the first card is drawn. The two events would be independent if after drawing the first card, the card is returned to the deck (thus the deck is complete 52 again).
For two independent events, A and B, the probability of both occuring together, P(A and B), is the product of the probability of each event.
| P(A and B) = P(A ∩ B) = P(A) × P(B) |
For example, when tossing a fair coin twice, the probability of getting a 'Head' on the first and then getting a 'Tail' on the second is
P(H and T) = P(H) × P(T)
P(H and T) = 0.5 × 0.5
P(H and T) = 0.25
Two events are mutually exclusive if they cannot occur at the same time.
Examples
- When tossing a fair coin, the event 'getting a head' and the event 'getting a tail' are mutually exclusive because they can't occur at the same time.
- When throwing a fair die, the event 'getting a 1' and the event 'getting a 4' are mutually exclusive because they can't occur at the same time. But the event 'getting a 3' and the event 'getting an odd number' are not mutually exclusive since it can happen at the same time (i.e. if you get 3)
For two mutually exclusive events, A and B, the probability of either one occuring, P(A or B), is the sum of the probability of each event.
| P(A or B) = P(A) + P(B) |
For example, when choosing a ball at random from a bag containing 3 blue balls, 2 green bals, and 5 red balls, the probability of getting a blue or red ball is
P(Blue or Red) = P(Blue) + P(Red)
P(Blue or Red) = 3/10 + 5/10
P(Blue or Red) = 8/10 = 0.8
For non mutually exclusive events the probability of either one or both occuring is
| P(A or B) = P(A) + P(B) - P(A ∩ B) |
where P(A ∩ B) is the probability of eventA and event B happening at the same time.
For example, when drawing a card from a deck of 52 playing cards, the probability of getting a red card or a King is
P(Red or King) = P(Red) + P(King) - P(Red ∩ King)
P(Red or King) = 26/52 + 4/52 - 2/52
P(Red or King) = 28/52 = 7/13
This is so because a card can either be red, king, or both (i.e. red king). So that's why we need to subtract the probability of a card being both red and king because it has already been accounted for in the probability of the card being red and the probability of the card being king.
| Previous: Complement of an event |
Next: Conditional Probability |
See also: numbers, Permutations and Combinations

