Operations on Sets
The basic operations
Each operation builds a new set out of two sets and inside a universal set . The examples below all use , and .
| Operation | Contains | Example |
|---|---|---|
| Union | Elements in , in , or in both | |
| Intersection | Elements in both and | |
| Difference | Elements in but not in | |
| Difference | Elements in but not in | |
| Complement | Elements of not in | |
| Symmetric difference | Elements in exactly one of the two |
Union and intersection don't care about order (), but difference does: and above share no elements at all.
De Morgan's laws
Taking a complement swaps union and intersection:
Check with the sets above: , so . Separately, and , and their intersection is also .
Counting two overlapping groups
When two groups and overlap, simply adding their sizes double-counts whoever is in both. The inclusion-exclusion principle corrects for that:
Worked example
In a class of 60 students, 25 play cricket and 20 play tennis, and 10 play both. How many play neither?
Solution: First find how many play at least one sport:
Out of 60 students total, the rest play neither:
The same numbers also give the "only" counts: play only cricket and play only tennis. Check: .
Three overlapping groups
With three sets, subtracting every pairwise overlap removes the middle region (in all three) once too often, so it gets added back at the end:
Worked example: three languages
In a survey of 100 students, 50 study Hindi, 40 study English and 30 study Sanskrit. 20 study Hindi and English, 15 study English and Sanskrit, 10 study Hindi and Sanskrit, and 5 study all three. How many study none of the three?
Solution:
So students study none of them.
Common mistakes
- Treating "both" as "only". "10 play both" means 10 are inside each of the two groups already. Students who play only cricket are , not 25.
- Forgetting the last term for three sets. Without , the 5 students who study all three languages would be counted zero times.
- Assuming . Difference is not symmetric. Use the symmetric difference when you mean "in one but not the other" either way round.
- Taking a complement without a universal set. only makes sense relative to . Change and the complement changes too.
Where this comes up in exams
Union, intersection, difference and complement of sets are listed in Unit 1 of the JEE Main 2026 mathematics syllabus, in the JEE Advanced 2026 syllabus, and in the CBSE Class XI sets unit for 2025-26.
Checked against JEE (Main) 2026 syllabus (NTA), JEE (Advanced) 2026 syllabus and CBSE Mathematics curriculum, Classes XI-XII (2025-26). Syllabi can change from year to year, so confirm with the latest official notification for your exam.
- Fit it into your week with the free timetable generator.
- Mark it off as you revise in the syllabus tracker.
- See how long you have left: JEE Main 2027 (Session 1) countdown and JEE Advanced 2027 countdown.