- Practice
- About 14 min
- 5 practice questions
Three sets: inclusion and exclusion
Count members of three overlapping groups using the three-set formula and find the number in exactly one, exactly two and all three sets.
If something looks wrong, please tell us.
With three circles there are seven regions inside and one outside. The union rule grows by one term: add the three sets, take away the three pairwise overlaps, then add back the triple overlap, which was removed once too often.
The rule
In at least one set = n(A) + n(B) + n(C) minus n(A and B) minus n(B and C) minus n(A and C) plus n(A and B and C).
To find the people in exactly one set, subtract their overlaps and add back the triple overlap once. For example, only A = n(A) minus n(A and B) minus n(A and C) plus n(all three). People in exactly two sets, say A and B but not C, equal n(A and B) minus n(all three).
Worked example
In a group of 100 people: n(A) = 45, n(B) = 40, n(C) = 30; A and B: 15, B and C: 10, A and C: 12; all three: 5.
- At least one: 45 plus 40 plus 30 minus 15 minus 10 minus 12 plus 5 = 83.
- None: 100 minus 83 = 17.
- Only A: 45 minus 15 minus 12 plus 5 = 23. Only B: 40 minus 15 minus 10 plus 5 = 20. Only C: 30 minus 10 minus 12 plus 5 = 13.
- Exactly two: A and B only 15 minus 5 = 10; B and C only 10 minus 5 = 5; A and C only 12 minus 5 = 7. Total 22.
- All three: 5.
Check: 23 plus 20 plus 13 plus 22 plus 5 = 83, as found.
Practice
Use the group of 100 people above.
Frequently asked questions
How many people are in at least one of the three sets? A) 80 B) 83 C) 85 D) 100
B. 45 plus 40 plus 30 minus 15 minus 10 minus 12 plus 5 = 83.
How many people are in none of the sets? A) 5 B) 15 C) 17 D) 83
C. 100 minus 83 = 17.
How many people are in set A only? A) 18 B) 20 C) 23 D) 28
C. 45 minus 15 minus 12 plus 5 = 23.
How many people are in exactly two of the sets? A) 22 B) 27 C) 37 D) 42
A. 10 plus 5 plus 7 = 22.
How many people are in exactly one set? A) 43 B) 56 C) 61 D) 83
B. 23 plus 20 plus 13 = 56.
Key takeaways
- Add the sets, subtract the pairs, add back the triple.
- Exactly two = pair overlap minus the triple.
- Check that all regions add up to the union.
Check your understanding
-
1. In a group of 150 people, 60 are in set A, 50 in set B and 45 in set C. 20 are in both A and B, 15 in both B and C, 18 in both A and C, and 8 in all three. How many are in at least one set?
- 110
- 102
- 118
- 155
Show answer
Answer: A. 60 + 50 + 45 - 20 - 15 - 18 + 8 = 155 - 53 + 8 = 110.
-
2. In a group of 150 people, 60 are in set A, 50 in set B and 45 in set C. 20 are in both A and B, 15 in both B and C, 18 in both A and C, and 8 in all three. How many are in none of the sets?
- 48
- 40
- 32
- 0
Show answer
Answer: B. At least one = 60 + 50 + 45 - 20 - 15 - 18 + 8 = 110, so none = 150 - 110 = 40.
-
3. In a group of 150 people, 60 are in set A, 50 in set B and 45 in set C. 20 are in both A and B, 15 in both B and C, 18 in both A and C, and 8 in all three. How many are in set B only?
- 15
- 31
- 30
- 23
Show answer
Answer: D. Only B = n(B) - n(A and B) - n(B and C) + n(all three) = 50 - 20 - 15 + 8 = 23.
-
4. In a group of 150 people, 60 are in set A, 50 in set B and 45 in set C. 20 are in both A and B, 15 in both B and C, 18 in both A and C, and 8 in all three. How many are in exactly two of the sets?
- 53
- 37
- 29
- 45
Show answer
Answer: C. Exactly two for each pair = pair overlap - triple: A and B only 20 - 8 = 12, B and C only 15 - 8 = 7, A and C only 18 - 8 = 10. Total 12 + 7 + 10 = 29.
-
5. In the three-set rule, why is n(A and B and C) added back at the end?
- It was never included in n(A), n(B) or n(C)
- It was added three times and taken away three times, so without it the people in all three would not be counted
- It is a correction for people in none of the sets
- It makes up for counting the pairs once too often
Show answer
Answer: B. People in all three are counted three times in n(A) + n(B) + n(C) and removed three times with the three pair overlaps, leaving zero. Adding the triple once counts them exactly once.
Sign in to keep track of the lessons you finish.