Sets & Venn DiagramsFoundation
Union, intersection, complement — interactive Mathematics simulation for IIT-JEE.
Concept
A Venn diagram shows how two sets overlap inside a universal set. The key counting tool is the inclusion–exclusion principle, which avoids double-counting the shared region .
Key formula
Derivation
If you simply add and , every element in the overlap is counted twice.
Subtracting once corrects this, giving the size of the union. Whatever is left in the universal set, , belongs to neither set.
Scenarios to explore
- Sets & Venn Diagrams — Union, intersection, complement & inclusion–exclusion.
Real-world applications
- Survey problems ('how many study both subjects?').
- Probability of combined events.
- Database queries combining filters.
JEE exam tips
- 'Only A' = n(A) − n(A ∩ B); 'exactly one' = n(A) + n(B) − 2·n(A ∩ B).
- n(A′) = n(U) − n(A) by the complement rule.
- De Morgan: (A ∪ B)′ = A′ ∩ B′.
Common mistakes
- Adding n(A) and n(B) without subtracting the overlap.
- Confusing 'A only' with n(A) — A also contains the intersection.
- Letting n(A ∩ B) exceed n(A) or n(B).
Exam traps to avoid
- 'At least one' means the union; 'exactly one' excludes the intersection twice over.
- Three-set problems need the full inclusion–exclusion with the triple overlap added back.
