The concept
Start with something familiar
A teacher asks her class of 40: "Hands up if you drink tea." 25 hands go up. "Now hands up if you drink coffee." 20 hands go up. That's hands, from only 40 students.Nobody has two hands up at once, so what happened? 10 students raised their hand both times. They drink tea and coffee, so the teacher counted them twice. Take the double count away and students drink at least one of the two. The other drink neither.In the syllogisms lesson you asked whether a region of a Venn diagram was empty or not. Here you put a number in each region. Almost every set question in GATE is about counting people without counting anyone twice.Idea 1: two groups split everyone into four regions
Draw two overlapping circles, A (tea) and B (coffee), inside a box for the whole class. Every student lands in exactly one of four regions:- Only A: in A, not in B (tea only).
- Only B: in B, not in A (coffee only).
- Both: in the overlap.
- Neither: inside the box, outside both circles.
| Only A | Only B | Both | Neither |
|---|---|---|---|
| 15 | 10 | 10 | 5 |
Play with it
Tap a phrase to light up the regions it means.
Each student is in one region and only one, so the four numbers add up to the total: . And a whole circle is made of two regions: tea drinkers are "only A" plus "both", .
Key idea
Every person sits in exactly one region, so the four regions add up to the total, and each circle is "only" plus "both".
Example
In a group, 18 people speak only Hindi and 12 speak both Hindi and Marathi. How many speak Hindi?
The Hindi circle is "only Hindi" plus "both": .
The Hindi circle is "only Hindi" plus "both": .
Idea 2: the union is A plus B, minus the overlap once
"At least one of A and B" is called the union of A and B. It is the three regions inside the circles: only A, only B and both.When you add , the "only" regions are counted once each, but the "both" region is counted twice: once inside A and again inside B. Subtract it once and every person is counted exactly once:| Region | In | After |
|---|---|---|
| Only A | once | once |
| Only B | once | once |
| Both | twice | once |
Example
In a class of 60, 35 students like Hindi films, 28 like English films and 15 like both. How many like at least one?
.
.
Idea 3: "only A" means take the overlap out of A
When a question says "like only Hindi films", it means the people in A who are not in B. Start with the whole circle and remove the overlap:"Exactly one of the two" is the two "only" regions together. Here each circle loses the overlap, so it is subtracted twice:Example
Same class: 35 like Hindi films, 28 like English films, 15 like both. How many like only Hindi, only English, and exactly one?
Only Hindi: . Only English: . Exactly one: , which is also .
Only Hindi: . Only English: . Exactly one: , which is also .
Idea 4: neither, at least one, at most one
The box holds everyone, so whatever is not inside a circle is "neither":The phrases GATE uses map onto regions like this:| Phrase | Regions |
|---|---|
| at least one | only A, only B, both |
| exactly one | only A, only B |
| at most one | only A, only B, neither |
| neither, none | neither |
Example
Class of 60, with 48 liking at least one kind of film and 15 liking both. How many like neither, and how many like at most one?
Neither: . At most one: . Check: . ✓
Neither: . At most one: . Check: . ✓
Idea 5: the overlap has a floor and a ceiling
Sometimes a question doesn't give the overlap and asks for its smallest or largest possible value. Take 100 office workers, where 70 drink tea and 60 drink coffee.Ceiling. The overlap can't be bigger than the smaller circle. At most all 60 coffee drinkers also drink tea, so both .Floor. Count the people who are not in both. They are missing from tea or from coffee. Only people skip tea and skip coffee, so at most people miss out on one. That leaves at least in both.| Both | At least one | Neither |
|---|---|---|
| 30 (least) | 100 | 0 |
| 60 (most) | 70 | 30 |
Example
100 workers: 70 drink tea, 60 drink coffee. What is the smallest and largest number who drink both?
Smallest: . Largest: the smaller group, . So both lies from 30 to 60.
Smallest: . Largest: the smaller group, . So both lies from 30 to 60.
Idea 6: set symbols name the same regions
GATE sometimes writes sets in symbols, each a region you know:| Symbol | Read as | Means |
|---|---|---|
| A union B | at least one | |
| A intersection B | both | |
| complement of A | outside A | |
| A is a subset of B | every member of A is in B | |
| size of A | how many in A |
Key idea
, and a set of members has subsets.
Example
List the subsets of .
, , , , , , , : that is .
, , , , , , , : that is .
How to spot which idea you need
| The question says... | Use |
|---|---|
| region counts, find a group or the total | Idea 1: regions add up |
| "at least one", "A or B", "either" | Idea 2: |
| "only A", "exactly one" | Idea 3: remove the overlap |
| "neither", "none", "at most one" | Idea 4: total minus a part |
| "least / most possible", "at least ... both" | Idea 5: floor and ceiling |
| , , , "subsets" | Idea 6: symbols and |
Worked example 1warm-up
In a class of 50 students, 30 play cricket, 25 play football and 12 play both. How many play only cricket, exactly one game, and neither?Solution
Step 1. Fill the overlap firstIdea 1: the regions
Both .
Step 2. Find the "only" regionsIdea 3
Only cricket . Only football .
Step 3. Exactly oneIdea 3
.
Step 4. NeitherIdeas 2 and 4
At least one is , so neither is .
Step 5. Answer and check
Only cricket 18, exactly one 31, neither 7. The four regions add up: .
Worked example 2GATE level
In an exam, 65% of the students passed Mathematics, 50% passed Physics and 20% failed both. If 175 students passed both subjects, how many students wrote the exam, and how many passed only Mathematics?Solution
Step 1. Find the unionIdea 4
20% failed both, so passed at least one.
Step 2. Find the overlapIdea 2, solved for both
, so both .
Step 3. Turn the percentage into people
35% of the students is 175, so the total is .
Step 4. Only MathematicsIdea 3
of 500 .
Step 5. Answer and check
500 students, 150 passed only Mathematics. In people: only Maths 150, only Physics , both 175, neither 100. Total .
All the equations at a glance
| Idea | Equation |
|---|---|
| Regions | total sum of the four regions |
| At least one | |
| Only A | |
| Exactly one | |
| Neither | total at least one |
| At most one | total both |
| Overlap range | up to the smaller set |