Sub topic 6
Counting “Neither” with the Complement
Prerequisites and the key idea
Assume you can work with whole numbers, percentages, simple equations, and basic set notation.
In a set problem, the universal set \(U\) is the complete group being considered. A set such as \(A\) contains the members with a particular property. The complement of \(A\), written \(A^c\), contains every member of \(U\) that is not in \(A\).
For two sets \(A\) and \(B\):
- \(A \cup B\) means “in \(A\) or \(B\), or both”.
- \(A \cap B\) means “in both \(A\) and \(B\)”.
- “Neither \(A\) nor \(B\)” means outside both sets.
Therefore,
\[ \text{neither } A \text{ nor } B = (A \cup B)^c \]
and
\[ n(\text{neither}) = n(U) - n(A \cup B) \]
Here, \(n(X)\) means the number of elements in set \(X\).
Finding the union first
For two sets, use the inclusion-exclusion formula:
\[ n(A \cup B)=n(A)+n(B)-n(A\cap B) \]
The intersection is subtracted because members in both sets would otherwise be counted twice.
Combining the two formulas gives:
\[ n(\text{neither})=n(U)-n(A)-n(B)+n(A\cap B) \]
Worked example
In a group of 100 students:
- 60 study Mathematics.
- 50 study Physics.
- 25 study both subjects.
First find the number studying at least one subject:
\[ n(A\cup B)=60+50-25=85 \]
Then subtract this from the total:
\[ n(\text{neither})=100-85=15 \]
So, 15 students study neither subject.
| Region | Calculation | Count |
|---|---|---|
| Both subjects | Given | 25 |
| Mathematics only | \(60-25\) | 35 |
| Physics only | \(50-25\) | 25 |
| At least one | \(35+25+25\) | 85 |
| Neither | \(100-85\) | 15 |
Reading CAT-style wording
Translate the wording before calculating:
- “At least one of A and B” means \(A\cup B\).
- “Both A and B” means \(A\cap B\).
- “Neither A nor B” means \((A\cup B)^c\).
- “Only A” means \(A-B\).
- “Not A” means \(A^c\).
The word or usually includes the possibility of both unless the question says “A or B, but not both”. The phrase at least one also includes people in both sets.
A reliable method is to work from the innermost region outward:
- Place the intersection.
- Find the “only” regions.
- Add the regions inside the circles.
- Subtract that union from the universal total.
total = 100
n_a = 60
n_b = 50
both = 25
union = n_a + n_b - both
neither = total - union
print(union) # 85
print(neither) # 15Consistency checks
A valid answer must satisfy:
\[ 0\leq n(\text{neither})\leq n(U) \]
Also, the union cannot exceed the total. If your calculation gives a negative number for “neither”, check whether you subtracted the overlap or used the correct total.
For three sets, the same main idea applies:
\[ n(\text{neither})=n(U)-n(A\cup B\cup C) \]
You must first calculate the three-set union, usually with the three-set inclusion-exclusion formula.
Exercise
In a class of 120 students, 70 read newspaper A, 55 read newspaper B, and 30 read both. How many read neither newspaper?
Show answer
The union is \(70+55-30=95\). Therefore, the number reading neither is \(120-95=25\).