Sets and Set Operations
≈ 20 minA set is a collection of distinct objects called elements. We write for ' is in '. Key operations:
- Union : everything in or .
- Intersection : everything in both.
- Complement : everything (in the universal set) not in .
The number of elements in is its cardinality .
For overlapping sets, simply adding sizes double-counts the shared part. The inclusion–exclusion principle fixes this:
Worked example. If , and , then — we subtract the 3 counted twice.
A set with elements has subsets: each element is either in or out.
If and , what is ?
If , and , find .
How many subsets does a set with 4 elements have?
In a class of 30 learners, 18 take Mathematics and 15 take Physical Sciences; 7 take both. How many take at least one of the two subjects?

