Arithmetic · 8 min
Sets and Venn diagrams
Lesson
A set is a well-defined collection. A ∪ B is the union, which holds everything in A or B or both. A ∩ B is the intersection, holding what is in both. A − B holds what is in A and not in B. A′ is the complement, everything in the universal set U that lies outside A.
The counting formula is n(A ∪ B) = n(A) + n(B) − n(A ∩ B). For three sets it gains a term: n(A ∪ B ∪ C) = n(A) + n(B) + n(C) − n(A∩B) − n(B∩C) − n(A∩C) + n(A∩B∩C). With two sets, 'only A' is n(A) − n(A ∩ B), and neither is the total minus n(A ∪ B).
A set of n elements has 2ⁿ subsets and 2ⁿ − 1 proper subsets. De Morgan's laws say (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′. A Venn diagram is filled from the centre outward.
Group 4 Paper II in 2023 carried Venn-diagram survey questions. The union formula clears most of such a question before any diagram is drawn. In a class of 50, 30 like tea, 25 like coffee and 10 like both. Then 30 + 25 − 10 = 45 like at least one, so 5 like neither.
For two sets, n(A ∪ B) = n(A) + n(B) − n(A ∩ B). 'Only A' is n(A) − n(A ∩ B). Neither is the total minus n(A ∪ B). For three sets, add the three totals, subtract the three pairwise intersections, then add back the triple intersection: n(A ∪ B ∪ C) = n(A) + n(B) + n(C) − n(A ∩ B) − n(B ∩ C) − n(C ∩ A) + n(A ∩ B ∩ C). 'Only A' is n(A) − n(A ∩ B) − n(A ∩ C) + n(A ∩ B ∩ C), because the triple was subtracted twice in those pairwise terms. Draw the Venn regions and write a number in each region before you add.
Set questions written as percentages
The base lesson already gives n(A ∪ B) = n(A) + n(B) − n(A ∩ B), 'only A' as n(A) − n(A ∩ B), and 'neither' as the total minus the union, with a worked class of 50 who like tea or coffee. This extension keeps the same identities and writes every count as a percentage of a whole, which is how SSC and bank papers often hide the same set.
If a% fail in A, b% fail in B, and c% fail in both, then the share who fail in at least one is a + b − c, and the share who fail in neither (that is, who pass both) is 100 − (a + b − c). 'Only A' is a − c. The same arithmetic works when the paper says 'passed' instead of 'failed': swap the labels, keep the formula. Do not add a and b and forget to subtract the overlap, and do not treat 'failed in both' as if it were already the union.
Papers give two subjects, a both-figure, and ask for neither, only one subject, or the pass share.
40% fail in Hindi, 45% fail in English, 20% fail in both. Failed in at least one: 40 + 45 − 20 = 65%. Passed both: 35%. Failed only in Hindi: 20%.
Adding the two failure rates and forgetting to subtract those who failed in both, or reading 'failed in both' as the share who failed in at least one.
Remember these
The union formula is n(A∪B) = n(A) + n(B) − n(A∩B). With two sets, only A is n(A) − n(A∩B), and neither is the total minus n(A∪B).
A set of n elements has 2ⁿ subsets and 2ⁿ − 1 proper subsets. De Morgan's laws are (A∪B)′ = A′∩B′ and (A∩B)′ = A′∪B′.
Why the paper asks this
Group 4 Paper II in 2023 carried Venn-diagram survey questions. The single union formula clears most of such a question before any diagram is drawn.
Worked example
Of 100 people, 60 read Telugu papers, 45 read English papers and 20 read both. Only Telugu is 60 − 20 = 40, and only English is 45 − 20 = 25. Neither is 100 − (60 + 45 − 20) = 15.
Common trap
A common slip is adding n(A) + n(B) without subtracting the overlap. The same overlap is missed when 'only A' is answered with n(A) itself. Both errors come from treating the two sets as separate when the shared part is counted twice.
Source: Original PrajaPrep practice note. Public exam pattern (not affiliated).
Sign up to continue learning
This lesson is free to read. Sign up free to open the next lesson in the app, keep your progress, and practise questions on this topic.
Sign up to continue learning