Skip to content

Three-Set Venn Problems

8 lessons · 51 questions · 37 PYQs · ~75 s per question

The idea

Three overlapping sets create eight regions. Totals of single sets count the 'exactly two' people twice and the 'all three' people three times; inclusion-exclusion and the region-by-region picture undo that double counting. Extreme-value questions ask how the regions can be arranged.

Textbook vs exam method

Exam method

  1. Count extras. ∑n(Ai)−N\sum n(A_i)-N tells how many 'extra' memberships exist; each exactly-two person uses 11, each all-three person uses 22.Indore 2024
  2. Minimum all three. misses add up: 100−∑(100−pi)100-\sum(100-p_i).
  3. Divisibility Venn. count multiples with floors and LCMs; exactly one =S1−2S2+3T=S_1-2S_2+3T (Indore 2026: 5050).
  4. Statements. build the full region table once - three statements then cost seconds.

Worked examples

Example 1

(d2, Indore 2019 Q26) 65=40+25+20−10−8−x+565=40+25+20-10-8-x+5

Example 2

(d2, Indore 2024 Q4) 52+48+62−150=1252+48+62-150=12 extras

Example 3

(d3, Indore 2021 Q21) none 10%10\%, all three 5%5\%, only Hindi 25%25\%

Example 4

(d3, JIPMAT 2023 Q29) Reconstruct

Example 5

(d4, Indore 2020 Q8) Pair caps 2020

Traps

  • Sign of the triple term; exactly vs at least two; products vs LCMs; caps vs totals.

Formulas

Inclusion-exclusion for three sets

n(A∪B∪C)=∑n(A)−∑n(A∩B)+n(A∩B∩C)n(A\cup B\cup C)=\sum n(A)-\sum n(A\cap B)+n(A\cap B\cap C)

Indore 2019 Q26: 65 = 85 - (18 + x) + 5 gives x = 7. Add the 'none' group to the total if it exists.
Exactly one, exactly two, at least two

exactly two=S2−3T,at least two=S2−2T,exactly one=S1−2S2+3T\text{exactly two}=S_2-3T,\quad \text{at least two}=S_2-2T,\quad \text{exactly one}=S_1-2S_2+3T

S1 = sum of singles, S2 = sum of pairwise counts (inclusive of the triple), T = all three.
Only-A region

n(A only)=n(A)−n(A∩B)−n(A∩C)+n(A∩B∩C)n(A\text{ only})=n(A)-n(A\cap B)-n(A\cap C)+n(A\cap B\cap C)

Fill a Venn diagram from the centre outwards.
Least number common to all groups

min⁡n(A∩B∩C)=max⁡(0, ∑n(Ai)−2N) (three sets),∑n(Ai)−(k−1)N (k sets)\min n(A\cap B\cap C)=\max\left(0,\ \sum n(A_i)-2N\right)\ \text{(three sets)},\quad \sum n(A_i)-(k-1)N\ \text{(k sets)}

Complement thinking: people missing something are at most the sum of the misses.
Counting likes (extras)

∑n(Ai)=N≥1+(exactly two)+2(all three)\sum n(A_i)=N_{\ge1}+(\text{exactly two})+2(\text{all three})

Indore 2024 Q4: 162 likes for 150 people leave 12 extras, so at most 12 like more than one.
Common multiples via the LCM

multiples of p and q up to N: ⌊Nlcm⁡(p,q)⌋\text{multiples of }p\text{ and }q\text{ up to }N:\ \left\lfloor\frac{N}{\operatorname{lcm}(p,q)}\right\rfloor

Use LCMs, not products, when the divisors share factors (4, 6, 9: overlaps are multiples of 12, 18, 36).

In the exam

Shortcuts
  • Centre-out: all three first, then the three 'exactly two' regions, then the 'only' regions, then 'none'.
  • Maximum common to all three under pair caps: extras ∑−N\sum-N must fit in 2t+3(k−t)2t+3(k-t) (Indore 2020 Q8 gives t≤20t\le 20).
  • Maximum liking more than one: all extras come from people liking exactly two.
  • Language/percentage puzzles (Indore 2021 Q21): exactly one + at least two + none = 100%; then use the extra relation (none = 2 x all three).
  • Statement checks (JIPMAT 2023 Q29): reconstruct every region once, then read off each statement.
~75 s per question at exam speed
When to skip: Maximum/minimum with several caps can take 2-3 minutes; do the direct inclusion-exclusion items first.

Before this

What the exams ask here

  • max students passing all three
  • % speaking all languages
  • not in any of 3 sports with divisibility
  • maximise students liking >= 2 beverages
Next sub-topicSet Algebra and Power Sets

Practise this free. Every mistake is saved and comes back until you fix it.

Start free