NDA Maths · Sets & Relations
Counting, Subsets and Inclusion-Exclusion
An n-element set has 2ⁿ subsets; the inclusion-exclusion principle counts a union by adding the parts and subtracting the overlaps — the engine behind every Venn 'survey' word problem.
Why this matters
27 PYQs — the largest subtopic, and the home of the chapter's highest-yield HARD genre: the survey word problem (so many like cricket, so many like both, how many like exactly two). Master two things — counting subsets with 2ⁿ, and the exactly-one / exactly-two / all-three accounting — and you cover most of these marks.
Concept 1 of 4: Power set and counting subsets
Definition
The power set is the set of all subsets of A, and it always contains the empty set and A itself. For the subsets are , , and , so : its members are sets, and there are of them. Each element gives two choices (in or out), and . The counting rules:
- A set with elements has subsets, so . Of these, are proper subsets (all except the set itself).
- Supersets of a fixed set : fix x as 'in', let the other elements vary subsets contain x.
- Count carefully when elements are themselves sets: has ONE element, so .
- Symmetry trick: in a -element set, the subsets of size are exactly half of all subsets .
- Subsets of a given SIZE: an -set has subsets with exactly elements (they sum to over ); e.g. a 6-set has two-element subsets and three-element ones. Subsets with at least elements: .
Counting subsets
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 1 · Sets & Relations · Counting Sets, Subsets, and Inclusion-Exclusion
Count the elements before raising 2 to a power
Concept 2 of 4: Inclusion-exclusion for two sets
Definition
The two-set rule and its uses:
- .
- For sets of multiples, uses the LCM: multiples of 3 multiples of 2 are multiples of 6.
- Least overlap: (when the union can't exceed the universe). Most overlap: .
- The mirror bounds on the union: — the minimum is attained when one set contains the other, the maximum when they are disjoint.
- Counting multiples: the number of multiples of in is ; so among there are 50 multiples of 2, 20 of 5, 10 of 10 (the LCM), and of 2 or 5.
Inclusion–exclusion (two sets)
Worked example
Practice this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 2 · Sets & Relations · Counting Sets, Subsets, and Inclusion-Exclusion
Overlap of multiples uses LCM, not product
Concept 3 of 4: Inclusion-exclusion for three sets
Definition
The three-set rule:
- .
- This equals the sum of the seven disjoint Venn regions.
- Maximising/minimising the union: the only free quantity is the triple overlap . The union grows with x; x is bounded by of the pairwise intersections.
Inclusion–exclusion (three sets)
Worked example
Practice this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 3 · Sets & Relations · Counting Sets, Subsets, and Inclusion-Exclusion
Mind the alternating signs
Concept 4 of 4: Survey problems — exactly one, exactly two, all three
Definition
The accounting identities (let one/two/three = people in exactly one / exactly two / all three regions):
- Total in the union . This is the 'exactly' decomposition — NOT the raw inclusion-exclusion sum.
- Sum of pairwise intersections , so exactly two .
- At least two .
- Exactly one .
Survey accounting identities
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 4 · Sets & Relations · Counting Sets, Subsets, and Inclusion-Exclusion
'Exactly two' is not the sum of pairwise intersections
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (4)
- Power set and counting subsets
Counting subsets
- Inclusion-exclusion for two sets
Inclusion–exclusion (two sets)
- Inclusion-exclusion for three sets
Inclusion–exclusion (three sets)
- Survey problems — exactly one, exactly two, all three
Survey accounting identities
Watch out for (4)
- Count the elements before raising 2 to a power→ Power set and counting subsets
- Overlap of multiples uses LCM, not product→ Inclusion-exclusion for two sets
- Mind the alternating signs→ Inclusion-exclusion for three sets
- 'Exactly two' is not the sum of pairwise intersections→ Survey problems — exactly one, exactly two, all three
Test yourself on Sets & Relations
20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.