Two-Set and Three-Set Venn Diagram Problems
Reasoning › Venn Diagrams and Logical Deduction · Topic 12.1
A Venn diagram uses overlapping circles to show how groups share members. For two sets, n(A or B) = n(A) + n(B) - n(A and B). For three sets, n(A or B or C) = n(A) + n(B) + n(C) - n(A and B) - n(B and C) - n(C and A) + n(A and B and C). Fill the innermost overlap first and work outward, so that no member is counted twice.
7 min read · Reasoning · Venn Diagrams and Logical Deduction
Quick Answer
A Venn diagram uses overlapping circles to show how groups share members. For two sets, n(A or B) = n(A) + n(B) – n(A and B). For three sets, n(A or B or C) = n(A) + n(B) + n(C) – n(A and B) – n(B and C) – n(C and A) + n(A and B and C). Fill the innermost overlap first and work outward, so that no member is counted twice.
At a Glance
- Two sets n(A or B) = n(A) + n(B) – n(A and B)
- Only A n(A) – n(A and B)
- Neither Total – n(A or B)
- Three sets Add singles, subtract pairs, add the triple
- Fill order Centre first, then pairs, then singles
- Regions Two sets give 3 regions plus outside; three sets give 7 plus outside
Where Does It Fit?
This is the first topic of the Venn Diagrams and Logical Deduction macro. It sets the vocabulary of regions and formulas that the rest of the macro uses. Venn Diagrams Representing Logical Relationships Between Categories applies circles to the relationship between categories, and Numerical/Data-Based Venn Diagram Problems (Counting Elements in Regions) extends the counting method to data tables of regions.
How Do You Solve a Two-Set Venn Diagram Problem?
In short: use n(A or B) = n(A) + n(B) – n(A and B). Subtract the overlap once because it has been counted in both A and B.
| Region | Meaning | Formula |
|---|---|---|
| Only A | In A but not in B | n(A) – n(A and B) |
| Only B | In B but not in A | n(B) – n(A and B) |
| Both | In A and in B | n(A and B) |
| At least one | In A or B or both | n(A) + n(B) – n(A and B) |
| Neither | Outside both circles | Total – n(A or B) |
| Exactly one | Only A plus only B | n(A) + n(B) – 2 n(A and B) |
Suppose 60 students are in a class. 35 play cricket, 28 play football, and 8 play both. Students playing at least one game number 35 + 28 – 8 = 55, so 60 – 55 = 5 play neither.
- At least one includes both; exactly one excludes both.
- Total check: only A + only B + both + neither must equal the total.
How Do You Solve a Three-Set Venn Diagram Problem?
In short: fill the middle (all three) first, then the pair-only regions, then the single-only regions, and finally the outside.
Three-set formula
- n(A or B or C) = n(A) + n(B) + n(C) – n(A and B) – n(B and C) – n(C and A) + n(A and B and C).
- Pair-only region (for example A and B but not C) = n(A and B) – n(A and B and C).
- Only A = n(A) – n(A and B) – n(A and C) + n(A and B and C).
- Exactly two sets = sum of the three pair totals – 3 x n(A and B and C).
- Write the all-three number in the centre.
- For each pair, subtract the centre from the pair total to get the pair-only region.
- For each set, subtract the centre and the two pair-only regions from its total to get the only region.
- Add all seven regions for the union, and subtract from the total for the outside.
A worked check: in a group of 100, 50 drink tea, 40 coffee, 30 milk, 15 tea and coffee, 10 coffee and milk, 12 tea and milk, and 5 all three. The union is 50 + 40 + 30 – 15 – 10 – 12 + 5 = 88, so 12 drink none. Only tea is 50 – 15 – 12 + 5 = 28.
What Do the Words in a Venn Question Mean?
In short: exam wording maps to regions. Read the words carefully before drawing.
| Wording | Region | Note |
|---|---|---|
| At least one | Union | All filled regions inside circles |
| Both A and B | Intersection | May include those also in C |
| Only A | A alone | Outside B and C |
| Exactly two | Pair-only regions | Excludes the centre |
| Neither A nor B | Outside both | May still be in C |
| At most one | Outside plus single regions | Excludes any overlap |
A frequent slip is to read “50 like tea and 15 like tea and coffee” as 15 being only tea and coffee. If a total for a pair is given, it usually includes those in all three, unless the problem says “only”. The extension to regions given directly as data is in Numerical/Data-Based Venn Diagram Problems (Counting Elements in Regions).
Solved Examples
Example 1
Question: In a class of 60, 35 play cricket, 28 play football and 8 play both. How many play neither?
- At least one game: 35 + 28 – 8 = 55.
- Neither = 60 – 55 = 5.
Answer: 5 students.
Example 2
Question: In a group, 55 read the newspaper A and 40 read newspaper B. Every person reads at least one, and the group has 80 persons. How many read both?
- n(A or B) = 80.
- Both = 55 + 40 – 80 = 15.
Answer: 15 persons read both.
Example 3
Question: 45 people like tea, 35 like coffee, and 65 like at least one of the two. How many like only tea?
- Both = 45 + 35 – 65 = 15.
- Only tea = 45 – 15 = 30.
Answer: 30 people.
Example 4
Question: In a group of 100, 50 like tea, 40 coffee, 30 milk; 15 tea and coffee, 10 coffee and milk, 12 tea and milk; 5 like all three. How many like none?
- Union = 50 + 40 + 30 – 15 – 10 – 12 + 5 = 88.
- None = 100 – 88 = 12.
Answer: 12 people like none.
Example 5
Question: Using the same data as above, how many like exactly one of the three drinks?
- Only tea = 50 – 15 – 12 + 5 = 28.
- Only coffee = 40 – 15 – 10 + 5 = 20.
- Only milk = 30 – 10 – 12 + 5 = 13.
- Total = 28 + 20 + 13 = 61.
- Check: exactly two = 15 + 10 + 12 – 15 = 22; 61 + 22 + 5 = 88, matching the union.
Answer: 61 people like exactly one.
Shortcuts and Tricks
- Fill the all-three region first, then pairs, then singles.
- Check that all regions add up to the total.
- Remember that pair totals include the centre; subtract it for pair-only regions.
- For “at least one”, use the union. For “exactly one”, use only regions.
- If a problem says every person is in at least one set, the outside region is zero.
Common Mistakes
- Forgetting to add back the centre in the three-set formula.
- Treating a pair total as a pair-only region.
- Confusing at least one with exactly one.
- Ignoring the outside region when the total is larger than the union.
- Counting the overlap twice in a two-set problem.
Practice Questions
- In a class of 50, 30 take maths and 25 take science; 10 take both. How many take neither?
- n(A) = 40, n(B) = 30, n(A and B) = 12. Find n(A or B).
- n(A or B) = 70, n(A) = 45, n(B) = 40. Find n(A and B).
- In a group of 100, 60 like tea and 50 like coffee. If everyone likes at least one, how many like both?
- Three sets each have 25 members; each pair shares 10, 8 and 6 members; all three share 4. Find the union.
- 40 like A, 30 like B, 15 like both. How many like exactly one?
Answers: 1) 5; 2) 58; 3) 15; 4) 10; 5) 55; 6) 40.
Why Is This Topic Important?
- Foundation Every Venn question in this macro uses these formulas.
- Exam frequency Set-counting questions appear in CSAT, SSC and banking papers.
- Speed The innermost-first method avoids double counting.
- Link The method supports Numerical/Data-Based Venn Diagram Problems (Counting Elements in Regions) and Venn Diagram Problems Involving Four or More Overlapping Categories.
What Comes Next?
The next topic is Venn Diagrams Representing Logical Relationships Between Categories. It shifts from counting to showing which circles overlap, sit inside others or stay apart for categories such as doctors and men.
Key Terms and Formulas
- Set A group of objects or people
- Union Members in at least one set
- Intersection Members common to sets
- Only region Members in one set and no other
- Inclusion-exclusion Add singles, subtract pairs, add triple
- Complement Members outside a set
Related Topics
- Venn Diagrams Representing Logical Relationships Between Categories
- Numerical/Data-Based Venn Diagram Problems (Counting Elements in Regions)
- Selecting the Venn Diagram That Best Represents a Given Set of Words
- Venn Diagram Problems Involving Four or More Overlapping Categories
Related Topics in Maarg Manthan
Study this topic together with these linked topics from other subjects.
- Set Theory – Union, Intersection, Complement and Venn Diagram Problems (Quantitative Aptitude)
- Set Theory Problems Involving Three Overlapping Sets (Quantitative Aptitude)
Exam Corner
Points to Remember
- Two sets: add, then subtract the overlap once.
- Three sets: add singles, subtract pairs, add the triple.
- Fill from the centre outward.
- Total = union + neither.
- Read at least, exactly and only carefully.
Do Not Confuse With
- At least one vs exactly one At least one includes people in several sets; exactly one does not.
- Both vs only both Both may include a third set; only both excludes it.
- Union vs total The union excludes members outside every set.
- Pair total vs pair-only The pair total includes the centre; pair-only does not.
Memory Hook
Centre first, subtract outward, check the total.
GS Relevance
Frequently Asked Questions
What is the formula for a two-set Venn diagram?
For two sets, n(A or B) = n(A) + n(B) - n(A and B). The overlap is subtracted once because it was counted in both sets. Only A is n(A) minus the overlap, and the number outside both sets is the total minus n(A or B).
What is the formula for a three-set Venn diagram?
For three sets, n(A or B or C) = n(A) + n(B) + n(C) - n(A and B) - n(B and C) - n(C and A) + n(A and B and C). Add the singles, subtract each pair, and add back the triple overlap that was removed too often.
How do you solve a Venn diagram problem quickly?
Start with the innermost region, the members common to all sets, then find the pair-only regions by subtracting the centre from each pair total, and then the single-only regions. Add all regions and check against the total, then find the outside region.
What is the difference between at least one and exactly one?
At least one means a member belongs to one or more of the sets, so it includes the overlaps. Exactly one means a member belongs to a single set only. Exactly one equals the union minus the members who belong to two or three sets.
How many regions does a three-set Venn diagram have?
A three-set Venn diagram has seven regions inside the circles: three only regions, three pair-only regions and one all-three region. There is also an eighth region outside all circles, which contains members belonging to none of the sets.
PYQ Practice — Statement Analysis
1 In a two-set problem, n(A or B) = n(A) + n(B).
The overlap n(A and B) must be subtracted once.
2 In the three-set formula, the triple overlap is added back.
The centre is counted three times in the singles and removed three times in the pairs, so it must be added back once.
3 A pair total in a three-set problem always excludes those in all three.
It normally includes those in all three, unless the word only is used.
4 Exactly one means the same as at least one.
At least one includes members in more than one set.
Related Topics
Browse the full Reasoning index