Lesson 25 of 42 · Counting, probability and statistics
Union, intersection and complement of events
Use the addition rule, complements and independence to find "or", "and", "neither" and "at least one" probabilities, with a frequency table as a check.
About 22 minutes
In this lesson
- Apply the addition rule for "A or B" and know when the overlap term vanishes.
- Move between "both", "neither", "exactly one" and "at least one" with complements.
- Tell mutually exclusive events from independent events and use the product rule for independent ones.
The idea
Events are sets
An event is a set of outcomes, so the language of sets carries over directly.
| Words | Set notation | Meaning |
|---|---|---|
| or (or both) | at least one of them happens | |
| and | both happen | |
| not | does not happen | |
| and cannot both happen | mutually exclusive (disjoint) |
In probability, "or" is inclusive unless the question says "exactly one" or "either … but not both".
The addition rule
Adding and counts the overlap twice, once inside each, so it is subtracted once. Draw a Venn diagram with the overlap in the middle and the reason is visible. Only when and are mutually exclusive is the overlap empty, and then .
For three events the same idea gives
Complements and De Morgan
. The two rules that link complements with "and" and "or" are De Morgan's laws:
In words: "not ( or )" is "neither"; "not ( and )" is "not both", which still allows one of them. So
These two are easy to swap under time pressure, and a multiple-choice question may well offer both.
The four regions
Two events split the sample space into four regions: only , only , both, neither. Most questions give you three numbers and ask for a fourth, and the safest way to work is to fill in the four regions:
- both
- only , only
- neither
- exactly one only only
The four regions must add up to 1. Using a group of 100 people (or 1000) instead of decimals turns the regions into whole numbers, which is quicker without a calculator and makes mistakes visible.
Independent events
and are independent when knowing that one happened does not change the probability of the other. Then
Separate coin tosses, separate dice and draws with replacement are independent. Draws without replacement are not.
Independence is not the same as mutual exclusivity; for events with positive probability the two ideas are opposites. If and are mutually exclusive, knowing that happened tells you did not happen, which is as far from independence as it gets. Read the question for which one it states.
At least one, for independent events
The complement of "at least one happens" is "none happens", and for independent events "none" is a product:
For two events this agrees with the addition rule. If and independently, then , and too.
Divisibility questions
"A whole number from 1 to is chosen at random; what is the probability that it is divisible by 3 or 4?" is a union question. Count multiples of each, then subtract the multiples of both, which are the multiples of the least common multiple, here 12. A second check: the pattern repeats every 12 numbers, so count within one block of 12 and scale up.
Worked examples
Example 1: Divisible by 3 or by 4
A whole number from 1 to 60 is chosen at random. What is the probability that it is divisible by 3 or by 4?
Multiples of 3 up to 60: . Multiples of 4: . Multiples of both are multiples of 12: .
Addition rule in counts: , so .
Check with one block of 12: the numbers divisible by 3 or 4 are 3, 4, 6, 8, 9, 12, six of them. There are 5 blocks in 60, so .
Answer
. Forgetting to subtract the overlap gives , because 12, 24, 36, 48 and 60 are counted twice.
Example 2: Filling the four regions
In a town, 60% of adults read a daily newspaper, 50% listen to a news podcast, and 20% do neither. What percentage do both? What percentage do exactly one?
At least one: .
Addition rule rearranged: .
Exactly one: .
Check with 100 adults: both 30, newspaper only , podcast only , neither 20. Total .
Answer
30% do both and 50% do exactly one. Taking "both" as happens to match here, but it assumes independence, which the data do not state; the addition rule is the method that always works.
Example 3: At least one failure
Two machines work independently. On a given day the first breaks down with probability 0.1 and the second with probability 0.2. Find the probability that at least one breaks down, and that exactly one breaks down.
None breaks down: by independence, . At least one: .
Check with the addition rule: , so .
Exactly one: first only , second only , total .
Check: the four regions are both 0.02, first only 0.08, second only 0.18, neither 0.72; they add up to 1.
Answer
At least one: 0.28; exactly one: 0.26. Simply adding counts the day when both break down twice.
Common traps
Adding without subtracting the overlap
is only for mutually exclusive events. If a sum of probabilities exceeds 1, the overlap was certainly ignored; if it does not, it may still have been. Ask whether both can happen at once.
Neither versus not both
"Not both" is and includes the cases where one happens. "Neither" is . The options may list both numbers; write the four regions and point to the one asked for.
Confusing mutually exclusive with independent
Mutually exclusive means ; independent means . With and , the union is in the first case and in the second. Never multiply probabilities unless independence is given or obvious.
Adding probabilities for "at least one"
For two independent attempts at 0.7 each, is not even a probability. Use .
Check yourself
Answer each question before you open its answer.
Question 1: Neither event
Union and intersection of events
For two events, , and . What is the probability that neither nor happens?
- A.0.10
- B.0.25
- C.0.75
- D.0.85
Show the answer
Answer: B. 0.25
Working
, so . Check with 100 outcomes: both 15, only 35, only 25, neither .
Why the other options are wrong
- A. Uses , forgetting to subtract the overlap, so the union is overstated as 0.9.
- C. This is , the probability that at least one happens; the question asks for the complement.
- D. This is , the probability of "not both", which still includes the cases where exactly one event happens.
What carries over
Neither is the complement of the union, and the union needs the overlap subtracted.
Question 2: Divisible by 4 or by 6
Union and intersection of events
A whole number from 1 to 120 is chosen at random. What is the probability that it is divisible by 4 or by 6?
- A.
- B.
- C.
- D.
Show the answer
Answer: B.
Working
Multiples of 4: 30. Multiples of 6: 20. Multiples of both, that is of 12 (not of 24): 10. Union: , so . Check on one block of 12: 4, 6, 8, 12 are the four numbers that qualify, and .
Why the other options are wrong
- A. This is the probability of being divisible by both, that is by 12: the intersection, not the union.
- C. Adds the 30 multiples of 4 and the 20 multiples of 6 without removing the 10 multiples of 12, which were counted twice.
- D. This is the probability of being divisible by neither 4 nor 6, the complement of the event asked for.
What carries over
For "divisible by a or b", subtract the multiples of the least common multiple.
Question 3: Two attempts
Union and intersection of events
A basketball player scores a free throw with probability 0.7, and different throws are independent. She takes two throws. What is the probability that she scores at least once?
- A.0.42
- B.0.49
- C.0.51
- D.0.91
Show the answer
Answer: D. 0.91
Working
Missing both: . At least once: . Check: exactly once plus twice gives .
Why the other options are wrong
- A. This is the probability of scoring exactly once, ; scoring twice also counts as "at least once".
- B. This is the probability of scoring both times, .
- C. This is , the probability of not scoring both times, which includes missing both.
What carries over
At least one is one minus none, and for independent trials "none" is a product.
Key points
; drop the last term only for mutually exclusive events.
Neither is ; not both is .
Multiply probabilities only for independent events; mutually exclusive events with positive probability are never independent.
Fill the four regions with counts out of 100 and check that they add up.
All questions here are original and written for UniExamer; none comes from the test maker.
Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.